LLVM  8.0.1
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 1113 of file LLVMContextImpl.h.

Member Typedef Documentation

◆ KeyTy

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

Definition at line 1114 of file LLVMContextImpl.h.

◆ SubsetEqualTy

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

Definition at line 1115 of file LLVMContextImpl.h.

Member Function Documentation

◆ getEmptyKey()

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

Definition at line 1117 of file LLVMContextImpl.h.

◆ getHashValue() [1/2]

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

Definition at line 1125 of file LLVMContextImpl.h.

◆ getHashValue() [2/2]

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

Definition at line 1127 of file LLVMContextImpl.h.

◆ getTombstoneKey()

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

Definition at line 1121 of file LLVMContextImpl.h.

◆ 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: