Lines Matching defs:WordShift
1039 // WordShift is the inter-part shift; BitShift is intra-part shift.
1040 unsigned WordShift = ShiftAmt / APINT_BITS_PER_WORD;
1043 unsigned WordsToMove = getNumWords() - WordShift;
1051 std::memmove(U.pVal, U.pVal + WordShift, WordsToMove * APINT_WORD_SIZE);
1055 U.pVal[i] = (U.pVal[i + WordShift] >> BitShift) |
1056 (U.pVal[i + WordShift + 1] << (APINT_BITS_PER_WORD - BitShift));
1061 (int64_t)U.pVal[WordShift + WordsToMove - 1] >> BitShift;
1067 WordShift * APINT_WORD_SIZE);
2677 // WordShift is the inter-part shift; BitShift is the intra-part shift.
2678 unsigned WordShift = std::min(Count / APINT_BITS_PER_WORD, Words);
2683 std::memmove(Dst + WordShift, Dst, (Words - WordShift) * APINT_WORD_SIZE);
2685 while (Words-- > WordShift) {
2686 Dst[Words] = Dst[Words - WordShift] << BitShift;
2687 if (Words > WordShift)
2689 Dst[Words - WordShift - 1] >> (APINT_BITS_PER_WORD - BitShift);
2694 std::memset(Dst, 0, WordShift * APINT_WORD_SIZE);
2704 // WordShift is the inter-part shift; BitShift is the intra-part shift.
2705 unsigned WordShift = std::min(Count / APINT_BITS_PER_WORD, Words);
2708 unsigned WordsToMove = Words - WordShift;
2711 std::memmove(Dst, Dst + WordShift, WordsToMove * APINT_WORD_SIZE);
2714 Dst[i] = Dst[i + WordShift] >> BitShift;
2716 Dst[i] |= Dst[i + WordShift + 1] << (APINT_BITS_PER_WORD - BitShift);
2721 std::memset(Dst + WordsToMove, 0, WordShift * APINT_WORD_SIZE);