Home
last modified time | relevance | path

Searched refs:getOrInsertDef (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Tools/tblgen-lsp-server/
H A DTableGenServer.cpp160 auto getOrInsertDef = [&](const auto *def) -> TableGenIndexSymbol * { in initialize() local
199 auto *sym = getOrInsertDef(&def); in initialize()
208 insertRef(getOrInsertDef(it.first), in initialize()
213 auto *sym = getOrInsertDef(&value); in initialize()
/llvm-project-15.0.7/mlir/lib/Tools/mlir-pdll-lsp-server/
H A DPDLLServer.cpp236 auto getOrInsertDef = [&](const auto *def) -> PDLIndexSymbol * { in initialize() local
257 PDLIndexSymbol *symbol = getOrInsertDef(odsOp); in initialize()
271 PDLIndexSymbol *declSym = getOrInsertDef(decl); in initialize()
277 insertDeclRef(getOrInsertDef(it.constraint), it.referenceLoc); in initialize()
280 insertDeclRef(getOrInsertDef(expr->getDecl()), expr->getLoc()); in initialize()