|
LLVM
4.0.0
|
Structure for hashing arbitrary MDNode operands. More...
#include <LLVMContextImpl.h>
Public Member Functions | |
| unsigned | getHash () const |
Protected Member Functions | |
| 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 | |
| static unsigned | calculateHash (MDNode *N, unsigned Offset=0) |
Structure for hashing arbitrary MDNode operands.
Definition at line 174 of file LLVMContextImpl.h.
Definition at line 181 of file LLVMContextImpl.h.
|
inlineprotected |
Definition at line 185 of file LLVMContextImpl.h.
Definition at line 183 of file LLVMContextImpl.cpp.
References assert(), llvm::hash_combine_range(), Offset, llvm::MDNode::op_begin(), and llvm::MDNode::op_end().
Referenced by llvm::MDNodeKeyImpl< MDTuple >::calculateHash(), and llvm::MDNodeKeyImpl< GenericDINode >::calculateHash().
|
inlineprotected |
Definition at line 189 of file LLVMContextImpl.h.
|
inline |
Definition at line 211 of file LLVMContextImpl.h.
Referenced by compareOps().
1.8.6