/external/llvm/lib/Target/ARM/ |
D | ARMSubtarget.h | 225 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 …]
|
D | ARMSubtarget.cpp | 156 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/ |
D | X86Subtarget.h | 211 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 …]
|
D | X86Subtarget.cpp | 349 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/ |
D | AArch64Subtarget.h | 55 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()
|
D | AArch64MCInstLower.cpp | 30 : 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()
|
D | AArch64MCInstLower.h | 33 Triple TargetTriple; variable
|
D | AArch64Subtarget.cpp | 51 TargetTriple(TT), in AArch64Subtarget()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCSubtarget.h | 107 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()
|
D | PPCSubtarget.cpp | 80 : PPCGenSubtargetInfo(TT, CPU, FS), IsPPC64(is64Bit), TargetTriple(TT), in PPCSubtarget() 200 IsLittleEndian = (TargetTriple.getArch() == Triple::ppc64le); in resetSubtargetFeatures()
|
/external/clang/lib/Driver/ |
D | ToolChains.cpp | 1223 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/ |
D | BugDriver.cpp | 31 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()
|
D | bugpoint.cpp | 155 TargetTriple.setTriple(Triple::normalize(OverrideTriple)); in main() 156 outs() << "Override triple set to '" << TargetTriple.getTriple() << "'\n"; in main()
|
D | ToolRunner.cpp | 687 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/ |
D | TargetMachine.h | 67 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/ |
D | SystemZSubtarget.h | 45 Triple TargetTriple; 96 bool isTargetELF() const { return TargetTriple.isOSBinFormatELF(); } in isTargetELF()
|
D | SystemZSubtarget.cpp | 47 TargetTriple(TT), in SystemZSubtarget()
|
/external/llvm/lib/ExecutionEngine/ |
D | TargetSelect.cpp | 41 TargetMachine *EngineBuilder::selectTarget(const Triple &TargetTriple, in selectTarget() argument 45 Triple TheTriple(TargetTriple); in selectTarget()
|
/external/llvm/lib/Target/Mips/ |
D | MipsSubtarget.h | 147 Triple TargetTriple; variable 263 bool isTargetNaCl() const { return TargetTriple.isOSNaCl(); } in isTargetNaCl() 264 bool isNotTargetNaCl() const { return !TargetTriple.isOSNaCl(); } in isNotTargetNaCl()
|
D | MipsSubtarget.cpp | 117 TargetTriple(TT), in MipsSubtarget() 193 std::string CPUName = selectMipsCPU(TargetTriple, CPU); in initializeSubtargetDependencies()
|
/external/llvm/tools/llc/ |
D | llc.cpp | 76 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/ |
D | MCSubtargetInfo.h | 30 std::string TargetTriple; // Target triple variable 59 return TargetTriple; in getTargetTriple()
|
/external/llvm/tools/lli/ |
D | lli.cpp | 115 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/ |
D | Module.h | 207 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/ |
D | BackendUtil.cpp | 296 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()
|