| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | MachOUniversal.cpp | 173 Twine(A.getCPUType()) + ") cpusubtype (" + in MachOUniversalBinary() 181 ") too large for cputype (" + Twine(A.getCPUType()) + in MachOUniversalBinary() 189 " for cputype (" + Twine(A.getCPUType()) + ") cpusubtype (" + in MachOUniversalBinary() 195 Err = malformedError("cputype (" + Twine(A.getCPUType()) + ") " in MachOUniversalBinary() 205 if (A.getCPUType() == B.getCPUType() && in MachOUniversalBinary() 209 "(" + Twine(A.getCPUType()) + ") cpusubtype (" + in MachOUniversalBinary() 219 Err = malformedError("cputype (" + Twine(A.getCPUType()) + ") " in MachOUniversalBinary() 222 Twine(A.getSize()) + ", overlaps cputype (" + Twine(B.getCPUType()) + in MachOUniversalBinary()
|
| H A D | MachOUniversalWriter.cpp | 106 auto CPU = std::make_pair(MachO::getCPUType(TT), MachO::getCPUSubType(TT)); in getMachoCPUFromTriple() 262 FatArch.cputype = S.getCPUType(); in buildFatArchList()
|
| H A D | MachOObjectFile.cpp | 130 static unsigned getCPUType(const MachOObjectFile &O) { in getCPUType() function 1018 uint32_t cputype = getCPUType(Obj); in checkThreadCommand() 2610 unsigned CPUType = getCPUType(*this); in getFileFormatName() 2831 return getArch(getCPUType(*this), getCPUSubType(*this)); in getArch() 4353 if (getCPUType(*this) == MachO::CPU_TYPE_X86_64) in isRelocationScattered()
|
| /llvm-project-15.0.7/llvm/unittests/BinaryFormat/ |
| H A D | MachOTest.cpp | 51 ASSERT_EQ((MachO::CPUType)cantFail(MachO::getCPUType(Triple(StrTriple))), \ in TEST() 64 Expected<uint32_t> Type = MachO::getCPUType(Triple("x86_64-linux-unknown")); in TEST() 70 Expected<uint32_t> Type = MachO::getCPUType(Triple("mips-apple-darwin")); in TEST()
|
| /llvm-project-15.0.7/llvm/include/llvm/Object/ |
| H A D | MachOUniversal.h | 59 uint32_t getCPUType() const { in getCPUType() function 96 return MachOObjectFile::getArchTriple(getCPUType(), getCPUSubType()); in getTriple() 100 MachOObjectFile::getArchTriple(getCPUType(), getCPUSubType(), in getArchFlagName()
|
| H A D | MachOUniversalWriter.h | 68 uint32_t getCPUType() const { return CPUType; } in getCPUType() function
|
| H A D | TapiUniversal.h | 44 uint32_t getCPUType() const { in getCPUType() function
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A D | ARMAsmBackendDarwin.h | 32 /*Is64Bit=*/false, cantFail(MachO::getCPUType(TT)), Subtype); in createObjectTargetWriter()
|
| /llvm-project-15.0.7/llvm/include/llvm/MC/ |
| H A D | MCMachObjectWriter.h | 64 uint32_t getCPUType() const { return CPUType; } in getCPUType() function 173 uint32_t CPUType = TargetObjectWriter->getCPUType(); in isX86_64()
|
| /llvm-project-15.0.7/llvm/lib/BinaryFormat/ |
| H A D | MachO.cpp | 77 Expected<uint32_t> MachO::getCPUType(const Triple &T) { in getCPUType() function in MachO
|
| /llvm-project-15.0.7/llvm/tools/llvm-gsymutil/ |
| H A D | llvm-gsymutil.cpp | 150 static uint32_t getCPUType(MachOObjectFile &MachO) { in getCPUType() function 173 if (Value == getCPUType(Obj)) in filterArch()
|
| /llvm-project-15.0.7/llvm/tools/llvm-dwarfdump/ |
| H A D | llvm-dwarfdump.cpp | 312 static uint32_t getCPUType(MachOObjectFile &MachO) { in getCPUType() function 329 if (Value == getCPUType(*MachO)) in filterArch()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64AsmBackend.cpp | 559 uint32_t CPUType = cantFail(MachO::getCPUType(TheTriple)); in createObjectTargetWriter()
|
| /llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/ |
| H A D | MachOObjcopy.cpp | 503 O.getCPUType(), O.getCPUSubType(), in executeObjcopyOnMachOUniversalBinary()
|
| /llvm-project-15.0.7/llvm/lib/LTO/ |
| H A D | LTOModule.cpp | 685 return MachO::getCPUType(Triple(Mod->getTargetTriple())); in getMachOCPUType()
|
| /llvm-project-15.0.7/llvm/tools/llvm-libtool-darwin/ |
| H A D | llvm-libtool-darwin.cpp | 406 Expected<uint32_t> FileCPUTypeOrErr = MachO::getCPUType(TT); in verifyAndAddIRObject()
|
| /llvm-project-15.0.7/llvm/tools/obj2yaml/ |
| H A D | macho2yaml.cpp | 649 arch.cputype = Slice.getCPUType(); in macho2yaml()
|
| /llvm-project-15.0.7/llvm/tools/llvm-lipo/ |
| H A D | llvm-lipo.cpp | 341 if (S.getCPUType() != SpecifiedCPUType) in readInputBinaries()
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MachObjectWriter.cpp | 152 W.write<uint32_t>(TargetObjectWriter->getCPUType()); in writeHeader()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86AsmBackend.cpp | 1349 uint32_t CPUType = cantFail(MachO::getCPUType(TT)); in createObjectTargetWriter()
|
| /llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/ |
| H A D | MachO.h | 1548 Expected<uint32_t> getCPUType(const Triple &T);
|
| /llvm-project-15.0.7/llvm/tools/llvm-objdump/ |
| H A D | MachODump.cpp | 2178 uint32_t cputype = OFA.getCPUType(); in printMachOUniversalHeaders() 2183 uint32_t other_cputype = other_OFA.getCPUType(); in printMachOUniversalHeaders()
|