Lines Matching defs:LHS0
1361 Value *LHS0 = LHS->getOperand(0), *LHS1 = LHS->getOperand(1);
1365 if (!matchIsNotNaN(PredL, LHS0, LHS1) ||
1379 Value *LHS0 = LHS->getOperand(0), *LHS1 = LHS->getOperand(1);
1383 if (LHS0 == RHS1 && RHS0 == LHS1) {
1403 if (LHS0 == RHS0 && LHS1 == RHS1) {
1415 return getFCmpValue(NewPred, LHS0, LHS1, Builder);
1423 if (LHS0->getType() != RHS0->getType())
1432 return Builder.CreateFCmp(PredL, LHS0, RHS0);
1435 if (IsAnd && stripSignOnlyFPOps(LHS0) == stripSignOnlyFPOps(RHS0)) {
1454 fcmpToClassTest(PredL, *LHS->getFunction(), LHS0, LHS1);
1472 if (LHS0 == RHS0 && LHS->hasOneUse() && RHS->hasOneUse() &&
1497 Value *FAbs = Builder.CreateUnaryIntrinsic(Intrinsic::fabs, LHS0);
1499 ConstantFP::get(LHS0->getType(), *LHSC));
3234 Value *LHS0 = LHS->getOperand(0);
3246 !LHS0->getType()->isIntOrIntVectorTy() ||
3250 auto MatchRHSOp = [LHS0, CInt](const Value *RHSOp) {
3252 m_Add(m_Specific(LHS0), m_SpecificIntAllowPoison(-*CInt))) ||
3253 (CInt->isZero() && RHSOp == LHS0);
3269 Builder.CreateSub(LHS0, ConstantInt::get(LHS0->getType(), *CInt + 1)),
3288 Value *LHS0 = LHS->getOperand(0), *RHS0 = RHS->getOperand(0);
3298 if (LHS0 == RHS1 && LHS1 == RHS0) {
3300 std::swap(LHS0, LHS1);
3302 if (LHS0 == RHS0 && LHS1 == RHS1) {
3306 return getNewICmpValue(Code, IsSigned, LHS0, LHS1, Builder);
3380 LHS0->getType() == RHS0->getType()) {
3381 Value *NewOr = Builder.CreateOr(LHS0, RHS0);
3390 LHS0->getType() == RHS0->getType()) {
3391 Value *NewAnd = Builder.CreateAnd(LHS0, RHS0);
3393 Constant::getAllOnesValue(LHS0->getType()));
3417 match(LHS0, m_And(m_Specific(V), m_APInt(AndC)))) {
3420 } else if (match(LHS0, m_Trunc(m_Value(V))) &&
3453 match(LHS0, m_Or(m_Value(X), m_Value(Y))) &&
3456 match(LHS0, m_And(m_Value(X), m_Value(Y))) &&
3463 match(LHS0, m_And(m_Value(X), m_Value(Y))) &&
3466 match(LHS0, m_Or(m_Value(X), m_Value(Y))) &&
4107 Value *LHS0 = LHS->getOperand(0), *LHS1 = LHS->getOperand(1);
4111 if (LHS0 == RHS1 && LHS1 == RHS0) {
4112 std::swap(LHS0, LHS1);
4115 if (LHS0 == RHS0 && LHS1 == RHS1) {
4119 return getNewICmpValue(Code, IsSigned, LHS0, LHS1, Builder);
4128 LHS0->getType() == RHS0->getType() &&
4129 LHS0->getType()->isIntOrIntVectorTy()) {
4139 Value *XorLR = Builder.CreateXor(LHS0, RHS0);
4146 if (LHS0 == RHS0) {
4164 Value *NewV = LHS0;
4165 Type *Ty = LHS0->getType();