Home
last modified time | relevance | path

Searched refs:getCPUType (Results 1 – 22 of 22) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Object/
H A DMachOUniversal.cpp173 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 DMachOUniversalWriter.cpp106 auto CPU = std::make_pair(MachO::getCPUType(TT), MachO::getCPUSubType(TT)); in getMachoCPUFromTriple()
262 FatArch.cputype = S.getCPUType(); in buildFatArchList()
H A DMachOObjectFile.cpp130 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 DMachOTest.cpp51 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 DMachOUniversal.h59 uint32_t getCPUType() const { in getCPUType() function
96 return MachOObjectFile::getArchTriple(getCPUType(), getCPUSubType()); in getTriple()
100 MachOObjectFile::getArchTriple(getCPUType(), getCPUSubType(), in getArchFlagName()
H A DMachOUniversalWriter.h68 uint32_t getCPUType() const { return CPUType; } in getCPUType() function
H A DTapiUniversal.h44 uint32_t getCPUType() const { in getCPUType() function
/llvm-project-15.0.7/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAsmBackendDarwin.h32 /*Is64Bit=*/false, cantFail(MachO::getCPUType(TT)), Subtype); in createObjectTargetWriter()
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCMachObjectWriter.h64 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 DMachO.cpp77 Expected<uint32_t> MachO::getCPUType(const Triple &T) { in getCPUType() function in MachO
/llvm-project-15.0.7/llvm/tools/llvm-gsymutil/
H A Dllvm-gsymutil.cpp150 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 Dllvm-dwarfdump.cpp312 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 DAArch64AsmBackend.cpp559 uint32_t CPUType = cantFail(MachO::getCPUType(TheTriple)); in createObjectTargetWriter()
/llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/
H A DMachOObjcopy.cpp503 O.getCPUType(), O.getCPUSubType(), in executeObjcopyOnMachOUniversalBinary()
/llvm-project-15.0.7/llvm/lib/LTO/
H A DLTOModule.cpp685 return MachO::getCPUType(Triple(Mod->getTargetTriple())); in getMachOCPUType()
/llvm-project-15.0.7/llvm/tools/llvm-libtool-darwin/
H A Dllvm-libtool-darwin.cpp406 Expected<uint32_t> FileCPUTypeOrErr = MachO::getCPUType(TT); in verifyAndAddIRObject()
/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Dmacho2yaml.cpp649 arch.cputype = Slice.getCPUType(); in macho2yaml()
/llvm-project-15.0.7/llvm/tools/llvm-lipo/
H A Dllvm-lipo.cpp341 if (S.getCPUType() != SpecifiedCPUType) in readInputBinaries()
/llvm-project-15.0.7/llvm/lib/MC/
H A DMachObjectWriter.cpp152 W.write<uint32_t>(TargetObjectWriter->getCPUType()); in writeHeader()
/llvm-project-15.0.7/llvm/lib/Target/X86/MCTargetDesc/
H A DX86AsmBackend.cpp1349 uint32_t CPUType = cantFail(MachO::getCPUType(TT)); in createObjectTargetWriter()
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DMachO.h1548 Expected<uint32_t> getCPUType(const Triple &T);
/llvm-project-15.0.7/llvm/tools/llvm-objdump/
H A DMachODump.cpp2178 uint32_t cputype = OFA.getCPUType(); in printMachOUniversalHeaders()
2183 uint32_t other_cputype = other_OFA.getCPUType(); in printMachOUniversalHeaders()