|
MLIR 24.0.0git
|
Policy that emits only the last remark reported for each identity, see DenseMapInfo<Remark>. More...
#include "mlir/IR/Remarks.h"
Public Member Functions | |
| RemarkEmittingPolicyFinal () | |
| void | reportRemark (const detail::Remark &remark) override |
| void | finalize () override |
| Emits and drains 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 only the last remark reported for each identity, see DenseMapInfo<Remark>.
Remarks are stored until finalize().
|
default |
|
overridevirtual |
Emits and drains all stored remarks.
Related remarks are printed right after the remark that references them; a link only resolves when both remarks are in the same call. A later call emits only remarks reported since this one.
Implements mlir::remark::detail::RemarkEmittingPolicyBase.
Definition at line 368 of file Remarks.cpp.
References mlir::remark::detail::RemarkEmittingPolicyBase::reportImpl.
|
inlineoverridevirtual |
Implements mlir::remark::detail::RemarkEmittingPolicyBase.