/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_procmaps_mac.cpp | 240 ModuleArch ModuleArchFromCpuType(cpu_type_t cputype, cpu_subtype_t cpusubtype) { argument 241 cpusubtype = cpusubtype & ~CPU_SUBTYPE_MASK; 246 if (cpusubtype == CPU_SUBTYPE_X86_64_ALL) return kModuleArchX86_64; 247 if (cpusubtype == CPU_SUBTYPE_X86_64_H) return kModuleArchX86_64H; 251 if (cpusubtype == CPU_SUBTYPE_ARM_V6) return kModuleArchARMV6; 252 if (cpusubtype == CPU_SUBTYPE_ARM_V7) return kModuleArchARMV7; 253 if (cpusubtype == CPU_SUBTYPE_ARM_V7S) return kModuleArchARMV7S; 254 if (cpusubtype == CPU_SUBTYPE_ARM_V7K) return kModuleArchARMV7K; 306 data_.current_arch = ModuleArchFromCpuType(hdr->cputype, hdr->cpusubtype); [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | MachOUniversal.h | 65 return Header.cpusubtype; 67 return Header64.cpusubtype; 97 MachOObjectFile::getArchTriple(Header.cputype, Header.cpusubtype, 102 Header64.cpusubtype,
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | MachO.cpp | 63 << ", cpusubtype = " << format("0x%08" PRIx32, Header.cpusubtype)
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
H A D | MachOYAML.h | 49 llvm::yaml::Hex32 cpusubtype; member in struct:llvm::MachOYAML::FileHeader 129 llvm::yaml::Hex32 cpusubtype; member in struct:llvm::MachOYAML::FatArch
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | MachO.h | 504 uint32_t cpusubtype; member in struct:llvm::MachO::mach_header 514 uint32_t cpusubtype; member in struct:llvm::MachO::mach_header_64 933 uint32_t cpusubtype; member in struct:llvm::MachO::fat_arch 941 uint32_t cpusubtype; member in struct:llvm::MachO::fat_arch_64 1009 sys::swapByteOrder(mh.cpusubtype); 1017 sys::swapByteOrder(mh.cpusubtype); 1027 sys::swapByteOrder(mh.cpusubtype); 1037 sys::swapByteOrder(H.cpusubtype); 1431 // Capability bits used in the definition of cpusubtype. 1439 // Constants for the cpusubtype fiel [all...] |
/freebsd-11-stable/contrib/llvm-project/lld/include/lld/ReaderWriter/ |
H A D | MachOLinkingContext.h | 394 static Arch archFromCpuType(uint32_t cputype, uint32_t cpusubtype); 433 uint32_t cpusubtype; member in struct:lld::MachOLinkingContext::ArchInfo
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | MachOEmitter.cpp | 75 Header.cpusubtype = Obj.Header.cpusubtype; 523 FatArch.cpusubtype = Arch.cpusubtype;
|
H A D | MachOYAML.cpp | 87 IO.mapRequired("cpusubtype", FileHdr.cpusubtype); 130 IO.mapRequired("cpusubtype", FatArch.cpusubtype);
|
/freebsd-11-stable/contrib/llvm-project/lld/lib/ReaderWriter/MachO/ |
H A D | MachOLinkingContext.cpp | 116 MachOLinkingContext::archFromCpuType(uint32_t cputype, uint32_t cpusubtype) { argument 118 if ((info->cputype == cputype) && (info->cpusubtype == cpusubtype)) 154 return info->cpusubtype;
|
H A D | MachONormalizedFileBinaryReader.cpp | 170 read32(&mh->cpusubtype, isBig)); 191 (readBigEndian(fa->cpusubtype) == reqCpuSubtype)) { 244 f->arch = MachOLinkingContext::archFromCpuType(smh->cputype, smh->cpusubtype);
|
H A D | MachONormalizedFileBinaryWriter.cpp | 579 auto cpusubtype = MachOLinkingContext::cpuSubtypeFromArch(_file.arch); local 584 cpusubtype == CPU_SUBTYPE_X86_64_ALL && 589 cpusubtype |= CPU_SUBTYPE_LIB64; 595 mh->cpusubtype = cpusubtype;
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objdump/ |
H A D | MachODump.cpp | 1889 T = MachOObjectFile::getArchTriple(H_64.cputype, H_64.cpusubtype, 1893 T = MachOObjectFile::getArchTriple(H.cputype, H.cpusubtype, 2026 static void printUnknownCPUType(uint32_t cputype, uint32_t cpusubtype) { argument 2028 outs() << " cpusubtype (" << cpusubtype << ")\n"; 2033 static void printCPUType(uint32_t cputype, uint32_t cpusubtype) { argument 2036 switch (cpusubtype) { 2039 outs() << " cpusubtype CPU_SUBTYPE_I386_ALL\n"; 2042 printUnknownCPUType(cputype, cpusubtype); 2047 switch (cpusubtype) { 2171 uint32_t cpusubtype = OFA.getCPUSubType(); local 8230 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 [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/ |
H A D | MachOReader.cpp | 23 O.Header.CPUSubType = MachOObj.getHeader().cpusubtype;
|
H A D | MachOWriter.cpp | 133 Header.cpusubtype = O.Header.CPUSubType;
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-size/ |
H A D | llvm-size.cpp | 524 T = MachOObjectFile::getArchTriple(H_64.cputype, H_64.cpusubtype); 527 T = MachOObjectFile::getArchTriple(H.cputype, H.cpusubtype);
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | MachODumper.cpp | 426 uint32_t subtype = Header.cpusubtype & ~MachO::CPU_SUBTYPE_MASK;
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-nm/ |
H A D | llvm-nm.cpp | 1762 T = MachOObjectFile::getArchTriple(H_64.cputype, H_64.cpusubtype, 1766 T = MachOObjectFile::getArchTriple(H.cputype, H.cpusubtype,
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/ |
H A D | MachOObjectFile.cpp | 132 return O.getHeader().cpusubtype; 2748 return getArchTriple(Header.cputype, Header.cpusubtype, McpuDefault);
|