Home
last modified time | relevance | path

Searched refs:diagEngine (Results 1 – 6 of 6) sorted by relevance

/llvm-project/mlir/lib/Tools/PDLL/Parser/
H A DLexer.cpp74 Lexer::Lexer(llvm::SourceMgr &mgr, ast::DiagnosticEngine &diagEngine, in Lexer() argument
76 : srcMgr(mgr), diagEngine(diagEngine), addedHandlerToDiagEngine(false), in Lexer()
90 if (!diagEngine.getHandlerFn()) { in Lexer()
91 diagEngine.setHandlerFn([&](const ast::Diagnostic &diag) { in Lexer()
104 diagEngine.setHandlerFn(nullptr); in ~Lexer()
121 diagEngine.emitError(loc, msg); in emitError()
126 diagEngine.emitError(loc, msg)->attachNote(note, noteLoc); in emitErrorAndNote()
H A DLexer.h167 Lexer(llvm::SourceMgr &mgr, ast::DiagnosticEngine &diagEngine,
175 ast::DiagnosticEngine &getDiagEngine() { return diagEngine; } in getDiagEngine()
216 ast::DiagnosticEngine &diagEngine; variable
/llvm-project/mlir/include/mlir/Tools/PDLL/AST/
H A DContext.h42 DiagnosticEngine &getDiagEngine() { return diagEngine; } in getDiagEngine()
46 DiagnosticEngine diagEngine;
/llvm-project/mlir/include/mlir/IR/
H A DDiagnostics.h536 auto &diagEngine = ctx->getDiagEngine();
538 diagEngine.eraseHandler(handlerID);
539 handlerID = diagEngine.registerHandler(std::forward<FuncTy>(handler));
529 auto &diagEngine = ctx->getDiagEngine(); setHandler() local
/llvm-project/mlir/lib/IR/
H A DDiagnostics.cpp308 auto &diagEngine = ctx->getDiagEngine(); in emitDiag() local
309 auto diag = diagEngine.emit(location, severity); in emitDiag()
H A DMLIRContext.cpp137 DiagnosticEngine diagEngine; member in mlir::MLIRContextImpl
391 DiagnosticEngine &MLIRContext::getDiagEngine() { return getImpl().diagEngine; } in executeActionInternal()