Home
last modified time | relevance | path

Searched refs:RocmInstallation (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DHIPAMD.cpp376 RocmInstallation->AddHIPIncludeArgs(DriverArgs, CC1Args); in AddHIPIncludeArgs()
407 for (StringRef Path : RocmInstallation->getRocmDeviceLibPathArg()) in getDeviceLibs()
429 if (!RocmInstallation->hasDeviceLibrary()) { in getDeviceLibs()
440 auto AsanRTL = RocmInstallation->getAsanRTLPath(); in getDeviceLibs()
454 BCLibs.push_back(RocmInstallation->getHIPPath()); in getDeviceLibs()
H A DAMDGPU.cpp825 RocmInstallation->detectDeviceLibrary(); in ROCMToolChain()
920 StringRef LibDeviceFile = RocmInstallation->getLibDeviceFile(CanonArch); in addClangTargetOptions()
923 if (!RocmInstallation->checkCommonBitcodeLibs(CanonArch, LibDeviceFile, in addClangTargetOptions()
943 BCLibs.push_back(RocmInstallation->getOpenCLPath().str()); in addClangTargetOptions()
946 BCLibs.append(RocmInstallation->getCommonBitcodeLibs( in addClangTargetOptions()
953 DriverArgs.MakeArgString(RocmInstallation->getAsanRTLPath())); in addClangTargetOptions()
1011 StringRef LibDeviceFile = RocmInstallation->getLibDeviceFile(CanonArch); in getCommonDeviceLibNames()
1014 if (!RocmInstallation->checkCommonBitcodeLibs(CanonArch, LibDeviceFile, in getCommonDeviceLibNames()
1036 return RocmInstallation->getCommonBitcodeLibs( in getCommonDeviceLibNames()
H A DMSVC.h140 LazyDetector<RocmInstallationDetector> RocmInstallation; variable
H A DAMDGPUOpenMP.cpp157 if (!RocmInstallation->hasDeviceLibrary()) { in getDeviceLibs()
H A DMSVC.cpp430 RocmInstallation(D, Triple, Args) { in MSVCToolChain()
506 RocmInstallation->AddHIPIncludeArgs(DriverArgs, CC1Args); in AddHIPIncludeArgs()
512 RocmInstallation->getLibPath()), in AddHIPRuntimeLibArgs()
518 RocmInstallation->print(OS); in printVerboseInfo()
H A DLinux.cpp733 RocmInstallation->AddHIPIncludeArgs(DriverArgs, CC1Args); in AddHIPIncludeArgs()
739 Args.MakeArgString(StringRef("-L") + RocmInstallation->getLibPath())); in AddHIPRuntimeLibArgs()
744 {"-rpath", Args.MakeArgString(RocmInstallation->getLibPath())}); in AddHIPRuntimeLibArgs()
H A DMinGW.cpp489 RocmInstallation(D, Triple, Args) { in MinGW()
625 RocmInstallation->AddHIPIncludeArgs(DriverArgs, CC1Args); in AddHIPIncludeArgs()
630 RocmInstallation->print(OS); in printVerboseInfo()
H A DFreeBSD.cpp465 RocmInstallation->AddHIPIncludeArgs(DriverArgs, CC1Args); in AddHIPIncludeArgs()
H A DDarwin.h333 LazyDetector<RocmInstallationDetector> RocmInstallation; variable
H A DDarwin.cpp934 CudaInstallation(D, Triple, Args), RocmInstallation(D, Triple, Args) {} in Darwin()
990 RocmInstallation->AddHIPIncludeArgs(DriverArgs, CC1Args); in AddHIPIncludeArgs()
3539 RocmInstallation->print(OS); in printVerboseInfo()
H A DGnu.cpp3057 CudaInstallation(D, Triple, Args), RocmInstallation(D, Triple, Args) { in Generic_GCC()
3088 RocmInstallation->print(OS); in printVerboseInfo()