Home
last modified time | relevance | path

Searched refs:mp_small (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/polly/lib/External/isl/imath/
Dimath.h40 typedef long mp_small; /* must be a signed type */ typedef
115 mp_result mp_int_init_value(mp_int z, mp_small value);
117 mp_result mp_int_set_value(mp_int z, mp_small value);
128 mp_result mp_int_add_value(mp_int a, mp_small value, mp_int c);
130 mp_result mp_int_sub_value(mp_int a, mp_small value, mp_int c);
132 mp_result mp_int_mul_value(mp_int a, mp_small value, mp_int c);
133 mp_result mp_int_mul_pow2(mp_int a, mp_small p2, mp_int c);
137 mp_result mp_int_div_value(mp_int a, mp_small value, /* q = a / value */
138 mp_int q, mp_small *r); /* r = a % value */
139 mp_result mp_int_div_pow2(mp_int a, mp_small p2, /* q = a / 2^p2 */
[all …]
Dimrat.h57 mp_result mp_rat_set_value(mp_rat r, mp_small numer, mp_small denom);
81 mp_result mp_rat_expt(mp_rat a, mp_small b, mp_rat c); /* c = a ^ b */
86 int mp_rat_compare_value(mp_rat r, mp_small n, mp_small d); /* r <=> n/d */
90 mp_result mp_rat_to_ints(mp_rat r, mp_small *num, mp_small *den);
Dimath.c236 STATIC void s_fake(mp_int z, mp_small value, mp_digit vbuf[]);
249 STATIC int s_vcmp(mp_int a, mp_small v);
310 STATIC int s_2expt(mp_int z, mp_small k);
430 mp_result mp_int_init_value(mp_int z, mp_small value) in mp_int_init_value()
448 mp_result mp_int_set_value(mp_int z, mp_small value) in mp_int_set_value()
625 mp_result mp_int_add_value(mp_int a, mp_small value, mp_int c) in mp_int_add_value()
695 mp_result mp_int_sub_value(mp_int a, mp_small value, mp_int c) in mp_int_sub_value()
763 mp_result mp_int_mul_value(mp_int a, mp_small value, mp_int c) in mp_int_mul_value()
773 mp_result mp_int_mul_pow2(mp_int a, mp_small p2, mp_int c) in mp_int_mul_pow2()
957 mp_result mp_int_div_value(mp_int a, mp_small value, mp_int q, mp_small *r) in mp_int_div_value()
[all …]
Dimrat.c109 mp_result mp_rat_set_value(mp_rat r, mp_small numer, mp_small denom) in mp_rat_set_value()
382 mp_result mp_rat_expt(mp_rat a, mp_small b, mp_rat c) in mp_rat_expt()
457 int mp_rat_compare_value(mp_rat r, mp_small n, mp_small d) in mp_rat_compare_value()
480 mp_result mp_rat_to_ints(mp_rat r, mp_small *num, mp_small *den) in mp_rat_to_ints()
/external/llvm-project/polly/lib/External/isl/
Disl_test_imath.c32 assert(sizeof(mp_small) == sizeof(long)); in test_imath_internals()
Disl_int_sioimath.h391 mp_small small; in isl_sioimath_try_demote()
460 mp_small dummy; in isl_sioimath_fits_slong()
473 mp_small result; in isl_sioimath_get_si()