Lines Matching refs:NumBuckets
90 uint32_t NumBuckets = NeedsByteSwap in checkHeader() local
91 ? llvm::sys::getSwappedBytes(Header->NumBuckets) in checkHeader()
92 : Header->NumBuckets; in checkHeader()
93 if (!llvm::isPowerOf2_32(NumBuckets)) in checkHeader()
96 sizeof(HMapHeader) + sizeof(HMapBucket) * NumBuckets) in checkHeader()
174 unsigned NumBuckets = getEndianAdjustedWord(Hdr.NumBuckets); in dump() local
176 llvm::dbgs() << "Header Map " << getFileName() << ":\n " << NumBuckets in dump()
185 for (unsigned i = 0; i != NumBuckets; ++i) { in dump()
213 unsigned NumBuckets = getEndianAdjustedWord(Hdr.NumBuckets); in lookupFilename() local
216 assert(llvm::isPowerOf2_32(NumBuckets) && "Expected power of 2"); in lookupFilename()
220 HMapBucket B = getBucket(Bucket & (NumBuckets-1)); in lookupFilename()