Searched refs:cputype (Results 1 - 25 of 50) sorted by last modified time

12

/freebsd-current/contrib/llvm-project/llvm/tools/llvm-size/
H A Dllvm-size.cpp525 T = MachOObjectFile::getArchTriple(H_64.cputype, H_64.cpusubtype);
528 T = MachOObjectFile::getArchTriple(H.cputype, H.cpusubtype);
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp435 W.printEnum("CpuType", Header.cputype, ArrayRef(MachOHeaderCpuTypes));
437 switch (Header.cputype) {
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.cpp612 uint32_t cputype = O->getHeader().cputype; local
613 if (cputype & MachO::CPU_ARCH_ABI64)
622 if (cputype & MachO::CPU_ARCH_ABI64)
718 static void PrintRType(const uint64_t cputype, const unsigned r_type) { argument
744 switch (cputype) {
763 static void PrintRLength(const uint64_t cputype, const unsigned r_type, argument
765 if (cputype == MachO::CPU_TYPE_ARM &&
788 if (cputype == MachO::CPU_TYPE_X86_64)
802 const uint64_t cputype,
799 PrintRelocationEntries(const MachOObjectFile *O, const relocation_iterator Begin, const relocation_iterator End, const uint64_t cputype, const bool verbose) argument
975 const uint64_t cputype = O->getHeader().cputype; local
1880 uint32_t cputype = O->getHeader().cputype; local
2226 printUnknownCPUType(uint32_t cputype, uint32_t cpusubtype) argument
2233 printCPUType(uint32_t cputype, uint32_t cpusubtype) argument
2374 uint32_t cputype = OFA.getCPUType(); local
8123 PrintMachHeader(uint32_t magic, uint32_t cputype, uint32_t cpusubtype, uint32_t filetype, uint32_t ncmds, uint32_t sizeofcmds, uint32_t flags, bool verbose) argument
9515 PrintThreadCommand(MachO::thread_command t, const char *Ptr, bool isLittleEndian, uint32_t cputype) argument
9978 PrintLoadCommands(const MachOObjectFile *Obj, uint32_t filetype, uint32_t cputype, bool verbose) argument
10145 uint32_t cputype = 0; local
[all...]
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp1309 H.cputype == MachO::CPU_TYPE_ARM) {
2033 T = MachOObjectFile::getArchTriple(H_64.cputype, H_64.cpusubtype,
2037 T = MachOObjectFile::getArchTriple(H.cputype, H.cpusubtype,
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A Dllvm-dwarfdump.cpp337 return MachO.getHeader64().cputype;
339 return MachO.getHeader().cputype;
/freebsd-current/contrib/llvm-project/llvm/lib/TextAPI/BinaryReader/
H A DDylibReader.cpp358 const auto Arch = getArchitectureFromCpuType(Obj->getHeader().cputype,
/freebsd-current/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMachOEmitter.cpp92 Header.cputype = Obj.Header.cputype;
695 FatArch.cputype = Arch.cputype;
H A DMachOYAML.cpp88 IO.mapRequired("cputype", FileHdr.cputype);
136 IO.mapRequired("cputype", FatArch.cputype);
/freebsd-current/contrib/llvm-project/llvm/lib/Object/
H A DMachOUniversalWriter.cpp70 switch (ObjectFile.getHeader().cputype) {
91 : B(&O), CPUType(O.getHeader().cputype),
121 return std::make_pair(O.getHeader().cputype, O.getHeader().cpusubtype);
149 ("archive member " + O->getFileName() + " cputype (" +
152 ") does not match previous archive members cputype (" +
177 ("archive member " + O->getFileName() + " cputype (" +
180 ") does not match previous archive members cputype (" +
281 FatArch.cputype = S.getCPUType();
H A DMachOObjectFile.cpp133 return O.getHeader().cputype;
1023 uint32_t cputype = getCPUType(Obj); local
1045 if (cputype == MachO::CPU_TYPE_I386) {
1064 } else if (cputype == MachO::CPU_TYPE_X86_64) {
1131 } else if (cputype == MachO::CPU_TYPE_ARM) {
1150 } else if (cputype == MachO::CPU_TYPE_ARM64 ||
1151 cputype == MachO::CPU_TYPE_ARM64_32) {
1170 } else if (cputype == MachO::CPU_TYPE_POWERPC) {
1190 return malformedError("unknown cputype (" + Twine(cputype)
1275 uint32_t cputype; local
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOReader.cpp23 O.Header.CPUType = MachOObj.getHeader().cputype;
95 const uint32_t CPUType = MachOObj.getHeader().cputype;
/freebsd-current/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DMachOPlatform.cpp1539 Hdr.cputype = MachO::CPU_TYPE_ARM64;
1543 Hdr.cputype = MachO::CPU_TYPE_X86_64;
1688 B.Header.cputype = HdrInfo.CPUType;
/freebsd-current/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/
H A DDebuggerSupportPlugin.cpp126 Builder.Header.cputype = MachO::CPU_TYPE_X86_64;
130 Builder.Header.cputype = MachO::CPU_TYPE_ARM64;
/freebsd-current/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMachO.h514 uint32_t cputype; member in struct:llvm::MachO::mach_header
524 uint32_t cputype; member in struct:llvm::MachO::mach_header_64
962 uint32_t cputype; member in struct:llvm::MachO::fat_arch
970 uint32_t cputype; member in struct:llvm::MachO::fat_arch_64
1146 sys::swapByteOrder(mh.cputype);
1154 sys::swapByteOrder(mh.cputype);
1164 sys::swapByteOrder(mh.cputype);
1174 sys::swapByteOrder(H.cputype);
1561 // Constants for the cputype field.
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/ObjectContainer/Mach-O-Fileset/
H A DObjectContainerMachOFileset.cpp128 header.cputype = data.GetU32(&offset);
265 offset += 4; // cputype
/freebsd-current/contrib/llvm-project/lld/MachO/
H A DSyntheticSections.cpp120 hdr->cputype = target->cpuType;
H A DInputFiles.cpp193 if (hdr->cputype != cpuType) {
195 getArchitectureFromCpuType(hdr->cputype, hdr->cpusubtype);
260 uint32_t cpuType = read32be(&arch[i].cputype);
/freebsd-current/contrib/unbound/
H A Dconfig.guess1531 # "uname -m" is not consistent, so use $cputype instead. 386
1534 if test "${cputype-}" = 386; then
1536 elif test "x${cputype-}" != x; then
1537 UNAME_MACHINE=$cputype
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachOUniversal.h61 return Header.cputype;
63 return Header64.cputype;
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_mac.cpp308 ModuleArch ModuleArchFromCpuType(cpu_type_t cputype, cpu_subtype_t cpusubtype) { argument
310 switch (cputype) {
379 data_.current_arch = ModuleArchFromCpuType(hdr->cputype, hdr->cpusubtype);
/freebsd-current/usr.sbin/config/
H A Dmkoptions.cc60 struct cputype *cp;
65 SLIST_FOREACH(cp, &cputype, cpu_next) {
H A Dmain.cc67 struct cputype_head cputype; variable in typeref:struct:cputype_head
123 SLIST_INIT(&cputype);
222 if (SLIST_EMPTY(&cputype)) {
458 struct cputype *cput;
469 SLIST_FOREACH(cput, &cputype, cpu_next)
H A Dconfig.h166 struct cputype { struct
168 SLIST_ENTRY(cputype) cpu_next;
171 extern SLIST_HEAD(cputype_head, cputype) cputype;
H A Dconfig.y165 struct cputype *cp =
166 (struct cputype *)calloc(1, sizeof (struct cputype));
170 SLIST_INSERT_HEAD(&cputype, cp, cpu_next);
173 struct cputype *cp, *cp2;
174 SLIST_FOREACH_SAFE(cp, &cputype, cpu_next, cp2) {
176 SLIST_REMOVE(&cputype, cp, cputype, cpu_next);
/freebsd-current/sys/dev/hwpmc/
H A Dhwpmc_intel.c79 enum pmc_cputype cputype; local
87 cputype = -1;
102 cputype = PMC_CPU_INTEL_CORE;
107 cputype = PMC_CPU_INTEL_CORE;
110 cputype = PMC_CPU_INTEL_CORE2;
115 cputype = PMC_CPU_INTEL_CORE2EXTREME;
127 cputype = PMC_CPU_INTEL_COREI7;
131 cputype = PMC_CPU_INTEL_NEHALEM_EX;
136 cputype = PMC_CPU_INTEL_WESTMERE;
140 cputype
[all...]

Completed in 312 milliseconds

12