Lines Matching defs:rhsWords
1421 unsigned rhsWords, WordType *Quotient, WordType *Remainder) {
1422 assert(lhsWords >= rhsWords && "Fractional result");
1431 unsigned n = rhsWords * 2;
1466 for (unsigned i = 0; i < rhsWords; ++i) {
1530 for (unsigned i = 0; i < rhsWords; ++i)
1555 unsigned rhsWords = getNumWords(rhsBits);
1556 assert(rhsWords && "Divided by zero???");
1565 if (lhsWords < rhsWords || this->ult(RHS))
1571 if (lhsWords == 1) // rhsWords is 1 if lhsWords is 1.
1577 divide(U.pVal, lhsWords, RHS.U.pVal, rhsWords, Quotient.U.pVal, nullptr);
1604 if (lhsWords == 1) // rhsWords is 1 if lhsWords is 1.
1648 unsigned rhsWords = getNumWords(rhsBits);
1649 assert(rhsWords && "Performing remainder operation by zero ???");
1658 if (lhsWords < rhsWords || this->ult(RHS))
1670 divide(U.pVal, lhsWords, RHS.U.pVal, rhsWords, nullptr, Remainder.U.pVal);
1746 unsigned rhsWords = getNumWords(rhsBits);
1747 assert(rhsWords && "Performing divrem operation by zero ???");
1761 if (lhsWords < rhsWords || LHS.ult(RHS)) {
1780 if (lhsWords == 1) { // rhsWords is 1 if lhsWords is 1.
1790 divide(LHS.U.pVal, lhsWords, RHS.U.pVal, rhsWords, Quotient.U.pVal,
1795 std::memset(Remainder.U.pVal + rhsWords, 0,
1796 (getNumWords(BitWidth) - rhsWords) * APINT_WORD_SIZE);
1845 if (lhsWords == 1) { // rhsWords is 1 if lhsWords is 1.