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