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

References

tools/clang/include/clang/Basic/FixedPoint.h
   98        : Val(Val, !Sema.isSigned()), Sema(Sema) {
  104        : APFixedPoint(llvm::APInt(Sema.getWidth(), Val, Sema.isSigned()),
  110    llvm::APSInt getValue() const { return llvm::APSInt(Val, !Sema.isSigned()); }
  114    inline bool isSigned() const { return Sema.isSigned(); }
tools/clang/lib/Basic/FixedPoint.cpp
   50   if (!DstSema.isSigned() && NewVal.isSigned() && NewVal.isNegative()) {
   59   NewVal.setIsSigned(DstSema.isSigned());
  115   bool IsUnsigned = !Sema.isSigned();
  123   auto Val = llvm::APSInt::getMinValue(Sema.getWidth(), !Sema.isSigned());
  133   bool ResultIsSigned = isSigned() || Other.isSigned();
  133   bool ResultIsSigned = isSigned() || Other.isSigned();
  163     Result = CommonFXSema.isSigned() ? ThisVal.sadd_sat(OtherVal)
tools/clang/lib/CodeGen/CGExprScalar.cpp
 1430   bool SrcIsSigned = SrcFPSema.isSigned();
 1431   bool DstIsSigned = DstFPSema.isSigned();
 3414       llvm::Intrinsic::ID IID = ResultFixedSema.isSigned()
 3425       llvm::Intrinsic::ID IID = ResultFixedSema.isSigned()
 3435     return CommonFixedSema.isSigned() ? Builder.CreateICmpSLT(FullLHS, FullRHS)
 3438     return CommonFixedSema.isSigned() ? Builder.CreateICmpSGT(FullLHS, FullRHS)
 3441     return CommonFixedSema.isSigned() ? Builder.CreateICmpSLE(FullLHS, FullRHS)
 3444     return CommonFixedSema.isSigned() ? Builder.CreateICmpSGE(FullLHS, FullRHS)
tools/clang/lib/Serialization/ASTWriter.cpp
 5456   Record.push_back(FPSema.isSigned() | FPSema.isSaturated() << 1 |
tools/clang/unittests/Basic/FixedPointTest.cpp
  135             APSInt::getMaxValue(Sema.getWidth(), !Sema.isSigned()));
  140             APSInt::getMaxValue(Sema.getWidth(), !Sema.isSigned()) >> 1);
  145             APSInt::getMinValue(Sema.getWidth(), !Sema.isSigned()));
  198                                   Sema.isSigned()),
  204       APInt(Sema.getWidth(), (1ULL << (Scale - 1)), Sema.isSigned()), Sema);
  209       APInt(Sema.getWidth(), (IntPart << Scale), Sema.isSigned()), Sema);
  213   if (Sema.isSigned()) {
  215         APInt(Sema.getWidth(), (IntPart << Scale), Sema.isSigned()), Sema);