MLIR
22.0.0git
|
Base class for MLIR remark emitting policies that is used to emit optimization remarks to the underlying remark streamer. More...
#include "mlir/IR/Remarks.h"
Public Member Functions | |
RemarkEmittingPolicyBase ()=default | |
virtual | ~RemarkEmittingPolicyBase ()=default |
void | initialize (ReportFn fn) |
virtual void | reportRemark (const Remark &remark)=0 |
virtual void | finalize ()=0 |
Protected Attributes | |
ReportFn | reportImpl |
Base class for MLIR remark emitting policies that is used to emit optimization remarks to the underlying remark streamer.
The derived classes should implement the reportRemark
method to provide the actual emitting implementation.
|
default |
|
virtualdefault |
|
pure virtual |
Implemented in mlir::remark::RemarkEmittingPolicyFinal, and mlir::remark::RemarkEmittingPolicyAll.
|
inline |
Definition at line 354 of file Remarks.h.
References reportImpl.
|
pure virtual |
Implemented in mlir::remark::RemarkEmittingPolicyFinal, and mlir::remark::RemarkEmittingPolicyAll.
|
protected |
Definition at line 348 of file Remarks.h.
Referenced by mlir::remark::RemarkEmittingPolicyFinal::finalize(), initialize(), and mlir::remark::RemarkEmittingPolicyAll::reportRemark().