class FastFoldingSetNode
Declaration
class FastFoldingSetNode : public Node { /* full declaration omitted */ };
Description
FastFoldingSetNode - This is a subclass of FoldingSetNode which stores a FoldingSetNodeID value rather than requiring the node to recompute it each time it is needed. This trades space for speed (which can be significant if the ID is long), and it also permits nodes to drop information that would otherwise only be required for recomputing an ID.
Declared at: llvm/include/llvm/ADT/FoldingSet.h:805
Inherits from: FoldingSetBase::Node
Member Variables
- private llvm::FoldingSetNodeID FastID
Method Overview
- protected FastFoldingSetNode(const llvm::FoldingSetNodeID & ID)
- public void Profile(llvm::FoldingSetNodeID & ID) const
Inherited from FoldingSetBase::Node:
Methods
¶FastFoldingSetNode(
const llvm::FoldingSetNodeID& ID)
FastFoldingSetNode(
const llvm::FoldingSetNodeID& ID)
Declared at: llvm/include/llvm/ADT/FoldingSet.h:809
Parameters
- const llvm::FoldingSetNodeID& ID
¶void Profile(llvm::FoldingSetNodeID& ID) const
void Profile(llvm::FoldingSetNodeID& ID) const
Declared at: llvm/include/llvm/ADT/FoldingSet.h:812