struct MDNodeInfo

Declaration

template <class NodeTy>
struct MDNodeInfo { /* full declaration omitted */ };

Description

DenseMapInfo for MDNode subclasses.

Declared at: llvm/lib/IR/LLVMContextImpl.h:1267

Templates

NodeTy

Method Overview

  • public static inline NodeTy * getEmptyKey()
  • public static unsigned int getHashValue(const llvm::MDNodeInfo::KeyTy & Key)
  • public static unsigned int getHashValue(const NodeTy * N)
  • public static inline NodeTy * getTombstoneKey()
  • public static bool isEqual(const llvm::MDNodeInfo::KeyTy & LHS, const NodeTy * RHS)
  • public static bool isEqual(const NodeTy * LHS, const NodeTy * RHS)

Methods

static inline NodeTy* getEmptyKey()

Declared at: llvm/lib/IR/LLVMContextImpl.h:1271

static unsigned int getHashValue(
    const llvm::MDNodeInfo::KeyTy& Key)

Declared at: llvm/lib/IR/LLVMContextImpl.h:1279

Parameters

const llvm::MDNodeInfo::KeyTy& Key

static unsigned int getHashValue(const NodeTy* N)

Declared at: llvm/lib/IR/LLVMContextImpl.h:1281

Parameters

const NodeTy* N

static inline NodeTy* getTombstoneKey()

Declared at: llvm/lib/IR/LLVMContextImpl.h:1275

static bool isEqual(
    const llvm::MDNodeInfo::KeyTy& LHS,
    const NodeTy* RHS)

Declared at: llvm/lib/IR/LLVMContextImpl.h:1285

Parameters

const llvm::MDNodeInfo::KeyTy& LHS
const NodeTy* RHS

static bool isEqual(const NodeTy* LHS,
                    const NodeTy* RHS)

Declared at: llvm/lib/IR/LLVMContextImpl.h:1291

Parameters

const NodeTy* LHS
const NodeTy* RHS