Searched refs:cpusubtype (Results 1 - 19 of 19) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_mac.cpp240 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 DMachOUniversal.h65 return Header.cpusubtype;
67 return Header64.cpusubtype;
/freebsd-13-stable/contrib/llvm-project/lld/include/lld/ReaderWriter/
H A DMachOLinkingContext.h394 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 DMachO.h509 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 DMachOYAML.h64 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 DMachOLinkingContext.cpp116 MachOLinkingContext::archFromCpuType(uint32_t cputype, uint32_t cpusubtype) { argument
118 if ((info->cputype == cputype) && (info->cpusubtype == cpusubtype))
154 return info->cpusubtype;
H A DMachONormalizedFileBinaryReader.cpp170 read32(&mh->cpusubtype, isBig));
191 (readBigEndian(fa->cpusubtype) == reqCpuSubtype)) {
244 f->arch = MachOLinkingContext::archFromCpuType(smh->cputype, smh->cpusubtype);
H A DMachONormalizedFileBinaryWriter.cpp579 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 DMachOEmitter.cpp86 Header.cpusubtype = Obj.Header.cpusubtype;
600 FatArch.cpusubtype = Arch.cpusubtype;
H A DMachOYAML.cpp87 IO.mapRequired("cpusubtype", FileHdr.cpusubtype);
132 IO.mapRequired("cpusubtype", FatArch.cpusubtype);
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.cpp1883 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 DInputFiles.cpp103 read32be(&arch[i].cpusubtype) != target->cpuSubtype)
H A DSyntheticSections.cpp57 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 DMachOReader.cpp23 O.Header.CPUSubType = MachOObj.getHeader().cpusubtype;
H A DMachOWriter.cpp142 Header.cpusubtype = O.Header.CPUSubType;
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-size/
H A Dllvm-size.cpp540 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 DMachODumper.cpp426 uint32_t subtype = Header.cpusubtype & ~MachO::CPU_SUBTYPE_MASK;
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp1805 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 DMachOObjectFile.cpp132 return O.getHeader().cpusubtype;
2753 return getArchTriple(Header.cputype, Header.cpusubtype, McpuDefault);

Completed in 344 milliseconds