Lines Matching refs:Path
40 StringRef Path = Args.getLastArgValue(options::OPT_hipspv_pass_plugin_EQ); in findPassPlugin() local
41 if (!Path.empty()) { in findPassPlugin()
42 if (llvm::sys::fs::exists(Path)) in findPassPlugin()
43 return Path.str(); in findPassPlugin()
44 D.Diag(diag::err_drv_no_such_file) << Path; in findPassPlugin()
160 DriverArgs.MakeArgString(BCFile.Path)}); in addClangTargetOptions()
219 for (auto Path : HipDeviceLibPathArgs) in getDeviceLibs() local
220 LibraryPaths.push_back(DriverArgs.MakeArgString(Path)); in getDeviceLibs()
224 SmallString<128> Path(HipPath); in getDeviceLibs() local
225 llvm::sys::path::append(Path, "lib", "hip-device-lib"); in getDeviceLibs()
226 LibraryPaths.push_back(DriverArgs.MakeArgString(Path)); in getDeviceLibs()
237 SmallString<128> Path(LibraryPath); in getDeviceLibs() local
238 llvm::sys::path::append(Path, BCName); in getDeviceLibs()
239 FullName = Path; in getDeviceLibs()
252 SmallString<128> Path(LibPath); in getDeviceLibs() local
253 llvm::sys::path::append(Path, BCName); in getDeviceLibs()
254 if (llvm::sys::fs::exists(Path)) { in getDeviceLibs()
255 BCLibs.emplace_back(Path.str().str()); in getDeviceLibs()