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

References

tools/polly/lib/External/isl/imath/gmp_compat.c
  430   mp_digit *digits = MP_DIGITS(op);
  737   src = MP_DIGITS(op);
  795     tmp->digits[i] = 0;
  799   dst = MP_DIGITS(tmp);
  822     mp_digit *dz_ = MP_DIGITS(tmp) + uz_ -1;
tools/polly/lib/External/isl/imath/imath.c
  365   z->digits = &(z->single);
  394   if ((MP_DIGITS(z) = s_alloc(prec)) == NULL)
  397   z->digits[0] = 0;
  425   COPY(MP_DIGITS(old), MP_DIGITS(z), uold);
  425   COPY(MP_DIGITS(old), MP_DIGITS(z), uold);
  471   if (MP_DIGITS(z) != NULL) {
  472     if (MP_DIGITS(z) != &(z->single))
  473       s_free(MP_DIGITS(z));
  475     MP_DIGITS(z) = NULL;
  498     da = MP_DIGITS(a); dc = MP_DIGITS(c);
  498     da = MP_DIGITS(a); dc = MP_DIGITS(c);
  516     if (MP_DIGITS(a) == &(c->single))
  517       MP_DIGITS(a) = &(a->single);
  518     if (MP_DIGITS(c) == &(a->single))
  519       MP_DIGITS(c) = &(c->single);
  527   z->digits[0] = 0;
  554   if (CMPZ(c) != 0)
  576     carry = s_uadd(MP_DIGITS(a), MP_DIGITS(b), MP_DIGITS(c), ua, ub);
  576     carry = s_uadd(MP_DIGITS(a), MP_DIGITS(b), MP_DIGITS(c), ua, ub);
  576     carry = s_uadd(MP_DIGITS(a), MP_DIGITS(b), MP_DIGITS(c), ua, ub);
  583       c->digits[max] = carry;
  614     s_usub(MP_DIGITS(x), MP_DIGITS(y), MP_DIGITS(c), MP_USED(x), MP_USED(y));
  614     s_usub(MP_DIGITS(x), MP_DIGITS(y), MP_DIGITS(c), MP_USED(x), MP_USED(y));
  614     s_usub(MP_DIGITS(x), MP_DIGITS(y), MP_DIGITS(c), MP_USED(x), MP_USED(y));
  651     carry = s_uadd(MP_DIGITS(a), MP_DIGITS(b), MP_DIGITS(c), ua, ub);
  651     carry = s_uadd(MP_DIGITS(a), MP_DIGITS(b), MP_DIGITS(c), ua, ub);
  651     carry = s_uadd(MP_DIGITS(a), MP_DIGITS(b), MP_DIGITS(c), ua, ub);
  658       c->digits[max] = carry;
  685     s_usub(MP_DIGITS(x), MP_DIGITS(y), MP_DIGITS(c), MP_USED(x), MP_USED(y));
  685     s_usub(MP_DIGITS(x), MP_DIGITS(y), MP_DIGITS(c), MP_USED(x), MP_USED(y));
  685     s_usub(MP_DIGITS(x), MP_DIGITS(y), MP_DIGITS(c), MP_USED(x), MP_USED(y));
  739     out = MP_DIGITS(c);
  743   if (!s_kmul(MP_DIGITS(a), MP_DIGITS(b), out, ua, ub))
  743   if (!s_kmul(MP_DIGITS(a), MP_DIGITS(b), out, ua, ub))
  749   if (out != MP_DIGITS(c)) {
  750     if ((void *) MP_DIGITS(c) != (void *) c)
  751       s_free(MP_DIGITS(c));
  752     MP_DIGITS(c) = out;
  807     out = MP_DIGITS(c);
  811   s_ksqr(MP_DIGITS(a), out, MP_USED(a));
  816   if (out != MP_DIGITS(c)) {
  817     if ((void *) MP_DIGITS(c) != (void *) c)
  818       s_free(MP_DIGITS(c));
  819     MP_DIGITS(c) = out;
  840   if (CMPZ(b) == 0)
  863       q->digits[0] = 1;
  912     if (CMPZ(rout) == 0)
  917     if (CMPZ(qout) == 0)
  945   if (CMPZ(out) < 0)
 1071     mp_digit d = b->digits[ix];
 1129   if (MP_USED(z) == 1 && z->digits[0] == 0)
 1174   if (CMPZ(m) == 0)
 1176   if (CMPZ(b) < 0)
 1235   if (CMPZ(m) == 0)
 1237   if (CMPZ(b) < 0)
 1277   if (CMPZ(a) == 0 || CMPZ(m) <= 0)
 1277   if (CMPZ(a) == 0 || CMPZ(m) <= 0)
 1320   ca = CMPZ(a);
 1321   cb = CMPZ(b);
 1345   if (mp_int_is_odd(&u)) {
 1357     if (CMPZ(&t) > 0) {
 1369     if (CMPZ(&t) == 0)
 1400   ca = CMPZ(a);
 1401   cb = CMPZ(b);
 1417   TEMP(0)->digits[0] = 1;
 1418   TEMP(3)->digits[0] = 1;
 1439     while (mp_int_is_even(TEMP(4))) {
 1442       if (mp_int_is_odd(TEMP(0)) || mp_int_is_odd(TEMP(1))) {
 1442       if (mp_int_is_odd(TEMP(0)) || mp_int_is_odd(TEMP(1))) {
 1453     while (mp_int_is_even(TEMP(5))) {
 1456       if (mp_int_is_odd(TEMP(2)) || mp_int_is_odd(TEMP(3))) {
 1456       if (mp_int_is_odd(TEMP(2)) || mp_int_is_odd(TEMP(3))) {
 1478     if (CMPZ(TEMP(4)) == 0) {
 1629   dz = MP_DIGITS(z) + uz - 1;
 1658   dz = MP_DIGITS(z) + uz - 1;
 1683   if (CMPZ(z) == 0) {
 1703       if ((cmp = CMPZ(&tmp)) == 0)
 1786   MP_USED(z) = 1; z->digits[0] = 0;
 1797   if (CMPZ(z) == 0)
 1819   if (uz == 1 && z->digits[0] == 0)
 1824   d = z->digits[uz];
 1873   dz = MP_DIGITS(z);
 1930     *MP_DIGITS(z) |= *tmp;
 2015     if ((void *)z->digits == (void *)z) {
 2019       COPY(MP_DIGITS(z), tmp, MP_USED(z));
 2021     else if ((tmp = s_realloc(MP_DIGITS(z), MP_ALLOC(z), nsize)) == NULL)
 2024     MP_DIGITS(z) = tmp;
 2047   z->digits = vbuf;
 2090     return s_cdig(MP_DIGITS(a), MP_DIGITS(b), ua);
 2090     return s_cdig(MP_DIGITS(a), MP_DIGITS(b), ua);
 2388   mp_digit *da = MP_DIGITS(a);
 2411   mp_digit *da = MP_DIGITS(a);
 2447   mp_digit *da = MP_DIGITS(a) + ua - 1;
 2481     to = MP_DIGITS(z); from = to + ndig;
 2494     dz = MP_DIGITS(z) + uz - 1;
 2506   if (MP_USED(z) == 1 && z->digits[0] == 0)
 2518     z->digits[start - 1] &= mask;
 2539     mp_digit *dz = MP_DIGITS(z) + uz - 1;
 2552     from = MP_DIGITS(z) + uz - 1;
 2558     ZERO(MP_DIGITS(z), need);
 2564     for (i = need, from = MP_DIGITS(z) + need; i < uz; ++i, ++from) {
 2596   for (pos = 0, zp = MP_DIGITS(z); pos < tdig; ++pos, ++zp) {
 2617   mp_digit *dp = MP_DIGITS(z), d;
 2639   mp_digit *dz = MP_DIGITS(z), d;
 2669   dz = MP_DIGITS(z);
 2679   mp_digit d = b->digits[MP_USED(b) - 1];
 2735   if ((CMPZ(x) < 0) && !s_qsub(x, umb_p1))
 2758   umu = MP_USED(mu); db = MP_DIGITS(b); dbt = db + MP_USED(b) - 1;
 2762     ZERO(MP_DIGITS(TEMP(last__ - 1)), MP_ALLOC(TEMP(last__ - 1)));
 2853     d   = v->digits[0];
 2896     u->digits[m+n] = 0;
 2906   if (!s_pad(v, n+1)) return MP_MEMORY; v->digits[n] = 0;
 2917   r.digits = MP_DIGITS(u) + j;  /* The contents of r are shared with u */
 2917   r.digits = MP_DIGITS(u) + j;  /* The contents of r are shared with u */
 2921   ZERO(t.digits, t.alloc);
 2928     pfx   = r.digits[n];
 2931     pfx |= r.digits[n-1]; /* pfx = u_{j+n}{j+n-1} */
 2933     qhat = pfx / v->digits[n-1];
 2954     s_dbmul(MP_DIGITS(v), (mp_digit) qhat, t.digits, n+1); t.used = n + 1;
 2954     s_dbmul(MP_DIGITS(v), (mp_digit) qhat, t.digits, n+1); t.used = n + 1;
 2961       s_dbmul(MP_DIGITS(v), (mp_digit) qhat, t.digits, n+1);
 2961       s_dbmul(MP_DIGITS(v), (mp_digit) qhat, t.digits, n+1);
 2966         s_dbmul(MP_DIGITS(v), (mp_digit) qhat, t.digits, n+1);
 2966         s_dbmul(MP_DIGITS(v), (mp_digit) qhat, t.digits, n+1);
 2979     s_usub(r.digits, t.digits, r.digits, r.used, t.used);
 2979     s_usub(r.digits, t.digits, r.digits, r.used, t.used);
 2979     s_usub(r.digits, t.digits, r.digits, r.used, t.used);
 2987     q.digits[j] = (mp_digit)qhat;
 2995     r.digits--;
 2996     ZERO(t.digits, t.alloc);
 3092   uz = MP_USED(z); dz = MP_DIGITS(z);
tools/polly/lib/External/isl/imath/imrat.c
  150   if (r->num.digits != NULL)
tools/polly/lib/External/isl/isl_imath.c
    5 	unsigned const char *data = (unsigned char *)v->digits;
    6 	unsigned const char *end = data + v->used * sizeof(v->digits[0]);
tools/polly/lib/External/isl/isl_int_sioimath.h
  258 	scratch->big.digits = scratch->digits;
  279 	scratch->big.digits = scratch->digits;
  300 	scratch->big.digits = scratch->digits;
  319 	scratch->big.digits = scratch->digits;
  522 		         (double) big->digits[i];