/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/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-7.0/llvm/lib/ExecutionEngine/ |
D | TargetSelect.cpp | 45 if (TheTriple.getTriple().empty()) in selectTarget() 70 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), Error); in selectTarget() 96 TheTarget->createTargetMachine(TheTriple.getTriple(), MCPU, FeaturesStr, in selectTarget()
|
/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/swiftshader/third_party/llvm-7.0/llvm/tools/bugpoint/ |
D | BugDriver.cpp | 109 if (TargetTriple.getTriple().empty()) { in parseInputFile() 112 if (TheTriple.getTriple().empty()) in parseInputFile() 115 TargetTriple.setTriple(TheTriple.getTriple()); in parseInputFile() 118 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/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()
|
/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-7.0/llvm/tools/llvm-jitlistener/ |
D | llvm-jitlistener.cpp | 127 if (Tuple.getTriple().empty()) in InitEE() 132 TheModule->setTargetTriple(Tuple.getTriple()); in InitEE()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | TargetRegistry.cpp | 51 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), TempError); in lookupTarget() 54 + TheTriple.getTriple() in lookupTarget()
|
/external/llvm/lib/Support/ |
D | TargetRegistry.cpp | 52 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), TempError); in lookupTarget() 55 + TheTriple.getTriple() in lookupTarget()
|
/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-7.0/llvm/unittests/DebugInfo/DWARF/ |
D | DwarfUtils.cpp | 42 return TargetRegistry::lookupTarget(T.getTriple(), Err); in isConfigurationSupported()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/ |
D | ExecutionUtils.cpp | 40 auto *TheTarget = TargetRegistry::lookupTarget(TT.getTriple(), ErrMsg); in createTargetMachine() 45 TheTarget->createTargetMachine(TT.getTriple(), CPU, Features.getString(), in createTargetMachine()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/ |
D | dsymutil.cpp | 519 << MachOUtils::getArchName(Map->getTriple().getArchName()) << ")\n"; in main() 526 TempFiles.emplace_back(Map->getTriple().getArchName().str()); in main() 553 AllOK.fetch_and(verify(OutputFile, Map->getTriple().getArchName())); in main()
|
/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()
|