/freebsd-13-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-13-stable/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | MachOUniversal.h | 65 return Header.cpusubtype; 67 return Header64.cpusubtype;
|
/freebsd-13-stable/contrib/llvm-project/lld/include/lld/ReaderWriter/ |
H A D | MachOLinkingContext.h | 394 static Arch archFromCpuType(uint32_t cputype, uint32_t cpusubtype); 431 uint32_t cpusubtype; member in struct:lld::MachOLinkingContext::ArchInfo
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | MachO.h | 509 uint32_t cpusubtype; member in struct:llvm::MachO::mach_header 519 uint32_t cpusubtype; member in struct:llvm::MachO::mach_header_64 938 uint32_t cpusubtype; member in struct:llvm::MachO::fat_arch 946 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-13-stable/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
H A D | MachOYAML.h | 64 llvm::yaml::Hex32 cpusubtype; member in struct:llvm::MachOYAML::FileHeader 144 llvm::yaml::Hex32 cpusubtype; member in struct:llvm::MachOYAML::FatArch
|
/freebsd-13-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-13-stable/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | MachOEmitter.cpp | 86 Header.cpusubtype = Obj.Header.cpusubtype; 600 FatArch.cpusubtype = Arch.cpusubtype;
|
H A D | MachOYAML.cpp | 87 IO.mapRequired("cpusubtype", FileHdr.cpusubtype); 132 IO.mapRequired("cpusubtype", FatArch.cpusubtype);
|
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objdump/ |
H A D | MachODump.cpp | 1883 T = MachOObjectFile::getArchTriple(H_64.cputype, H_64.cpusubtype, 1887 T = MachOObjectFile::getArchTriple(H.cputype, H.cpusubtype, 2020 static void printUnknownCPUType(uint32_t cputype, uint32_t cpusubtype) { argument 2022 outs() << " cpusubtype (" << cpusubtype << ")\n"; 2027 static void printCPUType(uint32_t cputype, uint32_t cpusubtype) { argument 2030 switch (cpusubtype) { 2033 outs() << " cpusubtype CPU_SUBTYPE_I386_ALL\n"; 2036 printUnknownCPUType(cputype, cpusubtype); 2041 switch (cpusubtype) { 2165 uint32_t cpusubtype = OFA.getCPUSubType(); local 8231 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-13-stable/contrib/llvm-project/lld/MachO/ |
H A D | InputFiles.cpp | 103 read32be(&arch[i].cpusubtype) != target->cpuSubtype)
|
H A D | SyntheticSections.cpp | 57 hdr->cpusubtype = MachO::CPU_SUBTYPE_X86_64_ALL | MachO::CPU_SUBTYPE_LIB64;
|
/freebsd-13-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 | 142 Header.cpusubtype = O.Header.CPUSubType;
|
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-size/ |
H A D | llvm-size.cpp | 540 T = MachOObjectFile::getArchTriple(H_64.cputype, H_64.cpusubtype); 543 T = MachOObjectFile::getArchTriple(H.cputype, H.cpusubtype);
|
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | MachODumper.cpp | 426 uint32_t subtype = Header.cpusubtype & ~MachO::CPU_SUBTYPE_MASK;
|
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-nm/ |
H A D | llvm-nm.cpp | 1805 T = MachOObjectFile::getArchTriple(H_64.cputype, H_64.cpusubtype, 1809 T = MachOObjectFile::getArchTriple(H.cputype, H.cpusubtype,
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Object/ |
H A D | MachOObjectFile.cpp | 132 return O.getHeader().cpusubtype; 2753 return getArchTriple(Header.cputype, Header.cpusubtype, McpuDefault);
|