Lines Matching refs:TC

298 static std::string FindVisualStudioExecutable(const ToolChain &TC,  in FindVisualStudioExecutable()  argument
300 const auto &MSVC = static_cast<const toolchains::MSVCToolChain &>(TC); in FindVisualStudioExecutable()
314 auto &TC = static_cast<const toolchains::MSVCToolChain &>(getToolChain()); in ConstructJob() local
332 TC.getSubDirectoryPath( in ConstructJob()
335 if (TC.useUniversalCRT()) { in ConstructJob()
337 if (TC.getUniversalCRTLibraryPath(UniversalCRTLibPath)) in ConstructJob()
343 if (TC.getWindowsSDKLibraryPath(WindowsSdkLibPath)) in ConstructJob()
377 if (TC.getSanitizerArgs().needsFuzzer()) { in ConstructJob()
381 TC.getCompilerRTArgString(Args, "fuzzer", false))); in ConstructJob()
388 if (TC.getSanitizerArgs().needsAsanRt()) { in ConstructJob()
391 if (TC.getSanitizerArgs().needsSharedRt() || in ConstructJob()
394 CmdArgs.push_back(TC.getCompilerRTArgString(Args, Lib)); in ConstructJob()
398 TC.getArch() == llvm::Triple::x86 in ConstructJob()
404 TC.getCompilerRT(Args, "asan_dynamic_runtime_thunk"))); in ConstructJob()
406 CmdArgs.push_back(TC.getCompilerRTArgString(Args, "asan_dll_thunk")); in ConstructJob()
409 CmdArgs.push_back(TC.getCompilerRTArgString(Args, Lib)); in ConstructJob()
414 TC.getCompilerRT(Args, Lib))); in ConstructJob()
426 TC.getDriver().Dir + "/../lib")); in ConstructJob()
427 switch (TC.getDriver().getOpenMPRuntime(Args)) { in ConstructJob()
445 AddRunTimeLibs(TC, TC.getDriver(), CmdArgs, Args); in ConstructJob()
474 TC.addProfileRTLibs(Args, CmdArgs); in ConstructJob()
490 linkPath = FindVisualStudioExecutable(TC, "link.exe"); in ConstructJob()
492 if (!TC.FoundMSVCInstall() && !llvm::sys::fs::can_execute(linkPath)) in ConstructJob()
502 if (TC.getIsVS2017OrNewer() && in ConstructJob()
503 llvm::Triple(llvm::sys::getProcessTriple()).getArch() != TC.getArch()) { in ConstructJob()
540 TC.getSubDirectoryPath(SubDirectoryType::Bin) + in ConstructJob()
542 TC.getSubDirectoryPath(SubDirectoryType::Bin, HostArch) + in ConstructJob()
556 linkPath = TC.GetProgramPath(Linker.str().c_str()); in ConstructJob()