Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCompares.cpp798 Constant *LoBound = 0, *HiBound = 0; in FoldICmpDivCst() local
807 HiOverflow = AddWithOverflow(HiBound, LoBound, RangeSize, false); in FoldICmpDivCst()
814 HiBound = RangeSize; in FoldICmpDivCst()
819 HiOverflow = AddWithOverflow(HiBound, Prod, RangeSize, true); in FoldICmpDivCst()
822 HiBound = AddOne(Prod); in FoldICmpDivCst()
826 LoOverflow = AddWithOverflow(LoBound, HiBound, DivNeg, true) ? -1 : 0; in FoldICmpDivCst()
835 HiBound = cast<ConstantInt>(ConstantExpr::getNeg(RangeSize)); in FoldICmpDivCst()
836 if (HiBound == DivRHS) { // -INTMIN = INTMIN in FoldICmpDivCst()
838 HiBound = 0; // e.g. X/INTMIN = 0 --> X > INTMIN in FoldICmpDivCst()
842 HiBound = AddOne(Prod); in FoldICmpDivCst()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1239 Constant *LoBound = nullptr, *HiBound = nullptr; in FoldICmpDivCst() local
1248 HiOverflow = AddWithOverflow(HiBound, LoBound, RangeSize, false); in FoldICmpDivCst()
1254 HiBound = RangeSize; in FoldICmpDivCst()
1259 HiOverflow = AddWithOverflow(HiBound, Prod, RangeSize, true); in FoldICmpDivCst()
1262 HiBound = AddOne(Prod); in FoldICmpDivCst()
1266 LoOverflow = AddWithOverflow(LoBound, HiBound, DivNeg, true) ? -1 : 0; in FoldICmpDivCst()
1275 HiBound = cast<ConstantInt>(ConstantExpr::getNeg(RangeSize)); in FoldICmpDivCst()
1276 if (HiBound == DivRHS) { // -INTMIN = INTMIN in FoldICmpDivCst()
1278 HiBound = nullptr; // e.g. X/INTMIN = 0 --> X > INTMIN in FoldICmpDivCst()
1282 HiBound = AddOne(Prod); in FoldICmpDivCst()
[all …]