LLVM  6.0.0svn
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 1062 of file LLVMContextImpl.h.

Member Typedef Documentation

◆ KeyTy

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

Definition at line 1063 of file LLVMContextImpl.h.

◆ SubsetEqualTy

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

Definition at line 1064 of file LLVMContextImpl.h.

Member Function Documentation

◆ getEmptyKey()

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

Definition at line 1066 of file LLVMContextImpl.h.

◆ getHashValue() [1/2]

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

Definition at line 1074 of file LLVMContextImpl.h.

◆ getHashValue() [2/2]

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

Definition at line 1076 of file LLVMContextImpl.h.

◆ getTombstoneKey()

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

Definition at line 1070 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: