Lines Matching refs:LibDevicePath
385 assert(LibDevicePath.empty()); in detectDeviceLibrary()
388 LibDevicePath = RocmDeviceLibPathArg[RocmDeviceLibPathArg.size() - 1]; in detectDeviceLibrary()
391 LibDevicePath = std::move(*LibPathEnv); in detectDeviceLibrary()
394 if (!LibDevicePath.empty()) { in detectDeviceLibrary()
398 if (!FS.exists(LibDevicePath)) in detectDeviceLibrary()
401 scanLibDevicePath(LibDevicePath); in detectDeviceLibrary()
428 LibDevicePath = D.ResourceDir; in detectDeviceLibrary()
429 llvm::sys::path::append(LibDevicePath, CLANG_INSTALL_LIBDIR_BASENAME, in detectDeviceLibrary()
431 HasDeviceLibrary = CheckDeviceLib(LibDevicePath, true); in detectDeviceLibrary()
439 LibDevicePath = Candidate.Path; in detectDeviceLibrary()
440 llvm::sys::path::append(LibDevicePath, "amdgcn", "bitcode"); in detectDeviceLibrary()
441 HasDeviceLibrary = CheckDeviceLib(LibDevicePath, Candidate.StrictChecking); in detectDeviceLibrary()