Home | History | Annotate | Download | only in Support

Lines Matching refs:lhsWords

365   unsigned lhsWords = !lhsBits ? 0 : whichWord(lhsBits - 1) + 1;
366 if (!lhsWords)
380 unsigned destWords = rhsWords + lhsWords;
384 mul(dest, pVal, lhsWords, RHS.pVal, rhsWords);
1666 void APInt::divide(const APInt LHS, unsigned lhsWords,
1670 assert(lhsWords >= rhsWords && "Fractional result");
1681 unsigned m = (lhsWords * 2) - n;
1706 for (unsigned i = 0; i < lhsWords; ++i) {
1787 if (lhsWords == 1) {
1796 for (unsigned i = 0; i < lhsWords; ++i)
1856 unsigned lhsWords = !lhsBits ? 0 : (APInt::whichWord(lhsBits - 1) + 1);
1859 if (!lhsWords)
1862 else if (lhsWords < rhsWords || this->ult(RHS)) {
1868 } else if (lhsWords == 1 && rhsWords == 1) {
1875 divide(*this, lhsWords, RHS, rhsWords, &Quotient, 0);
1899 unsigned lhsWords = !lhsBits ? 0 : (whichWord(lhsBits - 1) + 1);
1907 if (lhsWords == 0) {
1910 } else if (lhsWords < rhsWords || this->ult(RHS)) {
1916 } else if (lhsWords == 1) {
1923 divide(*this, lhsWords, RHS, rhsWords, 0, &Remainder);
1942 unsigned lhsWords = !lhsBits ? 0 : (APInt::whichWord(lhsBits - 1) + 1);
1947 if (lhsWords == 0) {
1953 if (lhsWords < rhsWords || LHS.ult(RHS)) {
1965 if (lhsWords == 1 && rhsWords == 1) {
1975 divide(LHS, lhsWords, RHS, rhsWords, &Quotient, &Remainder);