Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp913 Constant *LoBound = nullptr, *HiBound = nullptr; in FoldICmpDivCst() local
917 LoBound = Prod; in FoldICmpDivCst()
922 HiOverflow = AddWithOverflow(HiBound, LoBound, RangeSize, false); in FoldICmpDivCst()
927 LoBound = ConstantExpr::getNeg(SubOne(RangeSize)); in FoldICmpDivCst()
930 LoBound = Prod; // e.g. X/5 op 3 --> [15, 20) in FoldICmpDivCst()
940 LoOverflow = AddWithOverflow(LoBound, HiBound, DivNeg, true) ? -1 : 0; in FoldICmpDivCst()
948 LoBound = AddOne(RangeSize); in FoldICmpDivCst()
959 LoOverflow = AddWithOverflow(LoBound, HiBound, RangeSize, true) ? -1:0; in FoldICmpDivCst()
961 LoBound = Prod; // e.g. X/-5 op -3 --> [15, 20) in FoldICmpDivCst()
979 ICmpInst::ICMP_UGE, X, LoBound); in FoldICmpDivCst()
[all …]