Lines Matching defs:FoldingSet
1 //===-- llvm/ADT/FoldingSet.h - Uniquing Hash Set ---------------*- C++ -*-===//
61 /// To define the folding set itself use the FoldingSet template;
64 /// FoldingSet<MyNode> MyFoldingSet;
191 /// GetNodeProfile - Instantiations of the FoldingSet template implement
194 /// NodeEquals - Instantiations of the FoldingSet template implement
198 /// ComputeNodeHash - Instantiations of the FoldingSet template implement
234 /// to "profile" (in the FoldingSet parlance) an object of a given type.
391 /// FoldingSet - This template class is used to instantiate a specialized
395 template<class T> class FoldingSet : public FoldingSetImpl {
397 /// GetNodeProfile - Each instantiatation of the FoldingSet needs to provide a
418 explicit FoldingSet(unsigned Log2InitSize = 6)
457 /// of FoldingSet which provides a context argument when calling
466 // Unfortunately, this can't derive from FoldingSet<T> because the
467 // construction vtable for FoldingSet<T> requires
468 // FoldingSet<T>::GetNodeProfile to be instantiated, which in turn
474 /// GetNodeProfile - Each instantiatation of the FoldingSet needs to provide a
575 /// FoldingSetVector - This template class combines a FoldingSet and a vector
576 /// to provide the interface of FoldingSet but with deterministic iteration
581 FoldingSet<T> Set;