Lines Matching refs:CI2
1559 ConstantInt *CI2; in SimplifyICmpInst() local
1560 if (match(LHS, m_URem(m_Value(), m_ConstantInt(CI2)))) { in SimplifyICmpInst()
1562 Upper = CI2->getValue(); in SimplifyICmpInst()
1563 } else if (match(LHS, m_SRem(m_Value(), m_ConstantInt(CI2)))) { in SimplifyICmpInst()
1565 Upper = CI2->getValue().abs(); in SimplifyICmpInst()
1567 } else if (match(LHS, m_UDiv(m_Value(), m_ConstantInt(CI2)))) { in SimplifyICmpInst()
1570 if (!CI2->isZero()) in SimplifyICmpInst()
1571 Upper = NegOne.udiv(CI2->getValue()) + 1; in SimplifyICmpInst()
1572 } else if (match(LHS, m_SDiv(m_Value(), m_ConstantInt(CI2)))) { in SimplifyICmpInst()
1576 APInt Val = CI2->getValue().abs(); in SimplifyICmpInst()
1581 } else if (match(LHS, m_LShr(m_Value(), m_ConstantInt(CI2)))) { in SimplifyICmpInst()
1584 if (CI2->getValue().ult(Width)) in SimplifyICmpInst()
1585 Upper = NegOne.lshr(CI2->getValue()) + 1; in SimplifyICmpInst()
1586 } else if (match(LHS, m_AShr(m_Value(), m_ConstantInt(CI2)))) { in SimplifyICmpInst()
1590 if (CI2->getValue().ult(Width)) { in SimplifyICmpInst()
1591 Lower = IntMin.ashr(CI2->getValue()); in SimplifyICmpInst()
1592 Upper = IntMax.ashr(CI2->getValue()) + 1; in SimplifyICmpInst()
1594 } else if (match(LHS, m_Or(m_Value(), m_ConstantInt(CI2)))) { in SimplifyICmpInst()
1596 Lower = CI2->getValue(); in SimplifyICmpInst()
1597 } else if (match(LHS, m_And(m_Value(), m_ConstantInt(CI2)))) { in SimplifyICmpInst()
1599 Upper = CI2->getValue() + 1; in SimplifyICmpInst()