LLVM 19.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

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

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 342 of file LLVMContextImpl.h.

Constructor & Destructor Documentation

◆ MDNodeKeyImpl() [1/2]

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

Definition at line 346 of file LLVMContextImpl.h.

◆ MDNodeKeyImpl() [2/2]

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

Definition at line 348 of file LLVMContextImpl.h.

Member Function Documentation

◆ calculateHash()

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

Definition at line 358 of file LLVMContextImpl.h.

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

◆ getHashValue()

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

Definition at line 356 of file LLVMContextImpl.h.

References llvm::hash_combine().

◆ isKeyOf()

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

Definition at line 351 of file LLVMContextImpl.h.

References RHS.

Member Data Documentation

◆ Header

Definition at line 344 of file LLVMContextImpl.h.

◆ Tag

Definition at line 343 of file LLVMContextImpl.h.

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