MLIR 23.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 unsigned getHashValue (const mlir::remark::detail::Remark &remark)
 Create an empty 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>"

Detailed Description

Definition at line 751 of file Remarks.h.

Member Function Documentation

◆ 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 755 of file Remarks.h.

◆ isEqual()

Definition at line 770 of file Remarks.h.

References kEmptyKey, lhs, and rhs.

Member Data Documentation

◆ kEmptyKey

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

Definition at line 752 of file Remarks.h.

Referenced by isEqual().


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