Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1922 APInt Op1Min(BitWidth, 0), Op1Max(BitWidth, 0); in visitICmpInst() local
1927 Op1Min, Op1Max); in visitICmpInst()
1932 Op1Min, Op1Max); in visitICmpInst()
1941 if (!isa<Constant>(Op1) && Op1Min == Op1Max) in visitICmpInst()
1950 if (Op0Max.ult(Op1Min) || Op0Min.ugt(Op1Max)) in visitICmpInst()
1987 if (Op0Max.ult(Op1Min) || Op0Min.ugt(Op1Max)) in visitICmpInst()
2026 if (Op0Min.uge(Op1Max)) // A <u B -> false if min(A) >= max(B) in visitICmpInst()
2031 if (Op1Max == Op0Min+1) // A <u C -> A == C-1 if min(A)+1 == C in visitICmpInst()
2042 if (Op0Min.ugt(Op1Max)) // A >u B -> true if min(A) > max(B) in visitICmpInst()
2047 if (Op1Max == Op0Min) // A >u B -> A != B if min(A) == max(B) in visitICmpInst()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp3387 APInt Op1Min(BitWidth, 0), Op1Max(BitWidth, 0); in visitICmpInst() local
3392 Op1Min, Op1Max); in visitICmpInst()
3397 Op1Min, Op1Max); in visitICmpInst()
3406 if (!isa<Constant>(Op1) && Op1Min == Op1Max) in visitICmpInst()
3415 if (Op0Max.ult(Op1Min) || Op0Min.ugt(Op1Max)) in visitICmpInst()
3459 if (Op0Max.ult(Op1Min) || Op0Min.ugt(Op1Max)) in visitICmpInst()
3505 if (Op0Min.uge(Op1Max)) // A <u B -> false if min(A) >= max(B) in visitICmpInst()
3510 if (Op1Max == Op0Min+1) // A <u C -> A == C-1 if min(A)+1 == C in visitICmpInst()
3521 if (Op0Min.ugt(Op1Max)) // A >u B -> true if min(A) > max(B) in visitICmpInst()
3526 if (Op1Max == Op0Min) // A >u B -> A != B if min(A) == max(B) in visitICmpInst()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp4280 APInt Op1Min(BitWidth, 0), Op1Max(BitWidth, 0); in foldICmpUsingKnownBits() local
4283 computeSignedMinMaxValuesFromKnownBits(Op1Known, Op1Min, Op1Max); in foldICmpUsingKnownBits()
4286 computeUnsignedMinMaxValuesFromKnownBits(Op1Known, Op1Min, Op1Max); in foldICmpUsingKnownBits()
4294 if (!isa<Constant>(Op1) && Op1Min == Op1Max) in foldICmpUsingKnownBits()
4304 if (Op0Max.ult(Op1Min) || Op0Min.ugt(Op1Max)) { in foldICmpUsingKnownBits()
4358 if (Op0Min.uge(Op1Max)) // A <u B -> false if min(A) >= max(B) in foldICmpUsingKnownBits()
4378 if (Op0Min.ugt(Op1Max)) // A >u B -> true if min(A) > max(B) in foldICmpUsingKnownBits()
4382 if (Op1Max == Op0Min) // A >u B -> A != B if min(A) == max(B) in foldICmpUsingKnownBits()
4402 if (Op0Min.sge(Op1Max)) // A <s B -> false if min(A) >= max(C) in foldICmpUsingKnownBits()
4415 if (Op0Min.sgt(Op1Max)) // A >s B -> true if min(A) > max(B) in foldICmpUsingKnownBits()
[all …]