Home | History | Annotate | Download | only in gcc

Lines Matching refs:cst

707 /* Clears the bits of CST over the precision PREC.  If UNS is false, the bits
712 of CST, with the given signedness. */
728 const double_int &cst = *this;
732 r.low = cst.low & mask.low;
733 r.high = cst.high & mask.high;
743 const double_int &cst = *this;
749 snum = cst.low;
753 snum = (unsigned HOST_WIDE_INT) cst.high;
757 r.low = cst.low | ~mask.low;
758 r.high = cst.high | ~mask.high;
762 r.low = cst.low & mask.low;
763 r.high = cst.high & mask.high;
769 /* Returns true if CST fits in signed HOST_WIDE_INT. */
774 const double_int &cst = *this;
775 if (cst.high == 0)
776 return (HOST_WIDE_INT) cst.low >= 0;
777 else if (cst.high == -1)
778 return (HOST_WIDE_INT) cst.low < 0;
783 /* Returns true if CST fits in HOST_WIDE_INT if UNS is false, or in
1452 /* Splits last digit of *CST (taken as unsigned) in BASE and returns it. */
1455 double_int_split_digit (double_int *cst, unsigned base)
1460 div_and_round_double (FLOOR_DIV_EXPR, true, cst->low, cst->high, base, 0,
1462 cst->high = resh;
1463 cst->low = resl;
1468 /* Dumps CST to FILE. If UNS is true, CST is considered to be unsigned,
1472 dump_double_int (FILE *file, double_int cst, bool uns)
1477 if (cst.is_zero ())
1483 if (!uns && cst.is_negative ())
1486 cst = -cst;
1489 for (n = 0; !cst.is_zero (); n++)
1490 digits[n] = double_int_split_digit (&cst, 10);