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

References

tools/polly/lib/External/isl/imath/imrat.c
  529   SETUP(mp_int_init_copy(TEMP(last), MP_NUMER_P(r)), last);
  530   SETUP(mp_int_init(TEMP(last)), last);
  531   SETUP(mp_int_init(TEMP(last)), last);
  535   mp_int_abs(TEMP(0), TEMP(0));
  535   mp_int_abs(TEMP(0), TEMP(0));
  536   if ((res = mp_int_div(TEMP(0), MP_DENOM_P(r), TEMP(0), TEMP(1))) != MP_OK)
  536   if ((res = mp_int_div(TEMP(0), MP_DENOM_P(r), TEMP(0), TEMP(1))) != MP_OK)
  536   if ((res = mp_int_div(TEMP(0), MP_DENOM_P(r), TEMP(0), TEMP(1))) != MP_OK)
  543   for (lead_0 = 0; lead_0 < prec && mp_int_compare(TEMP(1), MP_DENOM_P(r)) < 0; 
  545     if ((res = mp_int_mul_value(TEMP(1), radix, TEMP(1))) != MP_OK)
  545     if ((res = mp_int_mul_value(TEMP(1), radix, TEMP(1))) != MP_OK)
  552     if ((res = mp_int_expt_value(radix, prec - lead_0, TEMP(2))) != MP_OK)
  554     if ((res = mp_int_mul(TEMP(1), TEMP(2), TEMP(1))) != MP_OK)
  554     if ((res = mp_int_mul(TEMP(1), TEMP(2), TEMP(1))) != MP_OK)
  554     if ((res = mp_int_mul(TEMP(1), TEMP(2), TEMP(1))) != MP_OK)
  557   if ((res = mp_int_div(TEMP(1), MP_DENOM_P(r), TEMP(1), TEMP(2))) != MP_OK)
  557   if ((res = mp_int_div(TEMP(1), MP_DENOM_P(r), TEMP(1), TEMP(2))) != MP_OK)
  557   if ((res = mp_int_div(TEMP(1), MP_DENOM_P(r), TEMP(1), TEMP(2))) != MP_OK)
  570     if (mp_int_compare_zero(TEMP(2)) != 0) {
  572 	res = mp_int_add_value(TEMP(0), 1, TEMP(0));
  572 	res = mp_int_add_value(TEMP(0), 1, TEMP(0));
  574 	res = mp_int_add_value(TEMP(1), 1, TEMP(1));
  574 	res = mp_int_add_value(TEMP(1), 1, TEMP(1));
  580     if ((res = mp_int_mul_pow2(TEMP(2), 1, TEMP(2))) != MP_OK)
  580     if ((res = mp_int_mul_pow2(TEMP(2), 1, TEMP(2))) != MP_OK)
  583     cmp = mp_int_compare(TEMP(2), MP_DENOM_P(r));    
  590 	res = mp_int_add_value(TEMP(0), 1, TEMP(0));
  590 	res = mp_int_add_value(TEMP(0), 1, TEMP(0));
  592 	res = mp_int_add_value(TEMP(1), 1, TEMP(1));
  592 	res = mp_int_add_value(TEMP(1), 1, TEMP(1));
  607       (mp_int_compare_zero(TEMP(0)) != 0 ||
  608        mp_int_compare_zero(TEMP(1)) != 0)) {
  613   if ((res = mp_int_to_string(TEMP(0), radix, start, left)) != MP_OK)
  635   res = mp_int_to_string(TEMP(1), radix, start, left);
  639     mp_int_clear(TEMP(last));