Lines Matching refs:NumBitsPerPos
41 static constexpr SizeT NumBitsPerPos = sizeof(ElementType) * CHAR_BIT; variable
42 static_assert(1 << BitIndexSize == NumBitsPerPos, "Invalid BitIndexSize.");
80 assert(B < NumBitsPerPos); in Reference()
203 return NumBitsPerPos * Pos + llvm::countTrailingZeros(Bits[Pos]);
217 if (Prev + 1 < (Pos + 1) * NumBitsPerPos) {
219 (ElementType(1) << ((Prev + 1) - Pos * NumBitsPerPos)) - 1;
222 return NumBitsPerPos * Pos + llvm::countTrailingZeros(B);
224 Prev = (1 + Pos) * NumBitsPerPos - 1;
234 if (size() < Pos * NumBitsPerPos) {
236 } else if ((Pos + 1) * NumBitsPerPos < size()) {
240 (ElementType(1) << (size() - (Pos * NumBitsPerPos))) - 1;