|
MLIR 24.0.0git
|
Options to create a Remark. More...
#include "mlir/IR/Remarks.h"
Public Member Functions | |
| RemarkOpts | category (StringRef v) const |
| Return a copy with the category set. | |
| RemarkOpts | subCategory (StringRef v) const |
| Return a copy with the subcategory set. | |
| RemarkOpts | function (StringRef v) const |
| Return a copy with the function name set. | |
| RemarkOpts | relatedTo (RemarkId id) const |
| Link this remark to a previously emitted remark by explicit ID. | |
| RemarkOpts | relatedTo (const detail::InFlightRemark &r) const |
| Link this remark to a related remark that is still in flight. | |
Static Public Member Functions | |
| static RemarkOpts | name (StringRef n) |
Public Attributes | |
| StringRef | remarkName |
| StringRef | categoryName |
| StringRef | subCategoryName |
| StringRef | functionName |
| RemarkId | relatedId |
| Link to a related remark by explicit ID. | |
|
inline |
Return a copy with the category set.
Definition at line 112 of file Remarks.h.
References copy().
Referenced by emitImportedRemark().
|
inline |
Return a copy with the function name set.
Definition at line 124 of file Remarks.h.
References copy().
Referenced by emitImportedRemark().
|
inlinestatic |
Definition at line 105 of file Remarks.h.
References remarkName.
Referenced by emitImportedRemark(), and mlir::acc::emitRemark().
|
inline |
Link this remark to a related remark that is still in flight.
Extracts the ID from the InFlightRemark.
Definition at line 646 of file Remarks.h.
References mlir::remark::detail::InFlightRemark::getId(), and relatedTo().
|
inline |
Link this remark to a previously emitted remark by explicit ID.
Definition at line 131 of file Remarks.h.
References copy().
Referenced by relatedTo().
|
inline |
| RemarkId mlir::remark::RemarkOpts::relatedId |
Link to a related remark by explicit ID.
Definition at line 102 of file Remarks.h.
Referenced by mlir::remark::detail::Remark::Remark().
| StringRef mlir::remark::RemarkOpts::remarkName |