Searched refs:mp_digit (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/polly/lib/External/isl/imath/ |
| H A D | imath.c | 246 static mp_digit s_uadd(mp_digit *da, mp_digit *db, mp_digit *dc, mp_size size_a, 250 static void s_usub(mp_digit *da, mp_digit *db, mp_digit *dc, mp_size size_a, 254 static int s_kmul(mp_digit *da, mp_digit *db, mp_digit *dc, mp_size size_a, 258 static void s_umul(mp_digit *da, mp_digit *db, mp_digit *dc, mp_size size_a, 274 static void s_dbmul(mp_digit *da, mp_digit b, mp_digit *dc, mp_size size_a); 278 static mp_digit s_ddiv(mp_int a, mp_digit b); 1807 static mp_digit s_uadd(mp_digit *da, mp_digit *db, mp_digit *dc, mp_size size_a, in s_uadd() 1837 static void s_usub(mp_digit *da, mp_digit *db, mp_digit *dc, mp_size size_a, in s_usub() 1869 static int s_kmul(mp_digit *da, mp_digit *db, mp_digit *dc, mp_size size_a, in s_kmul() 1948 static void s_umul(mp_digit *da, mp_digit *db, mp_digit *dc, mp_size size_a, in s_umul() [all …]
|
| H A D | imath.h | 47 typedef uint16_t mp_digit; typedef 52 typedef uint32_t mp_digit; typedef 59 mp_digit single; 60 mp_digit* digits; 66 static inline mp_digit* MP_DIGITS(mp_int Z) { return Z->digits; } in MP_DIGITS() 81 #define MP_DIGIT_BIT (sizeof(mp_digit) * CHAR_BIT)
|
| H A D | gmp_compat.c | 401 (sizeof(unsigned long) + sizeof(mp_digit) - 1) / sizeof(mp_digit); in get_long_bits() 406 mp_digit *digits = MP_DIGITS(op); in get_long_bits() 662 mp_digit *src; in GMPZAPI() 742 mp_digit *dst; in GMPZAPI() 759 num_digits = (total_size + sizeof(mp_digit) - 1) / sizeof(mp_digit); in GMPZAPI() 779 *dst |= ((mp_digit)*src) << dst_bits; in GMPZAPI() 791 mp_digit *dz_ = MP_DIGITS(tmp) + uz_ - 1; in GMPZAPI()
|
| H A D | imtimer.c | 205 mp_digit d = 0; in mp_int_random()
|
| H A D | doc.md.in | 207 represented as mp_digit, which must be an unsigned integral type. 215 mp_digit single; /* single-digit value (see note) */ 216 mp_digit *digits; /* array of digits */
|
| /llvm-project-15.0.7/polly/lib/External/isl/ |
| H A D | isl_int_sioimath.h | 188 mp_digit digits[(sizeof(uintmax_t) + sizeof(mp_digit) - 1) / 189 sizeof(mp_digit)]; 209 ((num) >> (sizeof(mp_digit) * CHAR_BIT * i)); \ 211 if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ 212 sizeof(mp_digit)) \ 214 if (((num) >> (sizeof(mp_digit) * CHAR_BIT * i)) == 0) \ 220 inline void isl_siomath_uint32_to_digits(uint32_t num, mp_digit *digits, in isl_siomath_uint32_to_digits() 232 inline void isl_siomath_uint64_to_digits(uint64_t num, mp_digit *digits, in isl_siomath_uint64_to_digits() 1149 mp_digit digits[(sizeof(uint32_t) + sizeof(mp_digit) - 1) / in isl_sioimath_hash() 1150 sizeof(mp_digit)]; in isl_sioimath_hash() [all …]
|
| H A D | 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,
|
| H A D | isl_test_imath.c | 60 retval = mp_int_mul_pow2(&val, sizeof(mp_digit) * CHAR_BIT, &val); in test_imath_internals()
|