LLVM  8.0.1
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
llvm::MDNodeKeyImpl< GenericDINode > Struct Template Reference

DenseMapInfo for GenericDINode. More...

#include "IR/LLVMContextImpl.h"

Inheritance diagram for llvm::MDNodeKeyImpl< GenericDINode >:
Inheritance graph
[legend]
Collaboration diagram for llvm::MDNodeKeyImpl< GenericDINode >:
Collaboration graph
[legend]

Public Member Functions

 MDNodeKeyImpl (unsigned Tag, MDString *Header, ArrayRef< Metadata *> DwarfOps)
 
 MDNodeKeyImpl (const GenericDINode *N)
 
bool isKeyOf (const GenericDINode *RHS) const
 
unsigned getHashValue () const
 
- Public Member Functions inherited from llvm::MDNodeOpsKey
unsigned getHash () const
 

Static Public Member Functions

static unsigned calculateHash (GenericDINode *N)
 

Public Attributes

unsigned Tag
 
MDStringHeader
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::MDNodeOpsKey
 MDNodeOpsKey (ArrayRef< Metadata *> Ops)
 
template<class NodeTy >
 MDNodeOpsKey (const NodeTy *N, unsigned Offset=0)
 
template<class NodeTy >
bool compareOps (const NodeTy *RHS, unsigned Offset=0) const
 
- Static Protected Member Functions inherited from llvm::MDNodeOpsKey
static unsigned calculateHash (MDNode *N, unsigned Offset=0)
 

Detailed Description

template<>
struct llvm::MDNodeKeyImpl< GenericDINode >

DenseMapInfo for GenericDINode.

Definition at line 305 of file LLVMContextImpl.h.

Constructor & Destructor Documentation

◆ MDNodeKeyImpl() [1/2]

llvm::MDNodeKeyImpl< GenericDINode >::MDNodeKeyImpl ( unsigned  Tag,
MDString Header,
ArrayRef< Metadata *>  DwarfOps 
)
inline

Definition at line 309 of file LLVMContextImpl.h.

◆ MDNodeKeyImpl() [2/2]

Definition at line 311 of file LLVMContextImpl.h.

Member Function Documentation

◆ calculateHash()

static unsigned llvm::MDNodeKeyImpl< GenericDINode >::calculateHash ( GenericDINode N)
inlinestatic

Definition at line 321 of file LLVMContextImpl.h.

References llvm::MDNodeOpsKey::calculateHash().

◆ getHashValue()

unsigned llvm::MDNodeKeyImpl< GenericDINode >::getHashValue ( ) const
inline

Definition at line 319 of file LLVMContextImpl.h.

References llvm::hash_combine().

◆ isKeyOf()

bool llvm::MDNodeKeyImpl< GenericDINode >::isKeyOf ( const GenericDINode RHS) const
inline

Member Data Documentation

◆ Header

Definition at line 307 of file LLVMContextImpl.h.

◆ Tag

Definition at line 306 of file LLVMContextImpl.h.


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