Lines Matching defs:BitOffset
3588 // offset `BitOffset` (from the least significant bit) within a storage unit of
3591 static void setBitRange(SmallVectorImpl<uint64_t> &Bits, int BitOffset,
3597 if (BitOffset >= CharWidth) {
3598 Pos += BitOffset / CharWidth;
3599 BitOffset = BitOffset % CharWidth;
3603 if (BitOffset + BitWidth >= CharWidth) {
3604 Bits[Pos++] |= (Used << BitOffset) & Used;
3605 BitWidth -= CharWidth - BitOffset;
3606 BitOffset = 0;
3615 Bits[Pos++] |= (Used >> (CharWidth - BitWidth)) << BitOffset;
3619 // offset `BitOffset` (from the least significant bit) within a storage unit of
3623 int StorageSize, int BitOffset, int BitWidth,
3627 setBitRange(TmpBits, BitOffset, BitWidth, CharWidth);