/freebsd-11.0-release/contrib/llvm/lib/Target/Mips/MCTargetDesc/ |
H A D | MipsMCAsmInfo.cpp | 21 MipsMCAsmInfo::MipsMCAsmInfo(const Triple &TheTriple) { argument 22 if ((TheTriple.getArch() == Triple::mips) || 23 (TheTriple.getArch() == Triple::mips64)) 26 if ((TheTriple.getArch() == Triple::mips64el) || 27 (TheTriple.getArch() == Triple::mips64)) {
|
H A D | MipsMCAsmInfo.h | 26 explicit MipsMCAsmInfo(const Triple &TheTriple);
|
/freebsd-11.0-release/contrib/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMMCAsmInfo.cpp | 22 ARMMCAsmInfoDarwin::ARMMCAsmInfoDarwin(const Triple &TheTriple) { argument 23 if ((TheTriple.getArch() == Triple::armeb) || 24 (TheTriple.getArch() == Triple::thumbeb)) 36 ExceptionsType = TheTriple.isOSDarwin() && !TheTriple.isWatchOS() 45 ARMELFMCAsmInfo::ARMELFMCAsmInfo(const Triple &TheTriple) { argument 46 if ((TheTriple.getArch() == Triple::armeb) || 47 (TheTriple.getArch() == Triple::thumbeb)) 61 switch (TheTriple.getOS()) {
|
H A D | ARMAsmBackendWinCOFF.h | 18 ARMAsmBackendWinCOFF(const Target &T, const Triple &TheTriple) argument 19 : ARMAsmBackend(T, TheTriple, true) {}
|
H A D | ARMMCAsmInfo.h | 28 explicit ARMMCAsmInfoDarwin(const Triple &TheTriple);
|
H A D | ARMMCTargetDesc.cpp | 187 const Triple &TheTriple) { 189 if (TheTriple.isOSDarwin() || TheTriple.isOSBinFormatMachO()) 190 MAI = new ARMMCAsmInfoDarwin(TheTriple); 191 else if (TheTriple.isWindowsMSVCEnvironment()) 193 else if (TheTriple.isOSWindows()) 196 MAI = new ARMELFMCAsmInfo(TheTriple); 186 createARMMCAsmInfo(const MCRegisterInfo &MRI, const Triple &TheTriple) argument
|
H A D | ARMAsmBackend.cpp | 1059 const Triple &TheTriple, StringRef CPU, 1061 switch (TheTriple.getObjectFormat()) { 1065 MachO::CPUSubTypeARM CS = getMachOSubTypeFromArch(TheTriple.getArchName()); 1066 return new ARMAsmBackendDarwin(T, TheTriple, MRI, CS); 1069 assert(TheTriple.isOSWindows() && "non-Windows ARM COFF is not supported"); 1070 return new ARMAsmBackendWinCOFF(T, TheTriple); 1072 assert(TheTriple.isOSBinFormatELF() && "using ELF for non-ELF target"); 1073 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TheTriple.getOS()); 1074 return new ARMAsmBackendELF(T, TheTriple, OSABI, isLittle); 1057 createARMAsmBackend(const Target &T, const MCRegisterInfo &MRI, const Triple &TheTriple, StringRef CPU, bool isLittle) argument
|
/freebsd-11.0-release/contrib/llvm/lib/Target/NVPTX/MCTargetDesc/ |
H A D | NVPTXMCAsmInfo.h | 27 explicit NVPTXMCAsmInfo(const Triple &TheTriple);
|
H A D | NVPTXMCAsmInfo.cpp | 28 NVPTXMCAsmInfo::NVPTXMCAsmInfo(const Triple &TheTriple) { argument 29 if (TheTriple.getArch() == Triple::nvptx64) {
|
/freebsd-11.0-release/contrib/llvm/lib/ExecutionEngine/ |
H A D | TargetSelect.cpp | 45 Triple TheTriple(TargetTriple); 46 if (TheTriple.getTriple().empty()) 47 TheTriple.setTriple(sys::getProcessTriple()); 69 TheTriple.setArch(Type); 72 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), Error); 90 if (TheTriple.getArch() == Triple::arm && 91 !TheTriple.isiOS() && 97 TargetMachine *Target = TheTarget->createTargetMachine(TheTriple.getTriple(),
|
/freebsd-11.0-release/contrib/llvm/lib/Target/Sparc/MCTargetDesc/ |
H A D | SparcMCAsmInfo.h | 26 explicit SparcELFMCAsmInfo(const Triple &TheTriple);
|
H A D | SparcMCAsmInfo.cpp | 23 SparcELFMCAsmInfo::SparcELFMCAsmInfo(const Triple &TheTriple) { argument 24 bool isV9 = (TheTriple.getArch() == Triple::sparcv9); 25 IsLittleEndian = (TheTriple.getArch() == Triple::sparcel);
|
/freebsd-11.0-release/contrib/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86MCTargetDesc.cpp | 113 const Triple &TheTriple) { 114 bool is64Bit = TheTriple.getArch() == Triple::x86_64; 117 if (TheTriple.isOSBinFormatMachO()) { 119 MAI = new X86_64MCAsmInfoDarwin(TheTriple); 121 MAI = new X86MCAsmInfoDarwin(TheTriple); 122 } else if (TheTriple.isOSBinFormatELF()) { 124 MAI = new X86ELFMCAsmInfo(TheTriple); 125 } else if (TheTriple.isWindowsMSVCEnvironment() || 126 TheTriple.isWindowsCoreCLREnvironment()) { 127 MAI = new X86MCAsmInfoMicrosoft(TheTriple); 112 createX86MCAsmInfo(const MCRegisterInfo &MRI, const Triple &TheTriple) argument 216 createX86MCRelocationInfo(const Triple &TheTriple, MCContext &Ctx) argument [all...] |
H A D | X86AsmBackend.cpp | 801 const Triple &TheTriple, 803 if (TheTriple.isOSBinFormatMachO()) 806 if (TheTriple.isOSWindows() && !TheTriple.isOSBinFormatELF()) 809 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TheTriple.getOS()); 811 if (TheTriple.isOSIAMCU()) 819 const Triple &TheTriple, 821 if (TheTriple.isOSBinFormatMachO()) { 823 StringSwitch<MachO::CPUSubTypeX86>(TheTriple.getArchName()) 829 if (TheTriple 799 createX86_32AsmBackend(const Target &T, const MCRegisterInfo &MRI, const Triple &TheTriple, StringRef CPU) argument 817 createX86_64AsmBackend(const Target &T, const MCRegisterInfo &MRI, const Triple &TheTriple, StringRef CPU) argument [all...] |
/freebsd-11.0-release/contrib/llvm/lib/Support/ |
H A D | TargetRegistry.cpp | 26 Triple &TheTriple, 48 TheTriple.setArch(Type); 52 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), TempError); 55 + TheTriple.getTriple() 25 lookupTarget(const std::string &ArchName, Triple &TheTriple, std::string &Error) argument
|
/freebsd-11.0-release/contrib/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64MCTargetDesc.cpp | 58 const Triple &TheTriple) { 60 if (TheTriple.isOSBinFormatMachO()) 63 assert(TheTriple.isOSBinFormatELF() && "Only expect Darwin or ELF"); 64 MAI = new AArch64MCAsmInfoELF(TheTriple); 57 createAArch64MCAsmInfo(const MCRegisterInfo &MRI, const Triple &TheTriple) argument
|
H A D | AArch64AsmBackend.cpp | 524 const Triple &TheTriple, 526 if (TheTriple.isOSBinFormatMachO()) 529 assert(TheTriple.isOSBinFormatELF() && "Expect either MachO or ELF target"); 530 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TheTriple.getOS()); 536 const Triple &TheTriple, 538 assert(TheTriple.isOSBinFormatELF() && 540 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TheTriple.getOS()); 522 createAArch64leAsmBackend(const Target &T, const MCRegisterInfo &MRI, const Triple &TheTriple, StringRef CPU) argument 534 createAArch64beAsmBackend(const Target &T, const MCRegisterInfo &MRI, const Triple &TheTriple, StringRef CPU) argument
|
/freebsd-11.0-release/contrib/llvm/tools/bugpoint/ |
H A D | BugDriver.cpp | 103 Triple TheTriple(Result->getTargetTriple()); 105 if (TheTriple.getTriple().empty()) 106 TheTriple.setTriple(sys::getDefaultTargetTriple()); 108 TargetTriple.setTriple(TheTriple.getTriple());
|
/freebsd-11.0-release/contrib/llvm/tools/llc/ |
H A D | llc.cpp | 221 Triple TheTriple; local 252 TheTriple = Triple(M->getTargetTriple()); 254 TheTriple = Triple(Triple::normalize(TargetTriple)); 257 if (TheTriple.getTriple().empty()) 258 TheTriple.setTriple(sys::getDefaultTargetTriple()); 262 const Target *TheTarget = TargetRegistry::lookupTarget(MArch, TheTriple, 290 TheTarget->createTargetMachine(TheTriple.getTriple(), CPUStr, FeaturesStr, 307 GetOutputStream(TheTarget->getName(), TheTriple.getOS(), argv[0]);
|
/freebsd-11.0-release/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCMCTargetDesc.cpp | 71 const Triple &TheTriple) { 72 bool isPPC64 = (TheTriple.getArch() == Triple::ppc64 || 73 TheTriple.getArch() == Triple::ppc64le); 76 if (TheTriple.isOSDarwin()) 77 MAI = new PPCMCAsmInfoDarwin(isPPC64, TheTriple); 79 MAI = new PPCELFMCAsmInfo(isPPC64, TheTriple); 70 createPPCMCAsmInfo(const MCRegisterInfo &MRI, const Triple &TheTriple) argument
|
/freebsd-11.0-release/contrib/llvm/tools/llvm-mc/ |
H A D | llvm-mc.cpp | 195 Triple TheTriple(Triple::normalize(TripleName)); 199 const Target *TheTarget = TargetRegistry::lookupTarget(ArchName, TheTriple, 207 TripleName = TheTriple.getTriple(); 397 Triple TheTriple(TripleName); 435 MOFI.InitMCObjectFileInfo(TheTriple, RelocModel, CMModel, Ctx); 515 TheTriple, Ctx, *MAB, *OS, CE, *STI, MCOptions.MCRelaxAll,
|
/freebsd-11.0-release/contrib/llvm/include/llvm/Support/ |
H A D | TargetRegistry.h | 292 /// \param TheTriple This argument is used to determine the target machine 297 StringRef TheTriple) const { 300 return MCAsmInfoCtorFn(MRI, Triple(TheTriple)); 339 /// \param TheTriple This argument is used to determine the target machine 346 MCSubtargetInfo *createMCSubtargetInfo(StringRef TheTriple, StringRef CPU, argument 350 return MCSubtargetInfoCtorFn(Triple(TheTriple), CPU, Features); 374 /// \param TheTriple The target triple string. 376 StringRef TheTriple, StringRef CPU) const { 379 return MCAsmBackendCtorFn(*this, MRI, Triple(TheTriple), CPU); 606 /// \param TheTriple 375 createMCAsmBackend(const MCRegisterInfo &MRI, StringRef TheTriple, StringRef CPU) const argument 1119 Allocator(const Target &T, const MCRegisterInfo &MRI, const Triple &TheTriple, StringRef CPU) argument [all...] |
/freebsd-11.0-release/contrib/llvm/tools/llvm-rtdyld/ |
H A D | llvm-rtdyld.cpp | 608 Triple TheTriple(Triple::normalize(TripleName)); 611 TargetRegistry::lookupTarget("", TheTriple, ErrorStr); 615 TripleName = TheTriple.getTriple(); 681 remapSectionsAndSymbols(TheTriple, MemMgr, Checker);
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Parse/ |
H A D | ParseStmtAsm.cpp | 495 const llvm::Triple &TheTriple = Actions.Context.getTargetInfo().getTriple(); 496 llvm::Triple::ArchType ArchTy = TheTriple.getArch(); 497 const std::string &TT = TheTriple.getTriple(); 502 Diag(AsmLoc, diag::err_msasm_unsupported_arch) << TheTriple.getArchName(); 536 MOFI->InitMCObjectFileInfo(TheTriple, llvm::Reloc::Default,
|
/freebsd-11.0-release/contrib/llvm/tools/opt/ |
H A D | opt.cpp | 273 static TargetMachine* GetTargetMachine(Triple TheTriple, StringRef CPUStr, 277 const Target *TheTarget = TargetRegistry::lookupTarget(MArch, TheTriple, 284 return TheTarget->createTargetMachine(TheTriple.getTriple(),
|