Home
last modified time | relevance | path

Searched refs:cputype (Results 1 – 25 of 60) sorted by relevance

123

/freebsd-12-stable/sys/dev/hwpmc/
Dhwpmc_intel.c82 enum pmc_cputype cputype; in pmc_intel_initialize() local
90 cputype = -1; in pmc_intel_initialize()
105 cputype = PMC_CPU_INTEL_CORE; in pmc_intel_initialize()
110 cputype = PMC_CPU_INTEL_CORE; in pmc_intel_initialize()
113 cputype = PMC_CPU_INTEL_CORE2; in pmc_intel_initialize()
118 cputype = PMC_CPU_INTEL_CORE2EXTREME; in pmc_intel_initialize()
122 cputype = PMC_CPU_INTEL_ATOM; in pmc_intel_initialize()
134 cputype = PMC_CPU_INTEL_COREI7; in pmc_intel_initialize()
138 cputype = PMC_CPU_INTEL_NEHALEM_EX; in pmc_intel_initialize()
143 cputype = PMC_CPU_INTEL_WESTMERE; in pmc_intel_initialize()
[all …]
Dhwpmc_amd.c1073 enum pmc_cputype cputype; in pmc_amd_initialize() local
1103 cputype = PMC_CPU_AMD_K7; in pmc_amd_initialize()
1110 cputype = PMC_CPU_AMD_K8; in pmc_amd_initialize()
1137 pmc_mdep->pmd_cputype = cputype; in pmc_amd_initialize()
/freebsd-12-stable/sys/arm/arm/
Dcpufunc.c261 u_int cputype; variable
389 cputype = cp15_midr_get(); in set_cpufuncs()
390 cputype &= CPU_ID_CPU_MASK; in set_cpufuncs()
393 if (cputype == CPU_ID_MV88FR131 || cputype == CPU_ID_MV88FR571_VD || in set_cpufuncs()
394 cputype == CPU_ID_MV88FR571_41) { in set_cpufuncs()
407 if (cputype == CPU_ID_MV88FR571_VD || in set_cpufuncs()
408 cputype == CPU_ID_MV88FR571_41) in set_cpufuncs()
417 } else if (cputype == CPU_ID_ARM926EJS) { in set_cpufuncs()
425 if (cputype == CPU_ID_ARM1176JZS) { in set_cpufuncs()
432 switch(cputype & CPU_ID_SCHEME_MASK) { in set_cpufuncs()
[all …]
/freebsd-12-stable/usr.sbin/config/
Dconfig.y166 struct cputype *cp =
167 (struct cputype *)calloc(1, sizeof (struct cputype));
171 SLIST_INSERT_HEAD(&cputype, cp, cpu_next);
174 struct cputype *cp, *cp2;
175 SLIST_FOREACH_SAFE(cp, &cputype, cpu_next, cp2) {
177 SLIST_REMOVE(&cputype, cp, cputype, cpu_next);
Dconfig.h113 struct cputype { struct
115 SLIST_ENTRY(cputype) cpu_next; argument
118 extern SLIST_HEAD(cputype_head, cputype) cputype;
Dmain.c79 struct cputype_head cputype; variable
213 SLIST_INIT(&cputype); in main()
237 if (SLIST_EMPTY(&cputype)) { in main()
467 struct cputype *cput; in configfile_dynamic()
478 SLIST_FOREACH(cput, &cputype, cpu_next) in configfile_dynamic()
Dmkoptions.c68 struct cputype *cp; in options()
73 SLIST_FOREACH(cp, &cputype, cpu_next) { in options()
/freebsd-12-stable/sys/arm/mv/armadaxp/
Darmadaxp_mp.c104 uint32_t reg, *src, *dst, cpu_num, div_val, cputype; in mv_axp_platform_mp_start_ap() local
110 cputype = cp15_midr_get(); in mv_axp_platform_mp_start_ap()
111 cputype &= CPU_ID_CPU_MASK; in mv_axp_platform_mp_start_ap()
125 if (cputype == CPU_ID_MV88SV584X_V7) { in mv_axp_platform_mp_start_ap()
Darmadaxp.c144 uint32_t cputype; in get_tclk_armadaxp() local
146 cputype = cp15_midr_get(); in get_tclk_armadaxp()
147 cputype &= CPU_ID_CPU_MASK; in get_tclk_armadaxp()
149 if (cputype == CPU_ID_MV88SV584X_V7) in get_tclk_armadaxp()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Object/
DMachOUniversalWriter.cpp63 switch (ObjectFile.getHeader().cputype) { in calculateAlignment()
84 : B(&O), CPUType(O.getHeader().cputype), in Slice()
138 std::tie(MFO->getHeader().cputype, MFO->getHeader().cpusubtype) != in create()
139 std::tie(O->getHeader().cputype, O->getHeader().cpusubtype)) { in create()
143 Twine(O->getHeader().cputype) + ") and cpusubtype(" + in create()
146 Twine(MFO->getHeader().cputype) + ") and cpusubtype(" + in create()
255 FatArch.cputype = S.getCPUType(); in buildFatArchList()
DMachOUniversal.cpp71 uint32_t cputype; in getAsObjectFile() local
74 cputype = Header.cputype; in getAsObjectFile()
77 cputype = Header64.cputype; in getAsObjectFile()
81 return ObjectFile::createMachOObjectFile(ObjBuffer, cputype, Index); in getAsObjectFile()
DMachOObjectFile.cpp127 return O.getHeader().cputype; in getCPUType()
1014 uint32_t cputype = getCPUType(Obj); in checkThreadCommand() local
1036 if (cputype == MachO::CPU_TYPE_I386) { in checkThreadCommand()
1055 } else if (cputype == MachO::CPU_TYPE_X86_64) { in checkThreadCommand()
1122 } else if (cputype == MachO::CPU_TYPE_ARM) { in checkThreadCommand()
1141 } else if (cputype == MachO::CPU_TYPE_ARM64 || in checkThreadCommand()
1142 cputype == MachO::CPU_TYPE_ARM64_32) { in checkThreadCommand()
1161 } else if (cputype == MachO::CPU_TYPE_POWERPC) { in checkThreadCommand()
1181 return malformedError("unknown cputype (" + Twine(cputype) + ") load " in checkThreadCommand()
1264 uint32_t cputype; in MachOObjectFile() local
[all …]
/freebsd-12-stable/contrib/llvm-project/lldb/tools/compact-unwind/
Dcompact-unwind-dumper.c80 cpu_type_t cputype; member
168 baton->cputype = mh.cputype; in scan_macho_load_commands()
332 if (baton->cputype == CPU_TYPE_ARM) in scan_macho_load_commands()
362 if (baton->cputype == CPU_TYPE_ARM) in scan_macho_load_commands()
420 if (baton->cputype == CPU_TYPE_ARM) in scan_macho_load_commands()
438 if (baton->cputype == CPU_TYPE_ARM) in scan_macho_load_commands()
1148 if (baton.cputype == CPU_TYPE_X86_64) { in print_encoding()
1150 } else if (baton.cputype == CPU_TYPE_I386) { in print_encoding()
1152 } else if (baton.cputype == CPU_TYPE_ARM64 || baton.cputype == CPU_TYPE_ARM64_32) { in print_encoding()
1154 } else if (baton.cputype == CPU_TYPE_ARM) { in print_encoding()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
DMachODump.cpp619 uint32_t cputype = O->getHeader().cputype; in PrintIndirectSymbolTable() local
620 if (cputype & MachO::CPU_ARCH_ABI64) in PrintIndirectSymbolTable()
629 if (cputype & MachO::CPU_ARCH_ABI64) in PrintIndirectSymbolTable()
725 static void PrintRType(const uint64_t cputype, const unsigned r_type) { in PrintRType() argument
751 switch (cputype) { in PrintRType()
770 static void PrintRLength(const uint64_t cputype, const unsigned r_type, in PrintRLength() argument
772 if (cputype == MachO::CPU_TYPE_ARM && in PrintRLength()
795 if (cputype == MachO::CPU_TYPE_X86_64) in PrintRLength()
809 const uint64_t cputype, in PrintRelocationEntries() argument
831 if (r_scattered && cputype != MachO::CPU_TYPE_X86_64) { in PrintRelocationEntries()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Object/
DMachOUniversal.h62 return Header.cputype; in getCPUType()
64 return Header64.cputype; in getCPUType()
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_procmaps_mac.cpp240 ModuleArch ModuleArchFromCpuType(cpu_type_t cputype, cpu_subtype_t cpusubtype) { in ModuleArchFromCpuType() argument
242 switch (cputype) { in ModuleArchFromCpuType()
306 data_.current_arch = ModuleArchFromCpuType(hdr->cputype, hdr->cpusubtype); in Next()
/freebsd-12-stable/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
DMachOLinkingContext.cpp116 MachOLinkingContext::archFromCpuType(uint32_t cputype, uint32_t cpusubtype) { in archFromCpuType() argument
118 if ((info->cputype == cputype) && (info->cpusubtype == cpusubtype)) in archFromCpuType()
145 return info->cputype; in cpuTypeFromArch()
285 return (info->cputype & CPU_ARCH_ABI64); in is64Bit()
DMachONormalizedFileBinaryReader.cpp169 read32(&mh->cputype, isBig), in isThinObjectFile()
190 if ((readBigEndian(fa->cputype) == reqCpuType) && in sliceFromFatFile()
244 f->arch = MachOLinkingContext::archFromCpuType(smh->cputype, smh->cpusubtype); in readBinary()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
DMachOEmitter.cpp85 Header.cputype = Obj.Header.cputype; in writeHeader()
583 FatArch.cputype = Arch.cputype; in constructFatArch()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
DMachO.h511 uint32_t cputype; member
521 uint32_t cputype; member
940 uint32_t cputype; member
948 uint32_t cputype; member
1011 sys::swapByteOrder(mh.cputype); in swapStruct()
1019 sys::swapByteOrder(mh.cputype); in swapStruct()
1029 sys::swapByteOrder(mh.cputype); in swapStruct()
1039 sys::swapByteOrder(H.cputype); in swapStruct()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
DMachOYAML.h63 llvm::yaml::Hex32 cputype; member
143 llvm::yaml::Hex32 cputype; member
/freebsd-12-stable/contrib/llvm-project/lld/include/lld/ReaderWriter/
DMachOLinkingContext.h394 static Arch archFromCpuType(uint32_t cputype, uint32_t cpusubtype);
430 uint32_t cputype; member
/freebsd-12-stable/contrib/binutils/bfd/
Dcoffcode.h1830 xcoff->cputype = internal_a->o_cputype; in coff_mkobject_hook()
2053 int cputype; in coff_set_arch_mach_hook() local
2055 if (xcoff_data (abfd)->cputype != -1) in coff_set_arch_mach_hook()
2056 cputype = xcoff_data (abfd)->cputype & 0xff; in coff_set_arch_mach_hook()
2064 cputype = 0; in coff_set_arch_mach_hook()
2080 cputype = sym.n_type & 0xff; in coff_set_arch_mach_hook()
2082 cputype = 0; in coff_set_arch_mach_hook()
2088 switch (cputype) in coff_set_arch_mach_hook()
4066 if (xcoff_data (abfd)->cputype != -1) in coff_write_object_contents()
4067 internal_a.o_cputype = xcoff_data (abfd)->cputype; in coff_write_object_contents()
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/
DMachOReader.cpp22 O.Header.CPUType = MachOObj.getHeader().cputype; in readHeader()
93 const uint32_t CPUType = MachOObj.getHeader().cputype; in extractSections()
/freebsd-12-stable/usr.sbin/pmcstudy/
Dpmcstudy.c200 char cputype[32]; member
1965 strcpy(the_cpu.cputype, "SandyBridge PMC"); in set_sandybridge()
1974 strcpy(the_cpu.cputype, "IvyBridge PMC"); in set_ivybridge()
1984 strcpy(the_cpu.cputype, "HASWELL PMC"); in set_haswell()
1994 strcpy(the_cpu.cputype, "HASWELL PMC"); in set_broadwell()
2027 the_cpu.cputype, name); in set_expression()
2552 printf("For CPU's of type %s the following expressions are available:\n",the_cpu.cputype); in explain_all()

123