llvm::FoldingSetNodeID

Folding set node identifier.

Synopsis

Declared in <llvm/ADT/FoldingSet.h>

class FoldingSetNodeID;

Member Functions

NameDescription
FoldingSetNodeID [constructor]Constructors
Add Profile x via FoldingSetTrait and add its bits to this node ID.
AddBoolean Add a boolean value to the profile bits as 0 or 1.
AddInteger AddInteger overloads
AddNodeID Append the profile bits from ID to this node ID.
AddPointer Add a pointer value to the profile bits.
AddString Add the length and contents of String to the profile bits.
ComputeHash Compute a strong hash value for this node ID, used to look up the node in FoldingSetBase. The hash value is not guaranteed to be deterministic across processes.
Intern Copy this node's data to a memory region allocated from the given allocator and return a FoldingSetNodeIDRef describing the interned data.
clear Clear the accumulated profile, allowing this FoldingSetNodeID object to be used to compute a new profile.
computeStableHash Compute a deterministic hash value across processes that is suitable for on-disk serialization.
operator== Return true if this node ID and RHS have identical profile bits.
operator!= Return true if this node ID and RHS have different profile bits.
operator< Less-than operators