Home
last modified time | relevance | path

Searched refs:Op1Min (Results 1 – 2 of 2) 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()
1943 ConstantInt::get(Op1->getType(), Op1Min)); 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()
[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()
3408 ConstantInt::get(Op1->getType(), Op1Min)); 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()
[all …]