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

Declarations

include/llvm/ADT/APInt.h
 1097   APInt sadd_ov(const APInt &RHS, bool &Overflow) const;

References

include/llvm/Support/CheckedArithmetic.h
   49   return checkedOp(LHS, RHS, &llvm::APInt::sadd_ov);
lib/Analysis/ConstantFolding.cpp
 2159         Res = C0->sadd_ov(*C1, Overflow);
lib/IR/ConstantRange.cpp
  883       APInt Temp = LMin.sadd_ov(RMin, Overflow);
  889       APInt Temp = LMax.sadd_ov(RMax, Overflow);
lib/Support/APInt.cpp
 2015   APInt Res = sadd_ov(RHS, Overflow);
lib/Transforms/InstCombine/InstCombineCalls.cpp
 2030           IsSigned ? C1->sadd_ov(*C0, Overflow) : C1->uadd_ov(*C0, Overflow);
 2135           NewVal = Val->sadd_ov(*Val2, Overflow);
lib/Transforms/InstCombine/InstCombineCompares.cpp
   43     Result = In1.sadd_ov(In2, Overflow);
lib/Transforms/InstCombine/InstructionCombining.cpp
  219     (void)BVal->sadd_ov(*CVal, Overflow);
tools/clang/lib/AST/ExprConstant.cpp
11019       Result = LHS.isSigned() ? LHS.sadd_ov(RHS, DidOverflow)
tools/clang/lib/Basic/FixedPoint.cpp
  166     Result = ThisVal.isSigned() ? ThisVal.sadd_ov(OtherVal, Overflowed)
tools/clang/lib/CodeGen/CGExprScalar.cpp
   64       Result = LHSAP.sadd_ov(RHSAP, Overflow);
tools/clang/lib/Lex/PPExpressions.cpp
  707         Res = llvm::APSInt(LHS.Val.sadd_ov(RHS.Val, Overflow), false);
tools/clang/lib/Sema/SemaChecking.cpp
 6705     ResOffset = Offset.sadd_ov(Addend, Ov);
unittests/IR/ConstantRangeTest.cpp
  813         return N1.sadd_ov(N2, IsOverflow);
  895         return N1.sadd_ov(N2, IsOverflow);
 1404       (void)I.sadd_ov(C, Overflow);
 1645         (void) N1.sadd_ov(N2, Overflow);
 2046         (void) N1.sadd_ov(N2, Overflow);
unittests/Support/KnownBitsTest.cpp
   96             Res = N1.sadd_ov(N2, Overflow);