Lines Matching refs:PDLIndexSymbol
177 struct PDLIndexSymbol { struct
178 explicit PDLIndexSymbol(const ast::Decl *definition) in PDLIndexSymbol() argument
180 explicit PDLIndexSymbol(const ods::Operation *definition) in PDLIndexSymbol() function
210 const PDLIndexSymbol *lookup(SMLoc loc,
217 llvm::IntervalMap<const char *, const PDLIndexSymbol *,
219 const char *, const PDLIndexSymbol *>::LeafSize,
230 DenseMap<const void *, std::unique_ptr<PDLIndexSymbol>> defToSymbol;
236 auto getOrInsertDef = [&](const auto *def) -> PDLIndexSymbol * { in initialize()
239 it.first->second = std::make_unique<PDLIndexSymbol>(def); in initialize()
242 auto insertDeclRef = [&](PDLIndexSymbol *sym, SMRange refLoc, in initialize()
257 PDLIndexSymbol *symbol = getOrInsertDef(odsOp); in initialize()
271 PDLIndexSymbol *declSym = getOrInsertDef(decl); in initialize()
285 const PDLIndexSymbol *PDLIndex::lookup(SMLoc loc, in lookup()
463 const PDLIndexSymbol *symbol = index.lookup(posLoc); in getLocationsOf()
474 const PDLIndexSymbol *symbol = index.lookup(posLoc); in findReferencesOf()
508 const PDLIndexSymbol *symbol = index.lookup(posLoc, &hoverRange); in findHover()