Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/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()
DARMMCTargetDesc.cpp190 const Triple &TheTriple, in createARMMCAsmInfo() argument
193 if (TheTriple.isOSDarwin() || TheTriple.isOSBinFormatMachO()) in createARMMCAsmInfo()
194 MAI = new ARMMCAsmInfoDarwin(TheTriple); in createARMMCAsmInfo()
195 else if (TheTriple.isWindowsMSVCEnvironment()) in createARMMCAsmInfo()
197 else if (TheTriple.isOSWindows()) in createARMMCAsmInfo()
200 MAI = new ARMELFMCAsmInfo(TheTriple); in createARMMCAsmInfo()
DARMMCAsmInfo.h27 explicit ARMMCAsmInfoDarwin(const Triple &TheTriple);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AsmBackend.cpp36 Triple TheTriple; member in __anonb1bbf9bf0111::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 …]
DAArch64MCTargetDesc.cpp241 const Triple &TheTriple, in createAArch64MCAsmInfo() argument
244 if (TheTriple.isOSBinFormatMachO()) in createAArch64MCAsmInfo()
245 MAI = new AArch64MCAsmInfoDarwin(TheTriple.getArch() == Triple::aarch64_32); in createAArch64MCAsmInfo()
246 else if (TheTriple.isWindowsMSVCEnvironment()) in createAArch64MCAsmInfo()
248 else if (TheTriple.isOSBinFormatCOFF()) in createAArch64MCAsmInfo()
251 assert(TheTriple.isOSBinFormatELF() && "Invalid target"); in createAArch64MCAsmInfo()
252 MAI = new AArch64MCAsmInfoELF(TheTriple); in createAArch64MCAsmInfo()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
DMipsAsmBackend.h31 Triple TheTriple; variable
38 TheTriple(TT), IsN32(N32) {} in MipsAsmBackend()
DMipsMCAsmInfo.h25 explicit MipsMCAsmInfo(const Triple &TheTriple,
/third_party/skia/third_party/externals/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 …]
/third_party/skia/third_party/externals/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()
DELFObjectFile.cpp303 void ELFObjectFileBase::setARMSubArch(Triple &TheTriple) const { in setARMSubArch()
304 if (TheTriple.getSubArch() != Triple::NoSubArch) in setARMSubArch()
313 if (TheTriple.isThumb()) in setARMSubArch()
379 TheTriple.setArchName(Triple); in setARMSubArch()
/third_party/skia/third_party/externals/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()
DSparcMCAsmInfo.h26 explicit SparcELFMCAsmInfo(const Triple &TheTriple);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DTargetRegistry.cpp25 Triple &TheTriple, in lookupTarget() argument
46 TheTriple.setArch(Type); in lookupTarget()
50 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), TempError); in lookupTarget()
53 + TheTriple.getTriple() in lookupTarget()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCTargetDesc.cpp80 const Triple &TheTriple, in createPPCMCAsmInfo() argument
82 bool isPPC64 = (TheTriple.getArch() == Triple::ppc64 || in createPPCMCAsmInfo()
83 TheTriple.getArch() == Triple::ppc64le); in createPPCMCAsmInfo()
86 if (TheTriple.isOSBinFormatXCOFF()) in createPPCMCAsmInfo()
87 MAI = new PPCXCOFFMCAsmInfo(isPPC64, TheTriple); in createPPCMCAsmInfo()
89 MAI = new PPCELFMCAsmInfo(isPPC64, TheTriple); in createPPCMCAsmInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/MCTargetDesc/
DNVPTXMCAsmInfo.cpp20 NVPTXMCAsmInfo::NVPTXMCAsmInfo(const Triple &TheTriple, in NVPTXMCAsmInfo() argument
22 if (TheTriple.getArch() == Triple::nvptx64) { in NVPTXMCAsmInfo()
DNVPTXMCAsmInfo.h26 explicit NVPTXMCAsmInfo(const Triple &TheTriple,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
DX86AsmBackend.cpp1164 const Triple &TheTriple = STI.getTargetTriple(); in createX86_32AsmBackend() local
1165 if (TheTriple.isOSBinFormatMachO()) in createX86_32AsmBackend()
1168 if (TheTriple.isOSWindows() && TheTriple.isOSBinFormatCOFF()) in createX86_32AsmBackend()
1171 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TheTriple.getOS()); in createX86_32AsmBackend()
1173 if (TheTriple.isOSIAMCU()) in createX86_32AsmBackend()
1183 const Triple &TheTriple = STI.getTargetTriple(); in createX86_64AsmBackend() local
1184 if (TheTriple.isOSBinFormatMachO()) { in createX86_64AsmBackend()
1186 StringSwitch<MachO::CPUSubTypeX86>(TheTriple.getArchName()) in createX86_64AsmBackend()
1192 if (TheTriple.isOSWindows() && TheTriple.isOSBinFormatCOFF()) in createX86_64AsmBackend()
1195 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TheTriple.getOS()); in createX86_64AsmBackend()
[all …]
DX86MCTargetDesc.cpp323 const Triple &TheTriple, in createX86MCAsmInfo() argument
325 bool is64Bit = TheTriple.getArch() == Triple::x86_64; in createX86MCAsmInfo()
328 if (TheTriple.isOSBinFormatMachO()) { in createX86MCAsmInfo()
330 MAI = new X86_64MCAsmInfoDarwin(TheTriple); in createX86MCAsmInfo()
332 MAI = new X86MCAsmInfoDarwin(TheTriple); in createX86MCAsmInfo()
333 } else if (TheTriple.isOSBinFormatELF()) { in createX86MCAsmInfo()
335 MAI = new X86ELFMCAsmInfo(TheTriple); in createX86MCAsmInfo()
336 } else if (TheTriple.isWindowsMSVCEnvironment() || in createX86MCAsmInfo()
337 TheTriple.isWindowsCoreCLREnvironment()) { in createX86MCAsmInfo()
338 MAI = new X86MCAsmInfoMicrosoft(TheTriple); in createX86MCAsmInfo()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiMCTargetDesc.cpp84 static MCRelocationInfo *createLanaiElfRelocation(const Triple &TheTriple, in createLanaiElfRelocation() argument
86 return createMCRelocationInfo(TheTriple, Ctx); in createLanaiElfRelocation()
DLanaiMCAsmInfo.h25 explicit LanaiMCAsmInfo(const Triple &TheTriple,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/VE/MCTargetDesc/
DVEMCAsmInfo.h26 explicit VEELFMCAsmInfo(const Triple &TheTriple);
DVEMCAsmInfo.cpp24 VEELFMCAsmInfo::VEELFMCAsmInfo(const Triple &TheTriple) { in VEELFMCAsmInfo() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64MCInstLower.cpp40 const Triple &TheTriple = Printer.TM.getTargetTriple(); in GetGlobalAddressSymbol() local
41 if (!TheTriple.isOSBinFormatCOFF()) in GetGlobalAddressSymbol()
44 assert(TheTriple.isOSWindows() && in GetGlobalAddressSymbol()

12