Lines Matching refs:HiBound
2575 APInt LoBound, HiBound; in foldICmpDivConstant() local
2584 HiOverflow = addWithOverflow(HiBound, LoBound, RangeSize, false); in foldICmpDivConstant()
2590 HiBound = RangeSize; in foldICmpDivConstant()
2595 HiOverflow = addWithOverflow(HiBound, Prod, RangeSize, true); in foldICmpDivConstant()
2598 HiBound = Prod + 1; in foldICmpDivConstant()
2602 LoOverflow = addWithOverflow(LoBound, HiBound, DivNeg, true) ? -1 : 0; in foldICmpDivConstant()
2611 HiBound = -RangeSize; in foldICmpDivConstant()
2612 if (HiBound == *C2) { // -INTMIN = INTMIN in foldICmpDivConstant()
2614 HiBound = APInt(); // e.g. X/INTMIN = 0 --> X > INTMIN in foldICmpDivConstant()
2618 HiBound = Prod + 1; in foldICmpDivConstant()
2622 addWithOverflow(LoBound, HiBound, RangeSize, true) ? -1 : 0; in foldICmpDivConstant()
2627 HiOverflow = subWithOverflow(HiBound, Prod, RangeSize, true); in foldICmpDivConstant()
2645 X, ConstantInt::get(Ty, HiBound)); in foldICmpDivConstant()
2647 Cmp, insertRangeTest(X, LoBound, HiBound, DivIsSigned, true)); in foldICmpDivConstant()
2656 X, ConstantInt::get(Ty, HiBound)); in foldICmpDivConstant()
2658 Cmp, insertRangeTest(X, LoBound, HiBound, DivIsSigned, false)); in foldICmpDivConstant()
2673 return new ICmpInst(ICmpInst::ICMP_UGE, X, ConstantInt::get(Ty, HiBound)); in foldICmpDivConstant()
2674 return new ICmpInst(ICmpInst::ICMP_SGE, X, ConstantInt::get(Ty, HiBound)); in foldICmpDivConstant()