LLVM API Documentation
#include <FoldingSet.h>
Static Public Member Functions | |
static void | Profile (const T &X, FoldingSetNodeID &ID) |
static void | Profile (T &X, FoldingSetNodeID &ID) |
static bool | Equals (T &X, const FoldingSetNodeID &ID, unsigned IDHash, FoldingSetNodeID &TempID) |
static unsigned | ComputeHash (T &X, FoldingSetNodeID &TempID) |
DefaultFoldingSetTrait - This class provides default implementations for FoldingSetTrait implementations.
Definition at line 210 of file FoldingSet.h.
unsigned llvm::DefaultFoldingSetTrait< T >::ComputeHash | ( | T & | X, |
FoldingSetNodeID & | TempID | ||
) | [inline, static] |
Definition at line 367 of file FoldingSet.h.
References llvm::FoldingSetNodeID::ComputeHash(), and llvm::DefaultFoldingSetTrait< T >::Profile().
bool llvm::DefaultFoldingSetTrait< T >::Equals | ( | T & | X, |
const FoldingSetNodeID & | ID, | ||
unsigned | IDHash, | ||
FoldingSetNodeID & | TempID | ||
) | [inline, static] |
Definition at line 359 of file FoldingSet.h.
References llvm::DefaultFoldingSetTrait< T >::Profile().
static void llvm::DefaultFoldingSetTrait< T >::Profile | ( | const T & | X, |
FoldingSetNodeID & | ID | ||
) | [inline, static] |
Reimplemented in llvm::FoldingSetTrait< SCEV >, and llvm::FoldingSetTrait< SDVTListNode >.
Definition at line 211 of file FoldingSet.h.
Referenced by llvm::DefaultFoldingSetTrait< T >::ComputeHash(), and llvm::DefaultFoldingSetTrait< T >::Equals().
static void llvm::DefaultFoldingSetTrait< T >::Profile | ( | T & | X, |
FoldingSetNodeID & | ID | ||
) | [inline, static] |
Definition at line 214 of file FoldingSet.h.