Home
last modified time | relevance | path

Searched refs:bufferId (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Tools/tblgen-lsp-server/
H A DTableGenServer.cpp32 int bufferId = mgr.FindBufferContainingLoc(loc); in getURIFromLoc() local
33 if (bufferId == 0 || bufferId == static_cast<int>(mgr.getMainFileID())) in getURIFromLoc()
36 mgr.getBufferInfo(bufferId).Buffer->getBufferIdentifier()); in getURIFromLoc()
/llvm-project-15.0.7/mlir/lib/Tools/mlir-pdll-lsp-server/
H A DPDLLServer.cpp41 int bufferId = mgr.FindBufferContainingLoc(loc.Start); in getURIFromLoc() local
42 if (bufferId == 0 || bufferId == static_cast<int>(mgr.getMainFileID())) in getURIFromLoc()
45 mgr.getBufferInfo(bufferId).Buffer->getBufferIdentifier()); in getURIFromLoc()
135 int bufferId = sourceMgr.FindBufferContainingLoc(startLoc); in getDocumentationFor() local
136 if (bufferId == 0) in getDocumentationFor()
139 sourceMgr.getMemoryBuffer(bufferId)->getBufferStart(); in getDocumentationFor()
/llvm-project-15.0.7/mlir/lib/IR/
H A DDiagnostics.cpp580 unsigned bufferId = impl->getSourceMgrBufferIDForFile(mgr, loc.getFilename()); in convertLocToSMLoc() local
581 if (!bufferId) in convertLocToSMLoc()
583 return mgr.FindLocForLineAndColumn(bufferId, loc.getLine(), loc.getColumn()); in convertLocToSMLoc()