LLVM API Documentation

Public Member Functions | Protected Member Functions
llvm::FastFoldingSetNode Class Reference

#include <FoldingSet.h>

Inheritance diagram for llvm::FastFoldingSetNode:
Inheritance graph
[legend]
Collaboration diagram for llvm::FastFoldingSetNode:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void Profile (FoldingSetNodeID &ID) const

Protected Member Functions

 FastFoldingSetNode (const FoldingSetNodeID &ID)

Detailed 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.

Definition at line 779 of file FoldingSet.h.


Constructor & Destructor Documentation

llvm::FastFoldingSetNode::FastFoldingSetNode ( const FoldingSetNodeID ID) [inline, explicit, protected]

Definition at line 782 of file FoldingSet.h.


Member Function Documentation

void llvm::FastFoldingSetNode::Profile ( FoldingSetNodeID ID) const [inline]

Definition at line 784 of file FoldingSet.h.

References llvm::FoldingSetNodeID::AddNodeID().


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