Home
last modified time | relevance | path

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

/external/llvm-project/llvm/include/llvm/Object/
DMachOUniversalWriter.h30 uint32_t CPUSubType; variable
38 Slice(const IRObjectFile &IRO, uint32_t CPUType, uint32_t CPUSubType,
49 Slice(const Archive &A, uint32_t CPUType, uint32_t CPUSubType,
63 uint32_t getCPUSubType() const { return CPUSubType; } in getCPUSubType()
68 return static_cast<uint64_t>(CPUType) << 32 | CPUSubType; in getCPUID()
75 Twine(CPUSubType & ~MachO::CPU_SUBTYPE_MASK) + ")") in getArchString()
81 return Lhs.CPUSubType < Rhs.CPUSubType;
DMachO.h571 static Triple::ArchType getArch(uint32_t CPUType, uint32_t CPUSubType);
572 static Triple getArchTriple(uint32_t CPUType, uint32_t CPUSubType,
/external/llvm-project/llvm/lib/Object/
DMachOUniversalWriter.cpp78 Slice::Slice(const Archive &A, uint32_t CPUType, uint32_t CPUSubType, in Slice() argument
80 : B(&A), CPUType(CPUType), CPUSubType(CPUSubType), in Slice()
85 CPUSubType(O.getHeader().cpusubtype), in Slice()
89 Slice::Slice(const IRObjectFile &IRO, uint32_t CPUType, uint32_t CPUSubType, in Slice() argument
91 : B(&IRO), CPUType(CPUType), CPUSubType(CPUSubType), in Slice()
227 unsigned CPUType, CPUSubType; in create() local
228 std::tie(CPUType, CPUSubType) = CPUOrErr.get(); in create()
232 MachOObjectFile::getArchTriple(CPUType, CPUSubType).getArchName()); in create()
233 return Slice{IRO, CPUType, CPUSubType, std::move(ArchName), Align}; in create()
DMachOObjectFile.cpp2582 Triple::ArchType MachOObjectFile::getArch(uint32_t CPUType, uint32_t CPUSubType) { in getArch() argument
2603 Triple MachOObjectFile::getArchTriple(uint32_t CPUType, uint32_t CPUSubType, in getArchTriple() argument
2613 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
2622 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
2635 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
2690 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
2707 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
2718 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
2727 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/MachO/
DArchitecture.cpp20 Architecture getArchitectureFromCpuType(uint32_t CPUType, uint32_t CPUSubType) { in getArchitectureFromCpuType() argument
23 (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) == (Subtype)) \ in getArchitectureFromCpuType()
/external/llvm-project/llvm/lib/TextAPI/MachO/
DArchitecture.cpp23 Architecture getArchitectureFromCpuType(uint32_t CPUType, uint32_t CPUSubType) { in getArchitectureFromCpuType() argument
26 (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) == (Subtype)) \ in getArchitectureFromCpuType()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TextAPI/MachO/
DArchitecture.h32 Architecture getArchitectureFromCpuType(uint32_t CPUType, uint32_t CPUSubType);
/external/llvm-project/llvm/include/llvm/TextAPI/MachO/
DArchitecture.h35 Architecture getArchitectureFromCpuType(uint32_t CPUType, uint32_t CPUSubType);
/external/llvm-project/llvm/tools/lto/
Dlto.cpp347 Expected<uint32_t> CPUSubType = M->getMachOCPUSubType(); in lto_module_get_macho_cputype() local
348 if (!CPUSubType) { in lto_module_get_macho_cputype()
349 sLastErrorString = toString(CPUSubType.takeError()); in lto_module_get_macho_cputype()
352 *out_cpusubtype = *CPUSubType; in lto_module_get_macho_cputype()
/external/llvm-project/llvm/unittests/BinaryFormat/
DMachOTest.cpp77 TEST(MachOTest, CPUSubType) { in TEST() argument
/external/llvm-project/llvm/tools/llvm-lto/
Dllvm-lto.cpp429 Expected<uint32_t> CPUSubType = (*ModuleOrErr)->getMachOCPUSubType(); in printMachOCPUOnly() local
433 if (!CPUSubType) in printMachOCPUOnly()
435 toString(CPUSubType.takeError())); in printMachOCPUOnly()
437 Filename.c_str(), *CPUType, *CPUSubType); in printMachOCPUOnly()
/external/llvm/lib/Object/
DMachOObjectFile.cpp1191 Triple MachOObjectFile::getArchTriple(uint32_t CPUType, uint32_t CPUSubType, in getArchTriple() argument
1198 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
1205 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
1214 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
1245 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
1252 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
1259 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
/external/llvm-project/llvm/tools/llvm-objcopy/MachO/
DObject.h30 uint32_t CPUSubType; member
DMachOReader.cpp23 O.Header.CPUSubType = MachOObj.getHeader().cpusubtype; in readHeader()
DMachOWriter.cpp150 Header.cpusubtype = O.Header.CPUSubType; in writeHeader()
/external/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AsmBackend.cpp567 uint32_t CPUSubType = cantFail(MachO::getCPUSubType(TheTriple)); in createObjectTargetWriter() local
568 return createAArch64MachObjectWriter(CPUType, CPUSubType, in createObjectTargetWriter()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DMachO.h570 static Triple::ArchType getArch(uint32_t CPUType, uint32_t CPUSubType);
571 static Triple getArchTriple(uint32_t CPUType, uint32_t CPUSubType,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DMachOObjectFile.cpp2572 Triple::ArchType MachOObjectFile::getArch(uint32_t CPUType, uint32_t CPUSubType) { in getArch() argument
2593 Triple MachOObjectFile::getArchTriple(uint32_t CPUType, uint32_t CPUSubType, in getArchTriple() argument
2603 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
2612 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
2625 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
2680 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
2691 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
2702 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
2711 switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) { in getArchTriple()
/external/llvm/include/llvm/Object/
DMachO.h412 static Triple getArchTriple(uint32_t CPUType, uint32_t CPUSubType,
/external/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
DX86AsmBackend.cpp1404 uint32_t CPUSubType = cantFail(MachO::getCPUSubType(TT)); in createObjectTargetWriter() local
1405 return createX86MachObjectWriter(Is64Bit, CPUType, CPUSubType); in createObjectTargetWriter()
/external/llvm-project/llvm/tools/llvm-objdump/
DMachODump.cpp7412 uint32_t CPUType, CPUSubType; in DisassembleMachO() local
7417 CPUSubType = H_64.cpusubtype; in DisassembleMachO()
7421 CPUSubType = H.cpusubtype; in DisassembleMachO()
7423 Triple T = MachOObjectFile::getArchTriple(CPUType, CPUSubType, nullptr, in DisassembleMachO()