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. More... | |
static mlir::remark::detail::Remark | getEmptyKey () |
Create an empty remark. More... | |
static mlir::remark::detail::Remark | getTombstoneKey () |
Create a dead remark. More... | |
static unsigned | getHashValue (const mlir::remark::detail::Remark &remark) |
Compute the hash value of the remark. More... | |
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 mlir::get(), 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(), mlir::remark::detail::Remark::getRemarkName(), and mlir::spirv::hash_value().
|
inlinestatic |
|
inlinestatic |
Create a dead remark.
Definition at line 614 of file Remarks.h.
References mlir::get(), mlir::remark::RemarkOpts::name(), mlir::Note, and mlir::remark::RemarkUnknown.
|
inlinestatic |
Definition at line 629 of file Remarks.h.
References mlir::remark::detail::Remark::getCombinedCategoryName(), mlir::remark::detail::Remark::getLocation(), and mlir::remark::detail::Remark::getRemarkName().
|
staticconstexpr |
|
staticconstexpr |