reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
167 return NumBuckets * 2; 413 iterator end() { return iterator(Buckets+NumBuckets); } 418 const_iterator end() const { return const_iterator(Buckets+NumBuckets); } 423 return bucket_iterator(Buckets + (hash & (NumBuckets-1))); 427 return bucket_iterator(Buckets + (hash & (NumBuckets-1)), true);lib/Support/FoldingSet.cpp
231 NumBuckets = 1 << Log2InitSize; 232 Buckets = AllocateBuckets(NumBuckets); 237 : Buckets(Arg.Buckets), NumBuckets(Arg.NumBuckets), NumNodes(Arg.NumNodes) { 239 Arg.NumBuckets = 0; 246 NumBuckets = RHS.NumBuckets; 246 NumBuckets = RHS.NumBuckets; 249 RHS.NumBuckets = 0; 260 memset(Buckets, 0, NumBuckets*sizeof(void*)); 263 Buckets[NumBuckets] = reinterpret_cast<void*>(-1); 270 assert((NewBucketCount > NumBuckets) && "Can't shrink a folding set with GrowBucketCount"); 273 unsigned OldNumBuckets = NumBuckets; 278 NumBuckets = NewBucketCount; 294 Buckets, NumBuckets)); 305 GrowBucketCount(NumBuckets * 2); 324 void **Bucket = GetBucketFor(IDHash, Buckets, NumBuckets); 352 InsertPos = GetBucketFor(ComputeNodeHash(N, TempID), Buckets, NumBuckets);