MLIR 22.0.0git
llvm::DenseMapInfo< mlir::remark::detail::Remark > Struct Reference

#include "mlir/IR/Remarks.h"

Inheritance diagram for llvm::DenseMapInfo< mlir::remark::detail::Remark >:

Static Public Member Functions

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

Detailed Description

Definition at line 595 of file Remarks.h.

Member Function Documentation

◆ getEmptyKey()

◆ getHashValue()

◆ getStaticDummyContext()

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.

Referenced by getEmptyKey(), and getTombstoneKey().

◆ getTombstoneKey()

◆ isEqual()

Definition at line 629 of file Remarks.h.

References kEmptyKey, kTombstoneKey, lhs, and rhs.

Member Data Documentation

◆ kEmptyKey

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

Definition at line 596 of file Remarks.h.

Referenced by getEmptyKey(), and isEqual().

◆ kTombstoneKey

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

Definition at line 597 of file Remarks.h.

Referenced by getTombstoneKey(), and isEqual().


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