LLVM 22.0.0git
llvm::MDNodeKeyImpl< MDTuple > Struct Reference

DenseMapInfo for MDTuple. More...

#include "IR/LLVMContextImpl.h"

Inheritance diagram for llvm::MDNodeKeyImpl< MDTuple >:
[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 298 of file LLVMContextImpl.h.

Constructor & Destructor Documentation

◆ MDNodeKeyImpl() [1/2]

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

Definition at line 299 of file LLVMContextImpl.h.

References llvm::MDNodeOpsKey::MDNodeOpsKey().

◆ MDNodeKeyImpl() [2/2]

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

Definition at line 300 of file LLVMContextImpl.h.

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

Member Function Documentation

◆ calculateHash()

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

Definition at line 306 of file LLVMContextImpl.h.

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

◆ getHashValue()

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

Definition at line 304 of file LLVMContextImpl.h.

References llvm::MDNodeOpsKey::getHash().

◆ isKeyOf()

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

Definition at line 302 of file LLVMContextImpl.h.

References llvm::MDNodeOpsKey::compareOps(), and RHS.


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