Home
last modified time | relevance | path

Searched refs:NumBitsPerPos (Results 1 – 1 of 1) sorted by relevance

/external/swiftshader/third_party/subzero/src/
DIceBitVector.h41 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()) {
[all …]