Lines Matching refs:SMRange
39 static lsp::URIForFile getURIFromLoc(llvm::SourceMgr &mgr, SMRange loc, in getURIFromLoc()
55 static bool isMainFileLoc(llvm::SourceMgr &mgr, SMRange loc) { in isMainFileLoc()
60 static lsp::Location getLocationFromLoc(llvm::SourceMgr &mgr, SMRange range, in getLocationFromLoc()
68 static bool contains(SMRange range, SMLoc loc) { in contains()
184 SMRange getDefLoc() const { in getDefLoc()
195 std::vector<SMRange> references;
211 SMRange *overlappedRange = nullptr) const;
242 auto insertDeclRef = [&](PDLIndexSymbol *sym, SMRange refLoc, in initialize()
252 auto insertODSOpRef = [&](StringRef opName, SMRange refLoc) { in initialize()
286 SMRange *overlappedRange) const { in lookup()
292 *overlappedRange = SMRange(SMLoc::getFromPointer(it.start()), in lookup()
335 const SMRange &hoverRange);
337 const SMRange &hoverRange);
339 const SMRange &hoverRange);
341 const SMRange &hoverRange);
343 const SMRange &hoverRange);
347 const SMRange &hoverRange);
479 for (SMRange refLoc : symbol->references) in findReferencesOf()
507 SMRange hoverRange; in findHover()
520 const SMRange &hoverRange) { in findHover()
545 const SMRange &hoverRange) { in buildHoverForOpName()
557 const SMRange &hoverRange) { in buildHoverForVariable()
568 const SMRange &hoverRange) { in buildHoverForPattern()
592 const SMRange &hoverRange) { in buildHoverForCoreConstraint()
619 StringRef typeName, const T *decl, const SMRange &hoverRange) { in buildHoverForUserConstraintOrRewrite()
673 SMRange nameLoc = name ? name->getLoc() : patternDecl->getLoc(); in findDocumentSymbols()
674 SMRange bodyLoc(nameLoc.Start, patternDecl->getBody()->getLoc().End); in findDocumentSymbols()
681 SMRange nameLoc = cDecl->getName().getLoc(); in findDocumentSymbols()
682 SMRange bodyLoc = nameLoc; in findDocumentSymbols()
689 SMRange nameLoc = cDecl->getName().getLoc(); in findDocumentSymbols()
690 SMRange bodyLoc = nameLoc; in findDocumentSymbols()
1223 SMRange rangeLoc = range.getAsSMRange(sourceMgr); in getInlayHints()
1227 SMRange loc = node->getLoc(); in getInlayHints()