Lines Matching refs:Path
410 SmallString<128> Path(getDriver().ResourceDir); in getCompilerRTPath() local
412 llvm::sys::path::append(Path, "lib"); in getCompilerRTPath()
414 llvm::sys::path::append(Path, "lib", getOSLibName()); in getCompilerRTPath()
416 return std::string(Path.str()); in getCompilerRTPath()
476 SmallString<128> Path(getCompilerRTPath()); in getCompilerRT() local
477 llvm::sys::path::append(Path, CRTBasename); in getCompilerRT()
478 return std::string(Path.str()); in getCompilerRT()
500 SmallString<128> Path(getDriver().ResourceDir); in getArchSpecificLibPath() local
501 llvm::sys::path::append(Path, "lib", getOSLibName(), in getArchSpecificLibPath()
503 return std::string(Path.str()); in getArchSpecificLibPath()
559 std::string Path(A->getValue()); in GetLinkerPath() local
560 if (!Path.empty()) { in GetLinkerPath()
561 if (llvm::sys::path::parent_path(Path).empty()) in GetLinkerPath()
562 Path = GetProgramPath(A->getValue()); in GetLinkerPath()
563 if (llvm::sys::fs::can_execute(Path)) in GetLinkerPath()
564 return std::string(Path); in GetLinkerPath()
842 const Twine &Path) { in addSystemInclude() argument
844 CC1Args.push_back(DriverArgs.MakeArgString(Path)); in addSystemInclude()
857 const Twine &Path) { in addExternCSystemInclude() argument
859 CC1Args.push_back(DriverArgs.MakeArgString(Path)); in addExternCSystemInclude()
864 const Twine &Path) { in addExternCSystemIncludeIfExists() argument
865 if (llvm::sys::fs::exists(Path)) in addExternCSystemIncludeIfExists()
866 addExternCSystemInclude(DriverArgs, CC1Args, Path); in addExternCSystemIncludeIfExists()
873 for (const auto &Path : Paths) { in addSystemIncludes() local
875 CC1Args.push_back(DriverArgs.MakeArgString(Path)); in addSystemIncludes()
883 SmallString<128> Path(IncludePath); in detectLibcxxVersion() local
884 llvm::sys::path::append(Path, "c++"); in detectLibcxxVersion()
885 for (llvm::vfs::directory_iterator LI = getVFS().dir_begin(Path, EC), LE; in detectLibcxxVersion()
963 std::string &Path) const { in isFastMathRuntimeAvailable()
978 Path = GetFilePath("crtfastmath.o"); in isFastMathRuntimeAvailable()
979 return (Path != "crtfastmath.o"); // Not found. in isFastMathRuntimeAvailable()
984 std::string Path; in addFastMathRuntimeIfAvailable() local
985 if (isFastMathRuntimeAvailable(Args, Path)) { in addFastMathRuntimeIfAvailable()
986 CmdArgs.push_back(Args.MakeArgString(Path)); in addFastMathRuntimeIfAvailable()