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

DenseMapInfo for GenericDINode. More...

#include "IR/LLVMContextImpl.h"

Inheritance diagram for llvm::MDNodeKeyImpl< GenericDINode >:
Inheritance 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

DenseMapInfo for GenericDINode.

Definition at line 343 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 347 of file LLVMContextImpl.h.

◆ MDNodeKeyImpl() [2/2]

llvm::MDNodeKeyImpl< GenericDINode >::MDNodeKeyImpl ( const GenericDINode N)
inline

Definition at line 349 of file LLVMContextImpl.h.

Member Function Documentation

◆ calculateHash()

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

Definition at line 359 of file LLVMContextImpl.h.

References llvm::MDNodeOpsKey::calculateHash(), and N.

◆ getHashValue()

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

Definition at line 357 of file LLVMContextImpl.h.

References llvm::hash_combine().

◆ isKeyOf()

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

Definition at line 352 of file LLVMContextImpl.h.

References RHS.

Member Data Documentation

◆ Header

Definition at line 345 of file LLVMContextImpl.h.

◆ Tag

Definition at line 344 of file LLVMContextImpl.h.


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