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

References

tools/clang/lib/AST/APValue.cpp
  351     return getFixedPoint().getValue().needsCleanup();
tools/clang/lib/Basic/FixedPoint.cpp
   64   llvm::APSInt ThisVal = getValue();
   65   llvm::APSInt OtherVal = Other.getValue();
  157   llvm::APSInt ThisVal = ConvertedThis.getValue();
  158   llvm::APSInt OtherVal = ConvertedOther.getValue();
  177   llvm::APSInt Val = getValue();
tools/clang/lib/CodeGen/CGExprConstant.cpp
 2024                                   Value.getFixedPoint().getValue());
tools/clang/lib/CodeGen/CGExprScalar.cpp
 1479           APFixedPoint::getMax(DstFPSema).getValue().extOrTrunc(ResultWidth));
 1489           APFixedPoint::getMin(DstFPSema).getValue().extOrTrunc(ResultWidth));
tools/clang/lib/Sema/SemaExpr.cpp
 3544     auto MaxVal = Context.getFixedPointMax(Ty).getValue();
tools/clang/lib/Serialization/ASTWriter.cpp
 5477     AddAPSInt(Value.getFixedPoint().getValue());
tools/clang/unittests/Basic/FixedPointTest.cpp
  134   ASSERT_EQ(APFixedPoint::getMax(Sema).getValue(),
  139   ASSERT_EQ(APFixedPoint::getMax(Sema).getValue(),
  144   ASSERT_EQ(APFixedPoint::getMin(Sema).getValue(),
  605   ASSERT_TRUE(Fixed.getValue().isSigned());
  607   ASSERT_TRUE(UFixed.getValue().isUnsigned());
  608   ASSERT_EQ(UFixed.getValue(), APSInt::getUnsigned(255 << 8).extOrTrunc(16));
  614   ASSERT_EQ(Val.convert(getLFractSema()).getValue(), -(1ULL << 31));
  617   ASSERT_EQ(Val.convert(getSAccumSema()).getValue(), -(1ULL << 15));
  620   ASSERT_EQ(Val.convert(getAccumSema()).getValue(), -(1ULL << 31));
  624   ASSERT_EQ(Val.convert(getLFractSema()).getValue(), 1ULL << 30);
  627   ASSERT_EQ(Val.convert(getSAccumSema()).getValue(), 255 << 7);
  630   ASSERT_EQ(Val.convert(getAccumSema()).getValue(), 65535 << 15);
  634   ASSERT_EQ(Val.convert(getUSAccumSema()).getValue(), 255 << 8);
  637   ASSERT_EQ(Val.convert(getUAccumSema()).getValue(), 65535ULL << 16);
  640   ASSERT_EQ(Val.convert(getULAccumSema()).getValue().getZExtValue(),