LLVM API Documentation

Static Public Member Functions
llvm::DefaultFoldingSetTrait< T > Struct Template Reference

#include <FoldingSet.h>

Inheritance diagram for llvm::DefaultFoldingSetTrait< T >:
Inheritance graph
[legend]

List of all members.

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)

Detailed Description

template<typename T>
struct llvm::DefaultFoldingSetTrait< T >

DefaultFoldingSetTrait - This class provides default implementations for FoldingSetTrait implementations.

Definition at line 210 of file FoldingSet.h.


Member Function Documentation

template<typename T>
unsigned llvm::DefaultFoldingSetTrait< T >::ComputeHash ( T X,
FoldingSetNodeID TempID 
) [inline, static]
template<typename T>
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().

template<typename T>
static void llvm::DefaultFoldingSetTrait< T >::Profile ( const T X,
FoldingSetNodeID ID 
) [inline, static]
template<typename T>
static void llvm::DefaultFoldingSetTrait< T >::Profile ( T X,
FoldingSetNodeID ID 
) [inline, static]

Definition at line 214 of file FoldingSet.h.


The documentation for this struct was generated from the following file: