|
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);
821 mp_size uz_ = MP_USED(tmp);
tools/polly/lib/External/isl/imath/imath.c 214 STATIC const mp_size default_precision = MP_DEFAULT_PREC;
221 STATIC const mp_size multiply_threshold = MP_MULT_THRESH;
226 STATIC mp_digit *s_alloc(mp_size num);
233 STATIC int s_pad(mp_int z, mp_size min);
240 STATIC int s_cdig(mp_digit *da, mp_digit *db, mp_size len);
255 mp_size size_a, mp_size size_b);
255 mp_size size_a, mp_size size_b);
259 mp_size size_a, mp_size size_b);
259 mp_size size_a, mp_size size_b);
263 mp_size size_a, mp_size size_b);
263 mp_size size_a, mp_size size_b);
267 mp_size size_a, mp_size size_b);
267 mp_size size_a, mp_size size_b);
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);
283 mp_size size_a);
290 STATIC void s_qdiv(mp_int z, mp_size p2);
293 STATIC void s_qmod(mp_int z, mp_size p2);
297 STATIC int s_qmul(mp_int z, mp_size p2);
301 STATIC int s_qsub(mp_int z, mp_size p2);
331 STATIC int s_outlen(mp_int z, mp_size r);
336 STATIC mp_size s_inlen(int len, mp_size r);
336 STATIC mp_size s_inlen(int len, mp_size r);
383 mp_result mp_int_init_size(mp_int z, mp_size prec)
408 mp_size uold;
417 mp_size target = MAX(uold, default_precision);
492 mp_size ua = MP_USED(a);
562 mp_size ua, ub, uc, max;
637 mp_size ua, ub, uc, max;
708 mp_size osize, ua, ub, p = 0;
790 mp_size osize, p = 0;
1167 mp_size um;
1228 mp_size um;
1616 mp_size uz;
1646 mp_size uz;
1672 mp_result mp_int_to_string(mp_int z, mp_size radix,
1728 mp_result mp_int_string_len(mp_int z, mp_size radix)
1747 mp_result mp_int_read_string(mp_int z, mp_size radix, const char *str)
1752 mp_result mp_int_read_cstring(mp_int z, mp_size radix, const char *str, char **end)
1813 mp_size nbits = 0, uz;
1853 mp_size need, i;
1916 mp_size need, i;
1968 STATIC mp_digit *s_alloc(mp_size num)
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)
2009 STATIC int s_pad(mp_int z, mp_size min)
2012 mp_size nsize = ROUND_PREC(min);
2042 mp_size ndig = (mp_size) s_uvpack(value, vbuf);
2050 STATIC int s_cdig(mp_digit *da, mp_digit *db, mp_size len)
2083 mp_size ua = MP_USED(a), ub = MP_USED(b);
2109 mp_size size_a, mp_size size_b)
2109 mp_size size_a, mp_size size_b)
2111 mp_size pos;
2140 mp_size size_a, mp_size size_b)
2140 mp_size size_a, mp_size size_b)
2142 mp_size pos;
2171 mp_size size_a, mp_size size_b)
2171 mp_size size_a, mp_size size_b)
2173 mp_size bot_size;
2199 mp_size at_size = size_a - bot_size;
2200 mp_size bt_size = size_b - bot_size;
2201 mp_size buf_size = 2 * bot_size;
2256 mp_size size_a, mp_size size_b)
2256 mp_size size_a, mp_size size_b)
2258 mp_size a, b;
2280 STATIC int s_ksqr(mp_digit *da, mp_digit *dc, mp_size size_a)
2283 mp_size bot_size = (size_a + 1) / 2;
2286 mp_size at_size = size_a - bot_size;
2287 mp_size buf_size = 2 * bot_size;
2333 STATIC void s_usqr(mp_digit *da, mp_digit *dc, mp_size size_a)
2335 mp_size i, j;
2389 mp_size ua = MP_USED(a);
2412 mp_size ua = MP_USED(a);
2427 STATIC void s_dbmul(mp_digit *da, mp_digit b, mp_digit *dc, mp_size size_a)
2446 mp_size ua = MP_USED(a);
2467 STATIC void s_qdiv(mp_int z, mp_size p2)
2469 mp_size ndig = p2 / MP_DIGIT_BIT, nbits = p2 % MP_DIGIT_BIT;
2470 mp_size uz = MP_USED(z);
2473 mp_size mark;
2491 mp_size up = MP_DIGIT_BIT - nbits;
2510 STATIC void s_qmod(mp_int z, mp_size p2)
2512 mp_size start = p2 / MP_DIGIT_BIT + 1, rest = p2 % MP_DIGIT_BIT;
2513 mp_size uz = MP_USED(z);
2523 STATIC int s_qmul(mp_int z, mp_size p2)
2525 mp_size uz, need, rest, extra, i;
2587 STATIC int s_qsub(mp_int z, mp_size p2)
2590 mp_size tdig = (p2 / MP_DIGIT_BIT), pos;
2638 mp_size uz = MP_USED(z), k = 0;
2660 mp_size ndig, rest;
2698 mp_size um = MP_USED(m) * 2;
2709 mp_size um = MP_USED(m), umb_p1, umb_m1;
2844 mp_size m,n;
3017 STATIC int s_outlen(mp_int z, mp_size r)
3030 STATIC mp_size s_inlen(int len, mp_size r)
3030 STATIC mp_size s_inlen(int len, mp_size r)
3033 mp_size bits = (mp_size)(raw + 0.5);
3088 mp_size uz;
tools/polly/lib/External/isl/imath/imath.h 59 mp_size alloc;
60 mp_size used;
113 mp_result mp_int_init_size(mp_int z, mp_size prec);
188 mp_result mp_int_to_string(mp_int z, mp_size radix,
193 mp_result mp_int_string_len(mp_int z, mp_size radix);
196 mp_result mp_int_read_string(mp_int z, mp_size radix, const char *str);
197 mp_result mp_int_read_cstring(mp_int z, mp_size radix, const char *str,
tools/polly/lib/External/isl/imath/imrat.c 83 mp_result mp_rat_init_size(mp_rat r, mp_size n_prec, mp_size d_prec)
83 mp_result mp_rat_init_size(mp_rat r, mp_size n_prec, mp_size d_prec)
491 mp_result mp_rat_to_string(mp_rat r, mp_size radix, char *str, int limit)
521 mp_result mp_rat_to_decimal(mp_rat r, mp_size radix, mp_size prec,
521 mp_result mp_rat_to_decimal(mp_rat r, mp_size radix, mp_size prec,
644 mp_result mp_rat_string_len(mp_rat r, mp_size radix)
662 mp_result mp_rat_decimal_len(mp_rat r, mp_size radix, mp_size prec)
662 mp_result mp_rat_decimal_len(mp_rat r, mp_size radix, mp_size prec)
676 mp_result mp_rat_read_string(mp_rat r, mp_size radix, const char *str)
681 mp_result mp_rat_read_cstring(mp_rat r, mp_size radix, const char *str,
720 mp_result mp_rat_read_ustring(mp_rat r, mp_size radix, const char *str,
744 mp_result mp_rat_read_decimal(mp_rat r, mp_size radix, const char *str)
749 mp_result mp_rat_read_cdecimal(mp_rat r, mp_size radix, const char *str,
tools/polly/lib/External/isl/imath/imrat.h 55 mp_result mp_rat_init_size(mp_rat r, mp_size n_prec, mp_size d_prec);
55 mp_result mp_rat_init_size(mp_rat r, mp_size n_prec, mp_size d_prec);
94 mp_result mp_rat_to_string(mp_rat r, mp_size radix, char *str, int limit);
98 mp_result mp_rat_to_decimal(mp_rat r, mp_size radix, mp_size prec,
98 mp_result mp_rat_to_decimal(mp_rat r, mp_size radix, mp_size prec,
103 mp_result mp_rat_string_len(mp_rat r, mp_size radix);
107 mp_result mp_rat_decimal_len(mp_rat r, mp_size radix, mp_size prec);
107 mp_result mp_rat_decimal_len(mp_rat r, mp_size radix, mp_size prec);
110 mp_result mp_rat_read_string(mp_rat r, mp_size radix, const char *str);
111 mp_result mp_rat_read_cstring(mp_rat r, mp_size radix, const char *str,
113 mp_result mp_rat_read_ustring(mp_rat r, mp_size radix, const char *str,
117 mp_result mp_rat_read_decimal(mp_rat r, mp_size radix, const char *str);
118 mp_result mp_rat_read_cdecimal(mp_rat r, mp_size radix, const char *str,
tools/polly/lib/External/isl/isl_int_sioimath.c 18 mp_size *used);
20 mp_size *used);
22 mp_size *used);
tools/polly/lib/External/isl/isl_int_sioimath.h 221 mp_size *used)
227 mp_size *used)
233 mp_size *used)
1152 mp_size used;