/external/clang/lib/Driver/ |
D | ToolChain.cpp | 272 const llvm::Triple &Triple = TC.getTriple(); in getArchNameForCompilerRTLib() 288 const llvm::Triple &TT = getTriple(); in getCompilerRT() 411 switch (getTriple().getArch()) { in ComputeLLVMTriple() 416 llvm::Triple Triple = getTriple(); in ComputeLLVMTriple() 427 return Triple.getTriple(); in ComputeLLVMTriple() 430 llvm::Triple Triple = getTriple(); in ComputeLLVMTriple() 438 return Triple.getTriple(); in ComputeLLVMTriple() 445 llvm::Triple Triple = getTriple(); in ComputeLLVMTriple() 446 bool IsBigEndian = getTriple().getArch() == llvm::Triple::armeb || in ComputeLLVMTriple() 447 getTriple().getArch() == llvm::Triple::thumbeb; in ComputeLLVMTriple() [all …]
|
D | ToolChains.cpp | 143 switch (getTriple().getArch()) { in getMachOArchName() 172 return Triple.getTriple(); in ComputeEffectiveClangTriple() 182 return Triple.getTriple(); in ComputeEffectiveClangTriple() 196 return Triple.getTriple(); in ComputeEffectiveClangTriple() 232 if (isTargetWatchOSBased() || getTriple().isArch64Bit()) { in addClangWarningOptions() 433 getTriple().getArch() != llvm::Triple::aarch64) in AddLinkRuntimeLibArgs() 458 if (getTriple().getArch() == llvm::Triple::x86) in AddLinkRuntimeLibArgs() 567 getTriple().getiOSVersion(Major, Minor, Micro); in AddDeploymentTarget() 571 getTriple().getWatchOSVersion(Major, Minor, Micro); in AddDeploymentTarget() 576 if (!getTriple().getMacOSXVersion(Major, Minor, Micro)) { in AddDeploymentTarget() [all …]
|
D | SanitizerArgs.cpp | 244 << Desc << TC.getTriple().str(); in SanitizerArgs() 309 if (TC.getTriple().isOSWindows()) in SanitizerArgs() 315 << ("-fno-sanitize-trap=" + toString(S)) << TC.getTriple().str(); in SanitizerArgs() 439 NeedPIE |= !(TC.getTriple().isOSLinux() && in SanitizerArgs() 440 TC.getTriple().getArch() == llvm::Triple::x86_64); in SanitizerArgs() 518 Args.hasArg(options::OPT_shared_libasan) || TC.getTriple().isAndroid(); in SanitizerArgs() 519 NeedPIE |= TC.getTriple().isAndroid(); in SanitizerArgs() 630 if (TC.getTriple().isOSWindows() && needsUbsanRt()) { in addArgs()
|
D | Tools.cpp | 1296 const llvm::Triple &Triple = getToolChain().getTriple(); in AddMIPSTargetArgs() 1476 if (getToolChain().getTriple().isOSLinux()) in AddPPCTargetArgs() 1795 std::string CPU = getCPUName(Args, ToolChain.getTriple()); in AddGoldPlugin() 2382 const llvm::Triple &Triple = TC.getTriple(); in addExceptionArgs() 2452 if (TC.getTriple().isOSDarwin()) { in ShouldDisableAutolink() 2573 C.getDefaultToolChain().getTriple().isWindowsMSVCEnvironment(); in CollectArgsForIntegratedAssembler() 2788 if (TC.getTriple().getOS() != llvm::Triple::FreeBSD) in linkSanitizerRuntimeDeps() 2804 if (Args.hasArg(options::OPT_shared) || TC.getTriple().isAndroid()) { in collectSanitizerRuntimes() 3273 if (ToolChain.getTriple().isOSDarwin() && Args.hasArg(options::OPT_static)) in ParsePICArgs() 3281 if (ToolChain.getTriple().isAndroid()) { in ParsePICArgs() [all …]
|
D | CrossWindowsToolChain.cpp | 71 const llvm::Triple &Triple = getTriple(); in AddClangCXXStdlibIncludeArgs()
|
D | ToolChains.h | 111 const llvm::Triple &getTriple() const { return GCCTriple; } in getTriple() function 218 bool isTarget64Bit() const { return getTriple().isArch64Bit(); } in isTarget64Bit() 221 bool isTarget32Bit() const { return getTriple().isArch32Bit(); } in isTarget32Bit() 325 return getTriple().getArch() != llvm::Triple::x86; in IsObjCNonFragileABIDefault() 925 return getTriple().getArch() == llvm::Triple::mipsel; in IsIntegratedAssemblerDefault()
|
/external/llvm/lib/ExecutionEngine/ |
D | TargetSelect.cpp | 46 if (TheTriple.getTriple().empty()) in selectTarget() 72 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), Error); in selectTarget() 97 TargetMachine *Target = TheTarget->createTargetMachine(TheTriple.getTriple(), 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/clang/lib/Analysis/ |
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() 400 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT()) in getArgType() 429 return Ctx.getTargetInfo().getTriple().isArch64Bit() in getArgType() 462 return Ctx.getTargetInfo().getTriple().isArch64Bit() in getArgType() 527 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT() && in getArgType() 534 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT() && in getArgType()
|
D | FormatString.cpp | 633 if (Target.getTriple().isOSMSVCRT()) { in hasValidLengthModifier() 666 return Target.getTriple().isOSFreeBSD(); in hasValidLengthModifier() 699 return Target.getTriple().isOSFreeBSD(); in hasValidLengthModifier() 722 return !Target.getTriple().isOSDarwin() && in hasValidLengthModifier() 723 !Target.getTriple().isOSWindows(); in hasValidLengthModifier() 759 return Target.getTriple().isOSMSVCRT(); in hasValidLengthModifier() 770 return Target.getTriple().isOSMSVCRT(); in hasValidLengthModifier()
|
D | ScanfFormatString.cpp | 189 if (Target.getTriple().isOSDarwin()) in ParseScanfSpecifier() 193 if (Target.getTriple().isOSDarwin()) in ParseScanfSpecifier() 197 if (Target.getTriple().isOSDarwin()) in ParseScanfSpecifier() 337 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT()) in getArgType() 353 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT()) in getArgType()
|
/external/clang/lib/CodeGen/ |
D | ObjectFilePCHContainerOperations.cpp | 204 M->setTargetTriple(Ctx.getTargetInfo().getTriple().getTriple()); in HandleTranslationUnit() 214 auto Triple = Ctx.getTargetInfo().getTriple(); in HandleTranslationUnit() 215 if (!llvm::TargetRegistry::lookupTarget(Triple.getTriple(), Error)) in HandleTranslationUnit()
|
D | ModuleBuilder.cpp | 100 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() 1637 if (CGM.getTarget().getTriple().getArch() != llvm::Triple::x86 || !IsFilter) { in startOutlinedSEHHelper() 1730 if (CGM.getTarget().getTriple().getArch() != llvm::Triple::x86) { in EmitSEHExceptionCodeSave() 1809 if (CGM.getTarget().getTriple().getArch() != llvm::Triple::x86 && C && in EnterSEHTryStmt() 1871 if (CGM.getTarget().getTriple().getArch() != llvm::Triple::x86) { in ExitSEHTryStmt()
|
/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/Basic/ |
D | Targets.cpp | 83 getOSDefines(Opts, TgtInfo::getTriple(), Builder); in getTargetDefines() 1039 getTriple().isOSBinFormatELF(); in useFloat128ManglingForLongDouble() 1098 if (getTriple().getArch() == llvm::Triple::ppc64le) { in getTargetDefines() 1101 if (getTriple().getOS() != llvm::Triple::NetBSD && in getTargetDefines() 1102 getTriple().getOS() != llvm::Triple::OpenBSD) in getTargetDefines() 1214 if (getTriple().getVendor() == llvm::Triple::BGQ) { in getTargetDefines() 1479 switch (getTriple().getOS()) { in PPC32TargetInfo() 1491 if (getTriple().getOS() == llvm::Triple::FreeBSD) { in PPC32TargetInfo() 1523 switch (getTriple().getOS()) { in PPC64TargetInfo() 2416 if (getTriple().getArch() == llvm::Triple::x86_64 && SSELevel >= AVX512F) in getABI() [all …]
|
/external/llvm/tools/llvm-jitlistener/ |
D | llvm-jitlistener.cpp | 131 if (Tuple.getTriple().empty()) in InitEE() 136 TheModule->setTargetTriple(Tuple.getTriple()); in InitEE()
|
/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 | 711 const llvm::Triple &getTriple() const { in getTriple() function 854 return getTriple().isOSWindows() && in isSEHTrySupported() 855 (getTriple().getArch() == llvm::Triple::x86 || in isSEHTrySupported() 856 getTriple().getArch() == llvm::Triple::x86_64); in isSEHTrySupported()
|
/external/llvm/tools/dsymutil/ |
D | BinaryHolder.cpp | 22 Triple BinaryHolder::getTriple(const object::MachOObjectFile &Obj) { in getTriple() function in llvm::dsymutil::BinaryHolder 178 if (getTriple(*MachO).str() == T.str()) in getObjfileForArch()
|
D | dsymutil.cpp | 323 << MachOUtils::getArchName(Map->getTriple().getArchName()) in main() 331 TempFiles.emplace_back(Map->getTriple().getArchName().str(), in main()
|
D | BinaryHolder.h | 132 static Triple getTriple(const object::MachOObjectFile &Obj);
|
/external/clang/include/clang/Driver/ |
D | ToolChain.h | 129 const llvm::Triple &getTriple() const { return Triple; } in getTriple() function 141 return Triple.getTriple(); in getTripleString()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | radeon_llvm_emit.cpp | 122 AMDGPUTriple.getTriple(), gpu_family, FS, in radeon_llvm_compile()
|
/external/llvm/tools/llc/ |
D | llc.cpp | 257 if (TheTriple.getTriple().empty()) in compileModule() 290 TheTarget->createTargetMachine(TheTriple.getTriple(), CPUStr, FeaturesStr, in compileModule()
|