LLVM 20.0.0git
Static Public Member Functions | List of all members
llvm::DefaultContextualFoldingSetTrait< T, Ctx > Struct Template Reference

DefaultContextualFoldingSetTrait - Like DefaultFoldingSetTrait, but for ContextualFoldingSets. More...

#include "llvm/ADT/FoldingSet.h"

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

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

Member Function Documentation

◆ ComputeHash()

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

◆ Equals()

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

Definition at line 431 of file FoldingSet.h.

References llvm::DefaultContextualFoldingSetTrait< T, Ctx >::Profile(), and X.

◆ Profile()

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

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