Lines Matching refs:rhsWords
373 unsigned rhsWords = !rhsBits ? 0 : whichWord(rhsBits - 1) + 1;
374 if (!rhsWords) {
381 unsigned destWords = rhsWords + lhsWords;
385 mul(dest, pVal, lhsWords, RHS.pVal, rhsWords);
1668 const APInt &RHS, unsigned rhsWords,
1671 assert(lhsWords >= rhsWords && "Fractional result");
1681 unsigned n = rhsWords * 2;
1716 for (unsigned i = 0; i < rhsWords; ++i) {
1819 if (rhsWords == 1) {
1828 for (unsigned i = 0; i < rhsWords; ++i)
1854 unsigned rhsWords = !rhsBits ? 0 : (APInt::whichWord(rhsBits - 1) + 1);
1855 assert(rhsWords && "Divided by zero???");
1863 else if (lhsWords < rhsWords || this->ult(RHS)) {
1869 } else if (lhsWords == 1 && rhsWords == 1) {
1876 divide(*this, lhsWords, RHS, rhsWords, &Quotient, nullptr);
1904 unsigned rhsWords = !rhsBits ? 0 : (APInt::whichWord(rhsBits - 1) + 1);
1905 assert(rhsWords && "Performing remainder operation by zero ???");
1911 } else if (lhsWords < rhsWords || this->ult(RHS)) {
1924 divide(*this, lhsWords, RHS, rhsWords, nullptr, &Remainder);
1945 unsigned rhsWords = !rhsBits ? 0 : (APInt::whichWord(rhsBits - 1) + 1);
1954 if (lhsWords < rhsWords || LHS.ult(RHS)) {
1966 if (lhsWords == 1 && rhsWords == 1) {
1976 divide(LHS, lhsWords, RHS, rhsWords, &Quotient, &Remainder);