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
31 /// SmallPtrSet<>'s, which is almost everything. SmallPtrSet has two modes, one
34 /// Small sets use an array of pointers allocated in the SmallPtrSet object,
65 // Helper to copy construct a SmallPtrSet.
173 /// SmallPtrSetIterator - This implements a const_iterator for SmallPtrSet.
231 /// SmallPtrSet - This class implements a set which is optimized for holding
236 class SmallPtrSet : public SmallPtrSetImpl {
244 SmallPtrSet() : SmallPtrSetImpl(SmallStorage, SmallSizePowTwo) {}
245 SmallPtrSet(const SmallPtrSet &that) : SmallPtrSetImpl(SmallStorage, that) {}
248 SmallPtrSet(It I, It E) : SmallPtrSetImpl(SmallStorage, SmallSizePowTwo) {
286 const SmallPtrSet<PtrType, SmallSize>&
287 operator=(const SmallPtrSet<PtrType, SmallSize> &RHS) {
293 void swap(SmallPtrSet<PtrType, SmallSize> &RHS) {
301 /// Implement std::swap in terms of SmallPtrSet swap.
303 inline void swap(llvm::SmallPtrSet<T, N> &LHS, llvm::SmallPtrSet<T, N> &RHS) {