Lines Matching refs:rhsWords
373 unsigned rhsWords = !rhsBits ? 0 : whichWord(rhsBits - 1) + 1; in operator *=() local
374 if (!rhsWords) { in operator *=()
381 unsigned destWords = rhsWords + lhsWords; in operator *=()
385 mul(dest, pVal, lhsWords, RHS.pVal, rhsWords); in operator *=()
1672 const APInt &RHS, unsigned rhsWords, in divide() argument
1675 assert(lhsWords >= rhsWords && "Fractional result"); in divide()
1685 unsigned n = rhsWords * 2; in divide()
1720 for (unsigned i = 0; i < rhsWords; ++i) { in divide()
1825 if (rhsWords == 1) { in divide()
1834 for (unsigned i = 0; i < rhsWords; ++i) in divide()
1860 unsigned rhsWords = !rhsBits ? 0 : (APInt::whichWord(rhsBits - 1) + 1); in udiv() local
1861 assert(rhsWords && "Divided by zero???"); in udiv()
1869 else if (lhsWords < rhsWords || this->ult(RHS)) { in udiv()
1875 } else if (lhsWords == 1 && rhsWords == 1) { in udiv()
1882 divide(*this, lhsWords, RHS, rhsWords, &Quotient, nullptr); in udiv()
1910 unsigned rhsWords = !rhsBits ? 0 : (APInt::whichWord(rhsBits - 1) + 1); in urem() local
1911 assert(rhsWords && "Performing remainder operation by zero ???"); in urem()
1917 } else if (lhsWords < rhsWords || this->ult(RHS)) { in urem()
1930 divide(*this, lhsWords, RHS, rhsWords, nullptr, &Remainder); in urem()
1963 unsigned rhsWords = !rhsBits ? 0 : (APInt::whichWord(rhsBits - 1) + 1); in udivrem() local
1972 if (lhsWords < rhsWords || LHS.ult(RHS)) { in udivrem()
1984 if (lhsWords == 1 && rhsWords == 1) { in udivrem()
1994 divide(LHS, lhsWords, RHS, rhsWords, &Quotient, &Remainder); in udivrem()