Lines Matching defs:CmpLHS

2620   Value *CmpLHS = Cmp->getOperand(0), *CmpRHS = Cmp->getOperand(1);
2621 if (Pred == Cmp->getPredicate() && LHS == CmpLHS && RHS == CmpRHS)
2624 LHS == CmpRHS && RHS == CmpLHS)
4533 static Value *simplifyCmpSelOfMaxMin(Value *CmpLHS, Value *CmpRHS,
4536 // Canonicalize common cmp+sel operand as CmpLHS.
4538 std::swap(CmpLHS, CmpRHS);
4543 if (CmpLHS == FVal) {
4550 Value *X = CmpLHS, *Y = CmpRHS;
4607 static Value *simplifySelectWithFakeICmpEq(Value *CmpLHS, Value *CmpRHS,
4612 if (!decomposeBitTestICmp(CmpLHS, CmpRHS, Pred, X, Mask))
4621 static Value *simplifySelectWithICmpEq(Value *CmpLHS, Value *CmpRHS,
4625 if (simplifyWithOpReplaced(FalseVal, CmpLHS, CmpRHS, Q.getWithoutUndef(),
4629 if (simplifyWithOpReplaced(TrueVal, CmpLHS, CmpRHS, Q,
4644 Value *CmpLHS, *CmpRHS;
4645 if (!match(CondVal, m_ICmp(Pred, m_Value(CmpLHS), m_Value(CmpRHS))))
4648 if (Value *V = simplifyCmpSelOfMaxMin(CmpLHS, CmpRHS, Pred, TrueVal, FalseVal))
4677 if (match(CmpLHS, m_And(m_Value(X), m_APInt(Y))))
4688 if (match(TrueVal, isFsh) && FalseVal == X && CmpLHS == ShAmt)
4701 if (match(FalseVal, isRotate) && TrueVal == X && CmpLHS == ShAmt &&
4707 if (match(TrueVal, m_Intrinsic<Intrinsic::abs>(m_Specific(CmpLHS))) &&
4708 match(FalseVal, m_Neg(m_Intrinsic<Intrinsic::abs>(m_Specific(CmpLHS)))))
4711 m_Neg(m_Intrinsic<Intrinsic::abs>(m_Specific(CmpLHS)))) &&
4712 match(FalseVal, m_Intrinsic<Intrinsic::abs>(m_Specific(CmpLHS))))
4718 simplifySelectWithFakeICmpEq(CmpLHS, CmpRHS, Pred, TrueVal, FalseVal))
4725 if (Value *V = simplifySelectWithICmpEq(CmpLHS, CmpRHS, TrueVal, FalseVal,
4728 if (Value *V = simplifySelectWithICmpEq(CmpRHS, CmpLHS, TrueVal, FalseVal,
4735 if (match(CmpLHS, m_Or(m_Value(X), m_Value(Y))) &&
4747 if (match(CmpLHS, m_And(m_Value(X), m_Value(Y))) &&