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

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)

Definition at line 303 of file LLVMContextImpl.h.

◆ MDNodeKeyImpl() [2/2]

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

Definition at line 304 of file LLVMContextImpl.h.

Member Function Documentation

◆ calculateHash()

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

Definition at line 310 of file LLVMContextImpl.h.

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

◆ getHashValue()

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

Definition at line 308 of file LLVMContextImpl.h.

◆ isKeyOf()

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

Definition at line 306 of file LLVMContextImpl.h.

References RHS.

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