Home
last modified time | relevance | path

Searched refs:cpusubtype (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_mac.cpp308 ModuleArch ModuleArchFromCpuType(cpu_type_t cputype, cpu_subtype_t cpusubtype) { in ModuleArchFromCpuType() argument
309 cpusubtype = cpusubtype & ~CPU_SUBTYPE_MASK; in ModuleArchFromCpuType()
314 if (cpusubtype == CPU_SUBTYPE_X86_64_ALL) return kModuleArchX86_64; in ModuleArchFromCpuType()
315 if (cpusubtype == CPU_SUBTYPE_X86_64_H) return kModuleArchX86_64H; in ModuleArchFromCpuType()
319 if (cpusubtype == CPU_SUBTYPE_ARM_V6) return kModuleArchARMV6; in ModuleArchFromCpuType()
320 if (cpusubtype == CPU_SUBTYPE_ARM_V7) return kModuleArchARMV7; in ModuleArchFromCpuType()
321 if (cpusubtype == CPU_SUBTYPE_ARM_V7S) return kModuleArchARMV7S; in ModuleArchFromCpuType()
322 if (cpusubtype == CPU_SUBTYPE_ARM_V7K) return kModuleArchARMV7K; in ModuleArchFromCpuType()
379 data_.current_arch = ModuleArchFromCpuType(hdr->cputype, hdr->cpusubtype); in Next()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DMachOUniversalWriter.cpp92 CPUSubType(O.getHeader().cpusubtype), in Slice()
121 return std::make_pair(O.getHeader().cputype, O.getHeader().cpusubtype); in create()
150 Twine(ObjectCPU.first) + ") and cpusubtype(" + in create()
153 Twine(CPU->first) + ") and cpusubtype(" + Twine(CPU->second) + in create()
178 Twine(ObjectCPU->first) + ") and cpusubtype(" + in create()
181 Twine(CPU->first) + ") and cpusubtype(" + Twine(CPU->second) + in create()
282 FatArch.cpusubtype = S.getCPUSubType(); in writeUniversalBinaryToStream()
H A DMachOObjectFile.cpp137 return O.getHeader().cpusubtype; in getCPUSubType()
2886 return getArchTriple(Header.cputype, Header.cpusubtype, McpuDefault); in getArchTriple()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachOUniversal.h67 return Header.cpusubtype; in getCPUSubType()
69 return Header64.cpusubtype; in getCPUSubType()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.cpp2080 T = MachOObjectFile::getArchTriple(H_64.cputype, H_64.cpusubtype, in checkMachOAndArchFlags()
2084 T = MachOObjectFile::getArchTriple(H.cputype, H.cpusubtype, in checkMachOAndArchFlags()
2226 static void printUnknownCPUType(uint32_t cputype, uint32_t cpusubtype) { in printUnknownCPUType() argument
2228 outs() << " cpusubtype (" << cpusubtype << ")\n"; in printUnknownCPUType()
2233 static void printCPUType(uint32_t cputype, uint32_t cpusubtype) { in printCPUType() argument
2236 switch (cpusubtype) { in printCPUType()
2242 printUnknownCPUType(cputype, cpusubtype); in printCPUType()
2247 switch (cpusubtype) { in printCPUType()
2257 printUnknownCPUType(cputype, cpusubtype); in printCPUType()
2262 switch (cpusubtype) { in printCPUType()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMachO.h515 uint32_t cpusubtype;
525 uint32_t cpusubtype;
963 uint32_t cpusubtype;
971 uint32_t cpusubtype;
1147 sys::swapByteOrder(mh.cpusubtype); in swapStruct()
1155 sys::swapByteOrder(mh.cpusubtype); in swapStruct()
1165 sys::swapByteOrder(mh.cpusubtype); in swapStruct()
1175 sys::swapByteOrder(H.cpusubtype); in swapStruct()
1578 // Capability bits used in the definition of cpusubtype.
1586 // Constants for the cpusubtype fiel
521 uint32_t cpusubtype; global() member
531 uint32_t cpusubtype; global() member
964 uint32_t cpusubtype; global() member
972 uint32_t cpusubtype; global() member
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DMachOYAML.h65 llvm::yaml::Hex32 cpusubtype; member
156 llvm::yaml::Hex32 cpusubtype; member
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMachOEmitter.cpp93 Header.cpusubtype = Obj.Header.cpusubtype; in writeHeader()
696 FatArch.cpusubtype = Arch.cpusubtype; in constructFatArch()
H A DMachOYAML.cpp89 IO.mapRequired("cpusubtype", FileHdr.cpusubtype); in mapping()
137 IO.mapRequired("cpusubtype", FatArch.cpusubtype); in mapping()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DDebuggerSupportPlugin.cpp
H A DMachOPlatform.cpp1586 Hdr.cpusubtype = MachO::CPU_SUBTYPE_ARM64_ALL; in populateObjCRuntimeObject()
1590 Hdr.cpusubtype = MachO::CPU_SUBTYPE_X86_64_ALL; in populateObjCRuntimeObject()
1735 B.Header.cpusubtype = HdrInfo.CPUSubType; in createHeaderBlock()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectContainer/Mach-O-Fileset/
H A DObjectContainerMachOFileset.cpp129 header.cpusubtype = data.GetU32(&offset); in ParseMachOHeader()
/freebsd/contrib/llvm-project/llvm/tools/llvm-size/
H A Dllvm-size.cpp525 T = MachOObjectFile::getArchTriple(H_64.cputype, H_64.cpusubtype); in checkMachOAndArchFlags()
528 T = MachOObjectFile::getArchTriple(H.cputype, H.cpusubtype); in checkMachOAndArchFlags()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOReader.cpp24 O.Header.CPUSubType = MachOObj.getHeader().cpusubtype; in readHeader()
H A DMachOWriter.cpp140 Header.cpusubtype = O.Header.CPUSubType; in writeHeader()
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/BinaryReader/
H A DDylibReader.cpp364 Obj->getHeader().cpusubtype); in readFile()
/freebsd/contrib/llvm-project/lld/MachO/
H A DInputFiles.cpp195 getArchitectureFromCpuType(hdr->cputype, hdr->cpusubtype); in compatWithTargetArch()
262 read32be(&arch[i].cpusubtype) & ~MachO::CPU_SUBTYPE_MASK; in readFile()
H A DSyntheticSections.cpp122 hdr->cpusubtype = cpuSubtype(); in writeTo()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp436 uint32_t subtype = Header.cpusubtype & ~MachO::CPU_SUBTYPE_MASK; in printFileHeaders()
/freebsd/contrib/llvm-project/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp2030 T = MachOObjectFile::getArchTriple(H_64.cputype, H_64.cpusubtype, in checkMachOAndArchFlags()
2034 T = MachOObjectFile::getArchTriple(H.cputype, H.cpusubtype, in checkMachOAndArchFlags()