|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/polly/lib/External/isl/imath/gmp_compat.c 429 mp_size num_digits_in_long = sizeof(unsigned long) / sizeof(mp_digit);
430 mp_digit *digits = MP_DIGITS(op);
693 mp_digit* src;
772 mp_digit *dst;
790 num_digits = (total_size + sizeof(mp_digit) - 1) / sizeof(mp_digit);
790 num_digits = (total_size + sizeof(mp_digit) - 1) / sizeof(mp_digit);
822 mp_digit *dz_ = MP_DIGITS(tmp) + uz_ -1;
tools/polly/lib/External/isl/imath/imath.c 226 STATIC mp_digit *s_alloc(mp_size num);
236 STATIC void s_fake(mp_int z, mp_small value, mp_digit vbuf[]);
237 STATIC void s_ufake(mp_int z, mp_usmall value, mp_digit vbuf[]);
240 STATIC int s_cdig(mp_digit *da, mp_digit *db, mp_size len);
240 STATIC int s_cdig(mp_digit *da, mp_digit *db, mp_size len);
243 STATIC int s_uvpack(mp_usmall v, mp_digit t[]);
254 STATIC mp_digit s_uadd(mp_digit *da, mp_digit *db, mp_digit *dc,
254 STATIC mp_digit s_uadd(mp_digit *da, mp_digit *db, mp_digit *dc,
254 STATIC mp_digit s_uadd(mp_digit *da, mp_digit *db, mp_digit *dc,
254 STATIC mp_digit s_uadd(mp_digit *da, mp_digit *db, mp_digit *dc,
258 STATIC void s_usub(mp_digit *da, mp_digit *db, mp_digit *dc,
258 STATIC void s_usub(mp_digit *da, mp_digit *db, mp_digit *dc,
258 STATIC void s_usub(mp_digit *da, mp_digit *db, mp_digit *dc,
262 STATIC int s_kmul(mp_digit *da, mp_digit *db, mp_digit *dc,
262 STATIC int s_kmul(mp_digit *da, mp_digit *db, mp_digit *dc,
262 STATIC int s_kmul(mp_digit *da, mp_digit *db, mp_digit *dc,
266 STATIC void s_umul(mp_digit *da, mp_digit *db, mp_digit *dc,
266 STATIC void s_umul(mp_digit *da, mp_digit *db, mp_digit *dc,
266 STATIC void s_umul(mp_digit *da, mp_digit *db, mp_digit *dc,
270 STATIC int s_ksqr(mp_digit *da, mp_digit *dc, mp_size size_a);
270 STATIC int s_ksqr(mp_digit *da, mp_digit *dc, mp_size size_a);
273 STATIC void s_usqr(mp_digit *da, mp_digit *dc, mp_size size_a);
273 STATIC void s_usqr(mp_digit *da, mp_digit *dc, mp_size size_a);
276 STATIC void s_dadd(mp_int a, mp_digit b);
279 STATIC void s_dmul(mp_int a, mp_digit b);
282 STATIC void s_dbmul(mp_digit *da, mp_digit b, mp_digit *dc,
282 STATIC void s_dbmul(mp_digit *da, mp_digit b, mp_digit *dc,
282 STATIC void s_dbmul(mp_digit *da, mp_digit b, mp_digit *dc,
287 STATIC mp_digit s_ddiv(mp_int a, mp_digit b);
287 STATIC mp_digit s_ddiv(mp_int a, mp_digit b);
433 mp_digit vbuf[MP_VALUE_DIGITS(value)];
442 mp_digit vbuf[MP_VALUE_DIGITS(uvalue)];
451 mp_digit vbuf[MP_VALUE_DIGITS(value)];
460 mp_digit vbuf[MP_VALUE_DIGITS(uvalue)];
493 mp_digit *da, *dc;
571 mp_digit carry;
628 mp_digit vbuf[MP_VALUE_DIGITS(value)];
646 mp_digit carry;
698 mp_digit vbuf[MP_VALUE_DIGITS(value)];
707 mp_digit *out;
766 mp_digit vbuf[MP_VALUE_DIGITS(value)];
789 mp_digit *out;
960 mp_digit vbuf[MP_VALUE_DIGITS(value)];
1071 mp_digit d = b->digits[ix];
1207 mp_digit vbuf[MP_VALUE_DIGITS(value)];
1218 mp_digit vbuf[MP_VALUE_DIGITS(value)];
1617 mp_digit *dz;
1647 mp_digit *dz;
1701 mp_digit d;
1814 mp_digit d;
1855 mp_digit *dz;
1968 STATIC mp_digit *s_alloc(mp_size num)
1970 mp_digit *out = malloc(num * sizeof(mp_digit));
1970 mp_digit *out = malloc(num * sizeof(mp_digit));
1986 STATIC mp_digit *s_realloc(mp_digit *old, mp_size osize, mp_size nsize)
1986 STATIC mp_digit *s_realloc(mp_digit *old, mp_size osize, mp_size nsize)
1997 mp_digit *new = realloc(old, nsize * sizeof(mp_digit));
1997 mp_digit *new = realloc(old, nsize * sizeof(mp_digit));
2013 mp_digit *tmp;
2032 STATIC void s_fake(mp_int z, mp_small value, mp_digit vbuf[])
2040 STATIC void s_ufake(mp_int z, mp_usmall value, mp_digit vbuf[])
2050 STATIC int s_cdig(mp_digit *da, mp_digit *db, mp_size len)
2050 STATIC int s_cdig(mp_digit *da, mp_digit *db, mp_size len)
2052 mp_digit *dat = da + len - 1, *dbt = db + len - 1;
2064 STATIC int s_uvpack(mp_usmall uv, mp_digit t[])
2102 mp_digit vdig[MP_VALUE_DIGITS(uv)];
2108 STATIC mp_digit s_uadd(mp_digit *da, mp_digit *db, mp_digit *dc,
2108 STATIC mp_digit s_uadd(mp_digit *da, mp_digit *db, mp_digit *dc,
2108 STATIC mp_digit s_uadd(mp_digit *da, mp_digit *db, mp_digit *dc,
2108 STATIC mp_digit s_uadd(mp_digit *da, mp_digit *db, mp_digit *dc,
2139 STATIC void s_usub(mp_digit *da, mp_digit *db, mp_digit *dc,
2139 STATIC void s_usub(mp_digit *da, mp_digit *db, mp_digit *dc,
2139 STATIC void s_usub(mp_digit *da, mp_digit *db, mp_digit *dc,
2170 STATIC int s_kmul(mp_digit *da, mp_digit *db, mp_digit *dc,
2170 STATIC int s_kmul(mp_digit *da, mp_digit *db, mp_digit *dc,
2170 STATIC int s_kmul(mp_digit *da, mp_digit *db, mp_digit *dc,
2194 mp_digit *t1, *t2, *t3, carry;
2196 mp_digit *a_top = da + bot_size;
2197 mp_digit *b_top = db + bot_size;
2255 STATIC void s_umul(mp_digit *da, mp_digit *db, mp_digit *dc,
2255 STATIC void s_umul(mp_digit *da, mp_digit *db, mp_digit *dc,
2255 STATIC void s_umul(mp_digit *da, mp_digit *db, mp_digit *dc,
2262 mp_digit *dct = dc;
2263 mp_digit *dbt = db;
2280 STATIC int s_ksqr(mp_digit *da, mp_digit *dc, mp_size size_a)
2280 STATIC int s_ksqr(mp_digit *da, mp_digit *dc, mp_size size_a)
2284 mp_digit *a_top = da + bot_size;
2285 mp_digit *t1, *t2, *t3, carry;
2333 STATIC void s_usqr(mp_digit *da, mp_digit *dc, mp_size size_a)
2333 STATIC void s_usqr(mp_digit *da, mp_digit *dc, mp_size size_a)
2339 mp_digit *dct = dc, *dat = da;
2385 STATIC void s_dadd(mp_int a, mp_digit b)
2388 mp_digit *da = MP_DIGITS(a);
2408 STATIC void s_dmul(mp_int a, mp_digit b)
2411 mp_digit *da = MP_DIGITS(a);
2427 STATIC void s_dbmul(mp_digit *da, mp_digit b, mp_digit *dc, mp_size size_a)
2427 STATIC void s_dbmul(mp_digit *da, mp_digit b, mp_digit *dc, mp_size size_a)
2427 STATIC void s_dbmul(mp_digit *da, mp_digit b, mp_digit *dc, mp_size size_a)
2443 STATIC mp_digit s_ddiv(mp_int a, mp_digit b)
2443 STATIC mp_digit s_ddiv(mp_int a, mp_digit b)
2447 mp_digit *da = MP_DIGITS(a) + ua - 1;
2474 mp_digit *to, *from;
2490 mp_digit d = 0, *dz, save;
2514 mp_digit mask = (1u << rest) - 1;
2526 mp_digit *from, *to, d;
2539 mp_digit *dz = MP_DIGITS(z) + uz - 1;
2565 mp_digit save = *from;
2589 mp_digit hi = (1 << (p2 % MP_DIGIT_BIT)), *zp;
2617 mp_digit *dp = MP_DIGITS(z), d;
2639 mp_digit *dz = MP_DIGITS(z), d;
2661 mp_digit *dz;
2679 mp_digit d = b->digits[MP_USED(b) - 1];
2754 mp_digit *db, *dbt, umu, d;
2852 mp_digit d, rem;
3089 mp_digit *dz;
3094 mp_digit d = *dz++;
3097 for (i = sizeof(mp_digit); i > 0 && pos < limit; --i) {
tools/polly/lib/External/isl/imath/imath.h 57 mp_digit single;
58 mp_digit *digits;
tools/polly/lib/External/isl/isl_int_sioimath.c 17 extern void isl_siomath_uint32_to_digits(uint32_t num, mp_digit *digits,
19 extern void isl_siomath_ulong_to_digits(unsigned long num, mp_digit *digits,
21 extern void isl_siomath_uint64_to_digits(uint64_t num, mp_digit *digits,
tools/polly/lib/External/isl/isl_int_sioimath.h 188 mp_digit digits[(sizeof(uintmax_t) + sizeof(mp_digit) - 1) /
188 mp_digit digits[(sizeof(uintmax_t) + sizeof(mp_digit) - 1) /
189 sizeof(mp_digit)];
220 inline void isl_siomath_uint32_to_digits(uint32_t num, mp_digit *digits,
226 inline void isl_siomath_ulong_to_digits(unsigned long num, mp_digit *digits,
232 inline void isl_siomath_uint64_to_digits(uint64_t num, mp_digit *digits,
1150 mp_digit digits[(sizeof(uint32_t) + sizeof(mp_digit) - 1) /
1150 mp_digit digits[(sizeof(uint32_t) + sizeof(mp_digit) - 1) /
1151 sizeof(mp_digit)];
1161 for (i = 0; i < used * sizeof(mp_digit); i += 1)