Lines Matching defs:divide
605 "SplatSizeInBits must divide width!");
1103 // Extend the rotate APInt, so that the urem doesn't divide by 0.
1424 void APInt::divide(const WordType *LHS, unsigned lhsWords, const WordType *RHS,
1494 // and faster because we are certain that we can divide a 64-bit quantity
1521 // Now we're ready to invoke the Knuth classical divide algorithm. In this
1576 // All high words are zero, just use native divide
1579 // We have to compute it the hard way. Invoke the Knuth divide algorithm.
1581 divide(U.pVal, lhsWords, RHS.U.pVal, rhsWords, Quotient.U.pVal, nullptr);
1609 // All high words are zero, just use native divide
1612 // We have to compute it the hard way. Invoke the Knuth divide algorithm.
1614 divide(U.pVal, lhsWords, &RHS, 1, Quotient.U.pVal, nullptr);
1672 // We have to compute it the hard way. Invoke the Knuth divide algorithm.
1674 divide(U.pVal, lhsWords, RHS.U.pVal, rhsWords, nullptr, Remainder.U.pVal);
1704 // We have to compute it the hard way. Invoke the Knuth divide algorithm.
1706 divide(U.pVal, lhsWords, &RHS, 1, nullptr, &Remainder);
1794 divide(LHS.U.pVal, lhsWords, RHS.U.pVal, rhsWords, Quotient.U.pVal,
1858 divide(LHS.U.pVal, lhsWords, &RHS, 1, Quotient.U.pVal, &Remainder);
2235 // For the 2, 8 and 16 bit cases, we can just shift instead of divide
2258 assert(Digit < Radix && "divide failed");