Lines Matching refs:NumBuckets
48 NumBuckets = 0; in StringMapImpl()
66 NumBuckets = NewNumBuckets; in init()
70 TheTable[NumBuckets] = (StringMapEntryBase*)2; in init()
79 unsigned HTSize = NumBuckets; in LookupBucketFor()
82 HTSize = NumBuckets; in LookupBucketFor()
86 unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1); in LookupBucketFor()
136 unsigned HTSize = NumBuckets; in FindKey()
140 unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1); in FindKey()
194 assert(NumItems + NumTombstones <= NumBuckets); in RemoveKey()
203 unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1); in RehashTable()
208 if (LLVM_UNLIKELY(NumItems * 4 > NumBuckets * 3)) { in RehashTable()
209 NewSize = NumBuckets*2; in RehashTable()
210 } else if (LLVM_UNLIKELY(NumBuckets - (NumItems + NumTombstones) <= in RehashTable()
211 NumBuckets / 8)) { in RehashTable()
212 NewSize = NumBuckets; in RehashTable()
228 for (unsigned I = 0, E = NumBuckets; I != E; ++I) { in RehashTable()
259 NumBuckets = NewSize; in RehashTable()