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

References

tools/polly/lib/External/isl/imath/imath.c
   58 STATIC const char *s_unknown_err = "unknown result code";
   59 STATIC const char *s_error_msg[] = {
   86 STATIC const double s_log2[] = {
  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);
  229 STATIC void s_free(void *ptr);
  233 STATIC int  s_pad(mp_int z, mp_size min);
  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);
  243 STATIC int       s_uvpack(mp_usmall v, mp_digit t[]);
  246 STATIC int       s_ucmp(mp_int a, mp_int b);
  249 STATIC int       s_vcmp(mp_int a, mp_small v);
  250 STATIC int       s_uvcmp(mp_int a, mp_usmall uv);
  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,
  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,
  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);
  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,
  287 STATIC mp_digit  s_ddiv(mp_int a, mp_digit b);
  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);
  304 STATIC int       s_dp2k(mp_int z);
  307 STATIC int       s_isp2(mp_int z);
  310 STATIC int       s_2expt(mp_int z, mp_small k);
  313 STATIC int       s_norm(mp_int a, mp_int b);
  317 STATIC mp_result s_brmu(mp_int z, mp_int m);
  320 STATIC int       s_reduce(mp_int x, mp_int m, mp_int mu, mp_int q1, mp_int q2);
  323 STATIC mp_result s_embar(mp_int a, mp_int b, mp_int m, mp_int mu, mp_int c);
  327 STATIC mp_result s_udiv_knuth(mp_int a, mp_int b);
  331 STATIC int       s_outlen(mp_int z, mp_size r);
  336 STATIC mp_size   s_inlen(int len, mp_size r);
  340 STATIC int       s_ch2val(char c, int r);
  343 STATIC char      s_val2ch(int v, int caps);
  346 STATIC void      s_2comp(unsigned char *buf, int len);
  351 STATIC mp_result s_tobin(mp_int z, unsigned char *buf, int *limpos, int pad);
 1968 STATIC mp_digit *s_alloc(mp_size num)
 1986 STATIC mp_digit *s_realloc(mp_digit *old, mp_size osize, mp_size nsize)
 2004 STATIC void s_free(void *ptr)
 2009 STATIC int      s_pad(mp_int z, mp_size min)
 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)
 2064 STATIC int       s_uvpack(mp_usmall uv, mp_digit t[])
 2081 STATIC int      s_ucmp(mp_int a, mp_int b)
 2093 STATIC int      s_vcmp(mp_int a, mp_small v)
 2099 STATIC int      s_uvcmp(mp_int a, mp_usmall uv)
 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,
 2170 STATIC int       s_kmul(mp_digit *da, mp_digit *db, mp_digit *dc,
 2255 STATIC void     s_umul(mp_digit *da, mp_digit *db, mp_digit *dc,
 2280 STATIC int       s_ksqr(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)
 2385 STATIC void      s_dadd(mp_int a, mp_digit b)
 2408 STATIC void      s_dmul(mp_int a, mp_digit b)
 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)
 2467 STATIC void     s_qdiv(mp_int z, mp_size p2)
 2510 STATIC void     s_qmod(mp_int z, mp_size p2)
 2523 STATIC int      s_qmul(mp_int z, mp_size p2)
 2587 STATIC int       s_qsub(mp_int z, mp_size p2)
 2614 STATIC int      s_dp2k(mp_int z)
 2636 STATIC int       s_isp2(mp_int z)
 2658 STATIC int       s_2expt(mp_int z, mp_small k)
 2677 STATIC int      s_norm(mp_int a, mp_int b)
 2696 STATIC mp_result s_brmu(mp_int z, mp_int m)
 2707 STATIC int       s_reduce(mp_int x, mp_int m, mp_int mu, mp_int q1, mp_int q2)
 2752 STATIC mp_result s_embar(mp_int a, mp_int b, mp_int m, mp_int mu, mp_int c)
 2839 STATIC mp_result s_udiv_knuth(mp_int u, mp_int v) {
 3017 STATIC int       s_outlen(mp_int z, mp_size r)
 3030 STATIC mp_size   s_inlen(int len, mp_size r)
 3038 STATIC int       s_ch2val(char c, int r)
 3052 STATIC char      s_val2ch(int v, int caps)
 3068 STATIC void      s_2comp(unsigned char *buf, int len)
 3086 STATIC mp_result s_tobin(mp_int z, unsigned char *buf, int *limpos, int pad)