Home | History | Annotate | Download | only in Support

Lines Matching refs:lhsWords

366   unsigned lhsWords = !lhsBits ? 0 : whichWord(lhsBits - 1) + 1;
367 if (!lhsWords)
381 unsigned destWords = rhsWords + lhsWords;
385 mul(dest, pVal, lhsWords, RHS.pVal, rhsWords);
1667 void APInt::divide(const APInt LHS, unsigned lhsWords,
1671 assert(lhsWords >= rhsWords && "Fractional result");
1682 unsigned m = (lhsWords * 2) - n;
1707 for (unsigned i = 0; i < lhsWords; ++i) {
1788 if (lhsWords == 1) {
1797 for (unsigned i = 0; i < lhsWords; ++i)
1857 unsigned lhsWords = !lhsBits ? 0 : (APInt::whichWord(lhsBits - 1) + 1);
1860 if (!lhsWords)
1863 else if (lhsWords < rhsWords || this->ult(RHS)) {
1869 } else if (lhsWords == 1 && rhsWords == 1) {
1876 divide(*this, lhsWords, RHS, rhsWords, &Quotient, nullptr);
1900 unsigned lhsWords = !lhsBits ? 0 : (whichWord(lhsBits - 1) + 1);
1908 if (lhsWords == 0) {
1911 } else if (lhsWords < rhsWords || this->ult(RHS)) {
1917 } else if (lhsWords == 1) {
1924 divide(*this, lhsWords, RHS, rhsWords, nullptr, &Remainder);
1943 unsigned lhsWords = !lhsBits ? 0 : (APInt::whichWord(lhsBits - 1) + 1);
1948 if (lhsWords == 0) {
1954 if (lhsWords < rhsWords || LHS.ult(RHS)) {
1966 if (lhsWords == 1 && rhsWords == 1) {
1976 divide(LHS, lhsWords, RHS, rhsWords, &Quotient, &Remainder);