Lines Matching defs:WordShift
1034 // WordShift is the inter-part shift; BitShift is intra-part shift.
1035 unsigned WordShift = ShiftAmt / APINT_BITS_PER_WORD;
1038 unsigned WordsToMove = getNumWords() - WordShift;
1046 std::memmove(U.pVal, U.pVal + WordShift, WordsToMove * APINT_WORD_SIZE);
1050 U.pVal[i] = (U.pVal[i + WordShift] >> BitShift) |
1051 (U.pVal[i + WordShift + 1] << (APINT_BITS_PER_WORD - BitShift));
1054 U.pVal[WordsToMove - 1] = U.pVal[WordShift + WordsToMove - 1] >> BitShift;
1063 WordShift * APINT_WORD_SIZE);
2673 // WordShift is the inter-part shift; BitShift is the intra-part shift.
2674 unsigned WordShift = std::min(Count / APINT_BITS_PER_WORD, Words);
2679 std::memmove(Dst + WordShift, Dst, (Words - WordShift) * APINT_WORD_SIZE);
2681 while (Words-- > WordShift) {
2682 Dst[Words] = Dst[Words - WordShift] << BitShift;
2683 if (Words > WordShift)
2685 Dst[Words - WordShift - 1] >> (APINT_BITS_PER_WORD - BitShift);
2690 std::memset(Dst, 0, WordShift * APINT_WORD_SIZE);
2700 // WordShift is the inter-part shift; BitShift is the intra-part shift.
2701 unsigned WordShift = std::min(Count / APINT_BITS_PER_WORD, Words);
2704 unsigned WordsToMove = Words - WordShift;
2707 std::memmove(Dst, Dst + WordShift, WordsToMove * APINT_WORD_SIZE);
2710 Dst[i] = Dst[i + WordShift] >> BitShift;
2712 Dst[i] |= Dst[i + WordShift + 1] << (APINT_BITS_PER_WORD - BitShift);
2717 std::memset(Dst + WordsToMove, 0, WordShift * APINT_WORD_SIZE);