/external/clang/lib/Driver/ |
D | ToolChain.cpp | 273 const llvm::Triple &Triple = TC.getTriple(); in getArchNameForCompilerRTLib() 289 const llvm::Triple &TT = getTriple(); in getCompilerRT() 419 switch (getTriple().getArch()) { in ComputeLLVMTriple() 424 llvm::Triple Triple = getTriple(); in ComputeLLVMTriple() 435 return Triple.getTriple(); in ComputeLLVMTriple() 438 llvm::Triple Triple = getTriple(); in ComputeLLVMTriple() 446 return Triple.getTriple(); in ComputeLLVMTriple() 453 llvm::Triple Triple = getTriple(); in ComputeLLVMTriple() 454 bool IsBigEndian = getTriple().getArch() == llvm::Triple::armeb || in ComputeLLVMTriple() 455 getTriple().getArch() == llvm::Triple::thumbeb; in ComputeLLVMTriple() [all …]
|
D | ToolChains.cpp | 154 switch (getTriple().getArch()) { in getMachOArchName() 183 return Triple.getTriple(); in ComputeEffectiveClangTriple() 193 return Triple.getTriple(); in ComputeEffectiveClangTriple() 207 return Triple.getTriple(); in ComputeEffectiveClangTriple() 243 if (isTargetWatchOSBased() || getTriple().isArch64Bit()) { in addClangWarningOptions() 463 getTriple().getArch() != llvm::Triple::aarch64) in AddLinkRuntimeLibArgs() 488 if (getTriple().getArch() == llvm::Triple::x86) in AddLinkRuntimeLibArgs() 594 getTriple().getiOSVersion(Major, Minor, Micro); in AddDeploymentTarget() 598 getTriple().getWatchOSVersion(Major, Minor, Micro); in AddDeploymentTarget() 603 if (!getTriple().getMacOSXVersion(Major, Minor, Micro)) { in AddDeploymentTarget() [all …]
|
D | SanitizerArgs.cpp | 228 << Desc << TC.getTriple().str(); in SanitizerArgs() 296 if (TC.getTriple().isOSWindows()) in SanitizerArgs() 302 << ("-fno-sanitize-trap=" + toString(S)) << TC.getTriple().str(); in SanitizerArgs() 433 NeedPIE |= !(TC.getTriple().isOSLinux() && in SanitizerArgs() 434 TC.getTriple().getArch() == llvm::Triple::x86_64); in SanitizerArgs() 533 Args.hasArg(options::OPT_shared_libasan) || TC.getTriple().isAndroid(); in SanitizerArgs() 534 NeedPIE |= TC.getTriple().isAndroid(); in SanitizerArgs() 597 if (TC.getTriple().getArch() == llvm::Triple::x86) { in addIncludeLinkerOption() 625 if (TC.getTriple().isOSWindows() && needsUbsanRt()) { in addArgs() 634 if (TC.getTriple().isOSWindows() && needsStatsRt()) { in addArgs() [all …]
|
D | Tools.cpp | 306 const bool IsIAMCU = getToolChain().getTriple().isOSIAMCU(); in AddPreprocessingOptions() 1440 const llvm::Triple &Triple = getToolChain().getTriple(); in AddMIPSTargetArgs() 1623 if (getToolChain().getTriple().isOSLinux()) in AddPPCTargetArgs() 1995 std::string CPU = getCPUName(Args, ToolChain.getTriple()); in AddGoldPlugin() 2642 const llvm::Triple &Triple = TC.getTriple(); in addExceptionArgs() 2710 if (TC.getTriple().isOSDarwin()) { in ShouldDisableAutolink() 2832 C.getDefaultToolChain().getTriple().isWindowsMSVCEnvironment(); in CollectArgsForIntegratedAssembler() 3081 if (TC.getTriple().getOS() != llvm::Triple::FreeBSD) in linkSanitizerRuntimeDeps() 3102 if (Args.hasArg(options::OPT_shared) || TC.getTriple().isAndroid()) { in collectSanitizerRuntimes() 3207 if (TC.getTriple().getOS() != llvm::Triple::FreeBSD) in linkXRayRuntimeDeps() [all …]
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/ |
D | TargetSelect.cpp | 37 if (TheTriple.getTriple().empty()) in selectTarget() 64 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), Error); in selectTarget() 88 TargetMachine *Target = TheTarget->createTargetMachine(TheTriple.getTriple(), in selectTarget()
|
/external/llvm/lib/ExecutionEngine/ |
D | TargetSelect.cpp | 45 if (TheTriple.getTriple().empty()) in selectTarget() 71 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), Error); in selectTarget() 96 TargetMachine *Target = TheTarget->createTargetMachine(TheTriple.getTriple(), in selectTarget()
|
/external/swiftshader/third_party/LLVM/tools/bugpoint/ |
D | BugDriver.cpp | 95 if (TargetTriple.getTriple().empty()) { in ParseInputFile() 98 if (TheTriple.getTriple().empty()) in ParseInputFile() 101 TargetTriple.setTriple(TheTriple.getTriple()); in ParseInputFile() 104 Result->setTargetTriple(TargetTriple.getTriple()); // override the triple in ParseInputFile()
|
/external/llvm/tools/bugpoint/ |
D | BugDriver.cpp | 102 if (TargetTriple.getTriple().empty()) { in parseInputFile() 105 if (TheTriple.getTriple().empty()) in parseInputFile() 108 TargetTriple.setTriple(TheTriple.getTriple()); in parseInputFile() 111 Result->setTargetTriple(TargetTriple.getTriple()); // override the triple in parseInputFile()
|
/external/clang/lib/Analysis/ |
D | FormatString.cpp | 664 if (Target.getTriple().isOSMSVCRT()) { in hasValidLengthModifier() 697 return Target.getTriple().isOSFreeBSD() || Target.getTriple().isPS4(); in hasValidLengthModifier() 730 return Target.getTriple().isOSFreeBSD() || Target.getTriple().isPS4(); in hasValidLengthModifier() 753 return !Target.getTriple().isOSDarwin() && in hasValidLengthModifier() 754 !Target.getTriple().isOSWindows(); in hasValidLengthModifier() 790 return Target.getTriple().isOSMSVCRT(); in hasValidLengthModifier() 801 return Target.getTriple().isOSMSVCRT(); in hasValidLengthModifier()
|
D | PrintfFormatString.cpp | 277 else if (Target.getTriple().isOSDarwin()) in ParsePrintfSpecifier() 281 if (Target.getTriple().isOSDarwin()) in ParsePrintfSpecifier() 285 if (Target.getTriple().isOSDarwin()) in ParsePrintfSpecifier() 290 if (Target.getTriple().isOSMSVCRT()) in ParsePrintfSpecifier() 405 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT()) in getArgType() 434 return Ctx.getTargetInfo().getTriple().isArch64Bit() in getArgType() 467 return Ctx.getTargetInfo().getTriple().isArch64Bit() in getArgType() 532 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT() && in getArgType() 539 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT() && in getArgType()
|
D | ScanfFormatString.cpp | 189 if (Target.getTriple().isOSDarwin()) in ParseScanfSpecifier() 193 if (Target.getTriple().isOSDarwin()) in ParseScanfSpecifier() 197 if (Target.getTriple().isOSDarwin()) in ParseScanfSpecifier() 342 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT()) in getArgType() 358 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT()) in getArgType()
|
/external/clang/lib/Basic/ |
D | Targets.cpp | 88 getOSDefines(Opts, TgtInfo::getTriple(), Builder); in getTargetDefines() 1114 getTriple().isOSBinFormatELF(); in useFloat128ManglingForLongDouble() 1175 if (getTriple().getArch() == llvm::Triple::ppc64le) { in getTargetDefines() 1178 if (getTriple().getOS() != llvm::Triple::NetBSD && in getTargetDefines() 1179 getTriple().getOS() != llvm::Triple::OpenBSD) in getTargetDefines() 1301 if (getTriple().getVendor() == llvm::Triple::BGQ) { in getTargetDefines() 1584 switch (getTriple().getOS()) { in PPC32TargetInfo() 1596 if (getTriple().getOS() == llvm::Triple::FreeBSD) { in PPC32TargetInfo() 1629 switch (getTriple().getOS()) { in PPC64TargetInfo() 1964 if (getTriple().getArch() == llvm::Triple::amdgcn) { in AMDGPUTargetInfo() [all …]
|
/external/swiftshader/third_party/LLVM/unittests/ADT/ |
D | TripleTest.cpp | 237 EXPECT_EQ("i386--", T.getTriple()); in TEST() 242 EXPECT_EQ("i386-pc-", T.getTriple()); in TEST() 248 EXPECT_EQ("i386-pc-linux", T.getTriple()); in TEST() 254 EXPECT_EQ("i386-pc-linux-gnu", T.getTriple()); in TEST() 260 EXPECT_EQ("i386-pc-freebsd-gnu", T.getTriple()); in TEST() 266 EXPECT_EQ("i386-pc-darwin", T.getTriple()); in TEST()
|
/external/clang/lib/AST/ |
D | MicrosoftCXXABI.cpp | 86 Context.getTargetInfo().getTriple().getArch() == llvm::Triple::x86) in getDefaultMethodCallConv() 257 if (Ptrs + Ints > 1 && Target.getTriple().isArch32Bit()) in getMemberPointerWidthAndAlign() 264 if (Target.getTriple().isArch64Bit()) in getMemberPointerWidthAndAlign()
|
/external/clang/lib/CodeGen/ |
D | ObjectFilePCHContainerOperations.cpp | 239 M->setTargetTriple(Ctx.getTargetInfo().getTriple().getTriple()); in HandleTranslationUnit() 253 auto Triple = Ctx.getTargetInfo().getTriple(); in HandleTranslationUnit() 254 if (!llvm::TargetRegistry::lookupTarget(Triple.getTriple(), Error)) in HandleTranslationUnit()
|
D | ModuleBuilder.cpp | 121 M->setTargetTriple(Ctx->getTargetInfo().getTriple().getTriple()); in Initialize()
|
D | CGException.cpp | 191 const llvm::Triple &T = CGM.getTarget().getTriple(); in get() 308 getCXXPersonality(getTarget().getTriple(), LangOpts); in SimplifyPersonality() 1478 if (ParentCGF.getTarget().getTriple().getArch() != llvm::Triple::x86) in VisitCallExpr() 1546 CGM.getTarget().getTriple().getArch() != llvm::Triple::x86) { in EmitCapturedLocals() 1554 if (IsFilter && CGM.getTarget().getTriple().getArch() == llvm::Triple::x86) { in EmitCapturedLocals() 1636 if (CGM.getTarget().getTriple().getArch() != llvm::Triple::x86 || !IsFilter) { in startOutlinedSEHHelper() 1724 if (CGM.getTarget().getTriple().getArch() != llvm::Triple::x86) { in EmitSEHExceptionCodeSave() 1803 if (CGM.getTarget().getTriple().getArch() != llvm::Triple::x86 && C && in EnterSEHTryStmt() 1865 if (CGM.getTarget().getTriple().getArch() != llvm::Triple::x86) { in ExitSEHTryStmt()
|
/external/llvm/tools/llvm-jitlistener/ |
D | llvm-jitlistener.cpp | 129 if (Tuple.getTriple().empty()) in InitEE() 134 TheModule->setTargetTriple(Tuple.getTriple()); in InitEE()
|
/external/swiftshader/third_party/LLVM/tools/llc/ |
D | llc.cpp | 260 if (TheTriple.getTriple().empty()) in main() 288 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), Err); in main() 307 target(TheTarget->createTargetMachine(TheTriple.getTriple(), in main()
|
/external/llvm/lib/Support/ |
D | TargetRegistry.cpp | 52 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), TempError); in lookupTarget() 55 + TheTriple.getTriple() in lookupTarget()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
D | JitManager.cpp | 122 mpCurrentModule->setTargetTriple(hostTriple.getTriple()); in JitManager() 186 newModule->setTargetTriple(hostTriple.getTriple()); in SetupNewModule() 223 newModule->setTargetTriple(hostTriple.getTriple()); in SetupModuleFromIR()
|
/external/clang/include/clang/Basic/ |
D | TargetInfo.h | 749 const llvm::Triple &getTriple() const { in getTriple() function 892 return getTriple().isOSWindows() && in isSEHTrySupported() 893 (getTriple().getArch() == llvm::Triple::x86 || in isSEHTrySupported() 894 getTriple().getArch() == llvm::Triple::x86_64); in isSEHTrySupported()
|
/external/swiftshader/third_party/LLVM/tools/llvm-mc/ |
D | llvm-mc.cpp | 204 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), Error); in GetTarget() 207 << TheTriple.getTriple() in GetTarget() 213 TripleName = TheTriple.getTriple(); in GetTarget()
|
/external/llvm/tools/dsymutil/ |
D | dsymutil.cpp | 326 << MachOUtils::getArchName(Map->getTriple().getArchName()) in main() 334 TempFiles.emplace_back(Map->getTriple().getArchName().str(), in main()
|
/external/clang/include/clang/Driver/ |
D | ToolChain.h | 130 const llvm::Triple &getTriple() const { return Triple; } in getTriple() function 142 return Triple.getTriple(); in getTripleString()
|