MLIR  22.0.0git
Static Public Member Functions | Static Public Attributes | List of all members
llvm::DenseMapInfo< mlir::remark::detail::Remark > Struct Reference

#include "mlir/IR/Remarks.h"

Static Public Member Functions

static mlir::MLIRContextgetStaticDummyContext ()
 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>"
 

Detailed Description

Definition at line 595 of file Remarks.h.

Member Function Documentation

◆ getEmptyKey()

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.

◆ getHashValue()

static unsigned llvm::DenseMapInfo< mlir::remark::detail::Remark >::getHashValue ( const mlir::remark::detail::Remark remark)
inlinestatic

◆ getStaticDummyContext()

static mlir::MLIRContext* llvm::DenseMapInfo< mlir::remark::detail::Remark >::getStaticDummyContext ( )
inlinestatic

Helper to provide a static dummy context for sentinel keys.

Definition at line 600 of file Remarks.h.

◆ getTombstoneKey()

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.

◆ isEqual()

static bool llvm::DenseMapInfo< mlir::remark::detail::Remark >::isEqual ( const mlir::remark::detail::Remark lhs,
const mlir::remark::detail::Remark rhs 
)
inlinestatic

Member Data Documentation

◆ kEmptyKey

constexpr StringRef llvm::DenseMapInfo< mlir::remark::detail::Remark >::kEmptyKey = "<EMPTY_KEY>"
staticconstexpr

Definition at line 596 of file Remarks.h.

◆ kTombstoneKey

constexpr StringRef llvm::DenseMapInfo< mlir::remark::detail::Remark >::kTombstoneKey = "<TOMBSTONE_KEY>"
staticconstexpr

Definition at line 597 of file Remarks.h.


The documentation for this struct was generated from the following file: