Lines Matching defs:rhsWords
1425 unsigned rhsWords, WordType *Quotient, WordType *Remainder) {
1426 assert(lhsWords >= rhsWords && "Fractional result");
1435 unsigned n = rhsWords * 2;
1470 for (unsigned i = 0; i < rhsWords; ++i) {
1534 for (unsigned i = 0; i < rhsWords; ++i)
1559 unsigned rhsWords = getNumWords(rhsBits);
1560 assert(rhsWords && "Divided by zero???");
1569 if (lhsWords < rhsWords || this->ult(RHS))
1575 if (lhsWords == 1) // rhsWords is 1 if lhsWords is 1.
1581 divide(U.pVal, lhsWords, RHS.U.pVal, rhsWords, Quotient.U.pVal, nullptr);
1608 if (lhsWords == 1) // rhsWords is 1 if lhsWords is 1.
1652 unsigned rhsWords = getNumWords(rhsBits);
1653 assert(rhsWords && "Performing remainder operation by zero ???");
1662 if (lhsWords < rhsWords || this->ult(RHS))
1674 divide(U.pVal, lhsWords, RHS.U.pVal, rhsWords, nullptr, Remainder.U.pVal);
1750 unsigned rhsWords = getNumWords(rhsBits);
1751 assert(rhsWords && "Performing divrem operation by zero ???");
1765 if (lhsWords < rhsWords || LHS.ult(RHS)) {
1784 if (lhsWords == 1) { // rhsWords is 1 if lhsWords is 1.
1794 divide(LHS.U.pVal, lhsWords, RHS.U.pVal, rhsWords, Quotient.U.pVal,
1799 std::memset(Remainder.U.pVal + rhsWords, 0,
1800 (getNumWords(BitWidth) - rhsWords) * APINT_WORD_SIZE);
1849 if (lhsWords == 1) { // rhsWords is 1 if lhsWords is 1.