Lines Matching refs:LHS1
1210 Value *LHS0 = LHS->getOperand(0), *LHS1 = LHS->getOperand(1); in foldLogicOfFCmps() local
1214 if (LHS0 == RHS1 && RHS0 == LHS1) { in foldLogicOfFCmps()
1234 if (LHS0 == RHS0 && LHS1 == RHS1) { in foldLogicOfFCmps()
1246 return getFCmpValue(NewPred, LHS0, LHS1, Builder); in foldLogicOfFCmps()
1259 if (match(LHS1, m_PosZeroFP()) && match(RHS1, m_PosZeroFP())) in foldLogicOfFCmps()
2529 Value *LHS1 = LHS->getOperand(1), *RHS1 = RHS->getOperand(1); in foldAndOrOfICmps() local
2531 match(LHS1, m_APInt(LHSC)); in foldAndOrOfICmps()
2537 if (LHS0 == RHS1 && LHS1 == RHS0) { in foldAndOrOfICmps()
2539 std::swap(LHS0, LHS1); in foldAndOrOfICmps()
2541 if (LHS0 == RHS0 && LHS1 == RHS1) { in foldAndOrOfICmps()
2545 return getNewICmpValue(Code, IsSigned, LHS0, LHS1, Builder); in foldAndOrOfICmps()
2614 PredL == PredR && match(LHS1, m_ZeroInt()) && match(RHS1, m_ZeroInt()) && in foldAndOrOfICmps()
3186 Value *LHS0 = LHS->getOperand(0), *LHS1 = LHS->getOperand(1); in foldXorOfICmps() local
3190 if (LHS0 == RHS1 && LHS1 == RHS0) { in foldXorOfICmps()
3191 std::swap(LHS0, LHS1); in foldXorOfICmps()
3194 if (LHS0 == RHS0 && LHS1 == RHS1) { in foldXorOfICmps()
3198 return getNewICmpValue(Code, IsSigned, LHS0, LHS1, Builder); in foldXorOfICmps()
3206 if (match(LHS1, m_APInt(LC)) && match(RHS1, m_APInt(RC)) && in foldXorOfICmps()
3229 if ((PredL == CmpInst::ICMP_SGT && match(LHS1, m_APInt(C1)) && in foldXorOfICmps()
3231 (PredL == CmpInst::ICMP_SLT && match(LHS1, m_APInt(C2)) && in foldXorOfICmps()