|
MLIR 23.0.0git
|
A unique identifier for a remark, used to link related remarks together. More...
#include "mlir/IR/Remarks.h"
Public Member Functions | |
| RemarkId () | |
| RemarkId (uint64_t id) | |
| operator bool () const | |
| Check if this is a valid (non-zero) ID. | |
| uint64_t | getValue () const |
| Get the raw ID value. | |
| bool | operator== (const RemarkId &other) const |
| bool | operator!= (const RemarkId &other) const |
| void | print (llvm::raw_ostream &os) const |
| Print the ID. | |
A unique identifier for a remark, used to link related remarks together.
An invalid/empty ID has value 0.
|
inline |
Definition at line 38 of file Remarks.h.
Referenced by operator!=(), and operator==().
|
inlineexplicit |
|
inline |
Get the raw ID value.
Definition at line 45 of file Remarks.h.
Referenced by mlir::remark::detail::Remark::addRelatedRemark().
|
inlineexplicit |
Definition at line 48 of file Remarks.h.
References RemarkId().
Definition at line 47 of file Remarks.h.
References RemarkId().
|
inline |