Lines Matching refs:LibDevicePath
374 assert(LibDevicePath.empty()); in detectDeviceLibrary()
377 LibDevicePath = RocmDeviceLibPathArg[RocmDeviceLibPathArg.size() - 1]; in detectDeviceLibrary()
380 LibDevicePath = std::move(*LibPathEnv); in detectDeviceLibrary()
383 if (!LibDevicePath.empty()) { in detectDeviceLibrary()
387 if (!FS.exists(LibDevicePath)) in detectDeviceLibrary()
390 scanLibDevicePath(LibDevicePath); in detectDeviceLibrary()
417 LibDevicePath = D.ResourceDir; in detectDeviceLibrary()
418 llvm::sys::path::append(LibDevicePath, CLANG_INSTALL_LIBDIR_BASENAME, in detectDeviceLibrary()
420 HasDeviceLibrary = CheckDeviceLib(LibDevicePath, true); in detectDeviceLibrary()
428 LibDevicePath = Candidate.Path; in detectDeviceLibrary()
429 llvm::sys::path::append(LibDevicePath, "amdgcn", "bitcode"); in detectDeviceLibrary()
430 HasDeviceLibrary = CheckDeviceLib(LibDevicePath, Candidate.StrictChecking); in detectDeviceLibrary()