MLIR  22.0.0git
Public Member Functions | List of all members
mlir::remark::detail::MLIRRemarkStreamerBase Class Referenceabstract

Base class for MLIR remark streamers that is used to stream optimization remarks to the underlying remark streamer. More...

#include "mlir/IR/Remarks.h"

+ Inheritance diagram for mlir::remark::detail::MLIRRemarkStreamerBase:

Public Member Functions

virtual ~MLIRRemarkStreamerBase ()=default
 
virtual void streamOptimizationRemark (const Remark &remark)=0
 Stream an optimization remark to the underlying remark streamer. More...
 
virtual void finalize ()
 

Detailed Description

Base class for MLIR remark streamers that is used to stream optimization remarks to the underlying remark streamer.

The derived classes should implement the streamOptimizationRemark method to provide the actual streaming implementation.

Definition at line 328 of file Remarks.h.

Constructor & Destructor Documentation

◆ ~MLIRRemarkStreamerBase()

virtual mlir::remark::detail::MLIRRemarkStreamerBase::~MLIRRemarkStreamerBase ( )
virtualdefault

Member Function Documentation

◆ finalize()

virtual void mlir::remark::detail::MLIRRemarkStreamerBase::finalize ( )
inlinevirtual

Reimplemented in mlir::remark::detail::LLVMRemarkStreamer.

Definition at line 338 of file Remarks.h.

◆ streamOptimizationRemark()

virtual void mlir::remark::detail::MLIRRemarkStreamerBase::streamOptimizationRemark ( const Remark remark)
pure virtual

Stream an optimization remark to the underlying remark streamer.

It is called by the RemarkEngine to stream the optimization remarks.

It must be overridden by the derived classes to provide the actual streaming implementation.

Implemented in mlir::remark::detail::LLVMRemarkStreamer.


The documentation for this class was generated from the following file: