Lines Matching refs:Cand
41 RocmInstallationDetector::findSPACKPackage(const Candidate &Cand, in findSPACKPackage() argument
43 if (!Cand.isSPACK()) in findSPACKPackage()
46 std::string Prefix = Twine(PackageName + "-" + Cand.SPACKReleaseStr).str(); in findSPACKPackage()
48 for (llvm::vfs::directory_iterator File = D.getVFS().dir_begin(Cand.Path, EC), in findSPACKPackage()
59 auto PackagePath = Cand.Path; in findSPACKPackage()
64 llvm::errs() << "SPACK package " << Prefix << " not found at " << Cand.Path in findSPACKPackage()
70 llvm::errs() << "Cannot use SPACK package " << Prefix << " at " << Cand.Path in findSPACKPackage()
188 for (auto Cand : ROCmSearchDirs) { in getInstallationPathCandidates() local
190 if (Cand.isSPACK()) in getInstallationPathCandidates()
191 llvm::errs() << " (Spack " << Cand.SPACKReleaseStr << ")"; in getInstallationPathCandidates()
192 llvm::errs() << ": " << Cand.Path << '\n'; in getInstallationPathCandidates()