Lines Matching refs:TC
489 const ToolChain &TC = in BuildCompilation() local
493 Compilation *C = new Compilation(*this, TC, UArgs.release(), TranslatedArgs); in BuildCompilation()
496 &getToolChain(C->getArgs(), llvm::Triple(TC.getTriple().isArch64Bit() in BuildCompilation()
508 if (TC.getTriple().isOSBinFormatMachO()) in BuildCompilation()
622 const ToolChain &TC = C.getDefaultToolChain(); in generateCompilationDiagnostics() local
623 if (TC.getTriple().isOSBinFormatMachO()) in generateCompilationDiagnostics()
624 BuildUniversalActions(C, TC, Inputs); in generateCompilationDiagnostics()
626 BuildActions(C, TC, C.getArgs(), Inputs, C.getActions()); in generateCompilationDiagnostics()
796 const ToolChain &TC = C.getDefaultToolChain(); in PrintVersion() local
797 OS << "Target: " << TC.getTripleString() << '\n'; in PrintVersion()
802 if (TC.isThreadModelSupported(A->getValue())) in PrintVersion()
805 OS << "Thread model: " << TC.getThreadModel(); in PrintVersion()
864 const ToolChain &TC = C.getDefaultToolChain(); in HandleImmediateArgs() local
867 TC.printVerboseInfo(llvm::errs()); in HandleImmediateArgs()
872 for (const std::string &Path : TC.getProgramPaths()) { in HandleImmediateArgs()
883 for (const std::string &Path : TC.getFilePaths()) { in HandleImmediateArgs()
899 llvm::outs() << GetFilePath(A->getValue(), TC) << "\n"; in HandleImmediateArgs()
904 llvm::outs() << GetProgramPath(A->getValue(), TC) << "\n"; in HandleImmediateArgs()
909 llvm::outs() << GetFilePath("libgcc.a", TC) << "\n"; in HandleImmediateArgs()
914 for (const Multilib &Multilib : TC.getMultilibs()) in HandleImmediateArgs()
920 for (const Multilib &Multilib : TC.getMultilibs()) { in HandleImmediateArgs()
1004 void Driver::BuildUniversalActions(Compilation &C, const ToolChain &TC, in BuildUniversalActions() argument
1033 Archs.push_back(Args.MakeArgString(TC.getDefaultUniversalArchName())); in BuildUniversalActions()
1036 BuildActions(C, TC, Args, BAInputs, SingleActions); in BuildUniversalActions()
1126 void Driver::BuildInputs(const ToolChain &TC, DerivedArgList &Args, in BuildInputs() argument
1188 Ty = TC.LookupTypeForExtension(Ext + 1); in BuildInputs()
1226 if (Ext && TC.LookupTypeForExtension(Ext + 1) == types::TY_Object) in BuildInputs()
1375 void Driver::BuildActions(Compilation &C, const ToolChain &TC, in BuildActions() argument
1504 Current = ConstructPhaseAction(TC, Args, Phase, std::move(Current)); in BuildActions()
1542 Driver::ConstructPhaseAction(const ToolChain &TC, const ArgList &Args, in ConstructPhaseAction() argument
1722 const ToolChain *TC, const JobAction *JA, in selectToolForJob() argument
1732 if (TC->useIntegratedAs() && !SaveTemps && in selectToolForJob()
1749 const Tool *Compiler = TC->SelectTool(*CompileJA); in selectToolForJob()
1771 const Tool *Compiler = TC->SelectTool(*CompileJA); in selectToolForJob()
1783 ToolForJob = TC->SelectTool(*JA); in selectToolForJob()
1799 const ToolChain *TC, const char *BoundArch, in BuildJobsForAction() argument
1810 BuildJobsForAction(C, DA, TC, nullptr, AtTopLevel, in BuildJobsForAction()
1834 const ToolChain *TC; in BuildJobsForAction() local
1838 TC = &getToolChain( in BuildJobsForAction()
1842 TC = &C.getDefaultToolChain(); in BuildJobsForAction()
1844 BuildJobsForAction(C, *BAA->begin(), TC, ArchName, AtTopLevel, in BuildJobsForAction()
1864 selectToolForJob(C, isSaveTempsEnabled(), TC, JA, Inputs, CollapsedCHA); in BuildJobsForAction()
1873 BuildJobsForAction(C, DA, TC, "", AtTopLevel, in BuildJobsForAction()
1890 BuildJobsForAction(C, Input, TC, BoundArch, SubJobAtTopLevel, MultipleArchs, in BuildJobsForAction()
1926 C.getArgsForToolChain(TC, BoundArch), LinkingOutput); in BuildJobsForAction()
2127 std::string Driver::GetFilePath(const char *Name, const ToolChain &TC) const { in GetFilePath()
2144 for (const std::string &Dir : TC.getFilePaths()) { in GetFilePath()
2157 const char *Tool, const ToolChain &TC, in generatePrefixedToolNames() argument
2181 const ToolChain &TC) const { in GetProgramPath()
2183 generatePrefixedToolNames(Name, TC, TargetSpecificExecutables); in GetProgramPath()
2199 const ToolChain::path_list &List = TC.getProgramPaths(); in GetProgramPath()
2230 ToolChain *&TC = ToolChains[Target.str()]; in getToolChain() local
2231 if (!TC) { in getToolChain()
2234 TC = new toolchains::CloudABI(*this, Target, Args); in getToolChain()
2241 TC = new toolchains::DarwinClang(*this, Target, Args); in getToolChain()
2244 TC = new toolchains::DragonFly(*this, Target, Args); in getToolChain()
2247 TC = new toolchains::OpenBSD(*this, Target, Args); in getToolChain()
2250 TC = new toolchains::Bitrig(*this, Target, Args); in getToolChain()
2253 TC = new toolchains::NetBSD(*this, Target, Args); in getToolChain()
2256 TC = new toolchains::FreeBSD(*this, Target, Args); in getToolChain()
2259 TC = new toolchains::Minix(*this, Target, Args); in getToolChain()
2263 TC = new toolchains::HexagonToolChain(*this, Target, Args); in getToolChain()
2266 TC = new toolchains::MipsLLVMToolChain(*this, Target, Args); in getToolChain()
2268 TC = new toolchains::Linux(*this, Target, Args); in getToolChain()
2271 TC = new toolchains::NaClToolChain(*this, Target, Args); in getToolChain()
2274 TC = new toolchains::Solaris(*this, Target, Args); in getToolChain()
2277 TC = new toolchains::AMDGPUToolChain(*this, Target, Args); in getToolChain()
2283 TC = new toolchains::Generic_ELF(*this, Target, Args); in getToolChain()
2285 TC = new toolchains::MachO(*this, Target, Args); in getToolChain()
2287 TC = new toolchains::Generic_GCC(*this, Target, Args); in getToolChain()
2290 TC = new toolchains::MinGW(*this, Target, Args); in getToolChain()
2293 TC = new toolchains::CrossWindowsToolChain(*this, Target, Args); in getToolChain()
2297 TC = new toolchains::MSVCToolChain(*this, Target, Args); in getToolChain()
2302 TC = new toolchains::CudaToolChain(*this, Target, Args); in getToolChain()
2305 TC = new toolchains::PS4CPU(*this, Target, Args); in getToolChain()
2312 TC = new toolchains::TCEToolChain(*this, Target, Args); in getToolChain()
2315 TC = new toolchains::HexagonToolChain(*this, Target, Args); in getToolChain()
2318 TC = new toolchains::XCoreToolChain(*this, Target, Args); in getToolChain()
2322 TC = new toolchains::WebAssembly(*this, Target, Args); in getToolChain()
2326 TC = new toolchains::MyriadToolChain(*this, Target, Args); in getToolChain()
2328 TC = new toolchains::Generic_ELF(*this, Target, Args); in getToolChain()
2330 TC = new toolchains::MachO(*this, Target, Args); in getToolChain()
2332 TC = new toolchains::Generic_GCC(*this, Target, Args); in getToolChain()
2336 return *TC; in getToolChain()