Lines Matching defs:LHS0
1410 Value *LHS0 = LHS->getOperand(0), *LHS1 = LHS->getOperand(1);
1414 if (!matchIsNotNaN(PredL, LHS0, LHS1) ||
1424 Value *LHS0 = LHS->getOperand(0), *LHS1 = LHS->getOperand(1);
1428 if (LHS0 == RHS1 && RHS0 == LHS1) {
1448 if (LHS0 == RHS0 && LHS1 == RHS1) {
1455 return getFCmpValue(NewPred, LHS0, LHS1, Builder,
1464 if (LHS0->getType() != RHS0->getType())
1473 return Builder.CreateFCmpFMF(PredL, LHS0, RHS0,
1478 if (IsAnd && stripSignOnlyFPOps(LHS0) == stripSignOnlyFPOps(RHS0)) {
1497 fcmpToClassTest(PredL, *LHS->getFunction(), LHS0, LHS1);
1515 if (LHS0 == RHS0 && LHS->hasOneUse() && RHS->hasOneUse() &&
1541 Builder.CreateUnaryIntrinsic(Intrinsic::fabs, LHS0, NewFlag);
1543 PredL, FAbs, ConstantFP::get(LHS0->getType(), *LHSC), NewFlag);
3264 Value *LHS0 = LHS->getOperand(0);
3276 !LHS0->getType()->isIntOrIntVectorTy() ||
3280 auto MatchRHSOp = [LHS0, CInt](const Value *RHSOp) {
3282 m_Add(m_Specific(LHS0), m_SpecificIntAllowPoison(-*CInt))) ||
3283 (CInt->isZero() && RHSOp == LHS0);
3299 Builder.CreateSub(LHS0, ConstantInt::get(LHS0->getType(), *CInt + 1)),
3312 Value *LHS0 = LHS->getOperand(0), *RHS0 = RHS->getOperand(0);
3322 if (LHS0 == RHS1 && LHS1 == RHS0) {
3324 std::swap(LHS0, LHS1);
3326 if (LHS0 == RHS0 && LHS1 == RHS1) {
3330 return getNewICmpValue(Code, IsSigned, LHS0, LHS1, Builder);
3407 LHS0->getType() == RHS0->getType() &&
3409 Value *NewOr = Builder.CreateOr(LHS0, RHS0);
3418 LHS0->getType() == RHS0->getType() &&
3420 Value *NewAnd = Builder.CreateAnd(LHS0, RHS0);
3422 Constant::getAllOnesValue(LHS0->getType()));
3446 match(LHS0, m_And(m_Specific(V), m_APInt(AndC)))) {
3449 } else if (match(LHS0, m_Trunc(m_Value(V))) &&
3482 match(LHS0, m_Or(m_Value(X), m_Value(Y))) &&
3485 match(LHS0, m_And(m_Value(X), m_Value(Y))) &&
3492 match(LHS0, m_And(m_Value(X), m_Value(Y))) &&
3495 match(LHS0, m_Or(m_Value(X), m_Value(Y))) &&
4137 Value *LHS0 = LHS->getOperand(0), *LHS1 = LHS->getOperand(1);
4141 if (LHS0 == RHS1 && LHS1 == RHS0) {
4142 std::swap(LHS0, LHS1);
4145 if (LHS0 == RHS0 && LHS1 == RHS1) {
4149 return getNewICmpValue(Code, IsSigned, LHS0, LHS1, Builder);
4158 LHS0->getType() == RHS0->getType() &&
4159 LHS0->getType()->isIntOrIntVectorTy()) {
4169 Value *XorLR = Builder.CreateXor(LHS0, RHS0);
4176 if (LHS0 == RHS0) {
4194 Value *NewV = LHS0;
4195 Type *Ty = LHS0->getType();