Home
last modified time | relevance | path

Searched refs:FindBufferContainingLoc (Results 1 – 22 of 22) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Support/
H A DSourceMgr.cpp69 unsigned SourceMgr::FindBufferContainingLoc(SMLoc Loc) const { in FindBufferContainingLoc() function in SourceMgr
190 BufferID = FindBufferContainingLoc(Loc); in getLineAndColumn()
214 auto BufferID = FindBufferContainingLoc(Loc); in getFormattedLocationNoOffset()
261 unsigned CurBuf = FindBufferContainingLoc(IncludeLoc); in PrintIncludeStack()
281 unsigned CurBuf = FindBufferContainingLoc(Loc); in GetMessage()
340 unsigned CurBuf = FindBufferContainingLoc(Diagnostic.getLoc()); in PrintMessage()
/llvm-project-15.0.7/mlir/lib/Tools/lsp-server-support/
H A DSourceMgrUtils.cpp87 if (!includeLoc.isValid() || sourceMgr.FindBufferContainingLoc( in gatherIncludeFiles()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DCTagsEmitter.cpp36 SrcMgr.getMemoryBuffer(SrcMgr.FindBufferContainingLoc(Location)); in Tag()
H A DDAGISelMatcherEmitter.cpp230 unsigned CurBuf = SrcMgr.FindBufferContainingLoc(L); in getIncludePath()
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A Dmlir-tblgen.cpp125 SrcMgr.FindBufferContainingLoc(jt.second->getLoc().front()); in warnOfDeprecatedUses()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineModuleInfo.cpp199 unsigned BufNum = SrcMgr.FindBufferContainingLoc(SMD.getLoc()); in getLocCookie()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DSourceMgr.h192 unsigned FindBufferContainingLoc(SMLoc Loc) const;
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/
H A DLexer.cpp186 curBufferID = srcMgr.FindBufferContainingLoc(parentIncludeLoc); in lexToken()
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/
H A DClangTidyOptionsTest.cpp151 Src->getMemoryBuffer(Src->FindBufferContainingLoc(Loc)) in posToOffset()
/llvm-project-15.0.7/llvm/lib/TableGen/
H A DTGLexer.cpp87 CurBuffer = SrcMgr.FindBufferContainingLoc(ParentIncludeLoc); in processEOF()
/llvm-project-15.0.7/mlir/lib/Tools/tblgen-lsp-server/
H A DTableGenServer.cpp32 int bufferId = mgr.FindBufferContainingLoc(loc); in getURIFromLoc()
/llvm-project-15.0.7/llvm/utils/FileCheck/
H A DFileCheck.cpp407 unsigned CheckBufferID = SM.FindBufferContainingLoc(DiagItr->CheckLoc); in BuildInputAnnotations()
/llvm-project-15.0.7/mlir/lib/Tools/mlir-pdll-lsp-server/
H A DPDLLServer.cpp41 int bufferId = mgr.FindBufferContainingLoc(loc.Start); in getURIFromLoc()
56 return mgr.FindBufferContainingLoc(loc.Start) == mgr.getMainFileID(); in isMainFileLoc()
135 int bufferId = sourceMgr.FindBufferContainingLoc(startLoc); in getDocumentationFor()
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/CodeGen/
H A DMLIRGen.cpp144 unsigned fileID = sourceMgr.FindBufferContainingLoc(loc); in genLoc()
/llvm-project-15.0.7/mlir/lib/TableGen/
H A DPattern.cpp694 unsigned buf = llvm::SrcMgr.FindBufferContainingLoc(loc); in getLocation()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseStmtAsm.cpp173 LSM.getMemoryBuffer(LSM.FindBufferContainingLoc(SMLoc)); in translateLocation()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DDiagnostics.cpp448 Result.InsideMainFile = D.getSourceMgr()->FindBufferContainingLoc( in toDiag()
/llvm-project-15.0.7/llvm/lib/MC/MCParser/
H A DDarwinAsmParser.cpp790 unsigned CurBuf = getSourceManager().FindBufferContainingLoc(IDLoc); in parseDirectiveSecureLogUnique()
H A DAsmParser.cpp901 CurBuffer = InBuffer ? InBuffer : SrcMgr.FindBufferContainingLoc(Loc); in jumpToLoc()
2453 unsigned DiagBuf = DiagSrcMgr.FindBufferContainingLoc(DiagLoc); in DiagHandler()
2455 Parser->SrcMgr.FindBufferContainingLoc(Parser->CppHashInfo.Loc); in DiagHandler()
2459 unsigned DiagCurBuffer = DiagSrcMgr.FindBufferContainingLoc(DiagLoc); in DiagHandler()
H A DMasmParser.cpp1159 CurBuffer = InBuffer ? InBuffer : SrcMgr.FindBufferContainingLoc(Loc); in jumpToLoc()
2796 unsigned DiagBuf = DiagSrcMgr.FindBufferContainingLoc(DiagLoc); in DiagHandler()
2798 Parser->SrcMgr.FindBufferContainingLoc(Parser->CppHashInfo.Loc); in DiagHandler()
2802 unsigned DiagCurBuffer = DiagSrcMgr.FindBufferContainingLoc(DiagLoc); in DiagHandler()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenAction.cpp479 LSM.getMemoryBuffer(LSM.FindBufferContainingLoc(D.getLoc())); in ConvertBackendLocation()
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCDwarf.cpp1223 unsigned CurBuffer = SrcMgr.FindBufferContainingLoc(Loc); in Make()