reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
412 iterator begin() { return iterator(Buckets); } 413 iterator end() { return iterator(Buckets+NumBuckets); } 417 const_iterator begin() const { return const_iterator(Buckets); } 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
232 Buckets = AllocateBuckets(NumBuckets); 237 : Buckets(Arg.Buckets), NumBuckets(Arg.NumBuckets), NumNodes(Arg.NumNodes) { 238 Arg.Buckets = nullptr; 244 free(Buckets); // This may be null if the set is in a moved-from state. 245 Buckets = RHS.Buckets; 245 Buckets = RHS.Buckets; 248 RHS.Buckets = nullptr; 255 free(Buckets); 260 memset(Buckets, 0, NumBuckets*sizeof(void*)); 263 Buckets[NumBuckets] = reinterpret_cast<void*>(-1); 272 void **OldBuckets = Buckets; 276 Buckets = AllocateBuckets(NewBucketCount); 294 Buckets, NumBuckets)); 324 void **Bucket = GetBucketFor(IDHash, Buckets, NumBuckets); 352 InsertPos = GetBucketFor(ComputeNodeHash(N, TempID), Buckets, NumBuckets);