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

References

tools/clang/unittests/Basic/FixedPointTest.cpp
  150   CheckUnpaddedMax(getAccumSema());
  172   CheckMin(getAccumSema());
  231   CheckIntPart(getAccumSema(), 2);
  239   CheckIntPart(getAccumSema(), 0);
  254   CheckIntPartMin(getAccumSema(), -65536);
  263   CheckIntPartMax(getAccumSema(), 65535);
  306             APFixedPoint(81920, getAccumSema()));
  314   ASSERT_EQ(APFixedPoint(16384, getAccumSema()),
  327             APFixedPoint(81920, Saturated(getAccumSema())));
  333             APFixedPoint(-81920, getAccumSema()));
  342   ASSERT_LT(APFixedPoint(-1, getSAccumSema()), APFixedPoint(0, getAccumSema()));
  345   ASSERT_LT(APFixedPoint(0, getSAccumSema()), APFixedPoint(1, getAccumSema()));
  347   ASSERT_LT(APFixedPoint(0, getUSAccumSema()), APFixedPoint(1, getAccumSema()));
  352   ASSERT_GT(APFixedPoint(0, getAccumSema()), APFixedPoint(-1, getSAccumSema()));
  355   ASSERT_GT(APFixedPoint(1, getAccumSema()), APFixedPoint(0, getSAccumSema()));
  357   ASSERT_GT(APFixedPoint(1, getAccumSema()), APFixedPoint(0, getUSAccumSema()));
  408   CheckUnsaturatedConversion(Src, getAccumSema(), NormalVal);
  419   CheckUnsaturatedConversion(Src, getAccumSema(), -NormalVal);
  452   CheckUnsaturatedConversion(Src, getAccumSema(), 0);
  482   CheckUnsaturatedConversion(Src, getAccumSema(), NormalVal);
  507   CheckSignedAccumConversionsAgainstOthers(getAccumSema(), 32768);
  519   CheckSaturatedConversionMax(getLAccumSema(), Saturated(getAccumSema()),
  525   CheckSaturatedConversionMax(getULAccumSema(), Saturated(getAccumSema()),
  532   CheckSaturatedConversionMax(getPadULAccumSema(), Saturated(getAccumSema()),
  540   CheckSaturatedConversionMin(getLAccumSema(), Saturated(getAccumSema()),
  550   CheckSaturatedConversionMax(getAccumSema(), Saturated(getSAccumSema()),
  552   CheckSaturatedConversionMax(getAccumSema(), Saturated(getUSAccumSema()),
  554   CheckSaturatedConversionMax(getAccumSema(), Saturated(getPadUSAccumSema()),
  589   CheckSaturatedConversionMin(getAccumSema(), Saturated(getSAccumSema()),
  591   CheckSaturatedConversionMin(getAccumSema(), Saturated(getUSAccumSema()),
  593   CheckSaturatedConversionMin(getAccumSema(), Saturated(getPadUSAccumSema()),
  616   Val = APFixedPoint(1ULL << 23, getAccumSema());
  620   ASSERT_EQ(Val.convert(getAccumSema()).getValue(), -(1ULL << 31));
  626   Val = APFixedPoint(-(257 << 15), getAccumSema());
  630   ASSERT_EQ(Val.convert(getAccumSema()).getValue(), 65535 << 15);
  636   Val = APFixedPoint(-(1 << 15), getAccumSema());