Home | History | Annotate | Download | only in Driver

Lines Matching defs:Path

30 #include "llvm/Support/Path.h"
275 llvm::sys::path::remove_filename(P); // 'clang'
276 llvm::sys::path::remove_filename(P); // 'bin'
277 llvm::sys::path::append(P, "lib", "arc", "libarclite_");
294 llvm::sys::path::append(P, "lib", IsEmbedded ? "macho_embedded" : "darwin",
439 // Warn if the path does not exist.
444 // We only use this value as the default if it is an absolute path,
445 // exists, and it is not the root path.
446 if (llvm::sys::path::is_absolute(env) && llvm::sys::fs::exists(env) &&
608 // Unfortunately, -lstdc++ doesn't always exist in the standard search path;
616 llvm::sys::path::append(P, "usr", "lib", "libstdc++.dylib");
619 llvm::sys::path::remove_filename(P);
620 llvm::sys::path::append(P, "libstdc++.6.dylib");
652 llvm::sys::path::append(P, "lib", "darwin");
659 llvm::sys::path::append(P, "libclang_rt.cc_kext.a");
661 llvm::sys::path::append(P, "libclang_rt.cc_kext_ios5.a");
1011 // is-sim attribute because existing code follows this path, and the linker
1593 // Filter to remove Multilibs that don't exist as a suffix to Path
1682 static bool findMIPSMultilibs(const llvm::Triple &TargetTriple, StringRef Path,
1710 FilterNonExistent NonExistent(Path);
1990 StringRef Path, const ArgList &Args,
2015 FilterNonExistent NonExistent(Path);
2107 StringRef VersionText = llvm::sys::path::filename(LI->path());
2110 if (!CandidateGCCInstallPaths.insert(LI->path()).second)
2111 continue; // Saw this path before; no need to look at it again.
2122 if (!findMIPSMultilibs(TargetTriple, LI->path(), Args, Detected))
2124 } else if (!findBiarchMultilibs(TargetTriple, LI->path(), Args,
2135 // using LI to ensure stable path separators across Windows and
2318 GCCVersion cv = GCCVersion::Parse(llvm::sys::path::filename(di->path()));
2377 llvm::sys::path::append(IncludeDir, "hexagon/include/c++/");
2378 llvm::sys::path::append(IncludeDir, Ver);
2448 // Path mangling to find libexec
2449 std::string Path(getDriver().Dir);
2451 Path += "/../libexec";
2452 getProgramPaths().push_back(Path);
3030 static void addPathIfExists(Twine Path, ToolChain::path_list &Paths) {
3031 if (llvm::sys::fs::exists(Path)) Paths.push_back(Path.str());
3047 // with a 'lib32' library search path being considered. So we only enable
3159 // 1) Any DSOs that are linked in from this tree or from the install path
3202 // Try walking via the GCC triple path in case of biarch or multiarch GCC
3208 // Add the 'other' biarch variant path
3230 // inside of the requested system root, add its parent library path to those
3268 std::string Path = (InstallDir + "/../../../../" + TripleStr + "/libc" +
3271 if (llvm::sys::fs::exists(Path))
3272 return Path;
3274 Path = (InstallDir + "/../../../../sysroot" + Multilib.osSuffix()).str();
3276 if (llvm::sys::fs::exists(Path))
3277 return Path;
3295 llvm::sys::path::append(P, "include");
3308 StringRef Prefix = llvm::sys::path::is_absolute(dir) ? SysRoot : "";
3443 /// \brief Helper to add an extra variant path for an (Ubuntu) multilib
3537 // Path mangling to find libexec
3562 // ProgramPaths are found via 'PATH' environment variable.