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()
2382 bool Overflow; in foldICmpAddConstant() local
2384 Cmp.isSigned() ? C.ssub_ov(*C2, Overflow) : C.usub_ov(*C2, Overflow); in foldICmpAddConstant()
2388 if (!Overflow) in foldICmpAddConstant()
3818 Value *&Result, Constant *&Overflow) { in OptimizeOverflowCheck() argument
3824 Overflow = OverflowVal; in OptimizeOverflowCheck()
4986 Constant *Overflow; in visitICmpInst() local
4988 Overflow)) { in visitICmpInst()
4990 return replaceInstUsesWith(I, Overflow); in visitICmpInst()