class ContextualFoldingSet
Declaration
template <class T, class Ctx>
class ContextualFoldingSet { /* full declaration omitted */ };
Description
ContextualFoldingSet - This template class is a further refinement of FoldingSet which provides a context argument when calling Profile on its nodes. Currently, that argument is fixed at initialization time. T must be a subclass of FoldingSetNode and implement a Profile function with signature void Profile(FoldingSetNodeID & , Ctx);
Declared at: llvm/include/llvm/ADT/FoldingSet.h:515
Templates
- T
- Ctx
Method Overview
- public ContextualFoldingSet<T, Ctx>(Ctx Context, unsigned int Log2InitSize = 6)
- public Ctx getContext() const
Methods
¶ContextualFoldingSet<T, Ctx>(
Ctx Context,
unsigned int Log2InitSize = 6)
ContextualFoldingSet<T, Ctx>(
Ctx Context,
unsigned int Log2InitSize = 6)
Declared at: llvm/include/llvm/ADT/FoldingSet.h:546
Parameters
- Ctx Context
- unsigned int Log2InitSize = 6
¶Ctx getContext() const
Ctx getContext() const
Declared at: llvm/include/llvm/ADT/FoldingSet.h:549