Home
last modified time | relevance | path

Searched refs:TheTriple (Results 1 – 25 of 139) sorted by relevance

123456

/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCAsmInfo.cpp21 ARMMCAsmInfoDarwin::ARMMCAsmInfoDarwin(const Triple &TheTriple) { in ARMMCAsmInfoDarwin() argument
22 if ((TheTriple.getArch() == Triple::armeb) || in ARMMCAsmInfoDarwin()
23 (TheTriple.getArch() == Triple::thumbeb)) in ARMMCAsmInfoDarwin()
35 ExceptionsType = (TheTriple.isOSDarwin() && !TheTriple.isWatchABI()) in ARMMCAsmInfoDarwin()
44 ARMELFMCAsmInfo::ARMELFMCAsmInfo(const Triple &TheTriple) { in ARMELFMCAsmInfo() argument
45 if ((TheTriple.getArch() == Triple::armeb) || in ARMELFMCAsmInfo()
46 (TheTriple.getArch() == Triple::thumbeb)) in ARMELFMCAsmInfo()
60 switch (TheTriple.getOS()) { in ARMELFMCAsmInfo()
DARMMCTargetDesc.cpp186 const Triple &TheTriple) { in createARMMCAsmInfo() argument
188 if (TheTriple.isOSDarwin() || TheTriple.isOSBinFormatMachO()) in createARMMCAsmInfo()
189 MAI = new ARMMCAsmInfoDarwin(TheTriple); in createARMMCAsmInfo()
190 else if (TheTriple.isWindowsMSVCEnvironment()) in createARMMCAsmInfo()
192 else if (TheTriple.isOSWindows()) in createARMMCAsmInfo()
195 MAI = new ARMELFMCAsmInfo(TheTriple); in createARMMCAsmInfo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCAsmInfo.cpp20 ARMMCAsmInfoDarwin::ARMMCAsmInfoDarwin(const Triple &TheTriple) { in ARMMCAsmInfoDarwin() argument
21 if ((TheTriple.getArch() == Triple::armeb) || in ARMMCAsmInfoDarwin()
22 (TheTriple.getArch() == Triple::thumbeb)) in ARMMCAsmInfoDarwin()
37 ExceptionsType = (TheTriple.isOSDarwin() && !TheTriple.isWatchABI()) in ARMMCAsmInfoDarwin()
46 ARMELFMCAsmInfo::ARMELFMCAsmInfo(const Triple &TheTriple) { in ARMELFMCAsmInfo() argument
47 if ((TheTriple.getArch() == Triple::armeb) || in ARMELFMCAsmInfo()
48 (TheTriple.getArch() == Triple::thumbeb)) in ARMELFMCAsmInfo()
65 switch (TheTriple.getOS()) { in ARMELFMCAsmInfo()
/external/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCAsmInfo.cpp20 ARMMCAsmInfoDarwin::ARMMCAsmInfoDarwin(const Triple &TheTriple) { in ARMMCAsmInfoDarwin() argument
21 if ((TheTriple.getArch() == Triple::armeb) || in ARMMCAsmInfoDarwin()
22 (TheTriple.getArch() == Triple::thumbeb)) in ARMMCAsmInfoDarwin()
37 ExceptionsType = (TheTriple.isOSDarwin() && !TheTriple.isWatchABI()) in ARMMCAsmInfoDarwin()
44 ARMELFMCAsmInfo::ARMELFMCAsmInfo(const Triple &TheTriple) { in ARMELFMCAsmInfo() argument
45 if ((TheTriple.getArch() == Triple::armeb) || in ARMELFMCAsmInfo()
46 (TheTriple.getArch() == Triple::thumbeb)) in ARMELFMCAsmInfo()
63 switch (TheTriple.getOS()) { in ARMELFMCAsmInfo()
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCAsmInfo.cpp21 MipsMCAsmInfo::MipsMCAsmInfo(const Triple &TheTriple) { in MipsMCAsmInfo() argument
22 if ((TheTriple.getArch() == Triple::mips) || in MipsMCAsmInfo()
23 (TheTriple.getArch() == Triple::mips64)) in MipsMCAsmInfo()
26 if ((TheTriple.getArch() == Triple::mips64el) || in MipsMCAsmInfo()
27 (TheTriple.getArch() == Triple::mips64)) { in MipsMCAsmInfo()
47 if (TheTriple.getArch() == Triple::mips || in MipsMCAsmInfo()
48 TheTriple.getArch() == Triple::mipsel) in MipsMCAsmInfo()
/external/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AsmBackend.cpp38 Triple TheTriple; member in __anon6f12528c0111::AArch64AsmBackend
43 TheTriple(TT) {} in AArch64AsmBackend()
159 const Triple &TheTriple, bool IsResolved) { in adjustFixupValue() argument
170 if (TheTriple.isOSBinFormatCOFF()) in adjustFixupValue()
184 if (TheTriple.isOSBinFormatCOFF() && !IsResolved) in adjustFixupValue()
191 if (TheTriple.isOSBinFormatCOFF() && !IsResolved) in adjustFixupValue()
200 if (TheTriple.isOSBinFormatCOFF() && !IsResolved) in adjustFixupValue()
209 if (TheTriple.isOSBinFormatCOFF() && !IsResolved) in adjustFixupValue()
218 if (TheTriple.isOSBinFormatCOFF() && !IsResolved) in adjustFixupValue()
338 if (!TheTriple.isOSBinFormatELF()) in getFixupKind()
[all …]
/external/llvm/lib/ExecutionEngine/
DTargetSelect.cpp44 Triple TheTriple(TargetTriple); in selectTarget() local
45 if (TheTriple.getTriple().empty()) in selectTarget()
46 TheTriple.setTriple(sys::getProcessTriple()); in selectTarget()
68 TheTriple.setArch(Type); in selectTarget()
71 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), Error); in selectTarget()
89 if (TheTriple.getArch() == Triple::arm && in selectTarget()
90 !TheTriple.isiOS() && in selectTarget()
96 TargetMachine *Target = TheTarget->createTargetMachine(TheTriple.getTriple(), in selectTarget()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AsmBackend.cpp36 Triple TheTriple; member in __anon7bf052800111::AArch64AsmBackend
41 TheTriple(TT) {} in AArch64AsmBackend()
168 const Triple &TheTriple, bool IsResolved) { in adjustFixupValue() argument
179 if (TheTriple.isOSBinFormatCOFF()) in adjustFixupValue()
193 if (TheTriple.isOSBinFormatCOFF() && !IsResolved) in adjustFixupValue()
200 if (TheTriple.isOSBinFormatCOFF() && !IsResolved) in adjustFixupValue()
209 if (TheTriple.isOSBinFormatCOFF() && !IsResolved) in adjustFixupValue()
218 if (TheTriple.isOSBinFormatCOFF() && !IsResolved) in adjustFixupValue()
227 if (TheTriple.isOSBinFormatCOFF() && !IsResolved) in adjustFixupValue()
340 if (TheTriple.isOSBinFormatELF() && Name == "R_AARCH64_NONE") in getFixupKind()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DTargetSelect.cpp43 Triple TheTriple(TargetTriple); in selectTarget() local
44 if (TheTriple.getTriple().empty()) in selectTarget()
45 TheTriple.setTriple(sys::getProcessTriple()); in selectTarget()
66 TheTriple.setArch(Type); in selectTarget()
69 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), Error); in selectTarget()
88 TheTarget->createTargetMachine(TheTriple.getTriple(), MCPU, FeaturesStr, in selectTarget()
/external/llvm-project/llvm/lib/ExecutionEngine/
DTargetSelect.cpp43 Triple TheTriple(TargetTriple); in selectTarget() local
44 if (TheTriple.getTriple().empty()) in selectTarget()
45 TheTriple.setTriple(sys::getProcessTriple()); in selectTarget()
66 TheTriple.setArch(Type); in selectTarget()
69 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), Error); in selectTarget()
88 TheTarget->createTargetMachine(TheTriple.getTriple(), MCPU, FeaturesStr, in selectTarget()
/external/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCAsmInfo.cpp21 MipsMCAsmInfo::MipsMCAsmInfo(const Triple &TheTriple, in MipsMCAsmInfo() argument
23 IsLittleEndian = TheTriple.isLittleEndian(); in MipsMCAsmInfo()
25 MipsABIInfo ABI = MipsABIInfo::computeTargetABI(TheTriple, "", Options); in MipsMCAsmInfo()
27 if (TheTriple.isMIPS64() && !ABI.IsN32()) in MipsMCAsmInfo()
/external/llvm-project/llvm/tools/llc/
Dllc.cpp405 Triple TheTriple; in compileModule() local
431 auto InitializeOptions = [&](const Triple &TheTriple) { in compileModule() argument
432 Options = codegen::InitTargetOptionsFromCodeGenFlags(TheTriple); in compileModule()
455 TheTriple = Triple(IRTargetTriple); in compileModule()
456 if (TheTriple.getTriple().empty()) in compileModule()
457 TheTriple.setTriple(sys::getDefaultTargetTriple()); in compileModule()
461 TargetRegistry::lookupTarget(codegen::getMArch(), TheTriple, Error); in compileModule()
469 if (TheTriple.isOSAIX() && RM.hasValue() && *RM != Reloc::PIC_) { in compileModule()
475 InitializeOptions(TheTriple); in compileModule()
477 TheTriple.getTriple(), CPUStr, FeaturesStr, Options, RM, in compileModule()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCAsmInfo.cpp21 MipsMCAsmInfo::MipsMCAsmInfo(const Triple &TheTriple, in MipsMCAsmInfo() argument
23 IsLittleEndian = TheTriple.isLittleEndian(); in MipsMCAsmInfo()
25 MipsABIInfo ABI = MipsABIInfo::computeTargetABI(TheTriple, "", Options); in MipsMCAsmInfo()
27 if (TheTriple.isMIPS64() && !ABI.IsN32()) in MipsMCAsmInfo()
/external/llvm-project/llvm/lib/Object/
DObjectFile.cpp107 Triple TheTriple; in makeTriple() local
109 TheTriple.setArch(Triple::ArchType(Arch)); in makeTriple()
115 setARMSubArch(TheTriple); in makeTriple()
120 TheTriple.setObjectFormat(Triple::MachO); in makeTriple()
124 TheTriple.setTriple("thumbv7-windows"); in makeTriple()
127 TheTriple.setOS(Triple::AIX); in makeTriple()
128 TheTriple.setObjectFormat(Triple::XCOFF); in makeTriple()
131 return TheTriple; in makeTriple()
/external/llvm-project/llvm/lib/LTO/
DThinLTOCodeGenerator.cpp277 const Triple &TheTriple, in computeGUIDPreservedSymbols() argument
291 const Triple &TheTriple) { in computeGUIDPreservedSymbols() argument
293 computeGUIDPreservedSymbols(File, PreservedSymbols, TheTriple, in computeGUIDPreservedSymbols()
516 const Triple &TheTriple) { in initTMBuilder() argument
519 if (TMBuilder.MCpu.empty() && TheTriple.isOSDarwin()) { in initTMBuilder()
520 if (TheTriple.getArch() == llvm::Triple::x86_64) in initTMBuilder()
522 else if (TheTriple.getArch() == llvm::Triple::x86) in initTMBuilder()
524 else if (TheTriple.getArch() == llvm::Triple::aarch64 || in initTMBuilder()
525 TheTriple.getArch() == llvm::Triple::aarch64_32) in initTMBuilder()
528 TMBuilder.TheTriple = std::move(TheTriple); in initTMBuilder()
[all …]
/external/llvm/lib/LTO/
DThinLTOCodeGenerator.cpp183 const Triple &TheTriple) { in computeGUIDPreservedSymbols() argument
187 if (TheTriple.isOSBinFormatMachO() && Name.size() > 0 && Name[0] == '_') in computeGUIDPreservedSymbols()
421 const Triple &TheTriple) { in initTMBuilder() argument
424 if (TMBuilder.MCpu.empty() && TheTriple.isOSDarwin()) { in initTMBuilder()
425 if (TheTriple.getArch() == llvm::Triple::x86_64) in initTMBuilder()
427 else if (TheTriple.getArch() == llvm::Triple::x86) in initTMBuilder()
429 else if (TheTriple.getArch() == llvm::Triple::aarch64) in initTMBuilder()
432 TMBuilder.TheTriple = std::move(TheTriple); in initTMBuilder()
442 Triple TheTriple(getBitcodeTargetTriple(Buffer, Context)); in addModule() local
443 initTMBuilder(TMBuilder, Triple(TheTriple)); in addModule()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DObjectFile.cpp100 Triple TheTriple; in makeTriple() local
102 TheTriple.setArch(Triple::ArchType(Arch)); in makeTriple()
108 setARMSubArch(TheTriple); in makeTriple()
113 TheTriple.setObjectFormat(Triple::MachO); in makeTriple()
118 TheTriple.setTriple("thumbv7-windows"); in makeTriple()
121 return TheTriple; in makeTriple()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DThinLTOCodeGenerator.cpp271 const Triple &TheTriple) { in computeGUIDPreservedSymbols() argument
275 if (TheTriple.isOSBinFormatMachO() && Name.size() > 0 && Name[0] == '_') in computeGUIDPreservedSymbols()
492 const Triple &TheTriple) { in initTMBuilder() argument
495 if (TMBuilder.MCpu.empty() && TheTriple.isOSDarwin()) { in initTMBuilder()
496 if (TheTriple.getArch() == llvm::Triple::x86_64) in initTMBuilder()
498 else if (TheTriple.getArch() == llvm::Triple::x86) in initTMBuilder()
500 else if (TheTriple.getArch() == llvm::Triple::aarch64 || in initTMBuilder()
501 TheTriple.getArch() == llvm::Triple::aarch64_32) in initTMBuilder()
504 TMBuilder.TheTriple = std::move(TheTriple); in initTMBuilder()
518 Triple TheTriple(TripleStr); in addModule() local
[all …]
/external/llvm-project/llvm/unittests/Target/PowerPC/
DAIXRelocModelTest.cpp21 Triple TheTriple(/*ArchStr*/ "powerpc", /*VendorStr*/ "", /*OSStr*/ "aix"); in TEST_F() local
23 const Target *TheTarget = TargetRegistry::lookupTarget("", TheTriple, Error); in TEST_F()
30 /*TT*/ TheTriple.getTriple(), /*CPU*/ "", /*Features*/ "", in TEST_F()
/external/llvm-project/llvm/tools/llvm-ml/
Dllvm-ml.cpp235 Triple TheTriple = GetTriple(ProgName, InputArgs); in main() local
237 const Target *TheTarget = TargetRegistry::lookupTarget("", TheTriple, Error); in main()
242 const std::string &TripleName = TheTriple.getTriple(); in main()
245 if (SafeSEH && !(TheTriple.isArch32Bit() && TheTriple.isX86())) { in main()
281 MOFI.InitMCObjectFileInfo(TheTriple, /*PIC=*/false, Ctx, in main()
323 IP = TheTarget->createMCInstPrinter(TheTriple, OutputAsmVariant, *MAI, in main()
329 << TheTriple.normalize() << "' with " in main()
361 TheTriple, Ctx, std::unique_ptr<MCAsmBackend>(MAB), in main()
369 if (TheTriple.isOSBinFormatCOFF()) { in main()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MCTargetDesc.cpp159 const Triple &TheTriple) { in createX86MCAsmInfo() argument
160 bool is64Bit = TheTriple.getArch() == Triple::x86_64; in createX86MCAsmInfo()
163 if (TheTriple.isOSBinFormatMachO()) { in createX86MCAsmInfo()
165 MAI = new X86_64MCAsmInfoDarwin(TheTriple); in createX86MCAsmInfo()
167 MAI = new X86MCAsmInfoDarwin(TheTriple); in createX86MCAsmInfo()
168 } else if (TheTriple.isOSBinFormatELF()) { in createX86MCAsmInfo()
170 MAI = new X86ELFMCAsmInfo(TheTriple); in createX86MCAsmInfo()
171 } else if (TheTriple.isWindowsMSVCEnvironment() || in createX86MCAsmInfo()
172 TheTriple.isWindowsCoreCLREnvironment()) { in createX86MCAsmInfo()
173 MAI = new X86MCAsmInfoMicrosoft(TheTriple); in createX86MCAsmInfo()
[all …]
/external/llvm-project/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCAsmInfo.cpp25 SparcELFMCAsmInfo::SparcELFMCAsmInfo(const Triple &TheTriple) { in SparcELFMCAsmInfo() argument
26 bool isV9 = (TheTriple.getArch() == Triple::sparcv9); in SparcELFMCAsmInfo()
27 IsLittleEndian = (TheTriple.getArch() == Triple::sparcel); in SparcELFMCAsmInfo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCAsmInfo.cpp25 SparcELFMCAsmInfo::SparcELFMCAsmInfo(const Triple &TheTriple) { in SparcELFMCAsmInfo() argument
26 bool isV9 = (TheTriple.getArch() == Triple::sparcv9); in SparcELFMCAsmInfo()
27 IsLittleEndian = (TheTriple.getArch() == Triple::sparcel); in SparcELFMCAsmInfo()
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCAsmInfo.cpp23 SparcELFMCAsmInfo::SparcELFMCAsmInfo(const Triple &TheTriple) { in SparcELFMCAsmInfo() argument
24 bool isV9 = (TheTriple.getArch() == Triple::sparcv9); in SparcELFMCAsmInfo()
25 IsLittleEndian = (TheTriple.getArch() == Triple::sparcel); in SparcELFMCAsmInfo()
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCTargetDesc.cpp70 const Triple &TheTriple) { in createPPCMCAsmInfo() argument
71 bool isPPC64 = (TheTriple.getArch() == Triple::ppc64 || in createPPCMCAsmInfo()
72 TheTriple.getArch() == Triple::ppc64le); in createPPCMCAsmInfo()
75 if (TheTriple.isOSDarwin()) in createPPCMCAsmInfo()
76 MAI = new PPCMCAsmInfoDarwin(isPPC64, TheTriple); in createPPCMCAsmInfo()
78 MAI = new PPCELFMCAsmInfo(isPPC64, TheTriple); in createPPCMCAsmInfo()

123456