Lines Matching defs:Path
18 #include "llvm/Support/Path.h"
40 StringRef Path = Args.getLastArgValue(options::OPT_hipspv_pass_plugin_EQ);
41 if (!Path.empty()) {
42 if (llvm::sys::fs::exists(Path))
43 return Path.str();
44 D.Diag(diag::err_drv_no_such_file) << Path;
156 DriverArgs.MakeArgString(BCFile.Path)});
215 for (auto Path : HipDeviceLibPathArgs)
216 LibraryPaths.push_back(DriverArgs.MakeArgString(Path));
220 SmallString<128> Path(HipPath);
221 llvm::sys::path::append(Path, "lib", "hip-device-lib");
222 LibraryPaths.push_back(DriverArgs.MakeArgString(Path));
233 SmallString<128> Path(LibraryPath);
234 llvm::sys::path::append(Path, BCName);
235 FullName = Path;
248 SmallString<128> Path(LibPath);
249 llvm::sys::path::append(Path, BCName);
250 if (llvm::sys::fs::exists(Path)) {
251 BCLibs.emplace_back(Path.str().str());