Lines Matching refs:DriverArgs
2391 const ArgList &DriverArgs, ArgStringList &CC1Args) const { in addLibStdCXXIncludePaths() argument
2395 addSystemInclude(DriverArgs, CC1Args, Base + Suffix); in addLibStdCXXIncludePaths()
2402 addSystemInclude(DriverArgs, CC1Args, in addLibStdCXXIncludePaths()
2410 addSystemInclude(DriverArgs, CC1Args, in addLibStdCXXIncludePaths()
2412 addSystemInclude(DriverArgs, CC1Args, in addLibStdCXXIncludePaths()
2416 addSystemInclude(DriverArgs, CC1Args, Base + Suffix + "/backward"); in addLibStdCXXIncludePaths()
2421 void Generic_ELF::addClangTargetOptions(const ArgList &DriverArgs, in addClangTargetOptions() argument
2433 if (DriverArgs.hasFlag(options::OPT_fuse_init_array, in addClangTargetOptions()
2459 const ArgList &DriverArgs, ArgStringList &CC1Args) const { in AddClangSystemIncludeArgs() argument
2460 if (DriverArgs.hasArg(options::OPT_nostdinc)) in AddClangSystemIncludeArgs()
2465 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs()
2468 addSystemInclude(DriverArgs, CC1Args, P); in AddClangSystemIncludeArgs()
2471 if (DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
2479 addExternCSystemIncludeIfExists(DriverArgs, CC1Args, Path); in AddClangSystemIncludeArgs()
2514 const ArgList &DriverArgs, ArgStringList &CC1Args) const { in AddClangCXXStdlibIncludeArgs() argument
2515 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
2516 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
2519 assert((GetCXXStdlibType(DriverArgs) == ToolChain::CST_Libcxx) && in AddClangCXXStdlibIncludeArgs()
2528 addSystemInclude(DriverArgs, CC1Args, Path + "/c++/v1"); in AddClangCXXStdlibIncludeArgs()
2672 void HexagonToolChain::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument
2674 if (DriverArgs.hasArg(options::OPT_nostdinc) || in AddClangSystemIncludeArgs()
2675 DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
2681 addExternCSystemInclude(DriverArgs, CC1Args, TargetDir + "/hexagon/include"); in AddClangSystemIncludeArgs()
2685 const ArgList &DriverArgs, ArgStringList &CC1Args) const { in AddClangCXXStdlibIncludeArgs() argument
2686 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
2687 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
2692 addSystemInclude(DriverArgs, CC1Args, TargetDir + "/hexagon/include/c++"); in AddClangCXXStdlibIncludeArgs()
2798 void NaClToolChain::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument
2801 if (DriverArgs.hasArg(options::OPT_nostdinc)) in AddClangSystemIncludeArgs()
2804 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs()
2807 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangSystemIncludeArgs()
2810 if (DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
2820 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangSystemIncludeArgs()
2825 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangSystemIncludeArgs()
2840 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangSystemIncludeArgs()
2844 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangSystemIncludeArgs()
2855 void NaClToolChain::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
2858 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
2859 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
2864 GetCXXStdlibType(DriverArgs); in AddClangCXXStdlibIncludeArgs()
2870 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangCXXStdlibIncludeArgs()
2874 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangCXXStdlibIncludeArgs()
2878 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangCXXStdlibIncludeArgs()
2882 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangCXXStdlibIncludeArgs()
2956 void CloudABI::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
2958 if (DriverArgs.hasArg(options::OPT_nostdlibinc) && in AddClangCXXStdlibIncludeArgs()
2959 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
2964 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangCXXStdlibIncludeArgs()
3020 void Bitrig::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
3022 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
3023 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
3026 switch (GetCXXStdlibType(DriverArgs)) { in AddClangCXXStdlibIncludeArgs()
3028 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3032 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3034 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3039 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3043 addSystemInclude(DriverArgs, CC1Args, getDriver().SysRoot + in AddClangCXXStdlibIncludeArgs()
3095 void FreeBSD::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
3097 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
3098 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
3101 switch (GetCXXStdlibType(DriverArgs)) { in AddClangCXXStdlibIncludeArgs()
3103 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3107 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3109 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3250 void NetBSD::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
3252 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
3253 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
3256 switch (GetCXXStdlibType(DriverArgs)) { in AddClangCXXStdlibIncludeArgs()
3258 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3262 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3264 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3332 void Solaris::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
3334 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
3335 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
3340 addSystemInclude(DriverArgs, CC1Args, "/usr/include/c++/v1/support/solaris"); in AddClangCXXStdlibIncludeArgs()
3344 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3349 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3846 void Linux::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument
3851 if (DriverArgs.hasArg(options::OPT_nostdinc)) in AddClangSystemIncludeArgs()
3854 if (!DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
3855 addSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/local/include"); in AddClangSystemIncludeArgs()
3857 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs()
3860 addSystemInclude(DriverArgs, CC1Args, P); in AddClangSystemIncludeArgs()
3863 if (DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
3874 addExternCSystemInclude(DriverArgs, CC1Args, Prefix + dir); in AddClangSystemIncludeArgs()
3890 addExternCSystemIncludeIfExists(DriverArgs, CC1Args, Path); in AddClangSystemIncludeArgs()
4001 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + Dir); in AddClangSystemIncludeArgs()
4012 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/include"); in AddClangSystemIncludeArgs()
4014 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include"); in AddClangSystemIncludeArgs()
4037 void Linux::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
4039 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
4040 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
4044 if (GetCXXStdlibType(DriverArgs) == ToolChain::CST_Libcxx) { in AddClangCXXStdlibIncludeArgs()
4056 addSystemInclude(DriverArgs, CC1Args, IncludePath); in AddClangCXXStdlibIncludeArgs()
4084 Multilib.includeSuffix(), DriverArgs, CC1Args)) in AddClangCXXStdlibIncludeArgs()
4106 Multilib.includeSuffix(), DriverArgs, CC1Args)) in AddClangCXXStdlibIncludeArgs()
4111 void Linux::AddCudaIncludeArgs(const ArgList &DriverArgs, in AddCudaIncludeArgs() argument
4113 if (DriverArgs.hasArg(options::OPT_nocudainc)) in AddCudaIncludeArgs()
4117 addSystemInclude(DriverArgs, CC1Args, CudaInstallation.getIncludePath()); in AddCudaIncludeArgs()
4201 CudaToolChain::addClangTargetOptions(const llvm::opt::ArgList &DriverArgs, in addClangTargetOptions() argument
4203 Linux::addClangTargetOptions(DriverArgs, CC1Args); in addClangTargetOptions()
4206 if (DriverArgs.hasArg(options::OPT_nocudalib)) in addClangTargetOptions()
4210 DriverArgs.getLastArgValue(options::OPT_march_EQ)); in addClangTargetOptions()
4213 CC1Args.push_back(DriverArgs.MakeArgString(LibDeviceFile)); in addClangTargetOptions()
4292 void XCoreToolChain::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument
4294 if (DriverArgs.hasArg(options::OPT_nostdinc) || in AddClangSystemIncludeArgs()
4295 DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
4302 addSystemIncludes(DriverArgs, CC1Args, DirVec); in AddClangSystemIncludeArgs()
4306 void XCoreToolChain::addClangTargetOptions(const ArgList &DriverArgs, in addClangTargetOptions() argument
4312 const ArgList &DriverArgs, ArgStringList &CC1Args) const { in AddClangCXXStdlibIncludeArgs() argument
4313 if (DriverArgs.hasArg(options::OPT_nostdinc) || in AddClangCXXStdlibIncludeArgs()
4314 DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
4315 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
4322 addSystemIncludes(DriverArgs, CC1Args, DirVec); in AddClangCXXStdlibIncludeArgs()
4373 void MyriadToolChain::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument
4375 if (!DriverArgs.hasArg(options::OPT_nostdinc)) in AddClangSystemIncludeArgs()
4376 addSystemInclude(DriverArgs, CC1Args, getDriver().SysRoot + "/include"); in AddClangSystemIncludeArgs()
4380 const ArgList &DriverArgs, ArgStringList &CC1Args) const { in AddClangCXXStdlibIncludeArgs() argument
4381 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
4382 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
4393 "", TripleStr, "", "", Multilib.includeSuffix(), DriverArgs, CC1Args); in AddClangCXXStdlibIncludeArgs()
4452 void WebAssembly::addClangTargetOptions(const ArgList &DriverArgs, in addClangTargetOptions() argument
4454 if (DriverArgs.hasFlag(options::OPT_fuse_init_array, in addClangTargetOptions()