-/* Constructs tree in type TYPE from with value given by CST. Signedness of CST
- is assumed to be the same as the signedness of TYPE. */
-
-tree
-double_int_to_tree (tree type, double_int cst)
-{
- if (bitpos < HOST_BITS_PER_WIDE_INT)
- a.low |= (unsigned HOST_WIDE_INT) 1 << bitpos;
- else
- a.high |= (HOST_WIDE_INT) 1 << (bitpos - HOST_BITS_PER_WIDE_INT);
-
- return a;
-}
-
-/* Shift A left by COUNT places keeping only PREC bits of result. Shift
- right if COUNT is negative. ARITH true specifies arithmetic shifting;
- otherwise use logical shift. */
-
-double_int
-double_int_lshift (double_int a, HOST_WIDE_INT count, unsigned int prec, bool arith)
-{
- double_int ret;
- lshift_double (a.low, a.high, count, prec, &ret.low, &ret.high, arith);
- return ret;
-}
-