Lines Matching +refs:env +refs:Path
476 if (char *env = ::getenv("SDKROOT")) { in AddDeploymentTarget() local
479 if (llvm::sys::path::is_absolute(env) && getVFS().exists(env) && in AddDeploymentTarget()
480 StringRef(env) != "/") { in AddDeploymentTarget()
482 nullptr, Opts.getOption(options::OPT_isysroot), env)); in AddDeploymentTarget()
516 if (char *env = ::getenv("MACOSX_DEPLOYMENT_TARGET")) in AddDeploymentTarget() local
517 OSXTarget = env; in AddDeploymentTarget()
518 if (char *env = ::getenv("IPHONEOS_DEPLOYMENT_TARGET")) in AddDeploymentTarget() local
519 iOSTarget = env; in AddDeploymentTarget()
520 if (char *env = ::getenv("TVOS_DEPLOYMENT_TARGET")) in AddDeploymentTarget() local
521 TvOSTarget = env; in AddDeploymentTarget()
522 if (char *env = ::getenv("WATCHOS_DEPLOYMENT_TARGET")) in AddDeploymentTarget() local
523 WatchOSTarget = env; in AddDeploymentTarget()
1769 StringRef Path, const ArgList &Args, in findMIPSMultilibs() argument
1796 FilterNonExistent NonExistent(Path, D.getVFS()); in findMIPSMultilibs()
2099 StringRef Path, const ArgList &Args, in findBiarchMultilibs() argument
2129 FilterNonExistent NonExistent(Path, D.getVFS()); in findBiarchMultilibs()
2478 for (const auto &Path : IncludePaths) in AddClangSystemIncludeArgs() local
2479 addExternCSystemIncludeIfExists(DriverArgs, CC1Args, Path); in AddClangSystemIncludeArgs()
2526 for (const auto &Path : IncludePaths) { in AddClangCXXStdlibIncludeArgs() local
2527 if (llvm::sys::fs::exists(Path + "/c++/v1")) { in AddClangCXXStdlibIncludeArgs()
2528 addSystemInclude(DriverArgs, CC1Args, Path + "/c++/v1"); in AddClangCXXStdlibIncludeArgs()
2548 SmallString<128> Path(getDriver().ResourceDir); in getCompilerRT() local
2549 llvm::sys::path::append(Path, SelectedMultilib.osSuffix(), "lib" + LibSuffix, in getCompilerRT()
2551 llvm::sys::path::append(Path, Twine("libclang_rt." + Component + "-" + in getCompilerRT()
2553 return Path.str(); in getCompilerRT()
2930 std::string Path(getDriver().Dir); in TCEToolChain() local
2932 Path += "/../libexec"; in TCEToolChain()
2933 getProgramPaths().push_back(Path); in TCEToolChain()
3284 static void addPathIfExists(const Driver &D, const Twine &Path, in addPathIfExists() argument
3286 if (D.getVFS().exists(Path)) in addPathIfExists()
3287 Paths.push_back(Path.str()); in addPathIfExists()
3831 std::string Path = in computeSysRoot() local
3835 if (getVFS().exists(Path)) in computeSysRoot()
3836 return Path; in computeSysRoot()
3838 Path = (InstallDir + "/../../../../sysroot" + Multilib.osSuffix()).str(); in computeSysRoot()
3840 if (getVFS().exists(Path)) in computeSysRoot()
3841 return Path; in computeSysRoot()
3889 for (const auto &Path : IncludePaths) in AddClangSystemIncludeArgs() local
3890 addExternCSystemIncludeIfExists(DriverArgs, CC1Args, Path); in AddClangSystemIncludeArgs()