LLVM  6.0.0svn
Static Public Member Functions | List of all members
llvm::DefaultFoldingSetTrait< T > Struct Template Reference

DefaultFoldingSetTrait - This class provides default implementations for FoldingSetTrait implementations. More...

#include "llvm/ADT/FoldingSet.h"

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

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 225 of file FoldingSet.h.

Member Function Documentation

◆ ComputeHash()

template<typename T >
unsigned llvm::DefaultFoldingSetTrait< T >::ComputeHash ( T X,
FoldingSetNodeID TempID 
)
inlinestatic

Definition at line 382 of file FoldingSet.h.

◆ Equals()

template<typename T >
bool llvm::DefaultFoldingSetTrait< T >::Equals ( T X,
const FoldingSetNodeID ID,
unsigned  IDHash,
FoldingSetNodeID TempID 
)
inlinestatic

Definition at line 374 of file FoldingSet.h.

◆ Profile() [1/2]

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

◆ Profile() [2/2]

template<typename T>
static void llvm::DefaultFoldingSetTrait< T >::Profile ( T X,
FoldingSetNodeID ID 
)
inlinestatic

Definition at line 229 of file FoldingSet.h.


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