Home | History | Annotate | Download | only in Driver

Lines Matching refs:TC

336   const ToolChain &TC = getToolChain(*Args);
339 Compilation *C = new Compilation(*this, TC, Args, TranslatedArgs);
356 if (TC.getTriple().isOSDarwin())
454 const ToolChain &TC = C.getDefaultToolChain();
455 if (TC.getTriple().isOSDarwin())
456 BuildUniversalActions(TC, C.getArgs(), Inputs, C.getActions());
458 BuildActions(TC, C.getArgs(), Inputs, C.getActions());
590 const ToolChain &TC = C.getDefaultToolChain();
591 OS << "Target: " << TC.getTripleString() << '\n';
651 const ToolChain &TC = C.getDefaultToolChain();
654 for (ToolChain::path_list::const_iterator it = TC.getProgramPaths().begin(),
655 ie = TC.getProgramPaths().end(); it != ie; ++it) {
656 if (it != TC.getProgramPaths().begin())
665 for (ToolChain::path_list::const_iterator it = TC.getFilePaths().begin(),
666 ie = TC.getFilePaths().end(); it != ie; ++it) {
681 llvm::outs() << GetFilePath(A->getValue(C.getArgs()), TC) << "\n";
686 llvm::outs() << GetProgramPath(A->getValue(C.getArgs()), TC) << "\n";
691 llvm::outs() << GetFilePath("libgcc.a", TC) << "\n";
793 void Driver::BuildUniversalActions(const ToolChain &TC,
840 BuildActions(TC, Args, BAInputs, SingleActions);
901 void Driver::BuildInputs(const ToolChain &TC, const DerivedArgList &Args,
939 Ty = TC.LookupTypeForExtension(Ext + 1);
1025 void Driver::BuildActions(const ToolChain &TC, const DerivedArgList &Args,
1272 static const Tool &SelectToolForJob(Compilation &C, const ToolChain *TC,
1283 TC->IsIntegratedAssemblerDefault()) &&
1287 const Tool &Compiler = TC->SelectTool(
1297 ToolForJob = &TC->SelectTool(C, *JA, *Inputs);
1314 const ToolChain *TC,
1335 const ToolChain *TC = &C.getDefaultToolChain();
1338 TC = &getToolChain(C.getArgs(), BAA->getArchName());
1340 BuildJobsForAction(C, *BAA->begin(), TC, BAA->getArchName(),
1348 const Tool &T = SelectToolForJob(C, TC, JA, Inputs);
1368 BuildJobsForAction(C, *it, TC, BoundArch,
1400 C.getArgsForToolChain(TC, BoundArch), LinkingOutput);
1480 std::string Driver::GetFilePath(const char *Name, const ToolChain &TC) const {
1503 const ToolChain::path_list &List = TC.getFilePaths();
1527 std::string Driver::GetProgramPath(const char *Name, const ToolChain &TC,
1543 const ToolChain::path_list &List = TC.getProgramPaths();
1654 ToolChain *&TC = ToolChains[Target.str()];
1655 if (!TC) {
1658 TC = new toolchains::AuroraUX(*this, Target, Args);
1667 TC = new toolchains::DarwinClang(*this, Target);
1669 TC = new toolchains::Darwin_Generic_GCC(*this, Target, Args);
1672 TC = new toolchains::DragonFly(*this, Target, Args);
1675 TC = new toolchains::OpenBSD(*this, Target, Args);
1678 TC = new toolchains::NetBSD(*this, Target, Args);
1681 TC = new toolchains::FreeBSD(*this, Target, Args);
1684 TC = new toolchains::Minix(*this, Target, Args);
1688 TC = new toolchains::Hexagon_TC(*this, Target);
1690 TC = new toolchains::Linux(*this, Target, Args);
1693 TC = new toolchains::Solaris(*this, Target, Args);
1696 TC = new toolchains::Windows(*this, Target);
1703 TC = new toolchains::TCEToolChain(*this, Target);
1707 TC = new toolchains::Generic_GCC(*this, Target, Args);
1711 return *TC;