|
MLIR 23.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 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>" |
|
inlinestatic |
Create an empty remark.
Definition at line 761 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 769 of file Remarks.h.
References mlir::Location::getAsOpaquePointer(), mlir::remark::detail::Remark::getCombinedCategoryName(), mlir::remark::detail::Remark::getLocation(), mlir::remark::detail::Remark::getRemarkKind(), and mlir::remark::detail::Remark::getRemarkName().
|
inlinestatic |
Helper to provide a static dummy context for sentinel keys.
Definition at line 755 of file Remarks.h.
Referenced by getEmptyKey().
|
inlinestatic |
|
staticconstexpr |
Definition at line 752 of file Remarks.h.
Referenced by getEmptyKey(), and isEqual().