|
MLIR 23.0.0git
|
Policy that emits final remarks. More...
#include "mlir/IR/Remarks.h"
Public Member Functions | |
| RemarkEmittingPolicyFinal () | |
| void | reportRemark (const detail::Remark &remark) override |
| void | finalize () override |
| Emits all stored remarks. | |
| Public Member Functions inherited from mlir::remark::detail::RemarkEmittingPolicyBase | |
| RemarkEmittingPolicyBase ()=default | |
| virtual | ~RemarkEmittingPolicyBase ()=default |
| void | initialize (ReportFn fn) |
| virtual SmallVector< RemarkId > | findRemarks (const RemarkOpts &opts, std::optional< RemarkKind > kind=std::nullopt) const |
| Find previously reported remarks matching the given criteria. | |
Additional Inherited Members | |
| Protected Attributes inherited from mlir::remark::detail::RemarkEmittingPolicyBase | |
| ReportFn | reportImpl |
Policy that emits final remarks.
Stores all remarks until finalize(), which enables query-based linking via findRemarks().
|
default |
|
overridevirtual |
Emits all stored remarks.
Related remarks are printed as nested notes under the remark that references them.
Implements mlir::remark::detail::RemarkEmittingPolicyBase.
Definition at line 351 of file Remarks.cpp.
References mlir::remark::detail::RemarkEmittingPolicyBase::reportImpl.
|
inlineoverridevirtual |
Implements mlir::remark::detail::RemarkEmittingPolicyBase.