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()
156 DriverArgs.MakeArgString(BCFile.Path)}); in addClangTargetOptions()
215 for (auto Path : HipDeviceLibPathArgs) in getDeviceLibs() local
216 LibraryPaths.push_back(DriverArgs.MakeArgString(Path)); in getDeviceLibs()
220 SmallString<128> Path(HipPath); in getDeviceLibs() local
221 llvm::sys::path::append(Path, "lib", "hip-device-lib"); in getDeviceLibs()
222 LibraryPaths.push_back(DriverArgs.MakeArgString(Path)); in getDeviceLibs()
233 SmallString<128> Path(LibraryPath); in getDeviceLibs() local
234 llvm::sys::path::append(Path, BCName); in getDeviceLibs()
235 FullName = Path; in getDeviceLibs()
248 SmallString<128> Path(LibPath); in getDeviceLibs() local
249 llvm::sys::path::append(Path, BCName); in getDeviceLibs()
250 if (llvm::sys::fs::exists(Path)) { in getDeviceLibs()
251 BCLibs.emplace_back(Path.str().str()); in getDeviceLibs()