MLIR  22.0.0git
Classes | Namespaces | Functions
RemarkStreamer.h File Reference
#include "mlir/IR/Remarks.h"
#include "llvm/Remarks/RemarkStreamer.h"
#include "llvm/Support/ToolOutputFile.h"

Go to the source code of this file.

Classes

class  mlir::remark::detail::LLVMRemarkStreamer
 Concrete streamer that writes LLVM optimization remarks to a file (YAML or Bitstream). More...
 

Namespaces

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

Functions

LogicalResult mlir::remark::enableOptimizationRemarksWithLLVMStreamer (MLIRContext &ctx, StringRef filePath, llvm::remarks::Format fmt, const RemarkCategories &cat, bool printAsEmitRemarks=false)
 Enable optimization remarks to a file with the given path and format. More...