• Home
  • Raw
  • Download

Lines Matching refs:DriverArgs

2765     const ArgList &DriverArgs, ArgStringList &CC1Args) const {  in addLibStdCXXIncludePaths()  argument
2769 addSystemInclude(DriverArgs, CC1Args, Base + Suffix); in addLibStdCXXIncludePaths()
2776 addSystemInclude(DriverArgs, CC1Args, in addLibStdCXXIncludePaths()
2784 addSystemInclude(DriverArgs, CC1Args, in addLibStdCXXIncludePaths()
2786 addSystemInclude(DriverArgs, CC1Args, in addLibStdCXXIncludePaths()
2790 addSystemInclude(DriverArgs, CC1Args, Base + Suffix + "/backward"); in addLibStdCXXIncludePaths()
2794 void Generic_ELF::addClangTargetOptions(const ArgList &DriverArgs, in addClangTargetOptions() argument
2806 if (DriverArgs.hasFlag(options::OPT_fuse_init_array, in addClangTargetOptions()
2832 const ArgList &DriverArgs, ArgStringList &CC1Args) const { in AddClangSystemIncludeArgs() argument
2833 if (DriverArgs.hasArg(options::OPT_nostdinc)) in AddClangSystemIncludeArgs()
2838 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs()
2841 addSystemInclude(DriverArgs, CC1Args, P); in AddClangSystemIncludeArgs()
2844 if (DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
2850 addExternCSystemIncludeIfExists(DriverArgs, CC1Args, in AddClangSystemIncludeArgs()
2886 const ArgList &DriverArgs, ArgStringList &CC1Args) const { in AddClangCXXStdlibIncludeArgs() argument
2887 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
2888 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
2891 assert((GetCXXStdlibType(DriverArgs) == ToolChain::CST_Libcxx) && in AddClangCXXStdlibIncludeArgs()
2899 addSystemInclude(DriverArgs, CC1Args, Path); in AddClangCXXStdlibIncludeArgs()
3038 void HexagonToolChain::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument
3040 if (DriverArgs.hasArg(options::OPT_nostdinc) || in AddClangSystemIncludeArgs()
3041 DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
3047 addExternCSystemInclude(DriverArgs, CC1Args, TargetDir + "/hexagon/include"); in AddClangSystemIncludeArgs()
3051 const ArgList &DriverArgs, ArgStringList &CC1Args) const { in AddClangCXXStdlibIncludeArgs() argument
3052 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
3053 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
3058 addSystemInclude(DriverArgs, CC1Args, TargetDir + "/hexagon/include/c++"); in AddClangCXXStdlibIncludeArgs()
3159 void NaClToolChain::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument
3162 if (DriverArgs.hasArg(options::OPT_nostdinc)) in AddClangSystemIncludeArgs()
3165 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs()
3168 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangSystemIncludeArgs()
3171 if (DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
3181 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangSystemIncludeArgs()
3186 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangSystemIncludeArgs()
3201 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangSystemIncludeArgs()
3205 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangSystemIncludeArgs()
3216 void NaClToolChain::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
3219 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
3220 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
3225 GetCXXStdlibType(DriverArgs); in AddClangCXXStdlibIncludeArgs()
3231 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangCXXStdlibIncludeArgs()
3235 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangCXXStdlibIncludeArgs()
3239 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangCXXStdlibIncludeArgs()
3243 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangCXXStdlibIncludeArgs()
3317 void CloudABI::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
3319 if (DriverArgs.hasArg(options::OPT_nostdlibinc) && in AddClangCXXStdlibIncludeArgs()
3320 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
3325 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangCXXStdlibIncludeArgs()
3356 void Haiku::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
3358 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
3359 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
3362 switch (GetCXXStdlibType(DriverArgs)) { in AddClangCXXStdlibIncludeArgs()
3364 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3368 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3370 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3374 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3414 void Bitrig::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
3416 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
3417 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
3420 switch (GetCXXStdlibType(DriverArgs)) { in AddClangCXXStdlibIncludeArgs()
3422 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3426 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3428 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3433 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3437 addSystemInclude(DriverArgs, CC1Args, getDriver().SysRoot + in AddClangCXXStdlibIncludeArgs()
3480 void FreeBSD::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
3482 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
3483 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
3486 switch (GetCXXStdlibType(DriverArgs)) { in AddClangCXXStdlibIncludeArgs()
3488 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3492 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3494 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3642 void NetBSD::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
3644 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
3645 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
3648 switch (GetCXXStdlibType(DriverArgs)) { in AddClangCXXStdlibIncludeArgs()
3650 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3654 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3656 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3724 void Solaris::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
3726 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
3727 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
3732 addSystemInclude(DriverArgs, CC1Args, "/usr/include/c++/v1/support/solaris"); in AddClangCXXStdlibIncludeArgs()
3736 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3741 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
4378 void Linux::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument
4383 if (DriverArgs.hasArg(options::OPT_nostdinc)) in AddClangSystemIncludeArgs()
4386 if (!DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
4387 addSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/local/include"); in AddClangSystemIncludeArgs()
4389 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs()
4392 addSystemInclude(DriverArgs, CC1Args, P); in AddClangSystemIncludeArgs()
4395 if (DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
4406 addExternCSystemInclude(DriverArgs, CC1Args, Prefix + dir); in AddClangSystemIncludeArgs()
4420 DriverArgs, CC1Args, GCCInstallation.getInstallPath() + Path); in AddClangSystemIncludeArgs()
4531 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + Dir); in AddClangSystemIncludeArgs()
4542 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/include"); in AddClangSystemIncludeArgs()
4544 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include"); in AddClangSystemIncludeArgs()
4566 void Linux::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
4568 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
4569 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
4573 if (GetCXXStdlibType(DriverArgs) == ToolChain::CST_Libcxx) { in AddClangCXXStdlibIncludeArgs()
4585 addSystemInclude(DriverArgs, CC1Args, IncludePath); in AddClangCXXStdlibIncludeArgs()
4613 Multilib.includeSuffix(), DriverArgs, CC1Args)) in AddClangCXXStdlibIncludeArgs()
4636 Multilib.includeSuffix(), DriverArgs, CC1Args)) in AddClangCXXStdlibIncludeArgs()
4641 void Linux::AddCudaIncludeArgs(const ArgList &DriverArgs, in AddCudaIncludeArgs() argument
4643 if (DriverArgs.hasArg(options::OPT_nocudainc)) in AddCudaIncludeArgs()
4651 addSystemInclude(DriverArgs, CC1Args, CudaInstallation.getIncludePath()); in AddCudaIncludeArgs()
4656 void Linux::AddIAMCUIncludeArgs(const ArgList &DriverArgs, in AddIAMCUIncludeArgs() argument
4660 CC1Args.push_back(DriverArgs.MakeArgString( in AddIAMCUIncludeArgs()
4746 CudaToolChain::addClangTargetOptions(const llvm::opt::ArgList &DriverArgs, in addClangTargetOptions() argument
4748 Linux::addClangTargetOptions(DriverArgs, CC1Args); in addClangTargetOptions()
4751 if (DriverArgs.hasFlag(options::OPT_fcuda_flush_denormals_to_zero, in addClangTargetOptions()
4755 if (DriverArgs.hasFlag(options::OPT_fcuda_approx_transcendentals, in addClangTargetOptions()
4759 if (DriverArgs.hasArg(options::OPT_nocudalib)) in addClangTargetOptions()
4763 DriverArgs.getLastArgValue(options::OPT_march_EQ)); in addClangTargetOptions()
4766 CC1Args.push_back(DriverArgs.MakeArgString(LibDeviceFile)); in addClangTargetOptions()
4776 void CudaToolChain::AddCudaIncludeArgs(const ArgList &DriverArgs, in AddCudaIncludeArgs() argument
4779 if (!DriverArgs.hasArg(options::OPT_nocudainc) && in AddCudaIncludeArgs()
4780 !DriverArgs.hasArg(options::OPT_no_cuda_version_check)) { in AddCudaIncludeArgs()
4781 StringRef Arch = DriverArgs.getLastArgValue(options::OPT_march_EQ); in AddCudaIncludeArgs()
4785 Linux::AddCudaIncludeArgs(DriverArgs, CC1Args); in AddCudaIncludeArgs()
4868 void XCoreToolChain::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument
4870 if (DriverArgs.hasArg(options::OPT_nostdinc) || in AddClangSystemIncludeArgs()
4871 DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
4878 addSystemIncludes(DriverArgs, CC1Args, DirVec); in AddClangSystemIncludeArgs()
4882 void XCoreToolChain::addClangTargetOptions(const ArgList &DriverArgs, in addClangTargetOptions() argument
4888 const ArgList &DriverArgs, ArgStringList &CC1Args) const { in AddClangCXXStdlibIncludeArgs() argument
4889 if (DriverArgs.hasArg(options::OPT_nostdinc) || in AddClangCXXStdlibIncludeArgs()
4890 DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
4891 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
4898 addSystemIncludes(DriverArgs, CC1Args, DirVec); in AddClangCXXStdlibIncludeArgs()
4949 void MyriadToolChain::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument
4951 if (!DriverArgs.hasArg(options::OPT_nostdinc)) in AddClangSystemIncludeArgs()
4952 addSystemInclude(DriverArgs, CC1Args, getDriver().SysRoot + "/include"); in AddClangSystemIncludeArgs()
4956 const ArgList &DriverArgs, ArgStringList &CC1Args) const { in AddClangCXXStdlibIncludeArgs() argument
4957 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
4958 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
4969 "", TripleStr, "", "", Multilib.includeSuffix(), DriverArgs, CC1Args); in AddClangCXXStdlibIncludeArgs()
5033 void WebAssembly::addClangTargetOptions(const ArgList &DriverArgs, in addClangTargetOptions() argument
5035 if (DriverArgs.hasFlag(options::OPT_fuse_init_array, in addClangTargetOptions()
5048 void WebAssembly::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument
5050 if (!DriverArgs.hasArg(options::OPT_nostdinc)) in AddClangSystemIncludeArgs()
5051 addSystemInclude(DriverArgs, CC1Args, getDriver().SysRoot + "/include"); in AddClangSystemIncludeArgs()
5055 const llvm::opt::ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
5057 if (!DriverArgs.hasArg(options::OPT_nostdlibinc) && in AddClangCXXStdlibIncludeArgs()
5058 !DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
5059 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()