Home
last modified time | relevance | path

Searched refs:HiOverflow (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()
804 if (!HiOverflow) { in FoldICmpDivCst()
807 HiOverflow = AddWithOverflow(HiBound, LoBound, RangeSize, false); in FoldICmpDivCst()
817 HiOverflow = LoOverflow = ProdOV; in FoldICmpDivCst()
818 if (!HiOverflow) in FoldICmpDivCst()
819 HiOverflow = AddWithOverflow(HiBound, Prod, RangeSize, true); in FoldICmpDivCst()
823 LoOverflow = HiOverflow = ProdOV ? -1 : 0; in FoldICmpDivCst()
837 HiOverflow = 1; // [INTMIN+1, overflow) in FoldICmpDivCst()
843 HiOverflow = LoOverflow = ProdOV ? -1 : 0; in FoldICmpDivCst()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1238 int LoOverflow = 0, HiOverflow = 0; in FoldICmpDivCst() local
1244 HiOverflow = LoOverflow = ProdOV; in FoldICmpDivCst()
1245 if (!HiOverflow) { in FoldICmpDivCst()
1248 HiOverflow = AddWithOverflow(HiBound, LoBound, RangeSize, false); in FoldICmpDivCst()
1257 HiOverflow = LoOverflow = ProdOV; in FoldICmpDivCst()
1258 if (!HiOverflow) in FoldICmpDivCst()
1259 HiOverflow = AddWithOverflow(HiBound, Prod, RangeSize, true); in FoldICmpDivCst()
1263 LoOverflow = HiOverflow = ProdOV ? -1 : 0; in FoldICmpDivCst()
1277 HiOverflow = 1; // [INTMIN+1, overflow) in FoldICmpDivCst()
1283 HiOverflow = LoOverflow = ProdOV ? -1 : 0; 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()
2172 if (!HiOverflow) { in foldICmpDivConstant()
2175 HiOverflow = addWithOverflow(HiBound, LoBound, RangeSize, false); in foldICmpDivConstant()
2184 HiOverflow = LoOverflow = ProdOV; in foldICmpDivConstant()
2185 if (!HiOverflow) in foldICmpDivConstant()
2186 HiOverflow = addWithOverflow(HiBound, Prod, RangeSize, true); in foldICmpDivConstant()
2190 LoOverflow = HiOverflow = ProdOV ? -1 : 0; in foldICmpDivConstant()
2204 HiOverflow = 1; // [INTMIN+1, overflow) in foldICmpDivConstant()
2210 HiOverflow = LoOverflow = ProdOV ? -1 : 0; in foldICmpDivConstant()
[all …]