Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:Cst1

961 /// FoldICmpShrCst - Handle "icmp(([al]shr X, cst1), cst2)".
2889 ConstantInt *Cst1;
2892 match(Op1, m_And(m_Value(B), m_ConstantInt(Cst1)))) ||
2894 match(Op0, m_And(m_Value(B), m_ConstantInt(Cst1))) &&
2896 APInt Pow2 = Cst1->getValue() + 1;
2903 // Transform "icmp eq (trunc (lshr(X, cst1)), cst" to
2909 match(Op1, m_ConstantInt(Cst1)) &&
2920 APInt CmpV = Cst1->getValue().zext(ASize);