Home
last modified time | relevance | path

Searched refs:CPUSubType (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DMachOUniversalWriter.h37 uint32_t CPUSubType; variable
45 Slice(const IRObjectFile &IRO, uint32_t CPUType, uint32_t CPUSubType,
56 Slice(const Archive &A, uint32_t CPUType, uint32_t CPUSubType,
70 uint32_t getCPUSubType() const { return CPUSubType; } in getCPUSubType()
75 return static_cast<uint64_t>(CPUType) << 32 | CPUSubType; in getCPUID()
82 Twine(CPUSubType & ~MachO::CPU_SUBTYPE_MASK) + ")") in getArchString()
88 return Lhs.CPUSubType < Rhs.CPUSubType;
H A DMachO.h703 static Triple::ArchType getArch(uint32_t CPUType, uint32_t CPUSubType);
704 static Triple getArchTriple(uint32_t CPUType, uint32_t CPUSubType,
/llvm-project-15.0.7/llvm/lib/Object/
H A DMachOUniversalWriter.cpp85 Slice::Slice(const Archive &A, uint32_t CPUType, uint32_t CPUSubType, in Slice() argument
87 : B(&A), CPUType(CPUType), CPUSubType(CPUSubType), in Slice()
92 CPUSubType(O.getHeader().cpusubtype), in Slice()
96 Slice::Slice(const IRObjectFile &IRO, uint32_t CPUType, uint32_t CPUSubType, in Slice() argument
98 : B(&IRO), CPUType(CPUType), CPUSubType(CPUSubType), in Slice()
234 unsigned CPUType, CPUSubType; in create() local
235 std::tie(CPUType, CPUSubType) = CPUOrErr.get(); in create()
239 MachOObjectFile::getArchTriple(CPUType, CPUSubType).getArchName()); in create()
240 return Slice{IRO, CPUType, CPUSubType, std::move(ArchName), Align}; in create()
H A DMachOObjectFile.cpp2638 Triple::ArchType MachOObjectFile::getArch(uint32_t CPUType, uint32_t CPUSubType) { in getArch() argument
2659 Triple MachOObjectFile::getArchTriple(uint32_t CPUType, uint32_t CPUSubType, in getArchTriple() argument
2669 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
2678 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
2691 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
2746 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
2763 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
2774 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
2783 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
/llvm-project-15.0.7/llvm/lib/TextAPI/
H A DArchitecture.cpp23 Architecture getArchitectureFromCpuType(uint32_t CPUType, uint32_t CPUSubType) { in getArchitectureFromCpuType() argument
26 (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) == (Subtype)) \ in getArchitectureFromCpuType()
/llvm-project-15.0.7/llvm/include/llvm/TextAPI/
H A DArchitecture.h35 Architecture getArchitectureFromCpuType(uint32_t CPUType, uint32_t CPUSubType);
/llvm-project-15.0.7/llvm/tools/lto/
H A Dlto.cpp334 Expected<uint32_t> CPUSubType = M->getMachOCPUSubType(); in lto_module_get_macho_cputype() local
335 if (!CPUSubType) { in lto_module_get_macho_cputype()
336 sLastErrorString = toString(CPUSubType.takeError()); in lto_module_get_macho_cputype()
339 *out_cpusubtype = *CPUSubType; in lto_module_get_macho_cputype()
/llvm-project-15.0.7/llvm/unittests/BinaryFormat/
H A DMachOTest.cpp77 TEST(MachOTest, CPUSubType) { in TEST() argument
/llvm-project-15.0.7/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp466 Expected<uint32_t> CPUSubType = (*ModuleOrErr)->getMachOCPUSubType(); in printMachOCPUOnly() local
470 if (!CPUSubType) in printMachOCPUOnly()
472 toString(CPUSubType.takeError())); in printMachOCPUOnly()
474 Filename.c_str(), *CPUType, *CPUSubType); in printMachOCPUOnly()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64AsmBackend.cpp560 uint32_t CPUSubType = cantFail(MachO::getCPUSubType(TheTriple)); in createObjectTargetWriter() local
561 return createAArch64MachObjectWriter(CPUType, CPUSubType, in createObjectTargetWriter()
/llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/
H A DMachOObject.h30 uint32_t CPUSubType; member
H A DMachOReader.cpp23 O.Header.CPUSubType = MachOObj.getHeader().cpusubtype; in readHeader()
H A DMachOWriter.cpp139 Header.cpusubtype = O.Header.CPUSubType; in writeHeader()
/llvm-project-15.0.7/llvm/lib/Target/X86/MCTargetDesc/
H A DX86AsmBackend.cpp1350 uint32_t CPUSubType = cantFail(MachO::getCPUSubType(TT)); in createObjectTargetWriter() local
1351 return createX86MachObjectWriter(Is64Bit, CPUType, CPUSubType); in createObjectTargetWriter()
/llvm-project-15.0.7/llvm/tools/llvm-objdump/
H A DMachODump.cpp7417 uint32_t CPUType, CPUSubType; in DisassembleMachO() local
7422 CPUSubType = H_64.cpusubtype; in DisassembleMachO()
7426 CPUSubType = H.cpusubtype; in DisassembleMachO()
7428 Triple T = MachOObjectFile::getArchTriple(CPUType, CPUSubType, nullptr, in DisassembleMachO()