LLVM 22.0.0git
llvm::MDNodeInfo< NodeTy > Struct Template Reference

DenseMapInfo for MDNode subclasses. More...

#include "IR/LLVMContextImpl.h"

Public Types

using KeyTy = MDNodeKeyImpl<NodeTy>
using SubsetEqualTy = MDNodeSubsetEqualImpl<NodeTy>

Static Public Member Functions

static NodeTy * getEmptyKey ()
static NodeTy * getTombstoneKey ()
static unsigned getHashValue (const KeyTy &Key)
static unsigned getHashValue (const NodeTy *N)
static bool isEqual (const KeyTy &LHS, const NodeTy *RHS)
static bool isEqual (const NodeTy *LHS, const NodeTy *RHS)

Detailed Description

template<class NodeTy>
struct llvm::MDNodeInfo< NodeTy >

DenseMapInfo for MDNode subclasses.

Definition at line 1530 of file LLVMContextImpl.h.

Member Typedef Documentation

◆ KeyTy

template<class NodeTy>
using llvm::MDNodeInfo< NodeTy >::KeyTy = MDNodeKeyImpl<NodeTy>

Definition at line 1531 of file LLVMContextImpl.h.

◆ SubsetEqualTy

template<class NodeTy>
using llvm::MDNodeInfo< NodeTy >::SubsetEqualTy = MDNodeSubsetEqualImpl<NodeTy>

Definition at line 1532 of file LLVMContextImpl.h.

Member Function Documentation

◆ getEmptyKey()

template<class NodeTy>
NodeTy * llvm::MDNodeInfo< NodeTy >::getEmptyKey ( )
inlinestatic

Definition at line 1534 of file LLVMContextImpl.h.

Referenced by isEqual(), and isEqual().

◆ getHashValue() [1/2]

template<class NodeTy>
unsigned llvm::MDNodeInfo< NodeTy >::getHashValue ( const KeyTy & Key)
inlinestatic

◆ getHashValue() [2/2]

template<class NodeTy>
unsigned llvm::MDNodeInfo< NodeTy >::getHashValue ( const NodeTy * N)
inlinestatic

Definition at line 1544 of file LLVMContextImpl.h.

References N.

◆ getTombstoneKey()

template<class NodeTy>
NodeTy * llvm::MDNodeInfo< NodeTy >::getTombstoneKey ( )
inlinestatic

Definition at line 1538 of file LLVMContextImpl.h.

Referenced by isEqual(), and isEqual().

◆ isEqual() [1/2]

template<class NodeTy>
bool llvm::MDNodeInfo< NodeTy >::isEqual ( const KeyTy & LHS,
const NodeTy * RHS )
inlinestatic

◆ isEqual() [2/2]

template<class NodeTy>
bool llvm::MDNodeInfo< NodeTy >::isEqual ( const NodeTy * LHS,
const NodeTy * RHS )
inlinestatic

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