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

DenseMapInfo for MDTuple. More...

#include "IR/LLVMContextImpl.h"

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

Public Member Functions

 MDNodeKeyImpl (ArrayRef< Metadata * > Ops)
 
 MDNodeKeyImpl (const MDTuple *N)
 
bool isKeyOf (const MDTuple *RHS) const
 
unsigned getHashValue () const
 
- Public Member Functions inherited from llvm::MDNodeOpsKey
unsigned getHash () const
 

Static Public Member Functions

static unsigned calculateHash (MDTuple *N)
 

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 MDTuple.

Note that we don't need the is-function-local bit, since that's implicit in the operands.

Definition at line 302 of file LLVMContextImpl.h.

Constructor & Destructor Documentation

◆ MDNodeKeyImpl() [1/2]

llvm::MDNodeKeyImpl< MDTuple >::MDNodeKeyImpl ( ArrayRef< Metadata * >  Ops)
inline

Definition at line 303 of file LLVMContextImpl.h.

◆ MDNodeKeyImpl() [2/2]

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

Definition at line 304 of file LLVMContextImpl.h.

Member Function Documentation

◆ calculateHash()

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

Definition at line 310 of file LLVMContextImpl.h.

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

◆ getHashValue()

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

Definition at line 308 of file LLVMContextImpl.h.

◆ isKeyOf()

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

Definition at line 306 of file LLVMContextImpl.h.

References RHS.


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