reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Support/APInt.cpp
 1465   unsigned m = (lhsWords * 2) - n;
 1474   if ((Remainder?4:3)*n+2*m+1 <= 128) {
 1476     V = &SPACE[m+n+1];
 1477     Q = &SPACE[(m+n+1) + n];
 1477     Q = &SPACE[(m+n+1) + n];
 1479       R = &SPACE[(m+n+1) + n + (m+n)];
 1479       R = &SPACE[(m+n+1) + n + (m+n)];
 1479       R = &SPACE[(m+n+1) + n + (m+n)];
 1481     U = new uint32_t[m + n + 1];
 1482     V = new uint32_t[n];
 1483     Q = new uint32_t[m+n];
 1485       R = new uint32_t[n];
 1489   memset(U, 0, (m+n+1)*sizeof(uint32_t));
 1495   U[m+n] = 0; // this extra word is for "spill" in the Knuth algorithm.
 1498   memset(V, 0, (n)*sizeof(uint32_t));
 1506   memset(Q, 0, (m+n) * sizeof(uint32_t));
 1508     memset(R, 0, n * sizeof(uint32_t));
 1514   for (unsigned i = n; i > 0 && V[i-1] == 0; i--) {
 1515     n--;
 1518   for (unsigned i = m+n; i > 0 && U[i-1] == 0; i--)
 1527   assert(n != 0 && "Divide by zero?");
 1528   if (n == 1) {
 1552     KnuthDiv(U, V, Q, R, m, n);