Lines Matching refs:HiBound
913 Constant *LoBound = nullptr, *HiBound = nullptr; in FoldICmpDivCst() local
922 HiOverflow = AddWithOverflow(HiBound, LoBound, RangeSize, false); in FoldICmpDivCst()
928 HiBound = RangeSize; in FoldICmpDivCst()
933 HiOverflow = AddWithOverflow(HiBound, Prod, RangeSize, true); in FoldICmpDivCst()
936 HiBound = AddOne(Prod); in FoldICmpDivCst()
940 LoOverflow = AddWithOverflow(LoBound, HiBound, DivNeg, true) ? -1 : 0; in FoldICmpDivCst()
949 HiBound = cast<ConstantInt>(ConstantExpr::getNeg(RangeSize)); in FoldICmpDivCst()
950 if (HiBound == DivRHS) { // -INTMIN = INTMIN in FoldICmpDivCst()
952 HiBound = nullptr; // e.g. X/INTMIN = 0 --> X > INTMIN in FoldICmpDivCst()
956 HiBound = AddOne(Prod); in FoldICmpDivCst()
959 LoOverflow = AddWithOverflow(LoBound, HiBound, RangeSize, true) ? -1:0; in FoldICmpDivCst()
964 HiOverflow = SubWithOverflow(HiBound, Prod, RangeSize, true); in FoldICmpDivCst()
982 ICmpInst::ICMP_ULT, X, HiBound); in FoldICmpDivCst()
983 return ReplaceInstUsesWith(ICI, InsertRangeTest(X, LoBound, HiBound, in FoldICmpDivCst()
993 ICmpInst::ICMP_UGE, X, HiBound); in FoldICmpDivCst()
994 return ReplaceInstUsesWith(ICI, InsertRangeTest(X, LoBound, HiBound, in FoldICmpDivCst()
1010 return new ICmpInst(ICmpInst::ICMP_UGE, X, HiBound); in FoldICmpDivCst()
1011 return new ICmpInst(ICmpInst::ICMP_SGE, X, HiBound); in FoldICmpDivCst()