Lines Matching refs:Overflow
42 bool Overflow; in addWithOverflow() local
44 Result = In1.sadd_ov(In2, Overflow); in addWithOverflow()
46 Result = In1.uadd_ov(In2, Overflow); in addWithOverflow()
48 return Overflow; in addWithOverflow()
55 bool Overflow; in subWithOverflow() local
57 Result = In1.ssub_ov(In2, Overflow); in subWithOverflow()
59 Result = In1.usub_ov(In2, Overflow); in subWithOverflow()
61 return Overflow; in subWithOverflow()
2661 bool Overflow; in foldICmpAddConstant() local
2663 Cmp.isSigned() ? C.ssub_ov(*C2, Overflow) : C.usub_ov(*C2, Overflow); in foldICmpAddConstant()
2667 if (!Overflow) in foldICmpAddConstant()
4667 Constant *&Overflow) { in OptimizeOverflowCheck() argument
4683 Overflow = ConstantInt::getFalse(OverflowTy); in OptimizeOverflowCheck()
4694 Overflow = ConstantInt::getTrue(OverflowTy); in OptimizeOverflowCheck()
4699 Overflow = ConstantInt::getFalse(OverflowTy); in OptimizeOverflowCheck()
5849 Constant *Overflow; in visitICmpInst() local
5854 Result, Overflow)) { in visitICmpInst()
5857 return replaceInstUsesWith(I, Overflow); in visitICmpInst()