Lines Matching defs:CI2
728 if (ConstantInt *CI2 = dyn_cast<ConstantInt>(C2)) {
736 if (CI2->isZero())
737 return PoisonValue::get(CI2->getType()); // X / 0 == poison
741 if (CI2->isOne())
742 return Constant::getNullValue(CI2->getType()); // X % 1 == 0
743 if (CI2->isZero())
744 return PoisonValue::get(CI2->getType()); // X % 0 == poison
747 assert(!CI2->isZero() && "And zero handled above");
776 unsigned DstWidth = CI2->getBitWidth();
781 if ((CI2->getValue() & BitsNotSet) == CI2->getValue())
782 return Constant::getNullValue(CI2->getType());
797 if (ConstantInt *CI2 = dyn_cast<ConstantInt>(C2)) {
799 const APInt &C2V = CI2->getValue();
810 assert(!CI2->isZero() && "Div by zero handled above");
813 assert(!CI2->isZero() && "Div by zero handled above");
818 assert(!CI2->isZero() && "Div by zero handled above");
821 assert(!CI2->isZero() && "Div by zero handled above");