Lines Matching defs:divide
601 "SplatSizeInBits must divide width!");
1099 // Extend the rotate APInt, so that the urem doesn't divide by 0.
1420 void APInt::divide(const WordType *LHS, unsigned lhsWords, const WordType *RHS,
1490 // and faster because we are certain that we can divide a 64-bit quantity
1517 // Now we're ready to invoke the Knuth classical divide algorithm. In this
1572 // All high words are zero, just use native divide
1575 // We have to compute it the hard way. Invoke the Knuth divide algorithm.
1577 divide(U.pVal, lhsWords, RHS.U.pVal, rhsWords, Quotient.U.pVal, nullptr);
1605 // All high words are zero, just use native divide
1608 // We have to compute it the hard way. Invoke the Knuth divide algorithm.
1610 divide(U.pVal, lhsWords, &RHS, 1, Quotient.U.pVal, nullptr);
1668 // We have to compute it the hard way. Invoke the Knuth divide algorithm.
1670 divide(U.pVal, lhsWords, RHS.U.pVal, rhsWords, nullptr, Remainder.U.pVal);
1700 // We have to compute it the hard way. Invoke the Knuth divide algorithm.
1702 divide(U.pVal, lhsWords, &RHS, 1, nullptr, &Remainder);
1790 divide(LHS.U.pVal, lhsWords, RHS.U.pVal, rhsWords, Quotient.U.pVal,
1854 divide(LHS.U.pVal, lhsWords, &RHS, 1, Quotient.U.pVal, &Remainder);
2231 // For the 2, 8 and 16 bit cases, we can just shift instead of divide
2254 assert(Digit < Radix && "divide failed");