Lines Matching defs:SmallPtrSet

1 //===- llvm/ADT/SmallPtrSet.h - 'Normally small' pointer set ----*- C++ -*-===//
10 /// This file defines the SmallPtrSet class. See the doxygen comment for
35 /// SmallPtrSet<>'s, which is almost everything. SmallPtrSet has two modes, one
38 /// Small sets use an array of pointers allocated in the SmallPtrSet object,
70 // Helpers to copy and move construct a SmallPtrSet.
308 /// SmallPtrSetIterator - This implements a const_iterator for SmallPtrSet.
357 /// A templated base class for \c SmallPtrSet which provides the
390 /// identical to calling insert(Ptr), but allows SmallPtrSet to be used by
488 /// Equality comparison for SmallPtrSet.
505 /// Inequality comparison for SmallPtrSet.
514 /// SmallPtrSet - This class implements a set which is optimized for holding
519 class SmallPtrSet : public SmallPtrSetImpl<PtrType> {
520 // In small mode SmallPtrSet uses linear search for the elements, so it is
543 SmallPtrSet() : BaseT(SmallStorage, SmallSizePowTwo) {}
544 SmallPtrSet(const SmallPtrSet &that) : BaseT(SmallStorage, that) {}
545 SmallPtrSet(SmallPtrSet &&that)
550 SmallPtrSet(It I, It E) : BaseT(SmallStorage, SmallSizePowTwo) {
554 SmallPtrSet(std::initializer_list<PtrType> IL)
559 SmallPtrSet<PtrType, SmallSize> &
560 operator=(const SmallPtrSet<PtrType, SmallSize> &RHS) {
566 SmallPtrSet<PtrType, SmallSize> &
567 operator=(SmallPtrSet<PtrType, SmallSize> &&RHS) {
574 SmallPtrSet<PtrType, SmallSize> &
582 void swap(SmallPtrSet<PtrType, SmallSize> &RHS) {
591 /// Implement std::swap in terms of SmallPtrSet swap.
593 inline void swap(llvm::SmallPtrSet<T, N> &LHS, llvm::SmallPtrSet<T, N> &RHS) {