Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCompares.cpp798 Constant *LoBound = 0, *HiBound = 0; in FoldICmpDivCst() local
802 LoBound = Prod; in FoldICmpDivCst()
807 HiOverflow = AddWithOverflow(HiBound, LoBound, RangeSize, false); in FoldICmpDivCst()
813 LoBound = ConstantExpr::getNeg(SubOne(RangeSize)); in FoldICmpDivCst()
816 LoBound = Prod; // e.g. X/5 op 3 --> [15, 20) in FoldICmpDivCst()
826 LoOverflow = AddWithOverflow(LoBound, HiBound, DivNeg, true) ? -1 : 0; in FoldICmpDivCst()
834 LoBound = AddOne(RangeSize); in FoldICmpDivCst()
845 LoOverflow = AddWithOverflow(LoBound, HiBound, RangeSize, true) ? -1:0; in FoldICmpDivCst()
847 LoBound = Prod; // e.g. X/-5 op -3 --> [15, 20) in FoldICmpDivCst()
865 ICmpInst::ICMP_UGE, X, LoBound); in FoldICmpDivCst()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1239 Constant *LoBound = nullptr, *HiBound = nullptr; in FoldICmpDivCst() local
1243 LoBound = Prod; in FoldICmpDivCst()
1248 HiOverflow = AddWithOverflow(HiBound, LoBound, RangeSize, false); in FoldICmpDivCst()
1253 LoBound = ConstantExpr::getNeg(SubOne(RangeSize)); in FoldICmpDivCst()
1256 LoBound = Prod; // e.g. X/5 op 3 --> [15, 20) in FoldICmpDivCst()
1266 LoOverflow = AddWithOverflow(LoBound, HiBound, DivNeg, true) ? -1 : 0; in FoldICmpDivCst()
1274 LoBound = AddOne(RangeSize); in FoldICmpDivCst()
1285 LoOverflow = AddWithOverflow(LoBound, HiBound, RangeSize, true) ? -1:0; in FoldICmpDivCst()
1287 LoBound = Prod; // e.g. X/-5 op -3 --> [15, 20) in FoldICmpDivCst()
1305 ICmpInst::ICMP_UGE, X, LoBound); in FoldICmpDivCst()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp2166 APInt LoBound, HiBound; in foldICmpDivConstant() local
2170 LoBound = Prod; in foldICmpDivConstant()
2175 HiOverflow = addWithOverflow(HiBound, LoBound, RangeSize, false); in foldICmpDivConstant()
2180 LoBound = -(RangeSize - 1); in foldICmpDivConstant()
2183 LoBound = Prod; // e.g. X/5 op 3 --> [15, 20) in foldICmpDivConstant()
2193 LoOverflow = addWithOverflow(LoBound, HiBound, DivNeg, true) ? -1 : 0; in foldICmpDivConstant()
2201 LoBound = RangeSize + 1; in foldICmpDivConstant()
2212 LoOverflow = addWithOverflow(LoBound, HiBound, RangeSize, true) ? -1:0; in foldICmpDivConstant()
2214 LoBound = Prod; // e.g. X/-5 op -3 --> [15, 20) in foldICmpDivConstant()
2233 ConstantInt::get(Div->getType(), LoBound)); in foldICmpDivConstant()
[all …]