Lines Matching defs:pathRef
136 StringRef pathRef = getToolkitPath();
140 path.insert(path.begin(), pathRef.begin(), pathRef.end());
142 pathRef = StringRef(path.data(), path.size());
145 if (!llvm::sys::fs::is_directory(pathRef)) {
146 getOperation().emitError() << "ROCm amdgcn bitcode path: " << pathRef
155 StringRef pathRef(path.data(), path.size());
156 if (!llvm::sys::fs::is_regular_file(pathRef)) {
157 getOperation().emitRemark() << "bitcode library path: " << pathRef
161 librariesToLink.push_back(StringAttr::get(target.getContext(), pathRef));