14#ifndef MLIR_REMARK_LLVMREMARKIMPORT_H
15#define MLIR_REMARK_LLVMREMARKIMPORT_H
19#include "llvm/ADT/StringMap.h"
20#include "llvm/IR/DiagnosticHandler.h"
21#include "llvm/Remarks/RemarkFormat.h"
41 llvm::remarks::Format format);
58 using llvm::DiagnosticHandler::isAnyRemarkEnabled;
64 llvm::StringMap<Location> functionLocations;
static std::string diag(const llvm::Value &value)
Operation is the basic unit of execution within MLIR.
bool isMissedOptRemarkEnabled(StringRef passName) const override
bool isAnyRemarkEnabled() const override
bool isAnalysisRemarkEnabled(StringRef passName) const override
bool handleDiagnostics(const llvm::DiagnosticInfo &diag) override
LLVMToMLIRDiagnosticHandler(Operation *anchor)
bool isPassedOptRemarkEnabled(StringRef passName) const override
Include the generated interface declarations.