Home
last modified time | relevance | path

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

1234

/external/llvm/lib/Target/X86/
DX86Subtarget.h285 Triple TargetTriple; variable
367 return In64BitMode && (TargetTriple.getEnvironment() == Triple::GNUX32 || in isTarget64BitILP32()
368 TargetTriple.isOSNaCl()); in isTarget64BitILP32()
373 return In64BitMode && (TargetTriple.getEnvironment() != Triple::GNUX32 && in isTarget64BitLP64()
374 !TargetTriple.isOSNaCl()); in isTarget64BitLP64()
462 const Triple &getTargetTriple() const { return TargetTriple; } in getTargetTriple()
464 bool isTargetDarwin() const { return TargetTriple.isOSDarwin(); } in isTargetDarwin()
465 bool isTargetFreeBSD() const { return TargetTriple.isOSFreeBSD(); } in isTargetFreeBSD()
466 bool isTargetDragonFly() const { return TargetTriple.isOSDragonFly(); } in isTargetDragonFly()
467 bool isTargetSolaris() const { return TargetTriple.isOSSolaris(); } in isTargetSolaris()
[all …]
DX86Subtarget.cpp309 PICStyle(PICStyles::None), TM(TM), TargetTriple(TT), in X86Subtarget()
311 In64BitMode(TargetTriple.getArch() == Triple::x86_64), in X86Subtarget()
312 In32BitMode(TargetTriple.getArch() == Triple::x86 && in X86Subtarget()
313 TargetTriple.getEnvironment() != Triple::CODE16), in X86Subtarget()
314 In16BitMode(TargetTriple.getArch() == Triple::x86 && in X86Subtarget()
315 TargetTriple.getEnvironment() == Triple::CODE16), in X86Subtarget()
/external/llvm/lib/Target/ARM/
DARMSubtarget.h329 Triple TargetTriple; variable
483 const Triple &getTargetTriple() const { return TargetTriple; } in getTargetTriple()
485 bool isTargetDarwin() const { return TargetTriple.isOSDarwin(); } in isTargetDarwin()
486 bool isTargetIOS() const { return TargetTriple.isiOS(); } in isTargetIOS()
487 bool isTargetWatchOS() const { return TargetTriple.isWatchOS(); } in isTargetWatchOS()
488 bool isTargetWatchABI() const { return TargetTriple.isWatchABI(); } in isTargetWatchABI()
489 bool isTargetLinux() const { return TargetTriple.isOSLinux(); } in isTargetLinux()
490 bool isTargetNaCl() const { return TargetTriple.isOSNaCl(); } in isTargetNaCl()
491 bool isTargetNetBSD() const { return TargetTriple.isOSNetBSD(); } in isTargetNetBSD()
492 bool isTargetWindows() const { return TargetTriple.isOSWindows(); } in isTargetWindows()
[all …]
DARMSubtarget.cpp92 CPUString(CPU), IsLittle(IsLittle), TargetTriple(TT), Options(TM.Options), in ARMSubtarget()
119 StringRef ArchName = TargetTriple.getArchName(); in initSubtargetFeatures()
133 std::string ArchFS = ARM_MC::ParseARMTriple(TargetTriple, CPUString); in initSubtargetFeatures()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86Subtarget.h131 Triple TargetTriple; variable
200 const Triple &getTargetTriple() const { return TargetTriple; } in getTargetTriple()
202 bool isTargetDarwin() const { return TargetTriple.isOSDarwin(); } in isTargetDarwin()
204 return TargetTriple.getOS() == Triple::FreeBSD; in isTargetFreeBSD()
207 return TargetTriple.getOS() == Triple::Solaris; in isTargetSolaris()
215 bool isTargetLinux() const { return TargetTriple.getOS() == Triple::Linux; } in isTargetLinux()
217 return TargetTriple.getOS() == Triple::NativeClient; in isTargetNaCl()
222 bool isTargetWindows() const { return TargetTriple.getOS() == Triple::Win32; } in isTargetWindows()
223 bool isTargetMingw() const { return TargetTriple.getOS() == Triple::MinGW32; } in isTargetMingw()
224 bool isTargetCygwin() const { return TargetTriple.getOS() == Triple::Cygwin; } in isTargetCygwin()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64Subtarget.h104 Triple TargetTriple; variable
151 const Triple &getTargetTriple() const { return TargetTriple; } in getTargetTriple()
216 bool isTargetDarwin() const { return TargetTriple.isOSDarwin(); } in isTargetDarwin()
217 bool isTargetIOS() const { return TargetTriple.isiOS(); } in isTargetIOS()
218 bool isTargetLinux() const { return TargetTriple.isOSLinux(); } in isTargetLinux()
219 bool isTargetWindows() const { return TargetTriple.isOSWindows(); } in isTargetWindows()
220 bool isTargetAndroid() const { return TargetTriple.isAndroid(); } in isTargetAndroid()
222 bool isTargetCOFF() const { return TargetTriple.isOSBinFormatCOFF(); } in isTargetCOFF()
223 bool isTargetELF() const { return TargetTriple.isOSBinFormatELF(); } in isTargetELF()
224 bool isTargetMachO() const { return TargetTriple.isOSBinFormatMachO(); } in isTargetMachO()
DAArch64Subtarget.cpp92 IsLittle(LittleEndian), CPUString(CPU), TargetTriple(TT), FrameLowering(), in AArch64Subtarget()
160 if (TargetTriple.isiOS()) { in supportsAddressTopByteIgnored()
162 TargetTriple.getiOSVersion(Major, Minor, Micro); in supportsAddressTopByteIgnored()
/external/llvm/lib/Target/PowerPC/
DPPCSubtarget.h77 Triple TargetTriple;
281 const Triple &getTargetTriple() const { return TargetTriple; } in getTargetTriple()
284 bool isDarwin() const { return TargetTriple.isMacOSX(); } in isDarwin()
286 bool isBGQ() const { return TargetTriple.getVendor() == Triple::BGQ; } in isBGQ()
288 bool isTargetELF() const { return TargetTriple.isOSBinFormatELF(); } in isTargetELF()
289 bool isTargetMachO() const { return TargetTriple.isOSBinFormatMachO(); } in isTargetMachO()
290 bool isTargetLinux() const { return TargetTriple.isOSLinux(); } in isTargetLinux()
DPPCSubtarget.cpp52 : PPCGenSubtargetInfo(TT, CPU, FS), TargetTriple(TT), in PPCSubtarget()
53 IsPPC64(TargetTriple.getArch() == Triple::ppc64 || in PPCSubtarget()
54 TargetTriple.getArch() == Triple::ppc64le), in PPCSubtarget()
117 if (TargetTriple.getArch() == Triple::ppc64le) in initSubtargetFeatures()
146 IsLittleEndian = (TargetTriple.getArch() == Triple::ppc64le); in initSubtargetFeatures()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblySubtarget.h38 Triple TargetTriple; variable
70 const Triple &getTargetTriple() const { return TargetTriple; } in getTargetTriple()
75 bool hasAddr64() const { return TargetTriple.isArch64Bit(); } in hasAddr64()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMSubtarget.h154 Triple TargetTriple; variable
221 const Triple &getTargetTriple() const { return TargetTriple; } in getTargetTriple()
223 bool isTargetDarwin() const { return TargetTriple.isOSDarwin(); } in isTargetDarwin()
225 return TargetTriple.getOS() == Triple::NativeClient; in isTargetNaCl()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCSubtarget.h73 Triple TargetTriple; variable
140 const Triple &getTargetTriple() const { return TargetTriple; } in getTargetTriple()
143 bool isDarwin() const { return TargetTriple.isMacOSX(); } in isDarwin()
/external/swiftshader/third_party/LLVM/tools/bugpoint/
DBugDriver.cpp31 Triple TargetTriple; variable
95 if (TargetTriple.getTriple().empty()) { in ParseInputFile()
101 TargetTriple.setTriple(TheTriple.getTriple()); in ParseInputFile()
104 Result->setTargetTriple(TargetTriple.getTriple()); // override the triple in ParseInputFile()
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetMachine.h76 TargetMachine(const Target &T, StringRef TargetTriple,
88 std::string TargetTriple; variable
110 const StringRef getTargetTriple() const { return TargetTriple; } in getTargetTriple()
287 LLVMTargetMachine(const Target &T, StringRef TargetTriple,
/external/llvm/tools/bugpoint/
DBugDriver.cpp32 Triple TargetTriple; variable
102 if (TargetTriple.getTriple().empty()) { in parseInputFile()
108 TargetTriple.setTriple(TheTriple.getTriple()); in parseInputFile()
111 Result->setTargetTriple(TargetTriple.getTriple()); // override the triple in parseInputFile()
/external/llvm/include/llvm/Target/
DTargetMachine.h71 const Triple &TargetTriple, StringRef CPU, StringRef FS,
87 Triple TargetTriple; variable
112 const Triple &getTargetTriple() const { return TargetTriple; } in getTargetTriple()
284 const Triple &TargetTriple, StringRef CPU, StringRef FS,
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp360 static ShadowMapping getShadowMapping(Triple &TargetTriple, int LongSize, in getShadowMapping() argument
362 bool IsAndroid = TargetTriple.isAndroid(); in getShadowMapping()
363 bool IsIOS = TargetTriple.isiOS() || TargetTriple.isWatchOS(); in getShadowMapping()
364 bool IsFreeBSD = TargetTriple.isOSFreeBSD(); in getShadowMapping()
365 bool IsLinux = TargetTriple.isOSLinux(); in getShadowMapping()
366 bool IsPPC64 = TargetTriple.getArch() == llvm::Triple::ppc64 || in getShadowMapping()
367 TargetTriple.getArch() == llvm::Triple::ppc64le; in getShadowMapping()
368 bool IsSystemZ = TargetTriple.getArch() == llvm::Triple::systemz; in getShadowMapping()
369 bool IsX86 = TargetTriple.getArch() == llvm::Triple::x86; in getShadowMapping()
370 bool IsX86_64 = TargetTriple.getArch() == llvm::Triple::x86_64; in getShadowMapping()
[all …]
/external/clang/lib/Driver/
DToolChains.cpp1371 const llvm::Triple &TargetTriple, const ArgList &Args, in init() argument
1373 llvm::Triple BiarchVariantTriple = TargetTriple.isArch32Bit() in init()
1374 ? TargetTriple.get64BitArchVariant() in init()
1375 : TargetTriple.get32BitArchVariant(); in init()
1381 CollectLibDirsAndTriples(TargetTriple, BiarchVariantTriple, CandidateLibDirs, in init()
1429 ScanLibDirForGCCTriple(TargetTriple, Args, LibDir, Candidate); in init()
1431 ScanLibDirForGCCTriple(TargetTriple, Args, LibDir, Candidate); in init()
1438 ScanLibDirForGCCTriple(TargetTriple, Args, LibDir, Candidate, in init()
1467 const llvm::Triple &TargetTriple, const llvm::Triple &BiarchTriple, in CollectLibDirsAndTriples() argument
1569 if (TargetTriple.getOS() == llvm::Triple::Solaris) { in CollectLibDirsAndTriples()
[all …]
/external/llvm/lib/Target/Lanai/
DLanaiSubtarget.cpp40 LanaiSubtarget::LanaiSubtarget(const Triple &TargetTriple, StringRef Cpu, in LanaiSubtarget() argument
45 : LanaiGenSubtargetInfo(TargetTriple, Cpu, FeatureString), in LanaiSubtarget()
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCSubtargetInfo.h30 std::string TargetTriple; // Target triple variable
51 return TargetTriple; in getTargetTriple()
/external/llvm/lib/Target/SystemZ/
DSystemZSubtarget.h51 Triple TargetTriple;
125 bool isTargetELF() const { return TargetTriple.isOSBinFormatELF(); } in isTargetELF()
/external/llvm/lib/ExecutionEngine/
DTargetSelect.cpp40 TargetMachine *EngineBuilder::selectTarget(const Triple &TargetTriple, in selectTarget() argument
44 Triple TheTriple(TargetTriple); in selectTarget()
/external/llvm/lib/Target/Sparc/
DSparcSubtarget.h33 Triple TargetTriple; variable
129 bool isTargetLinux() const { return TargetTriple.isOSLinux(); } in isTargetLinux()
/external/swiftshader/third_party/LLVM/tools/lli/
Dlli.cpp73 TargetTriple("mtriple", cl::desc("Override target triple for module")); variable
207 if (!TargetTriple.empty()) in main()
208 Mod->setTargetTriple(Triple::normalize(TargetTriple)); in main()
/external/llvm/include/llvm/MC/
DMCSubtargetInfo.h31 Triple TargetTriple; // Target triple variable
63 const Triple &getTargetTriple() const { return TargetTriple; } in getTargetTriple()

1234