LLVM API Documentation

Static Public Member Functions
llvm::DefaultContextualFoldingSetTrait< T, Ctx > Struct Template Reference

#include <FoldingSet.h>

Inheritance diagram for llvm::DefaultContextualFoldingSetTrait< T, Ctx >:
Inheritance graph
[legend]

List of all members.

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)

Detailed Description

template<typename T, typename Ctx>
struct llvm::DefaultContextualFoldingSetTrait< T, Ctx >

DefaultContextualFoldingSetTrait - Like DefaultFoldingSetTrait, but for ContextualFoldingSets.

Definition at line 247 of file FoldingSet.h.


Member Function Documentation

template<typename T , typename Ctx >
unsigned llvm::DefaultContextualFoldingSetTrait< T, Ctx >::ComputeHash ( T X,
FoldingSetNodeID TempID,
Ctx  Context 
) [inline, static]
template<typename T , typename Ctx >
bool llvm::DefaultContextualFoldingSetTrait< T, Ctx >::Equals ( T X,
const FoldingSetNodeID ID,
unsigned  IDHash,
FoldingSetNodeID TempID,
Ctx  Context 
) [inline, static]
template<typename T , typename Ctx >
static void llvm::DefaultContextualFoldingSetTrait< T, Ctx >::Profile ( T X,
FoldingSetNodeID ID,
Ctx  Context 
) [inline, static]

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