struct FoldingSetBase::FoldingSetInfo
Declaration
struct FoldingSetBase::FoldingSetInfo { /* full declaration omitted */ };
Description
Functions provided by the derived class to compute folding properties. This is effectively a vtable for FoldingSetBase, except that we don't actually store a pointer to it in the object.
Declared at: llvm/include/llvm/ADT/FoldingSet.h:170
Member Variables
- public void (*)(const llvm::FoldingSetBase*, llvm::FoldingSetBase::Node*, llvm::FoldingSetNodeID&) GetNodeProfile
- GetNodeProfile - Instantiations of the FoldingSet template implement this function to gather data bits for the given node.
- public bool (*)(const llvm::FoldingSetBase*, llvm::FoldingSetBase::Node*, const llvm::FoldingSetNodeID&, unsigned int, llvm::FoldingSetNodeID&) NodeEquals
- NodeEquals - Instantiations of the FoldingSet template implement this function to compare the given node with the given ID.
- public unsigned int (*)(const llvm::FoldingSetBase*, llvm::FoldingSetBase::Node*, llvm::FoldingSetNodeID&) ComputeNodeHash
- ComputeNodeHash - Instantiations of the FoldingSet template implement this function to compute a hash value for the given node.