Lines Matching refs:posLoc
265 unsigned resultEnd, SMLoc posLoc);
343 SMLoc posLoc = defPos.getAsSMLoc(sourceMgr); in getLocationsOf() local
347 if (!isDefOrUse(def, posLoc)) in getLocationsOf()
355 if (contains(op.loc, posLoc)) in getLocationsOf()
361 if (contains(symUse, posLoc)) { in getLocationsOf()
389 SMLoc posLoc = pos.getAsSMLoc(sourceMgr); in findReferencesOf() local
393 if (contains(op.loc, posLoc)) { in findReferencesOf()
397 if (contains(symUse, posLoc)) in findReferencesOf()
402 if (isDefOrUse(result.definition, posLoc)) in findReferencesOf()
405 if (!contains(symUse, posLoc)) in findReferencesOf()
415 if (isDefOrUse(block.definition, posLoc)) in findReferencesOf()
419 if (isDefOrUse(arg, posLoc)) in findReferencesOf()
430 SMLoc posLoc = hoverPos.getAsSMLoc(sourceMgr); in findHover() local
436 if (contains(op.loc, posLoc)) in findHover()
441 if (contains(use, posLoc)) in findHover()
447 if (!isDefOrUse(result.definition, posLoc, &hoverRange)) in findHover()
455 resultEnd, posLoc); in findHover()
461 if (isDefOrUse(block.definition, posLoc, &hoverRange)) in findHover()
465 if (!isDefOrUse(arg.value(), posLoc, &hoverRange)) in findHover()
512 SMLoc posLoc) { in buildHoverForOperationResult() argument
521 if (Optional<unsigned> resultNumber = getResultNumberFromLoc(posLoc)) { in buildHoverForOperationResult()
787 SMLoc posLoc = completePos.getAsSMLoc(sourceMgr); in getCodeCompletion() local
788 if (!posLoc.isValid()) in getCodeCompletion()
796 LSPCodeCompleteContext lspCompleteContext(posLoc, completionList, in getCodeCompletion()