Lines Matching defs:BitOffset
3630 // offset `BitOffset` (from the least significant bit) within a storage unit of
3633 static void setBitRange(SmallVectorImpl<uint64_t> &Bits, int BitOffset,
3639 if (BitOffset >= CharWidth) {
3640 Pos += BitOffset / CharWidth;
3641 BitOffset = BitOffset % CharWidth;
3645 if (BitOffset + BitWidth >= CharWidth) {
3646 Bits[Pos++] |= (Used << BitOffset) & Used;
3647 BitWidth -= CharWidth - BitOffset;
3648 BitOffset = 0;
3657 Bits[Pos++] |= (Used >> (CharWidth - BitWidth)) << BitOffset;
3661 // offset `BitOffset` (from the least significant bit) within a storage unit of
3665 int StorageSize, int BitOffset, int BitWidth,
3669 setBitRange(TmpBits, BitOffset, BitWidth, CharWidth);