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

Declarations

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

References

include/llvm/Support/CheckedArithmetic.h
   96   return checkedOp(LHS, RHS, &llvm::APInt::umul_ov, /*Signed=*/false);
lib/Analysis/ConstantFolding.cpp
 2174         Res = C0->umul_ov(*C1, Overflow);
lib/Analysis/InstructionSimplify.cpp
 1042     (void)C1->getValue().umul_ov(C2->getValue(), Overflow);
lib/Analysis/MemoryBuiltins.cpp
  646     Size = Size.umul_ov(NumElems, Overflow);
  710   Size = Size.umul_ov(NumElems, Overflow);
lib/Analysis/ScalarEvolution.cpp
 3269               DivisorConstant->getAPInt().umul_ov(RHSC->getAPInt(), Overflow);
lib/IR/ConstantRange.cpp
 1468   (void) Min.umul_ov(OtherMin, Overflow);
 1472   (void) Max.umul_ov(OtherMax, Overflow);
lib/Support/APInt.cpp
 2066   APInt Res = umul_ov(RHS, Overflow);
lib/Transforms/IPO/Attributor.cpp
 3729           if ((Size->getValue().umul_ov(Num->getValue(), Overflow))
lib/Transforms/InstCombine/InstCombineAddSub.cpp
 1017     (void)C0.umul_ov(C1, overflow);
lib/Transforms/InstCombine/InstCombineCalls.cpp
 4242     APInt Size = N.umul_ov(Op1C->getValue(), Overflow);
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  650   Product = IsSigned ? C1.smul_ov(C2, Overflow) : C1.umul_ov(C2, Overflow);
tools/clang/lib/AST/ExprConstant.cpp
 7737   llvm::APInt BytesAvailable = SizeOfElem.umul_ov(NumberOfElems, Overflow);
11040                               : LHS.umul_ov(RHS, DidOverflow);
tools/clang/lib/CodeGen/CGExprCXX.cpp
  766       = adjustedCount.umul_ov(typeSizeMultiplier, overflow);
tools/clang/lib/CodeGen/CGExprScalar.cpp
   76       Result = LHSAP.umul_ov(RHSAP, Overflow);
unittests/ADT/APIntTest.cpp
 2602     (void)A.umul_ov(B, Overflow);
 2608     (void)A.umul_ov(B, Overflow);
 2615         APInt C = APInt(Bits, A).umul_ov(APInt(Bits, B), Overflow);
unittests/IR/ConstantRangeTest.cpp
 1666         (void) N1.umul_ov(N2, Overflow);
 2033         (void) N1.umul_ov(N2, Overflow);