Lines Matching refs:DriverArgs

2082 void Generic_ELF::addClangTargetOptions(const ArgList &DriverArgs,  in addClangTargetOptions()  argument
2093 if (DriverArgs.hasFlag(options::OPT_fuse_init_array, in addClangTargetOptions()
2222 void Hexagon_TC::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument
2226 if (DriverArgs.hasArg(options::OPT_nostdinc) || in AddClangSystemIncludeArgs()
2227 DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
2231 std::string GnuDir = Hexagon_TC::GetGnuDir(D.InstalledDir, DriverArgs); in AddClangSystemIncludeArgs()
2233 addExternCSystemInclude(DriverArgs, CC1Args, HexagonDir + "/include"); in AddClangSystemIncludeArgs()
2234 addExternCSystemInclude(DriverArgs, CC1Args, HexagonDir + "/include-fixed"); in AddClangSystemIncludeArgs()
2235 addExternCSystemInclude(DriverArgs, CC1Args, GnuDir + "/hexagon/include"); in AddClangSystemIncludeArgs()
2238 void Hexagon_TC::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
2241 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
2242 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
2248 Hexagon_TC::GetGnuDir(D.InstalledDir, DriverArgs)); in AddClangCXXStdlibIncludeArgs()
2252 addSystemInclude(DriverArgs, CC1Args, IncludeDir); in AddClangCXXStdlibIncludeArgs()
2368 void NaCl_TC::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument
2371 if (DriverArgs.hasArg(options::OPT_nostdinc)) in AddClangSystemIncludeArgs()
2374 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs()
2377 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangSystemIncludeArgs()
2380 if (DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
2394 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangSystemIncludeArgs()
2398 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangSystemIncludeArgs()
2409 void NaCl_TC::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
2412 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
2413 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
2418 GetCXXStdlibType(DriverArgs); in AddClangCXXStdlibIncludeArgs()
2423 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangCXXStdlibIncludeArgs()
2427 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangCXXStdlibIncludeArgs()
2431 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangCXXStdlibIncludeArgs()
2510 void CloudABI::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
2512 if (DriverArgs.hasArg(options::OPT_nostdlibinc) && in AddClangCXXStdlibIncludeArgs()
2513 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
2518 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangCXXStdlibIncludeArgs()
2577 void Bitrig::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
2579 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
2580 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
2583 switch (GetCXXStdlibType(DriverArgs)) { in AddClangCXXStdlibIncludeArgs()
2585 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
2589 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
2591 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
2596 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
2600 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
2653 void FreeBSD::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
2655 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
2656 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
2659 switch (GetCXXStdlibType(DriverArgs)) { in AddClangCXXStdlibIncludeArgs()
2661 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
2665 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
2667 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
2800 void NetBSD::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
2802 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
2803 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
2806 switch (GetCXXStdlibType(DriverArgs)) { in AddClangCXXStdlibIncludeArgs()
2808 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
2812 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
2814 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
3328 void Linux::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument
3333 if (DriverArgs.hasArg(options::OPT_nostdinc)) in AddClangSystemIncludeArgs()
3336 if (!DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
3337 addSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/local/include"); in AddClangSystemIncludeArgs()
3339 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs()
3342 addSystemInclude(DriverArgs, CC1Args, P); in AddClangSystemIncludeArgs()
3345 if (DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
3356 addExternCSystemInclude(DriverArgs, CC1Args, Prefix + dir); in AddClangSystemIncludeArgs()
3372 addExternCSystemIncludeIfExists(DriverArgs, CC1Args, Path); in AddClangSystemIncludeArgs()
3456 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + Dir); in AddClangSystemIncludeArgs()
3467 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/include"); in AddClangSystemIncludeArgs()
3469 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include"); in AddClangSystemIncludeArgs()
3478 const ArgList &DriverArgs, in addLibStdCXXIncludePaths() argument
3483 addSystemInclude(DriverArgs, CC1Args, Base + Suffix); in addLibStdCXXIncludePaths()
3490 addSystemInclude(DriverArgs, CC1Args, in addLibStdCXXIncludePaths()
3498 addSystemInclude(DriverArgs, CC1Args, in addLibStdCXXIncludePaths()
3500 addSystemInclude(DriverArgs, CC1Args, in addLibStdCXXIncludePaths()
3504 addSystemInclude(DriverArgs, CC1Args, Base + Suffix + "/backward"); in addLibStdCXXIncludePaths()
3508 void Linux::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
3510 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
3511 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
3515 if (GetCXXStdlibType(DriverArgs) == ToolChain::CST_Libcxx) { in AddClangCXXStdlibIncludeArgs()
3530 addSystemInclude(DriverArgs, CC1Args, IncludePath); in AddClangCXXStdlibIncludeArgs()
3558 Multilib.includeSuffix(), DriverArgs, CC1Args)) in AddClangCXXStdlibIncludeArgs()
3580 Multilib.includeSuffix(), DriverArgs, CC1Args)) in AddClangCXXStdlibIncludeArgs()
3650 void XCore::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument
3652 if (DriverArgs.hasArg(options::OPT_nostdinc) || in AddClangSystemIncludeArgs()
3653 DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
3660 addSystemIncludes(DriverArgs, CC1Args, DirVec); in AddClangSystemIncludeArgs()
3664 void XCore::addClangTargetOptions(const llvm::opt::ArgList &DriverArgs, in addClangTargetOptions() argument
3669 void XCore::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
3671 if (DriverArgs.hasArg(options::OPT_nostdinc) || in AddClangCXXStdlibIncludeArgs()
3672 DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
3673 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
3680 addSystemIncludes(DriverArgs, CC1Args, DirVec); in AddClangCXXStdlibIncludeArgs()