Home
last modified time | relevance | path

Searched refs:HiBound (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp913 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()
[all …]