• Home
  • Raw
  • Download

Lines Matching refs:Quotient

1668                    unsigned rhsWords, APInt *Quotient, APInt *Remainder) {  in divide()  argument
1771 if (Quotient) { in divide()
1773 if (Quotient->BitWidth != LHS.BitWidth) { in divide()
1774 if (Quotient->isSingleWord()) in divide()
1775 Quotient->VAL = 0; in divide()
1777 delete [] Quotient->pVal; in divide()
1778 Quotient->BitWidth = LHS.BitWidth; in divide()
1779 if (!Quotient->isSingleWord()) in divide()
1780 Quotient->pVal = getClearedMemory(Quotient->getNumWords()); in divide()
1782 Quotient->clearAllBits(); in divide()
1791 if (Quotient->isSingleWord()) in divide()
1792 Quotient->VAL = tmp; in divide()
1794 Quotient->pVal[0] = tmp; in divide()
1796 assert(!Quotient->isSingleWord() && "Quotient APInt not large enough"); in divide()
1798 Quotient->pVal[i] = in divide()
1875 APInt Quotient(1,0); // to hold result. in udiv() local
1876 divide(*this, lhsWords, RHS, rhsWords, &Quotient, nullptr); in udiv()
1877 return Quotient; in udiv()
1940 APInt &Quotient, APInt &Remainder) { in udivrem() argument
1948 Quotient = APInt(LHS.BitWidth, QuotVal); in udivrem()
1961 Quotient = 0; // 0 / Y ===> 0 in udivrem()
1968 Quotient = 0; // X / Y ===> 0, iff X < Y in udivrem()
1973 Quotient = 1; // X / X ===> 1 in udivrem()
1982 Quotient = APInt(LHS.getBitWidth(), lhsValue / rhsValue); in udivrem()
1988 divide(LHS, lhsWords, RHS, rhsWords, &Quotient, &Remainder); in udivrem()
1992 APInt &Quotient, APInt &Remainder) { in sdivrem() argument
1995 APInt::udivrem(-LHS, -RHS, Quotient, Remainder); in sdivrem()
1997 APInt::udivrem(-LHS, RHS, Quotient, Remainder); in sdivrem()
1998 Quotient = -Quotient; in sdivrem()
2002 APInt::udivrem(LHS, -RHS, Quotient, Remainder); in sdivrem()
2003 Quotient = -Quotient; in sdivrem()
2005 APInt::udivrem(LHS, RHS, Quotient, Remainder); in sdivrem()