Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCompares.cpp797 int LoOverflow = 0, HiOverflow = 0; in FoldICmpDivCst() local
803 HiOverflow = LoOverflow = ProdOV; in FoldICmpDivCst()
817 HiOverflow = LoOverflow = ProdOV; in FoldICmpDivCst()
823 LoOverflow = HiOverflow = ProdOV ? -1 : 0; in FoldICmpDivCst()
824 if (!LoOverflow) { in FoldICmpDivCst()
826 LoOverflow = AddWithOverflow(LoBound, HiBound, DivNeg, true) ? -1 : 0; in FoldICmpDivCst()
843 HiOverflow = LoOverflow = ProdOV ? -1 : 0; in FoldICmpDivCst()
844 if (!LoOverflow) in FoldICmpDivCst()
845 LoOverflow = AddWithOverflow(LoBound, HiBound, RangeSize, true) ? -1:0; in FoldICmpDivCst()
848 LoOverflow = HiOverflow = ProdOV; in FoldICmpDivCst()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1238 int LoOverflow = 0, HiOverflow = 0; in FoldICmpDivCst() local
1244 HiOverflow = LoOverflow = ProdOV; in FoldICmpDivCst()
1257 HiOverflow = LoOverflow = ProdOV; in FoldICmpDivCst()
1263 LoOverflow = HiOverflow = ProdOV ? -1 : 0; in FoldICmpDivCst()
1264 if (!LoOverflow) { in FoldICmpDivCst()
1266 LoOverflow = AddWithOverflow(LoBound, HiBound, DivNeg, true) ? -1 : 0; in FoldICmpDivCst()
1283 HiOverflow = LoOverflow = ProdOV ? -1 : 0; in FoldICmpDivCst()
1284 if (!LoOverflow) in FoldICmpDivCst()
1285 LoOverflow = AddWithOverflow(LoBound, HiBound, RangeSize, true) ? -1:0; in FoldICmpDivCst()
1288 LoOverflow = HiOverflow = ProdOV; in FoldICmpDivCst()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp2165 int LoOverflow = 0, HiOverflow = 0; in foldICmpDivConstant() local
2171 HiOverflow = LoOverflow = ProdOV; in foldICmpDivConstant()
2184 HiOverflow = LoOverflow = ProdOV; in foldICmpDivConstant()
2190 LoOverflow = HiOverflow = ProdOV ? -1 : 0; in foldICmpDivConstant()
2191 if (!LoOverflow) { in foldICmpDivConstant()
2193 LoOverflow = addWithOverflow(LoBound, HiBound, DivNeg, true) ? -1 : 0; in foldICmpDivConstant()
2210 HiOverflow = LoOverflow = ProdOV ? -1 : 0; in foldICmpDivConstant()
2211 if (!LoOverflow) in foldICmpDivConstant()
2212 LoOverflow = addWithOverflow(LoBound, HiBound, RangeSize, true) ? -1:0; in foldICmpDivConstant()
2215 LoOverflow = HiOverflow = ProdOV; in foldICmpDivConstant()
[all …]