|
MLIR 22.0.0git
|
#include "mlir/IR/Remarks.h"
Static Public Member Functions | |
| static mlir::MLIRContext * | getStaticDummyContext () |
| Helper to provide a static dummy context for sentinel keys. | |
| static mlir::remark::detail::Remark | getEmptyKey () |
| Create an empty remark. | |
| static mlir::remark::detail::Remark | getTombstoneKey () |
| Create a dead remark. | |
| static unsigned | getHashValue (const mlir::remark::detail::Remark &remark) |
| Compute the hash value of the remark. | |
| static bool | isEqual (const mlir::remark::detail::Remark &lhs, const mlir::remark::detail::Remark &rhs) |
Static Public Attributes | |
| static constexpr StringRef | kEmptyKey = "<EMPTY_KEY>" |
| static constexpr StringRef | kTombstoneKey = "<TOMBSTONE_KEY>" |
|
inlinestatic |
Create an empty remark.
Definition at line 606 of file Remarks.h.
References getStaticDummyContext(), kEmptyKey, mlir::remark::RemarkOpts::name(), mlir::Note, and mlir::remark::RemarkUnknown.
|
inlinestatic |
Compute the hash value of the remark.
Definition at line 622 of file Remarks.h.
References mlir::Location::getAsOpaquePointer(), mlir::remark::detail::Remark::getCombinedCategoryName(), mlir::remark::detail::Remark::getLocation(), and mlir::remark::detail::Remark::getRemarkName().
|
inlinestatic |
Helper to provide a static dummy context for sentinel keys.
Definition at line 600 of file Remarks.h.
Referenced by getEmptyKey(), and getTombstoneKey().
|
inlinestatic |
Create a dead remark.
Definition at line 614 of file Remarks.h.
References getStaticDummyContext(), kTombstoneKey, mlir::remark::RemarkOpts::name(), mlir::Note, and mlir::remark::RemarkUnknown.
|
inlinestatic |
|
staticconstexpr |
Definition at line 596 of file Remarks.h.
Referenced by getEmptyKey(), and isEqual().
|
staticconstexpr |
Definition at line 597 of file Remarks.h.
Referenced by getTombstoneKey(), and isEqual().