LLVM 22.0.0git
llvm::DenseMapInfo< T * > Struct Template Reference

#include "llvm/ADT/DenseMapInfo.h"

Inheritance diagram for llvm::DenseMapInfo< T * >:
[legend]

Static Public Member Functions

static constexpr TgetEmptyKey ()
static constexpr TgetTombstoneKey ()
static unsigned getHashValue (const T *PtrVal)
static bool isEqual (const T *LHS, const T *RHS)

Static Public Attributes

static constexpr uintptr_t Log2MaxAlign = 12

Detailed Description

template<typename T>
struct llvm::DenseMapInfo< T * >

Definition at line 67 of file DenseMapInfo.h.

Member Function Documentation

◆ getEmptyKey()

template<typename T>
constexpr T * llvm::DenseMapInfo< T * >::getEmptyKey ( )
inlinestaticconstexpr

Definition at line 74 of file DenseMapInfo.h.

References Log2MaxAlign, and T.

◆ getHashValue()

template<typename T>
unsigned llvm::DenseMapInfo< T * >::getHashValue ( const T * PtrVal)
inlinestatic

Definition at line 86 of file DenseMapInfo.h.

References T.

◆ getTombstoneKey()

template<typename T>
constexpr T * llvm::DenseMapInfo< T * >::getTombstoneKey ( )
inlinestaticconstexpr

Definition at line 80 of file DenseMapInfo.h.

References Log2MaxAlign, and T.

◆ isEqual()

template<typename T>
bool llvm::DenseMapInfo< T * >::isEqual ( const T * LHS,
const T * RHS )
inlinestatic

Definition at line 91 of file DenseMapInfo.h.

References LHS, RHS, and T.

Member Data Documentation

◆ Log2MaxAlign

template<typename T>
uintptr_t llvm::DenseMapInfo< T * >::Log2MaxAlign = 12
staticconstexpr

Definition at line 72 of file DenseMapInfo.h.

Referenced by getEmptyKey(), and getTombstoneKey().


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