Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1921 APInt Op0Min(BitWidth, 0), Op0Max(BitWidth, 0); in visitICmpInst() local
1925 Op0Min, Op0Max); in visitICmpInst()
1930 Op0Min, Op0Max); in visitICmpInst()
1938 if (!isa<Constant>(Op0) && Op0Min == Op0Max) in visitICmpInst()
1950 if (Op0Max.ult(Op1Min) || Op0Min.ugt(Op1Max)) in visitICmpInst()
1987 if (Op0Max.ult(Op1Min) || Op0Min.ugt(Op1Max)) in visitICmpInst()
2024 if (Op0Max.ult(Op1Min)) // A <u B -> true if max(A) < min(B) in visitICmpInst()
2028 if (Op1Min == Op0Max) // A <u B -> A != B if max(A) == min(B) in visitICmpInst()
2044 if (Op0Max.ule(Op1Min)) // A >u B -> false if max(A) <= max(B) in visitICmpInst()
2050 if (Op1Min == Op0Max-1) // A >u C -> A == C+1 if max(a)-1 == C in visitICmpInst()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp3386 APInt Op0Min(BitWidth, 0), Op0Max(BitWidth, 0); in visitICmpInst() local
3390 Op0Min, Op0Max); in visitICmpInst()
3395 Op0Min, Op0Max); in visitICmpInst()
3403 if (!isa<Constant>(Op0) && Op0Min == Op0Max) in visitICmpInst()
3415 if (Op0Max.ult(Op1Min) || Op0Min.ugt(Op1Max)) in visitICmpInst()
3459 if (Op0Max.ult(Op1Min) || Op0Min.ugt(Op1Max)) in visitICmpInst()
3503 if (Op0Max.ult(Op1Min)) // A <u B -> true if max(A) < min(B) in visitICmpInst()
3507 if (Op1Min == Op0Max) // A <u B -> A != B if max(A) == min(B) in visitICmpInst()
3523 if (Op0Max.ule(Op1Min)) // A >u B -> false if max(A) <= max(B) in visitICmpInst()
3529 if (Op1Min == Op0Max-1) // A >u C -> A == C+1 if max(a)-1 == C in visitICmpInst()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp4279 APInt Op0Min(BitWidth, 0), Op0Max(BitWidth, 0); in foldICmpUsingKnownBits() local
4282 computeSignedMinMaxValuesFromKnownBits(Op0Known, Op0Min, Op0Max); in foldICmpUsingKnownBits()
4285 computeUnsignedMinMaxValuesFromKnownBits(Op0Known, Op0Min, Op0Max); in foldICmpUsingKnownBits()
4292 if (!isa<Constant>(Op0) && Op0Min == Op0Max) in foldICmpUsingKnownBits()
4304 if (Op0Max.ult(Op1Min) || Op0Min.ugt(Op1Max)) { in foldICmpUsingKnownBits()
4356 if (Op0Max.ult(Op1Min)) // A <u B -> true if max(A) < min(B) in foldICmpUsingKnownBits()
4360 if (Op1Min == Op0Max) // A <u B -> A != B if max(A) == min(B) in foldICmpUsingKnownBits()
4380 if (Op0Max.ule(Op1Min)) // A >u B -> false if max(A) <= max(B) in foldICmpUsingKnownBits()
4388 if (*CmpC == Op0Max - 1) in foldICmpUsingKnownBits()
4400 if (Op0Max.slt(Op1Min)) // A <s B -> true if max(A) < min(C) in foldICmpUsingKnownBits()
[all …]