Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:Val2

813   Value *Val = LHS->getOperand(0), *Val2 = RHS->getOperand(0);
823 Value *NewOr = Builder->CreateOr(Val, Val2);
829 Value *NewOr = Builder->CreateOr(Val, Val2);
844 if (match(Val2, m_Trunc(m_Value(V))) &&
849 match(Val2, m_And(m_Specific(V), m_ConstantInt(AndCst)))) {
871 if (Val != Val2) return nullptr;
1612 Value *Val = LHS->getOperand(0), *Val2 = RHS->getOperand(0);
1620 A = Val2;
1621 else if (RHSCC == ICmpInst::ICMP_UGT && Val == Val2)
1627 B = Val2;
1628 if (LHSCC == ICmpInst::ICMP_ULT && Val2 == LHS->getOperand(1))
1630 else if (LHSCC == ICmpInst::ICMP_UGT && Val2 == Val)
1645 Value *NewOr = Builder->CreateOr(Val, Val2);
1654 if (match(Val, m_Add(m_Specific(Val2), m_ConstantInt(AddCst))))
1661 if (Val != Val2) return nullptr;