MLIR 22.0.0git
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

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

Functions

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