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

Declarations

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

References

include/llvm/Support/CheckedArithmetic.h
   58   return checkedOp(LHS, RHS, &llvm::APInt::ssub_ov);
lib/Analysis/ConstantFolding.cpp
 2165         Res = C0->ssub_ov(*C1, Overflow);
lib/Support/APInt.cpp
 2034   APInt Res = ssub_ov(RHS, Overflow);
lib/Target/X86/X86ISelLowering.cpp
36688   APInt Diff = TrueVal.ssub_ov(FalseVal, OV);
lib/Transforms/InstCombine/InstCombineCompares.cpp
   56     Result = In1.ssub_ov(In2, Overflow);
 2581         Cmp.isSigned() ? C.ssub_ov(*C2, Overflow) : C.usub_ov(*C2, Overflow);
lib/Transforms/InstCombine/InstCombineSelect.cpp
 2000     APInt Diff = C2->ssub_ov(*C1, Overflow);
lib/Transforms/InstCombine/InstructionCombining.cpp
  221     (void)BVal->ssub_ov(*CVal, Overflow);
tools/clang/lib/AST/ExprConstant.cpp
11029       Result = LHS.isSigned() ? LHS.ssub_ov(RHS, DidOverflow)
tools/clang/lib/CodeGen/CGExprScalar.cpp
   69       Result = LHSAP.ssub_ov(RHSAP, Overflow);
tools/clang/lib/Lex/PPExpressions.cpp
  713         Res = llvm::APSInt(LHS.Val.ssub_ov(RHS.Val, Overflow), false);
tools/clang/lib/Sema/SemaChecking.cpp
 6709     ResOffset = Offset.ssub_ov(Addend, Ov);
unittests/IR/ConstantRangeTest.cpp
 1432       (void)I.ssub_ov(C, Overflow);
 1659         (void) N1.ssub_ov(N2, Overflow);
 2059         (void) N1.ssub_ov(N2, Overflow);
unittests/Support/KnownBitsTest.cpp
   98             Res = N1.ssub_ov(N2, Overflow);