Lines Matching refs:HOST_WIDE_INT

0 /* HOST_WIDE_INT definitions for the GNU compiler.
48 /* Set HOST_WIDE_INT, this should be always 64 bits.
54 # define HOST_WIDE_INT long
58 # define HOST_WIDE_INT long long
61 #error "Unable to find a suitable type for HOST_WIDE_INT"
72 of HOST_WIDE_INT for %wd specifier checks. You must issue this
74 typedef HOST_WIDE_INT __gcc_host_wide_int__;
97 /* Various printf format strings for HOST_WIDE_INT. */
134 /* Inline functions operating on HOST_WIDE_INT. */
137 extern int clz_hwi (unsigned HOST_WIDE_INT x);
138 extern int ctz_hwi (unsigned HOST_WIDE_INT x);
139 extern int ffs_hwi (unsigned HOST_WIDE_INT x);
142 extern int popcount_hwi (unsigned HOST_WIDE_INT x);
145 extern int exact_log2 (unsigned HOST_WIDE_INT);
148 extern int floor_log2 (unsigned HOST_WIDE_INT);
151 extern int ceil_log2 (unsigned HOST_WIDE_INT);
157 clz_hwi (unsigned HOST_WIDE_INT x)
171 ctz_hwi (unsigned HOST_WIDE_INT x)
185 ffs_hwi (unsigned HOST_WIDE_INT x)
197 popcount_hwi (unsigned HOST_WIDE_INT x)
209 floor_log2 (unsigned HOST_WIDE_INT x)
215 ceil_log2 (unsigned HOST_WIDE_INT x)
221 exact_log2 (unsigned HOST_WIDE_INT x)
228 #define HOST_WIDE_INT_MIN (HOST_WIDE_INT) \
229 ((unsigned HOST_WIDE_INT) 1 << (HOST_BITS_PER_WIDE_INT - 1))
232 extern HOST_WIDE_INT abs_hwi (HOST_WIDE_INT);
233 extern unsigned HOST_WIDE_INT absu_hwi (HOST_WIDE_INT);
234 extern HOST_WIDE_INT gcd (HOST_WIDE_INT, HOST_WIDE_INT);
235 extern HOST_WIDE_INT pos_mul_hwi (HOST_WIDE_INT, HOST_WIDE_INT);
236 extern HOST_WIDE_INT mul_hwi (HOST_WIDE_INT, HOST_WIDE_INT);
237 extern HOST_WIDE_INT least_common_multiple (HOST_WIDE_INT, HOST_WIDE_INT);
241 static inline HOST_WIDE_INT
242 sext_hwi (HOST_WIDE_INT src, unsigned int prec)
255 static inline unsigned HOST_WIDE_INT
256 zext_hwi (unsigned HOST_WIDE_INT src, unsigned int prec)
263 return src & (((unsigned HOST_WIDE_INT) 1 << prec) - 1);
269 inline HOST_WIDE_INT
270 abs_hwi (HOST_WIDE_INT x)
278 inline unsigned HOST_WIDE_INT
279 absu_hwi (HOST_WIDE_INT x)
281 return x >= 0 ? (unsigned HOST_WIDE_INT)x : -(unsigned HOST_WIDE_INT)x;