• Home
  • Raw
  • Download

Lines Matching refs:lhsWords

365   unsigned lhsWords = !lhsBits ? 0 : whichWord(lhsBits - 1) + 1;  in operator *=()  local
366 if (!lhsWords) in operator *=()
380 unsigned destWords = rhsWords + lhsWords; in operator *=()
384 mul(dest, pVal, lhsWords, RHS.pVal, rhsWords); in operator *=()
1666 void APInt::divide(const APInt LHS, unsigned lhsWords, in divide() argument
1670 assert(lhsWords >= rhsWords && "Fractional result"); in divide()
1681 unsigned m = (lhsWords * 2) - n; in divide()
1706 for (unsigned i = 0; i < lhsWords; ++i) { in divide()
1787 if (lhsWords == 1) { in divide()
1796 for (unsigned i = 0; i < lhsWords; ++i) in divide()
1856 unsigned lhsWords = !lhsBits ? 0 : (APInt::whichWord(lhsBits - 1) + 1); in udiv() local
1859 if (!lhsWords) in udiv()
1862 else if (lhsWords < rhsWords || this->ult(RHS)) { in udiv()
1868 } else if (lhsWords == 1 && rhsWords == 1) { in udiv()
1875 divide(*this, lhsWords, RHS, rhsWords, &Quotient, 0); in udiv()
1888 unsigned lhsWords = !lhsBits ? 0 : (whichWord(lhsBits - 1) + 1); in urem() local
1896 if (lhsWords == 0) { in urem()
1899 } else if (lhsWords < rhsWords || this->ult(RHS)) { in urem()
1905 } else if (lhsWords == 1) { in urem()
1912 divide(*this, lhsWords, RHS, rhsWords, 0, &Remainder); in urem()
1920 unsigned lhsWords = !lhsBits ? 0 : (APInt::whichWord(lhsBits - 1) + 1); in udivrem() local
1925 if (lhsWords == 0) { in udivrem()
1931 if (lhsWords < rhsWords || LHS.ult(RHS)) { in udivrem()
1943 if (lhsWords == 1 && rhsWords == 1) { in udivrem()
1953 divide(LHS, lhsWords, RHS, rhsWords, &Quotient, &Remainder); in udivrem()