Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/ARM/
DARMSubtarget.h225 Triple TargetTriple; variable
350 const Triple &getTargetTriple() const { return TargetTriple; } in getTargetTriple()
352 bool isTargetDarwin() const { return TargetTriple.isOSDarwin(); } in isTargetDarwin()
353 bool isTargetIOS() const { return TargetTriple.isiOS(); } in isTargetIOS()
354 bool isTargetLinux() const { return TargetTriple.isOSLinux(); } in isTargetLinux()
355 bool isTargetNaCl() const { return TargetTriple.isOSNaCl(); } in isTargetNaCl()
356 bool isTargetNetBSD() const { return TargetTriple.getOS() == Triple::NetBSD; } in isTargetNetBSD()
357 bool isTargetWindows() const { return TargetTriple.isOSWindows(); } in isTargetWindows()
359 bool isTargetCOFF() const { return TargetTriple.isOSBinFormatCOFF(); } in isTargetCOFF()
360 bool isTargetELF() const { return TargetTriple.isOSBinFormatELF(); } in isTargetELF()
[all …]
DARMSubtarget.cpp156 TargetTriple(TT), Options(Options), TargetABI(ARM_ABI_UNKNOWN), in ARMSubtarget()
238 if (isTargetIOS() && TargetTriple.getArchName().endswith("v7s")) in resetSubtargetFeatures()
248 std::string ArchFS = ARM_MC::ParseARMTriple(TargetTriple.getTriple(), in resetSubtargetFeatures()
269 switch (TargetTriple.getEnvironment()) { in resetSubtargetFeatures()
279 (TargetTriple.isOSBinFormatMachO() && in resetSubtargetFeatures()
280 TargetTriple.getOS() == Triple::UnknownOS)) in resetSubtargetFeatures()
/external/llvm/lib/Target/X86/
DX86Subtarget.h211 Triple TargetTriple; variable
291 return In64BitMode && (TargetTriple.getEnvironment() == Triple::GNUX32 || in isTarget64BitILP32()
292 TargetTriple.getOS() == Triple::NaCl); in isTarget64BitILP32()
297 return In64BitMode && (TargetTriple.getEnvironment() != Triple::GNUX32); in isTarget64BitLP64()
359 const Triple &getTargetTriple() const { return TargetTriple; } in getTargetTriple()
361 bool isTargetDarwin() const { return TargetTriple.isOSDarwin(); } in isTargetDarwin()
363 return TargetTriple.getOS() == Triple::FreeBSD; in isTargetFreeBSD()
366 return TargetTriple.getOS() == Triple::Solaris; in isTargetSolaris()
369 bool isTargetELF() const { return TargetTriple.isOSBinFormatELF(); } in isTargetELF()
370 bool isTargetCOFF() const { return TargetTriple.isOSBinFormatCOFF(); } in isTargetCOFF()
[all …]
DX86Subtarget.cpp349 PICStyle(PICStyles::None), TargetTriple(TT), in X86Subtarget()
351 In64BitMode(TargetTriple.getArch() == Triple::x86_64), in X86Subtarget()
352 In32BitMode(TargetTriple.getArch() == Triple::x86 && in X86Subtarget()
353 TargetTriple.getEnvironment() != Triple::CODE16), in X86Subtarget()
354 In16BitMode(TargetTriple.getArch() == Triple::x86 && in X86Subtarget()
355 TargetTriple.getEnvironment() == Triple::CODE16), in X86Subtarget()
/external/llvm/lib/Target/AArch64/
DAArch64Subtarget.h55 Triple TargetTriple; variable
96 bool isTargetDarwin() const { return TargetTriple.isOSDarwin(); } in isTargetDarwin()
98 bool isTargetELF() const { return TargetTriple.isOSBinFormatELF(); } in isTargetELF()
100 bool isTargetMachO() const { return TargetTriple.isOSBinFormatMachO(); } in isTargetMachO()
DAArch64MCInstLower.cpp30 : Ctx(ctx), Printer(printer), TargetTriple(printer.getTargetTriple()) {} in AArch64MCInstLower()
146 if (TargetTriple.isOSDarwin()) in LowerSymbolOperand()
149 assert(TargetTriple.isOSBinFormatELF() && "Expect Darwin or ELF target"); in LowerSymbolOperand()
DAArch64MCInstLower.h33 Triple TargetTriple; variable
DAArch64Subtarget.cpp51 TargetTriple(TT), in AArch64Subtarget()
/external/llvm/lib/Target/PowerPC/
DPPCSubtarget.h107 Triple TargetTriple; variable
218 const Triple &getTargetTriple() const { return TargetTriple; } in getTargetTriple()
221 bool isDarwin() const { return TargetTriple.isMacOSX(); } in isDarwin()
223 bool isBGQ() const { return TargetTriple.getVendor() == Triple::BGQ; } in isBGQ()
DPPCSubtarget.cpp80 : PPCGenSubtargetInfo(TT, CPU, FS), IsPPC64(is64Bit), TargetTriple(TT), in PPCSubtarget()
200 IsLittleEndian = (TargetTriple.getArch() == Triple::ppc64le); in resetSubtargetFeatures()
/external/clang/lib/Driver/
DToolChains.cpp1223 const Driver &D, const llvm::Triple &TargetTriple, const ArgList &Args) { in init() argument
1225 TargetTriple.isArch32Bit() ? TargetTriple.get64BitArchVariant() in init()
1226 : TargetTriple.get32BitArchVariant(); in init()
1232 CollectLibDirsAndTriples(TargetTriple, BiarchVariantTriple, CandidateLibDirs, in init()
1272 ScanLibDirForGCCTriple(TargetTriple, Args, LibDir, in init()
1281 ScanLibDirForGCCTriple(TargetTriple, Args, LibDir, in init()
1311 const llvm::Triple &TargetTriple, const llvm::Triple &BiarchTriple, in CollectLibDirsAndTriples() argument
1405 switch (TargetTriple.getArch()) { in CollectLibDirsAndTriples()
1431 if (TargetTriple.getEnvironment() == llvm::Triple::GNUEABIHF) { in CollectLibDirsAndTriples()
1442 if (TargetTriple.getEnvironment() == llvm::Triple::GNUEABIHF) { in CollectLibDirsAndTriples()
[all …]
/external/llvm/tools/bugpoint/
DBugDriver.cpp31 Triple TargetTriple; variable
99 if (TargetTriple.getTriple().empty()) { in ParseInputFile()
105 TargetTriple.setTriple(TheTriple.getTriple()); in ParseInputFile()
108 Result->setTargetTriple(TargetTriple.getTriple()); // override the triple in ParseInputFile()
Dbugpoint.cpp155 TargetTriple.setTriple(Triple::normalize(OverrideTriple)); in main()
156 outs() << "Override triple set to '" << TargetTriple.getTriple() << "'\n"; in main()
DToolRunner.cpp687 if (TargetTriple.getArch() == Triple::x86) in ExecuteProgram()
706 if (TargetTriple.isOSDarwin() && !IsARMArchitecture(GCCArgs)) in ExecuteProgram()
738 if (TargetTriple.getArch() == Triple::sparc) in ExecuteProgram()
840 if (TargetTriple.getArch() == Triple::x86) in MakeSharedObject()
856 if (TargetTriple.getArch() == Triple::sparc) in MakeSharedObject()
858 else if (TargetTriple.isOSDarwin()) { in MakeSharedObject()
870 if (TargetTriple.getArch() == Triple::x86_64) in MakeSharedObject()
873 if (TargetTriple.getArch() == Triple::sparc) in MakeSharedObject()
/external/llvm/include/llvm/Target/
DTargetMachine.h67 TargetMachine(const Target &T, StringRef TargetTriple,
75 std::string TargetTriple; variable
94 const StringRef getTargetTriple() const { return TargetTriple; } in getTargetTriple()
270 LLVMTargetMachine(const Target &T, StringRef TargetTriple,
/external/llvm/lib/Target/SystemZ/
DSystemZSubtarget.h45 Triple TargetTriple;
96 bool isTargetELF() const { return TargetTriple.isOSBinFormatELF(); } in isTargetELF()
DSystemZSubtarget.cpp47 TargetTriple(TT), in SystemZSubtarget()
/external/llvm/lib/ExecutionEngine/
DTargetSelect.cpp41 TargetMachine *EngineBuilder::selectTarget(const Triple &TargetTriple, in selectTarget() argument
45 Triple TheTriple(TargetTriple); in selectTarget()
/external/llvm/lib/Target/Mips/
DMipsSubtarget.h147 Triple TargetTriple; variable
263 bool isTargetNaCl() const { return TargetTriple.isOSNaCl(); } in isTargetNaCl()
264 bool isNotTargetNaCl() const { return !TargetTriple.isOSNaCl(); } in isNotTargetNaCl()
DMipsSubtarget.cpp117 TargetTriple(TT), in MipsSubtarget()
193 std::string CPUName = selectMipsCPU(TargetTriple, CPU); in initializeSubtargetDependencies()
/external/llvm/tools/llc/
Dllc.cpp76 TargetTriple("mtriple", cl::desc("Override target triple for module")); variable
242 if (!TargetTriple.empty()) in compileModule()
243 mod->setTargetTriple(Triple::normalize(TargetTriple)); in compileModule()
246 TheTriple = Triple(Triple::normalize(TargetTriple)); in compileModule()
/external/llvm/include/llvm/MC/
DMCSubtargetInfo.h30 std::string TargetTriple; // Target triple variable
59 return TargetTriple; in getTargetTriple()
/external/llvm/tools/lli/
Dlli.cpp115 TargetTriple("mtriple", cl::desc("Override target triple for module")); variable
345 Triple TargetTriple(TargetTripleStr); in addCygMingExtraModule() local
353 if (TargetTriple.isArch64Bit()) { in addCygMingExtraModule()
365 if (TargetTriple.isArch64Bit()) in addCygMingExtraModule()
449 if (!TargetTriple.empty()) in main()
450 Mod->setTargetTriple(Triple::normalize(TargetTriple)); in main()
/external/llvm/include/llvm/IR/
DModule.h207 std::string TargetTriple; ///< Platform target triple Module compiled on
249 const std::string &getTargetTriple() const { return TargetTriple; }
276 void setTargetTriple(StringRef T) { TargetTriple = T; }
/external/clang/lib/CodeGen/
DBackendUtil.cpp296 Triple TargetTriple(TheModule->getTargetTriple()); in CreatePasses() local
297 PMBuilder.LibraryInfo = new TargetLibraryInfo(TargetTriple); in CreatePasses()
495 llvm::Triple TargetTriple(TheModule->getTargetTriple()); in AddEmitPasses() local
496 TargetLibraryInfo *TLI = new TargetLibraryInfo(TargetTriple); in AddEmitPasses()

12