Lines Matching refs:ToolChain

124                             ToolChain::path_list &Paths) {  in addPathIfExists()
214 void tools::AddLinkerInputs(const ToolChain &TC, const InputInfoList &Inputs, in AddLinkerInputs()
279 const ToolChain &TC, const llvm::opt::ArgList &Args, in addLinkerCompressDebugSectionsOption()
483 void tools::addLTOOptions(const ToolChain &ToolChain, const ArgList &Args, in addLTOOptions() argument
486 const char *Linker = Args.MakeArgString(ToolChain.GetLinkerPath()); in addLTOOptions()
487 const Driver &D = ToolChain.getDriver(); in addLTOOptions()
514 std::string CPU = getCPUName(D, Args, ToolChain.getTriple()); in addLTOOptions()
568 isUseSeparateSections(ToolChain.getEffectiveTriple()); in addLTOOptions()
639 renderRemarksOptions(Args, CmdArgs, ToolChain.getEffectiveTriple(), Input, in addLTOOptions()
645 addMachineOutlinerArgs(D, Args, CmdArgs, ToolChain.getEffectiveTriple(), in addLTOOptions()
649 void tools::addOpenMPRuntimeSpecificRPath(const ToolChain &TC, in addOpenMPRuntimeSpecificRPath()
665 void tools::addOpenMPRuntimeLibraryPath(const ToolChain &TC, in addOpenMPRuntimeLibraryPath()
676 void tools::addArchSpecificRPath(const ToolChain &TC, const ArgList &Args, in addArchSpecificRPath()
692 bool tools::addOpenMPRuntime(ArgStringList &CmdArgs, const ToolChain &TC, in addOpenMPRuntime()
744 void tools::addFortranRuntimeLibs(const ToolChain &TC, in addFortranRuntimeLibs()
757 void tools::addFortranRuntimeLibraryPath(const ToolChain &TC, in addFortranRuntimeLibraryPath()
779 static void addSanitizerRuntime(const ToolChain &TC, const ArgList &Args, in addSanitizerRuntime()
786 Args, Sanitizer, IsShared ? ToolChain::FT_Shared : ToolChain::FT_Static)); in addSanitizerRuntime()
796 static bool addSanitizerDynamicList(const ToolChain &TC, const ArgList &Args, in addSanitizerDynamicList()
811 const char *tools::getAsNeededOption(const ToolChain &TC, bool as_needed) { in getAsNeededOption()
824 void tools::linkSanitizerRuntimeDeps(const ToolChain &TC, in linkSanitizerRuntimeDeps()
856 collectSanitizerRuntimes(const ToolChain &TC, const ArgList &Args, in collectSanitizerRuntimes()
996 bool tools::addSanitizerRuntimes(const ToolChain &TC, const ArgList &Args, in addSanitizerRuntimes()
1065 bool tools::addXRayRuntime(const ToolChain&TC, const ArgList &Args, ArgStringList &CmdArgs) { in addXRayRuntime()
1081 void tools::linkXRayRuntimeDeps(const ToolChain &TC, ArgStringList &CmdArgs) { in linkXRayRuntimeDeps()
1133 void tools::SplitDebugInfo(const ToolChain &TC, Compilation &C, const Tool &T, in SplitDebugInfo()
1206 tools::ParsePICArgs(const ToolChain &ToolChain, const ArgList &Args) { in ParsePICArgs() argument
1207 const llvm::Triple &EffectiveTriple = ToolChain.getEffectiveTriple(); in ParsePICArgs()
1208 const llvm::Triple &Triple = ToolChain.getTriple(); in ParsePICArgs()
1210 bool PIE = ToolChain.isPIEDefault(Args); in ParsePICArgs()
1211 bool PIC = PIE || ToolChain.isPICDefault(); in ParsePICArgs()
1248 switch (ToolChain.getArch()) { in ParsePICArgs()
1283 ToolChain.getDriver().Diag(diag::err_drv_unsupported_opt_for_target) in ParsePICArgs()
1292 if (!ToolChain.isPICDefaultForced()) { in ParsePICArgs()
1309 ToolChain.getDriver().Diag(diag::warn_drv_ps_force_pic) in ParsePICArgs()
1322 IsPICLevelTwo |= ToolChain.isPICDefault(); in ParsePICArgs()
1335 ToolChain.getDriver().Diag(diag::err_drv_unsupported_opt_for_target) in ParsePICArgs()
1343 PIC = ToolChain.isPICDefault() && ToolChain.isPICDefaultForced(); in ParsePICArgs()
1365 ToolChain.getDriver().Diag(diag::err_drv_unsupported_opt_for_target) in ParsePICArgs()
1372 ToolChain.getDriver().Diag(diag::err_drv_unsupported_opt_for_target) in ParsePICArgs()
1379 ToolChain.getDriver().Diag(diag::err_drv_ropi_rwpi_incompatible_with_pic); in ParsePICArgs()
1428 unsigned tools::ParseFunctionAlignment(const ToolChain &TC, in ParseFunctionAlignment()
1446 unsigned tools::ParseDebugDefaultVersion(const ToolChain &TC, in ParseDebugDefaultVersion()
1461 void tools::AddAssemblerKPIC(const ToolChain &ToolChain, const ArgList &Args, in AddAssemblerKPIC() argument
1466 std::tie(RelocationModel, PICLevel, IsPIE) = ParsePICArgs(ToolChain, Args); in AddAssemblerKPIC()
1480 static LibGccType getLibGccType(const ToolChain &TC, const Driver &D, in getLibGccType()
1505 static void AddUnwindLibrary(const ToolChain &TC, const Driver &D, in AddUnwindLibrary()
1507 ToolChain::UnwindLibType UNW = TC.GetUnwindLibType(Args); in AddUnwindLibrary()
1509 if ((TC.getTriple().isAndroid() && UNW == ToolChain::UNW_Libgcc) || in AddUnwindLibrary()
1511 UNW == ToolChain::UNW_None) in AddUnwindLibrary()
1516 (UNW == ToolChain::UNW_CompilerRT || !D.CCCIsCXX()) && in AddUnwindLibrary()
1523 case ToolChain::UNW_None: in AddUnwindLibrary()
1525 case ToolChain::UNW_Libgcc: { in AddUnwindLibrary()
1532 case ToolChain::UNW_CompilerRT: in AddUnwindLibrary()
1557 static void AddLibgcc(const ToolChain &TC, const Driver &D, in AddLibgcc()
1569 void tools::AddRunTimeLibs(const ToolChain &TC, const Driver &D, in AddRunTimeLibs()
1572 ToolChain::RuntimeLibType RLT = TC.GetRuntimeLibType(Args); in AddRunTimeLibs()
1575 case ToolChain::RLT_CompilerRT: in AddRunTimeLibs()
1579 case ToolChain::RLT_Libgcc: in AddRunTimeLibs()
2133 void tools::addHIPRuntimeLibArgs(const ToolChain &TC, in addHIPRuntimeLibArgs()