Lines Matching refs:CmpLHS
1924 Value *CmpLHS = Cmp->getOperand(0), *CmpRHS = Cmp->getOperand(1); in ExtractEquivalentCondition() local
1925 if (Pred == Cmp->getPredicate() && LHS == CmpLHS && RHS == CmpRHS) in ExtractEquivalentCondition()
1928 LHS == CmpRHS && RHS == CmpLHS) in ExtractEquivalentCondition()
3345 Value *CmpLHS = ICI->getOperand(0); in SimplifySelectInst() local
3353 match(CmpLHS, m_And(m_Value(X), m_APInt(Y))) && in SimplifySelectInst()
3358 X = CmpLHS; in SimplifySelectInst()
3363 X = CmpLHS; in SimplifySelectInst()
3416 if (SimplifyWithOpReplaced(FalseVal, CmpLHS, CmpRHS, Q, MaxRecurse) == in SimplifySelectInst()
3418 SimplifyWithOpReplaced(FalseVal, CmpRHS, CmpLHS, Q, MaxRecurse) == in SimplifySelectInst()
3421 if (SimplifyWithOpReplaced(TrueVal, CmpLHS, CmpRHS, Q, MaxRecurse) == in SimplifySelectInst()
3423 SimplifyWithOpReplaced(TrueVal, CmpRHS, CmpLHS, Q, MaxRecurse) == in SimplifySelectInst()
3427 if (SimplifyWithOpReplaced(TrueVal, CmpLHS, CmpRHS, Q, MaxRecurse) == in SimplifySelectInst()
3429 SimplifyWithOpReplaced(TrueVal, CmpRHS, CmpLHS, Q, MaxRecurse) == in SimplifySelectInst()
3432 if (SimplifyWithOpReplaced(FalseVal, CmpLHS, CmpRHS, Q, MaxRecurse) == in SimplifySelectInst()
3434 SimplifyWithOpReplaced(FalseVal, CmpRHS, CmpLHS, Q, MaxRecurse) == in SimplifySelectInst()