Lines Matching refs:Overflow
240 // Overflow parsing integer literal.
250 // Detect overflow based on whether the value is signed. If signed
371 bool Overflow = !Result.isUnsigned() && Result.Val.isMinSignedValue();
374 if (Overflow && ValueLive)
566 bool Overflow = false;
581 Res = llvm::APSInt(LHS.Val.sdiv_ov(RHS.Val, Overflow), false);
593 Res = llvm::APSInt(LHS.Val.smul_ov(RHS.Val, Overflow), false);
598 // Determine whether overflow is about to happen.
600 Res = LHS.Val.ushl_ov(RHS.Val, Overflow);
602 Res = llvm::APSInt(LHS.Val.sshl_ov(RHS.Val, Overflow), false);
606 // Determine whether overflow is about to happen.
609 Overflow = true, ShAmt = LHS.getBitWidth()-1;
617 Res = llvm::APSInt(LHS.Val.sadd_ov(RHS.Val, Overflow), false);
623 Res = llvm::APSInt(LHS.Val.ssub_ov(RHS.Val, Overflow), false);
718 if (Overflow && ValueLive)