Lines Matching defs:Cmp0
1666 static Value *simplifyAndOrOfICmpsWithConstants(ICmpInst *Cmp0, ICmpInst *Cmp1,
1669 if (Cmp0->getOperand(0) != Cmp1->getOperand(0))
1673 if (!match(Cmp0->getOperand(1), m_APInt(C0)) ||
1677 auto Range0 = ConstantRange::makeExactICmpRegion(Cmp0->getPredicate(), *C0);
1683 return getFalse(Cmp0->getType());
1688 return getTrue(Cmp0->getType());
1696 return IsAnd ? Cmp1 : Cmp0;
1698 return IsAnd ? Cmp0 : Cmp1;
1751 static Value *simplifyAndOrOfICmpsWithCtpop(ICmpInst *Cmp0, ICmpInst *Cmp1,
1756 if (!match(Cmp0, m_ICmp(Pred0, m_Intrinsic<Intrinsic::ctpop>(m_Value(X)),