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

Declarations

include/llvm/ADT/APInt.h
 1109   APInt uadd_sat(const APInt &RHS) const;

References

include/llvm/Analysis/ScalarEvolutionExpressions.h
   70       Size = Size.uadd_sat(APInt(16, Arg->getExpressionSize()));
lib/Analysis/ConstantFolding.cpp
 2190         return ConstantInt::get(Ty, C0->uadd_sat(*C1));
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 4713   case ISD::UADDSAT: return std::make_pair(C1.uadd_sat(C2), true);
lib/IR/ConstantRange.cpp
  874     APInt NewMax = LMax.uadd_sat(RMax);
 1296   APInt NewL = getUnsignedMin().uadd_sat(Other.getUnsignedMin());
 1297   APInt NewU = getUnsignedMax().uadd_sat(Other.getUnsignedMax()) + 1;
lib/Transforms/InstCombine/InstCombineCalls.cpp
 2132           NewVal = Val->uadd_sat(*Val2);
tools/clang/lib/Basic/FixedPoint.cpp
  164                                      : ThisVal.uadd_sat(OtherVal);
unittests/ADT/APIntTest.cpp
 1183   EXPECT_EQ(APInt(8, 200), AP_100.uadd_sat(AP_100));
 1184   EXPECT_EQ(APInt(8, 255), AP_100.uadd_sat(AP_200));
 1185   EXPECT_EQ(APInt(8, 255), APInt(8, 255).uadd_sat(APInt(8, 255)));
unittests/IR/ConstantRangeTest.cpp
 2165         return N1.uadd_sat(N2);