Lines Matching refs:Words
2668 void APInt::tcShiftLeft(WordType *Dst, unsigned Words, unsigned Count) { in tcShiftLeft() argument
2674 unsigned WordShift = std::min(Count / APINT_BITS_PER_WORD, Words); in tcShiftLeft()
2679 std::memmove(Dst + WordShift, Dst, (Words - WordShift) * APINT_WORD_SIZE); in tcShiftLeft()
2681 while (Words-- > WordShift) { in tcShiftLeft()
2682 Dst[Words] = Dst[Words - WordShift] << BitShift; in tcShiftLeft()
2683 if (Words > WordShift) in tcShiftLeft()
2684 Dst[Words] |= in tcShiftLeft()
2685 Dst[Words - WordShift - 1] >> (APINT_BITS_PER_WORD - BitShift); in tcShiftLeft()
2695 void APInt::tcShiftRight(WordType *Dst, unsigned Words, unsigned Count) { in tcShiftRight() argument
2701 unsigned WordShift = std::min(Count / APINT_BITS_PER_WORD, Words); in tcShiftRight()
2704 unsigned WordsToMove = Words - WordShift; in tcShiftRight()