Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp903 ConstantInt *RangeSize = DivI->isExact() ? getOne(Prod) : DivRHS; in FoldICmpDivCst() local
922 HiOverflow = AddWithOverflow(HiBound, LoBound, RangeSize, false); in FoldICmpDivCst()
927 LoBound = ConstantExpr::getNeg(SubOne(RangeSize)); in FoldICmpDivCst()
928 HiBound = RangeSize; in FoldICmpDivCst()
933 HiOverflow = AddWithOverflow(HiBound, Prod, RangeSize, true); in FoldICmpDivCst()
939 ConstantInt *DivNeg =cast<ConstantInt>(ConstantExpr::getNeg(RangeSize)); in FoldICmpDivCst()
945 RangeSize = cast<ConstantInt>(ConstantExpr::getNeg(RangeSize)); in FoldICmpDivCst()
948 LoBound = AddOne(RangeSize); in FoldICmpDivCst()
949 HiBound = cast<ConstantInt>(ConstantExpr::getNeg(RangeSize)); in FoldICmpDivCst()
959 LoOverflow = AddWithOverflow(LoBound, HiBound, RangeSize, true) ? -1:0; in FoldICmpDivCst()
[all …]