Searched refs:TheTriple (Results 1 - 25 of 46) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsMCAsmInfo.cpp21 MipsMCAsmInfo::MipsMCAsmInfo(const Triple &TheTriple, argument
23 IsLittleEndian = TheTriple.isLittleEndian();
25 MipsABIInfo ABI = MipsABIInfo::computeTargetABI(TheTriple, "", Options);
27 if (TheTriple.isMIPS64() && !ABI.IsN32())
H A DMipsMCAsmInfo.h25 explicit MipsMCAsmInfo(const Triple &TheTriple,
H A DMipsAsmBackend.h29 Triple TheTriple; member in class:llvm::MipsAsmBackend
36 TheTriple(TT), IsN32(N32) {}
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMCAsmInfo.cpp20 ARMMCAsmInfoDarwin::ARMMCAsmInfoDarwin(const Triple &TheTriple) { argument
21 if ((TheTriple.getArch() == Triple::armeb) ||
22 (TheTriple.getArch() == Triple::thumbeb))
37 ExceptionsType = (TheTriple.isOSDarwin() && !TheTriple.isWatchABI())
44 ARMELFMCAsmInfo::ARMELFMCAsmInfo(const Triple &TheTriple) { argument
45 if ((TheTriple.getArch() == Triple::armeb) ||
46 (TheTriple.getArch() == Triple::thumbeb))
63 switch (TheTriple.getOS()) {
H A DARMMCAsmInfo.h27 explicit ARMMCAsmInfoDarwin(const Triple &TheTriple);
H A DARMMCTargetDesc.cpp209 const Triple &TheTriple,
212 if (TheTriple.isOSDarwin() || TheTriple.isOSBinFormatMachO())
213 MAI = new ARMMCAsmInfoDarwin(TheTriple);
214 else if (TheTriple.isWindowsMSVCEnvironment())
216 else if (TheTriple.isOSWindows())
219 MAI = new ARMELFMCAsmInfo(TheTriple);
208 createARMMCAsmInfo(const MCRegisterInfo &MRI, const Triple &TheTriple, const MCTargetOptions &Options) argument
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiMCAsmInfo.h25 explicit LanaiMCAsmInfo(const Triple &TheTriple,
H A DLanaiMCTargetDesc.cpp84 static MCRelocationInfo *createLanaiElfRelocation(const Triple &TheTriple, argument
86 return createMCRelocationInfo(TheTriple, Ctx);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/VE/MCTargetDesc/
H A DVEMCAsmInfo.cpp24 VEELFMCAsmInfo::VEELFMCAsmInfo(const Triple &TheTriple) { argument
H A DVEMCAsmInfo.h26 explicit VEELFMCAsmInfo(const Triple &TheTriple);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DTargetSelect.cpp43 Triple TheTriple(TargetTriple);
44 if (TheTriple.getTriple().empty())
45 TheTriple.setTriple(sys::getProcessTriple());
66 TheTriple.setArch(Type);
69 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), Error);
88 TheTarget->createTargetMachine(TheTriple.getTriple(), MCPU, FeaturesStr,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/MCTargetDesc/
H A DNVPTXMCAsmInfo.cpp20 NVPTXMCAsmInfo::NVPTXMCAsmInfo(const Triple &TheTriple, argument
22 if (TheTriple.getArch() == Triple::nvptx64) {
H A DNVPTXMCAsmInfo.h25 explicit NVPTXMCAsmInfo(const Triple &TheTriple,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Sparc/MCTargetDesc/
H A DSparcMCAsmInfo.h26 explicit SparcELFMCAsmInfo(const Triple &TheTriple);
H A DSparcMCAsmInfo.cpp25 SparcELFMCAsmInfo::SparcELFMCAsmInfo(const Triple &TheTriple) { argument
26 bool isV9 = (TheTriple.getArch() == Triple::sparcv9);
27 IsLittleEndian = (TheTriple.getArch() == Triple::sparcel);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64AsmBackend.cpp38 Triple TheTriple; member in class:__anon3887::AArch64AsmBackend
43 TheTriple(TT) {}
174 const Triple &TheTriple, bool IsResolved) {
185 if (TheTriple.isOSBinFormatCOFF())
199 if (TheTriple.isOSBinFormatCOFF() && !IsResolved)
206 if (TheTriple.isOSBinFormatCOFF() && !IsResolved)
215 if (TheTriple.isOSBinFormatCOFF() && !IsResolved)
224 if (TheTriple.isOSBinFormatCOFF() && !IsResolved)
233 if (TheTriple.isOSBinFormatCOFF() && !IsResolved)
356 if (!TheTriple
172 adjustFixupValue(const MCFixup &Fixup, const MCValue &Target, uint64_t Value, MCContext &Ctx, const Triple &TheTriple, bool IsResolved) argument
759 COFFAArch64AsmBackend(const Target &T, const Triple &TheTriple) argument
773 const Triple &TheTriple = STI.getTargetTriple(); local
793 const Triple &TheTriple = STI.getTargetTriple(); local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Object/
H A DObjectFile.cpp107 Triple TheTriple; local
109 TheTriple.setArch(Triple::ArchType(Arch));
115 setARMSubArch(TheTriple);
117 // TheTriple defaults to ELF, and COFF doesn't have an environment:
120 TheTriple.setObjectFormat(Triple::MachO);
124 TheTriple.setTriple("thumbv7-windows");
127 TheTriple.setOS(Triple::AIX);
128 TheTriple.setObjectFormat(Triple::XCOFF);
131 return TheTriple;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DTargetRegistry.cpp25 Triple &TheTriple,
46 TheTriple.setArch(Type);
50 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), TempError);
53 + TheTriple.getTriple()
24 lookupTarget(const std::string &ArchName, Triple &TheTriple, std::string &Error) argument
/freebsd-13-stable/contrib/llvm-project/llvm/lib/LTO/
H A DThinLTOCodeGenerator.cpp274 const Triple &TheTriple) {
278 if (TheTriple.isOSBinFormatMachO() && Name.size() > 0 && Name[0] == '_')
503 const Triple &TheTriple) {
506 if (TMBuilder.MCpu.empty() && TheTriple.isOSDarwin()) {
507 if (TheTriple.getArch() == llvm::Triple::x86_64)
509 else if (TheTriple.getArch() == llvm::Triple::x86)
511 else if (TheTriple.getArch() == llvm::Triple::aarch64 ||
512 TheTriple.getArch() == llvm::Triple::aarch64_32)
515 TMBuilder.TheTriple = std::move(TheTriple);
273 computeGUIDPreservedSymbols(const StringSet< &PreservedSymbols, const Triple &TheTriple) argument
502 initTMBuilder(TargetMachineBuilder &TMBuilder, const Triple &TheTriple) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llc/
H A Dllc.cpp402 Triple TheTriple; local
449 TheTriple = Triple(IRTargetTriple);
450 if (TheTriple.getTriple().empty())
451 TheTriple.setTriple(sys::getDefaultTargetTriple());
455 TargetRegistry::lookupTarget(codegen::getMArch(), TheTriple, Error);
463 if (TheTriple.isOSAIX() && RM.hasValue() && *RM != Reloc::PIC_) {
470 TheTriple.getTriple(), CPUStr, FeaturesStr, Options, RM,
492 TheTriple = Triple(Triple::normalize(TargetTriple));
493 if (TheTriple.getTriple().empty())
494 TheTriple
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCTargetDesc.cpp84 const Triple &TheTriple,
86 bool isPPC64 = (TheTriple.getArch() == Triple::ppc64 ||
87 TheTriple.getArch() == Triple::ppc64le);
90 if (TheTriple.isOSBinFormatXCOFF())
91 MAI = new PPCXCOFFMCAsmInfo(isPPC64, TheTriple);
93 MAI = new PPCELFMCAsmInfo(isPPC64, TheTriple);
83 createPPCMCAsmInfo(const MCRegisterInfo &MRI, const Triple &TheTriple, const MCTargetOptions &Options) argument
/freebsd-13-stable/contrib/llvm-project/llvm/tools/bugpoint/
H A DBugDriver.cpp109 Triple TheTriple(Result->getTargetTriple());
111 if (TheTriple.getTriple().empty())
112 TheTriple.setTriple(sys::getDefaultTargetTriple());
114 TargetTriple.setTriple(TheTriple.getTriple());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCTargetDesc.cpp319 const Triple &TheTriple,
321 bool is64Bit = TheTriple.getArch() == Triple::x86_64;
324 if (TheTriple.isOSBinFormatMachO()) {
326 MAI = new X86_64MCAsmInfoDarwin(TheTriple);
328 MAI = new X86MCAsmInfoDarwin(TheTriple);
329 } else if (TheTriple.isOSBinFormatELF()) {
331 MAI = new X86ELFMCAsmInfo(TheTriple);
332 } else if (TheTriple.isWindowsMSVCEnvironment() ||
333 TheTriple.isWindowsCoreCLREnvironment()) {
335 MAI = new X86MCAsmInfoMicrosoftMASM(TheTriple);
318 createX86MCAsmInfo(const MCRegisterInfo &MRI, const Triple &TheTriple, const MCTargetOptions &Options) argument
377 createX86MCRelocationInfo(const Triple &TheTriple, MCContext &Ctx) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-mc/
H A Dllvm-mc.cpp198 Triple TheTriple(Triple::normalize(TripleName));
202 const Target *TheTarget = TargetRegistry::lookupTarget(ArchName, TheTriple,
210 TripleName = TheTriple.getTriple();
333 Triple TheTriple(TripleName);
376 MOFI.InitMCObjectFileInfo(TheTriple, PIC, Ctx, LargeCodeModel);
410 << TheTriple.normalize() << "\n";
478 << TheTriple.normalize() << "' with assembly variant "
512 TheTriple, Ctx, std::unique_ptr<MCAsmBackend>(MAB),
/freebsd-13-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DNaCl.cpp356 llvm::Triple TheTriple(ComputeLLVMTriple(Args, InputType));
357 if (TheTriple.getArch() == llvm::Triple::arm &&
358 TheTriple.getEnvironment() == llvm::Triple::UnknownEnvironment)
359 TheTriple.setEnvironment(llvm::Triple::GNUEABIHF);
360 return TheTriple.getTriple();

Completed in 285 milliseconds

12