LLVM API Documentation
#include <FoldingSet.h>
Static Public Member Functions | |
static void | Profile (T &X, FoldingSetNodeID &ID, Ctx Context) |
static bool | Equals (T &X, const FoldingSetNodeID &ID, unsigned IDHash, FoldingSetNodeID &TempID, Ctx Context) |
static unsigned | ComputeHash (T &X, FoldingSetNodeID &TempID, Ctx Context) |
DefaultContextualFoldingSetTrait - Like DefaultFoldingSetTrait, but for ContextualFoldingSets.
Definition at line 247 of file FoldingSet.h.
unsigned llvm::DefaultContextualFoldingSetTrait< T, Ctx >::ComputeHash | ( | T & | X, |
FoldingSetNodeID & | TempID, | ||
Ctx | Context | ||
) | [inline, static] |
Definition at line 383 of file FoldingSet.h.
References llvm::FoldingSetNodeID::ComputeHash(), and llvm::DefaultContextualFoldingSetTrait< T, Ctx >::Profile().
bool llvm::DefaultContextualFoldingSetTrait< T, Ctx >::Equals | ( | T & | X, |
const FoldingSetNodeID & | ID, | ||
unsigned | IDHash, | ||
FoldingSetNodeID & | TempID, | ||
Ctx | Context | ||
) | [inline, static] |
Definition at line 373 of file FoldingSet.h.
References llvm::DefaultContextualFoldingSetTrait< T, Ctx >::Profile().
static void llvm::DefaultContextualFoldingSetTrait< T, Ctx >::Profile | ( | T & | X, |
FoldingSetNodeID & | ID, | ||
Ctx | Context | ||
) | [inline, static] |
Definition at line 248 of file FoldingSet.h.
Referenced by llvm::DefaultContextualFoldingSetTrait< T, Ctx >::ComputeHash(), and llvm::DefaultContextualFoldingSetTrait< T, Ctx >::Equals().