• Home
  • Raw
  • Download

Lines Matching refs:ToolChain

145 static void AddLinkerInputs(const ToolChain &TC,  in AddLinkerInputs()
205 static void addProfileRT(const ToolChain &TC, const ArgList &Args, in addProfileRT()
839 const ToolChain &TC, in getMipsCPUAndABI()
1418 const ToolChain &TC) { in ShouldDisableCFI()
1431 const ToolChain &TC) { in ShouldDisableDwarfDirectory()
1585 const ToolChain &TC, const ArgList &Args, ArgStringList &CmdArgs, in addSanitizerRTLinkFlagsLinux()
1615 static void addAsanRTLinux(const ToolChain &TC, const ArgList &Args, in addAsanRTLinux()
1644 static void addTsanRTLinux(const ToolChain &TC, const ArgList &Args, in addTsanRTLinux()
1656 static void addMsanRTLinux(const ToolChain &TC, const ArgList &Args, in addMsanRTLinux()
1668 static void addUbsanRTLinux(const ToolChain &TC, const ArgList &Args, in addUbsanRTLinux()
1722 static void SplitDebugInfo(const ToolChain &TC, Compilation &C, in SplitDebugInfo()
2968 if (getToolChain().GetCXXStdlibType(Args) == ToolChain::CST_Libcxx) in ConstructJob()
3831 const toolchains::Hexagon_TC& ToolChain = in ConstructJob() local
3833 const Driver &D = ToolChain.getDriver(); in ConstructJob()
3861 for (std::vector<std::string>::const_iterator i = ToolChain.ExtraOpts.begin(), in ConstructJob()
3862 e = ToolChain.ExtraOpts.end(); in ConstructJob()
3939 const ToolChain::path_list &LibPaths = ToolChain.getFilePaths(); in ConstructJob()
3940 for (ToolChain::path_list::const_iterator in ConstructJob()
3956 AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs); in ConstructJob()
3963 ToolChain.AddCXXStdlibLibArgs(Args, CmdArgs); in ConstructJob()
3988 std::string Linker = ToolChain.GetProgramPath("hexagon-ld"); in ConstructJob()
5245 const toolchains::FreeBSD& ToolChain = in ConstructJob() local
5247 const Driver &D = ToolChain.getDriver(); in ConstructJob()
5276 if (ToolChain.getTriple().getOSMajorVersion() >= 9) { in ConstructJob()
5277 llvm::Triple::ArchType Arch = ToolChain.getArch(); in ConstructJob()
5288 if (ToolChain.getArch() == llvm::Triple::x86) { in ConstructJob()
5293 if (ToolChain.getArch() == llvm::Triple::ppc) { in ConstructJob()
5317 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crt1))); in ConstructJob()
5319 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crti.o"))); in ConstructJob()
5329 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtbegin))); in ConstructJob()
5333 const ToolChain::path_list Paths = ToolChain.getFilePaths(); in ConstructJob()
5334 for (ToolChain::path_list::const_iterator i = Paths.begin(), e = Paths.end(); in ConstructJob()
5344 AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs); in ConstructJob()
5349 ToolChain.AddCXXStdlibLibArgs(Args, CmdArgs); in ConstructJob()
5403 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtendS.o"))); in ConstructJob()
5405 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtend.o"))); in ConstructJob()
5406 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtn.o"))); in ConstructJob()
5409 addProfileRT(ToolChain, Args, CmdArgs, ToolChain.getTriple()); in ConstructJob()
5412 Args.MakeArgString(ToolChain.GetProgramPath("ld")); in ConstructJob()
5691 const toolchains::Linux& ToolChain = in ConstructJob() local
5693 const Driver &D = ToolChain.getDriver(); in ConstructJob()
5695 ToolChain.getTriple().getEnvironment() == llvm::Triple::Android; in ConstructJob()
5719 for (std::vector<std::string>::const_iterator i = ToolChain.ExtraOpts.begin(), in ConstructJob()
5720 e = ToolChain.ExtraOpts.end(); in ConstructJob()
5729 if (ToolChain.getArch() == llvm::Triple::x86) in ConstructJob()
5731 else if (ToolChain.getArch() == llvm::Triple::aarch64) in ConstructJob()
5733 else if (ToolChain.getArch() == llvm::Triple::arm in ConstructJob()
5734 || ToolChain.getArch() == llvm::Triple::thumb) in ConstructJob()
5736 else if (ToolChain.getArch() == llvm::Triple::ppc) in ConstructJob()
5738 else if (ToolChain.getArch() == llvm::Triple::ppc64) in ConstructJob()
5740 else if (ToolChain.getArch() == llvm::Triple::mips) in ConstructJob()
5742 else if (ToolChain.getArch() == llvm::Triple::mipsel) in ConstructJob()
5744 else if (ToolChain.getArch() == llvm::Triple::mips64) { in ConstructJob()
5750 else if (ToolChain.getArch() == llvm::Triple::mips64el) { in ConstructJob()
5760 if (ToolChain.getArch() == llvm::Triple::arm in ConstructJob()
5761 || ToolChain.getArch() == llvm::Triple::thumb) in ConstructJob()
5772 if (ToolChain.getArch() == llvm::Triple::arm || in ConstructJob()
5773 ToolChain.getArch() == llvm::Triple::thumb || in ConstructJob()
5779 else if (ToolChain.getArch() == llvm::Triple::x86) in ConstructJob()
5781 else if (ToolChain.getArch() == llvm::Triple::aarch64) in ConstructJob()
5783 else if (ToolChain.getArch() == llvm::Triple::arm || in ConstructJob()
5784 ToolChain.getArch() == llvm::Triple::thumb) { in ConstructJob()
5785 if (ToolChain.getTriple().getEnvironment() == llvm::Triple::GNUEABIHF) in ConstructJob()
5790 else if (ToolChain.getArch() == llvm::Triple::mips || in ConstructJob()
5791 ToolChain.getArch() == llvm::Triple::mipsel) in ConstructJob()
5793 else if (ToolChain.getArch() == llvm::Triple::mips64 || in ConstructJob()
5794 ToolChain.getArch() == llvm::Triple::mips64el) { in ConstructJob()
5800 else if (ToolChain.getArch() == llvm::Triple::ppc) in ConstructJob()
5802 else if (ToolChain.getArch() == llvm::Triple::ppc64) in ConstructJob()
5822 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crt1))); in ConstructJob()
5824 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crti.o"))); in ConstructJob()
5836 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtbegin))); in ConstructJob()
5839 ToolChain.AddFastMathRuntimeIfAvailable(Args, CmdArgs); in ConstructJob()
5844 const ToolChain::path_list Paths = ToolChain.getFilePaths(); in ConstructJob()
5846 for (ToolChain::path_list::const_iterator i = Paths.begin(), e = Paths.end(); in ConstructJob()
5855 std::string Plugin = ToolChain.getDriver().Dir + "/../lib/LLVMgold.so"; in ConstructJob()
5862 if (ToolChain.getArch() == llvm::Triple::x86 || in ConstructJob()
5863 ToolChain.getArch() == llvm::Triple::x86_64) in ConstructJob()
5866 getX86TargetCPU(Args, ToolChain.getTriple()))); in ConstructJob()
5867 else if (ToolChain.getArch() == llvm::Triple::arm || in ConstructJob()
5868 ToolChain.getArch() == llvm::Triple::thumb) in ConstructJob()
5871 getARMTargetCPU(Args, ToolChain.getTriple()))); in ConstructJob()
5881 AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs); in ConstructJob()
5902 ToolChain.AddCXXStdlibLibArgs(Args, CmdArgs); in ConstructJob()
5922 AddLibgcc(ToolChain.getTriple(), D, CmdArgs, Args); in ConstructJob()
5933 AddLibgcc(ToolChain.getTriple(), D, CmdArgs, Args); in ConstructJob()
5945 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crtend))); in ConstructJob()
5947 CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crtn.o"))); in ConstructJob()
5953 C.addCommand(new Command(JA, *this, ToolChain.Linker.c_str(), CmdArgs)); in ConstructJob()