MLIR 24.0.0git
LLVMRemarkImport.h File Reference
#include "mlir/IR/Location.h"
#include "mlir/IR/Remarks.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/IR/DiagnosticHandler.h"
#include "llvm/Remarks/RemarkFormat.h"

Go to the source code of this file.

Classes

class  mlir::remark::LLVMToMLIRDiagnosticHandler
 Diagnostic handler forwarding LLVM diagnostics to MLIR. More...

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::remark

Functions

LogicalResult mlir::remark::importLLVMRemarks (Operation *anchor, StringRef buffer, llvm::remarks::Format format)
 Parses buffer, a serialized LLVM remark file, and reports its remarks into the remark engine of the context of anchor, the operation the remarks refer to.

Variables

constexpr llvm::StringLiteral mlir::remark::llvmRemarkCategoryPrefix = "llvm-"
 Prefix of the category of remarks imported from LLVM.