• Home
  • Raw
  • Download

Lines Matching refs:Cmp1

1571 static Value *simplifyAndOrOfICmpsWithConstants(ICmpInst *Cmp0, ICmpInst *Cmp1,  in simplifyAndOrOfICmpsWithConstants()  argument
1574 if (Cmp0->getOperand(0) != Cmp1->getOperand(0)) in simplifyAndOrOfICmpsWithConstants()
1579 !match(Cmp1->getOperand(1), m_APInt(C1))) in simplifyAndOrOfICmpsWithConstants()
1583 auto Range1 = ConstantRange::makeExactICmpRegion(Cmp1->getPredicate(), *C1); in simplifyAndOrOfICmpsWithConstants()
1601 return IsAnd ? Cmp1 : Cmp0; in simplifyAndOrOfICmpsWithConstants()
1603 return IsAnd ? Cmp0 : Cmp1; in simplifyAndOrOfICmpsWithConstants()
1608 static Value *simplifyAndOrOfICmpsWithZero(ICmpInst *Cmp0, ICmpInst *Cmp1, in simplifyAndOrOfICmpsWithZero() argument
1610 ICmpInst::Predicate P0 = Cmp0->getPredicate(), P1 = Cmp1->getPredicate(); in simplifyAndOrOfICmpsWithZero()
1612 !match(Cmp1->getOperand(1), m_Zero()) || P0 != P1) in simplifyAndOrOfICmpsWithZero()
1620 Value *Y = Cmp1->getOperand(0); in simplifyAndOrOfICmpsWithZero()
1632 return Cmp1; in simplifyAndOrOfICmpsWithZero()
1693 static Value *simplifyAndOrOfICmpsWithLimitConst(ICmpInst *Cmp0, ICmpInst *Cmp1, in simplifyAndOrOfICmpsWithLimitConst() argument
1696 if (Cmp1->isEquality()) in simplifyAndOrOfICmpsWithLimitConst()
1697 std::swap(Cmp0, Cmp1); in simplifyAndOrOfICmpsWithLimitConst()
1707 bool HasNotOp = match(Cmp1, m_c_ICmp(Pred1, m_Not(m_Specific(X)), m_Value())); in simplifyAndOrOfICmpsWithLimitConst()
1708 if (!HasNotOp && !match(Cmp1, m_c_ICmp(Pred1, m_Specific(X), m_Value()))) in simplifyAndOrOfICmpsWithLimitConst()
1741 return Cmp1; in simplifyAndOrOfICmpsWithLimitConst()
1747 return Cmp1; in simplifyAndOrOfICmpsWithLimitConst()