Searched refs:ParentPath (Results 1 – 6 of 6) sorted by relevance
39 StringRef ParentPath = sys::path::parent_path(Path); in resolve() local43 if (!ResolvedPaths.count(ParentPath)) { in resolve()45 sys::fs::real_path(ParentPath, RealPath); in resolve()47 {ParentPath, std::string(RealPath.c_str(), RealPath.size())}); in resolve()51 SmallString<256> ResolvedPath(ResolvedPaths[ParentPath]); in resolve()
43 SmallString<256> ParentPath = sys::path::parent_path(Path); in getOutputPath() local44 sys::path::remove_dots(ParentPath, /*remove_dot_dot=*/true); in getOutputPath()45 sys::path::append(FullPath, sys::path::relative_path(ParentPath)); in getOutputPath()
560 StringRef ParentPath = sys::path::parent_path(TestPath); in findVCToolChainViaEnvironment() local561 StringRef ParentFilename = sys::path::filename(ParentPath); in findVCToolChainViaEnvironment()563 Path = std::string(ParentPath); in findVCToolChainViaEnvironment()571 Path = std::string(ParentPath); in findVCToolChainViaEnvironment()
260 auto ParentPath = llvm::sys::path::parent_path(RealClangPath); in getInstallationPathCandidates() local261 if (ParentPath != InstallDir) in getInstallationPathCandidates()262 ROCmSearchDirs.emplace_back(DeduceROCmPath(ParentPath)); in getInstallationPathCandidates()266 auto RealClangRoot = llvm::sys::path::parent_path(ParentPath); in getInstallationPathCandidates()
526 StringRef ParentPath = llvm::sys::path::parent_path(NewPath.str()); in getThinLTOOutputFile() local527 if (!ParentPath.empty()) { in getThinLTOOutputFile()529 if (std::error_code EC = llvm::sys::fs::create_directories(ParentPath)) in getThinLTOOutputFile()530 error(EC, "error creating the directory '" + ParentPath + "'"); in getThinLTOOutputFile()
1406 StringRef ParentPath = llvm::sys::path::parent_path(NewPath.str()); in getThinLTOOutputFile() local1407 if (!ParentPath.empty()) { in getThinLTOOutputFile()1409 if (std::error_code EC = llvm::sys::fs::create_directories(ParentPath)) in getThinLTOOutputFile()1410 llvm::errs() << "warning: could not create directory '" << ParentPath in getThinLTOOutputFile()