Home | History | Annotate | Download | only in InstCombine

Lines Matching full:cst1

929 /// FoldICmpShrCst - Handle "icmp(([al]shr X, cst1), cst2)".
2633 ConstantInt *Cst1;
2636 match(Op1, m_And(m_Value(B), m_ConstantInt(Cst1)))) ||
2638 match(Op0, m_And(m_Value(B), m_ConstantInt(Cst1))) &&
2640 APInt Pow2 = Cst1->getValue() + 1;
2647 // Transform "icmp eq (trunc (lshr(X, cst1)), cst" to
2653 match(Op1, m_ConstantInt(Cst1)) &&
2664 APInt CmpV = Cst1->getValue().zext(ASize);