Default implementations for FoldingSetTrait operations on type T.

Synopsis

Declared in <llvm/ADT/FoldingSet.h>

template<typename T>
struct DefaultFoldingSetTrait;

Types

Name

Description

ContextStorage

Empty marker type when no folding‐set context is stored.

Static Member Functions

Name

Description

ComputeHash

Compute a hash value for X.

Equals

Return whether X's profile matches ID.

Profile

Gather the unique data bits of X into ID by calling X's Profile method.

Derived Classes

Name

Description

FoldingSetTrait<SCEV>

FoldingSetTrait specialization for SCEV using interned FastID.

FoldingSetTrait

Trait that defines how to profile an object of type T for a FoldingSet.

FoldingSetTrait<SDVTListNode>

Specialize FoldingSetTrait for SDVTListNode to avoid computing temp FoldingSetNodeID and hash value.

FoldingSetTrait<SCEVPredicate>

FoldingSetTrait specialization for SCEVPredicate using interned FastID.

Created with MrDocs