LLVM 20.0.0git
Public Types | Static Public Member Functions | List of all members
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 1382 of file LLVMContextImpl.h.

Member Typedef Documentation

◆ KeyTy

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

Definition at line 1383 of file LLVMContextImpl.h.

◆ SubsetEqualTy

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

Definition at line 1384 of file LLVMContextImpl.h.

Member Function Documentation

◆ getEmptyKey()

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

Definition at line 1386 of file LLVMContextImpl.h.

Referenced by llvm::MDNodeInfo< NodeTy >::isEqual().

◆ getHashValue() [1/2]

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

Definition at line 1394 of file LLVMContextImpl.h.

◆ getHashValue() [2/2]

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

Definition at line 1396 of file LLVMContextImpl.h.

References N.

◆ getTombstoneKey()

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

Definition at line 1390 of file LLVMContextImpl.h.

Referenced by llvm::MDNodeInfo< NodeTy >::isEqual().

◆ isEqual() [1/2]

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

◆ isEqual() [2/2]

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

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