| /freebsd-14-stable/sys/dev/hwpmc/ |
| HD | hwpmc_intel.c | 80 enum pmc_cputype cputype; in pmc_intel_initialize() local 88 cputype = -1; in pmc_intel_initialize() 103 cputype = PMC_CPU_INTEL_CORE; in pmc_intel_initialize() 108 cputype = PMC_CPU_INTEL_CORE; in pmc_intel_initialize() 111 cputype = PMC_CPU_INTEL_CORE2; in pmc_intel_initialize() 116 cputype = PMC_CPU_INTEL_CORE2EXTREME; in pmc_intel_initialize() 128 cputype = PMC_CPU_INTEL_COREI7; in pmc_intel_initialize() 132 cputype = PMC_CPU_INTEL_NEHALEM_EX; in pmc_intel_initialize() 137 cputype = PMC_CPU_INTEL_WESTMERE; in pmc_intel_initialize() 141 cputype = PMC_CPU_INTEL_WESTMERE_EX; in pmc_intel_initialize() [all …]
|
| HD | hwpmc_amd.c | 1047 enum pmc_cputype cputype; in pmc_amd_initialize() local 1077 cputype = PMC_CPU_AMD_K7; in pmc_amd_initialize() 1084 cputype = PMC_CPU_AMD_K8; in pmc_amd_initialize() 1111 pmc_mdep->pmd_cputype = cputype; in pmc_amd_initialize()
|
| /freebsd-14-stable/sys/arm/arm/ |
| HD | cpufunc.c | 138 u_int cputype; variable 210 cputype = cp15_midr_get(); in set_cpufuncs() 211 cputype &= CPU_ID_CPU_MASK; in set_cpufuncs() 214 if (cputype == CPU_ID_ARM1176JZS) { in set_cpufuncs() 221 switch(cputype & CPU_ID_SCHEME_MASK) { in set_cpufuncs() 241 if (cputype == CPU_ID_MV88SV581X_V7 || in set_cpufuncs() 242 cputype == CPU_ID_MV88SV584X_V7 || in set_cpufuncs() 243 cputype == CPU_ID_ARM_88SV581X_V7) { in set_cpufuncs() 253 panic("No support for this CPU type (%08x) in kernel", cputype); in set_cpufuncs()
|
| /freebsd-14-stable/usr.sbin/config/ |
| HD | config.y | 167 struct cputype *cp = 168 (struct cputype *)calloc(1, sizeof (struct cputype)); 172 SLIST_INSERT_HEAD(&cputype, cp, cpu_next); 175 struct cputype *cp, *cp2; 176 SLIST_FOREACH_SAFE(cp, &cputype, cpu_next, cp2) { 178 SLIST_REMOVE(&cputype, cp, cputype, cpu_next);
|
| HD | config.h | 168 struct cputype { struct 170 SLIST_ENTRY(cputype) cpu_next; argument 173 extern SLIST_HEAD(cputype_head, cputype) cputype;
|
| HD | main.cc | 79 struct cputype_head cputype; variable 135 SLIST_INIT(&cputype); in main() 234 if (SLIST_EMPTY(&cputype)) { in main() 470 struct cputype *cput; in configfile_dynamic() 481 SLIST_FOREACH(cput, &cputype, cpu_next) in configfile_dynamic()
|
| HD | mkoptions.cc | 66 struct cputype *cp; in options() 71 SLIST_FOREACH(cp, &cputype, cpu_next) { in options()
|
| /freebsd-14-stable/sys/arm/mv/armadaxp/ |
| HD | armadaxp_mp.c | 102 uint32_t reg, *src, *dst, cpu_num, div_val, cputype; in mv_axp_platform_mp_start_ap() local 108 cputype = cp15_midr_get(); in mv_axp_platform_mp_start_ap() 109 cputype &= CPU_ID_CPU_MASK; in mv_axp_platform_mp_start_ap() 123 if (cputype == CPU_ID_MV88SV584X_V7) { in mv_axp_platform_mp_start_ap()
|
| HD | armadaxp.c | 142 uint32_t cputype; in get_tclk_armadaxp() local 144 cputype = cp15_midr_get(); in get_tclk_armadaxp() 145 cputype &= CPU_ID_CPU_MASK; in get_tclk_armadaxp() 147 if (cputype == CPU_ID_MV88SV584X_V7) in get_tclk_armadaxp()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Object/ |
| HD | MachOUniversal.cpp | 71 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()
|
| HD | MachOUniversalWriter.cpp | 70 switch (ObjectFile.getHeader().cputype) { in calculateAlignment() 91 : B(&O), CPUType(O.getHeader().cputype), in Slice() 121 return std::make_pair(O.getHeader().cputype, O.getHeader().cpusubtype); in getMachoCPUFromObjectFile() 281 FatArch.cputype = S.getCPUType(); in buildFatArchList()
|
| HD | MachOObjectFile.cpp | 133 return O.getHeader().cputype; in getCPUType() 1023 uint32_t cputype = getCPUType(Obj); in checkThreadCommand() local 1045 if (cputype == MachO::CPU_TYPE_I386) { in checkThreadCommand() 1064 } else if (cputype == MachO::CPU_TYPE_X86_64) { in checkThreadCommand() 1131 } else if (cputype == MachO::CPU_TYPE_ARM) { in checkThreadCommand() 1150 } else if (cputype == MachO::CPU_TYPE_ARM64 || in checkThreadCommand() 1151 cputype == MachO::CPU_TYPE_ARM64_32) { in checkThreadCommand() 1170 } else if (cputype == MachO::CPU_TYPE_POWERPC) { in checkThreadCommand() 1190 return malformedError("unknown cputype (" + Twine(cputype) + ") load " in checkThreadCommand() 1275 uint32_t cputype; in MachOObjectFile() local [all …]
|
| /freebsd-14-stable/contrib/llvm-project/lldb/tools/compact-unwind/ |
| HD | compact-unwind-dumper.c | 37 cpu_type_t cputype; member 125 baton->cputype = mh.cputype; in scan_macho_load_commands() 289 if (baton->cputype == CPU_TYPE_ARM) in scan_macho_load_commands() 319 if (baton->cputype == CPU_TYPE_ARM) in scan_macho_load_commands() 377 if (baton->cputype == CPU_TYPE_ARM) in scan_macho_load_commands() 395 if (baton->cputype == CPU_TYPE_ARM) in scan_macho_load_commands() 1105 if (baton.cputype == CPU_TYPE_X86_64) { in print_encoding() 1107 } else if (baton.cputype == CPU_TYPE_I386) { in print_encoding() 1109 } else if (baton.cputype == CPU_TYPE_ARM64 || baton.cputype == CPU_TYPE_ARM64_32) { in print_encoding() 1111 } else if (baton.cputype == CPU_TYPE_ARM) { in print_encoding() [all …]
|
| /freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/Object/ |
| HD | MachOUniversal.h | 61 return Header.cputype; in getCPUType() 63 return Header64.cputype; in getCPUType()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| HD | MachODump.cpp | 612 uint32_t cputype = O->getHeader().cputype; in PrintIndirectSymbolTable() local 613 if (cputype & MachO::CPU_ARCH_ABI64) in PrintIndirectSymbolTable() 622 if (cputype & MachO::CPU_ARCH_ABI64) in PrintIndirectSymbolTable() 718 static void PrintRType(const uint64_t cputype, const unsigned r_type) { in PrintRType() argument 744 switch (cputype) { in PrintRType() 763 static void PrintRLength(const uint64_t cputype, const unsigned r_type, in PrintRLength() argument 765 if (cputype == MachO::CPU_TYPE_ARM && in PrintRLength() 788 if (cputype == MachO::CPU_TYPE_X86_64) in PrintRLength() 802 const uint64_t cputype, in PrintRelocationEntries() argument 824 if (r_scattered && cputype != MachO::CPU_TYPE_X86_64) { in PrintRelocationEntries() [all …]
|
| /freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| HD | sanitizer_procmaps_mac.cpp | 308 ModuleArch ModuleArchFromCpuType(cpu_type_t cputype, cpu_subtype_t cpusubtype) { in ModuleArchFromCpuType() argument 310 switch (cputype) { in ModuleArchFromCpuType() 379 data_.current_arch = ModuleArchFromCpuType(hdr->cputype, hdr->cpusubtype); in Next()
|
| /freebsd-14-stable/sys/arm/include/ |
| HD | cpufunc.h | 74 extern u_int cputype;
|
| /freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
| HD | MachOYAML.h | 64 llvm::yaml::Hex32 cputype; member 155 llvm::yaml::Hex32 cputype; member
|
| /freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| HD | MachO.h | 514 uint32_t cputype; member 524 uint32_t cputype; member 962 uint32_t cputype; member 970 uint32_t cputype; member 1146 sys::swapByteOrder(mh.cputype); in swapStruct() 1154 sys::swapByteOrder(mh.cputype); in swapStruct() 1164 sys::swapByteOrder(mh.cputype); in swapStruct() 1174 sys::swapByteOrder(H.cputype); in swapStruct()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| HD | MachOEmitter.cpp | 92 Header.cputype = Obj.Header.cputype; in writeHeader() 695 FatArch.cputype = Arch.cputype; in constructFatArch()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/ |
| HD | DebuggerSupportPlugin.cpp | 126 Builder.Header.cputype = MachO::CPU_TYPE_X86_64; in startSynthesis() 130 Builder.Header.cputype = MachO::CPU_TYPE_ARM64; in startSynthesis()
|
| /freebsd-14-stable/usr.sbin/pmcstudy/ |
| HD | pmcstudy.c | 198 char cputype[32]; member 1963 strcpy(the_cpu.cputype, "SandyBridge PMC"); in set_sandybridge() 1972 strcpy(the_cpu.cputype, "IvyBridge PMC"); in set_ivybridge() 1982 strcpy(the_cpu.cputype, "HASWELL PMC"); in set_haswell() 1992 strcpy(the_cpu.cputype, "HASWELL PMC"); in set_broadwell() 2025 the_cpu.cputype, name); in set_expression() 2556 printf("For CPU's of type %s the following expressions are available:\n",the_cpu.cputype); in explain_all()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/ObjCopy/MachO/ |
| HD | MachOReader.cpp | 23 O.Header.CPUType = MachOObj.getHeader().cputype; in readHeader() 95 const uint32_t CPUType = MachOObj.getHeader().cputype; in extractSections()
|
| /freebsd-14-stable/contrib/llvm-project/lldb/source/Plugins/ObjectContainer/Mach-O-Fileset/ |
| HD | ObjectContainerMachOFileset.cpp | 128 header.cputype = data.GetU32(&offset); in ParseMachOHeader()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/tools/llvm-dwarfdump/ |
| HD | llvm-dwarfdump.cpp | 367 return MachO.getHeader64().cputype; in getCPUType() 369 return MachO.getHeader().cputype; in getCPUType()
|