Lines Matching defs:Cmp0
1615 static Value *simplifyAndOrOfICmpsWithConstants(ICmpInst *Cmp0, ICmpInst *Cmp1,
1618 if (Cmp0->getOperand(0) != Cmp1->getOperand(0))
1622 if (!match(Cmp0->getOperand(1), m_APInt(C0)) ||
1626 auto Range0 = ConstantRange::makeExactICmpRegion(Cmp0->getPredicate(), *C0);
1632 return getFalse(Cmp0->getType());
1637 return getTrue(Cmp0->getType());
1645 return IsAnd ? Cmp1 : Cmp0;
1647 return IsAnd ? Cmp0 : Cmp1;
1700 static Value *simplifyAndOrOfICmpsWithCtpop(ICmpInst *Cmp0, ICmpInst *Cmp1,
1705 if (!match(Cmp0, m_ICmp(Pred0, m_Intrinsic<Intrinsic::ctpop>(m_Value(X)),