llvm::DefaultContextualFoldingSetTrait

Like DefaultFoldingSetTrait, but for ContextualFoldingSets.

Synopsis

Declared in <llvm/ADT/FoldingSet.h>

template<
    typename T,
    typename Ctx>
struct DefaultContextualFoldingSetTrait;

Types

NameDescription
ContextStorage Holds the fixed context passed to Profile, Equals, and ComputeHash.

Static Member Functions

NameDescription
ComputeHash Compute a hash value for X under Context.
Equals Return whether X's profile matches ID under Context.
Profile Gather the unique data bits of X into ID, using Context.

Derived Classes

NameDescription
ContextualFoldingSetTrait Like FoldingSetTrait, but for ContextualFoldingSets.