Lines Matching refs:Std
112 CmdArgs.push_back(Args.MakeArgString(std::string(ArgName) + "."));
119 CmdArgs.push_back(Args.MakeArgString(std::string(ArgName) + Dirs.substr(0, Delim)));
130 CmdArgs.push_back(Args.MakeArgString(std::string(ArgName) + "."));
137 CmdArgs.push_back(Args.MakeArgString(std::string(ArgName) + Dirs));
218 std::string ProfileRT =
219 std::string(TC.getDriver().Dir) + "/../lib/libprofile_rt.a";
473 static std::string getARMTargetCPU(const ArgList &Args,
497 std::string NativeMArch;
499 std::string CPU = llvm::sys::getHostCPUName();
503 NativeMArch = std::string("arm") + getLLVMArchSuffixForARM(CPU);
648 std::string ArchName =
676 std::string ArchName =
702 std::string TripleStr = getToolChain().ComputeEffectiveClangTriple(Args);
704 std::string CPUName = getARMTargetCPU(Args, Triple);
1019 static std::string getPPCTargetCPU(const ArgList &Args) {
1024 std::string CPU = llvm::sys::getHostCPUName();
1081 std::string TargetCPUName = getPPCTargetCPU(Args);
1165 std::string CPU = llvm::sys::getHostCPUName();
1240 std::vector<const char*> Features;
1279 static std::string GetHexagonSmallDataThresholdValue(const ArgList &Args) {
1280 std::string value;
1302 std::string SmallDataThreshold = GetHexagonSmallDataThresholdValue(Args);
1552 std::string BLPath = BLArg->getValue();
1562 std::string BLPath;
1698 std::string CompDir = pwd;
1766 std::string TripleStr = getToolChain().ComputeEffectiveClangTriple(Args);
2452 // Handle -{std, ansi, trigraphs} -- take the last of -{std, ansi}
2453 // (-ansi is equivalent to -std=c89).
2455 // If a std is supplied, only add -trigraphs if it follows the
2457 if (Arg *Std = Args.getLastArg(options::OPT_std_EQ, options::OPT_ansi)) {
2458 if (Std->getOption().matches(options::OPT_ansi))
2460 CmdArgs.push_back("-std=c++98");
2462 CmdArgs.push_back("-std=c89");
2464 Std->render(Args, CmdArgs);
2468 if (A != Std)
2471 // Honor -std-default.
2473 // FIXME: Clang doesn't correctly handle -std= when the input language
2479 "-std=", /*Joined=*/true);
2481 CmdArgs.push_back("-std=c++11");
2839 std::string NoRttiArg =
3046 std::string PackStructStr = "-fpack-struct=";
3496 std::string TripleStr =
3698 const std::string customGCCName = D.getCCCGenericGCCName();
3763 std::string MarchString = "-march=";
3777 std::string SmallDataThreshold = GetHexagonSmallDataThresholdValue(Args);
3780 Args.MakeArgString(std::string("-G") + SmallDataThreshold));
3861 for (std::vector<std::string>::const_iterator i = ToolChain.ExtraOpts.begin(),
3866 std::string MarchString = toolchains::Hexagon_TC::GetTargetCPU(Args);
3881 std::string SmallDataThreshold = GetHexagonSmallDataThresholdValue(Args);
3884 Args.MakeArgString(std::string("-G") + SmallDataThreshold));
3893 const std::string MarchSuffix = "/" + MarchString;
3894 const std::string G0Suffix = "/G0";
3895 const std::string MarchG0Suffix = MarchSuffix + G0Suffix;
3896 const std::string RootDir = toolchains::Hexagon_TC::GetGnuDir(D.InstalledDir)
3898 const std::string StartFilesDir = RootDir
3906 std::vector<std::string> oslibs;
3932 std::string initObj = useShared ? "/initS.o" : "/init.o";
3970 for(std::vector<std::string>::iterator i = oslibs.begin(),
3984 std::string finiObj = useShared ? "/finiS.o" : "/fini.o";
3988 std::string Linker = ToolChain.GetProgramPath("hexagon-ld");
4040 return Args.MakeArgString(std::string(Str, End));
4048 std::string Res;
4051 std::string Str(OutputOpt->getValue());
4663 std::string GCCLibPath = "/usr/gcc/4.5/lib/gcc/";
4665 std::string LibPath = "/usr/lib/";
4960 std::string Triple = getToolChain().getTripleString();
5131 std::string myarch = "-lclang_rt.";
5719 for (std::vector<std::string>::const_iterator i = ToolChain.ExtraOpts.begin(),
5855 std::string Plugin = ToolChain.getDriver().Dir + "/../lib/LLVMgold.so";
6199 CmdArgs.push_back(Args.MakeArgString(std::string("-out:") +