Home
last modified time | relevance | path

Searched refs:LibDevicePath (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DAMDGPU.cpp322 assert(LibDevicePath.empty()); in detectDeviceLibrary()
325 LibDevicePath = RocmDeviceLibPathArg[RocmDeviceLibPathArg.size() - 1]; in detectDeviceLibrary()
328 LibDevicePath = std::move(*LibPathEnv); in detectDeviceLibrary()
331 if (!LibDevicePath.empty()) { in detectDeviceLibrary()
335 if (!FS.exists(LibDevicePath)) in detectDeviceLibrary()
338 scanLibDevicePath(LibDevicePath); in detectDeviceLibrary()
365 LibDevicePath = D.ResourceDir; in detectDeviceLibrary()
366 llvm::sys::path::append(LibDevicePath, CLANG_INSTALL_LIBDIR_BASENAME, in detectDeviceLibrary()
368 HasDeviceLibrary = CheckDeviceLib(LibDevicePath, true); in detectDeviceLibrary()
376 LibDevicePath = Candidate.Path; in detectDeviceLibrary()
[all …]
H A DROCm.h121 SmallString<0> LibDevicePath; variable
216 StringRef getLibDevicePath() const { return LibDevicePath; } in getLibDevicePath()
H A DCuda.h34 std::string LibDevicePath; variable
72 StringRef getLibDevicePath() const { return LibDevicePath; } in getLibDevicePath()
H A DCuda.cpp206 LibDevicePath = InstallPath + "/nvvm/libdevice"; in CudaInstallationDetector()
211 if (CheckLibDevice && !FS.exists(LibDevicePath)) in CudaInstallationDetector()
220 Version = FS.exists(LibDevicePath + "/libdevice.10.bc") in CudaInstallationDetector()
227 std::string FilePath = LibDevicePath + "/libdevice.10.bc"; in CudaInstallationDetector()
240 for (llvm::vfs::directory_iterator LI = FS.dir_begin(LibDevicePath, EC), in CudaInstallationDetector()