Lines Matching refs:ConstantInt
122 if (auto *Cond = dyn_cast<ConstantInt>(BI->getCondition())) {
163 auto *CI = dyn_cast<ConstantInt>(SI->getCondition());
193 auto *CI = mdconst::extract<ConstantInt>(MD->getOperand(MD_i));
278 ConstantInt *SICase =
279 mdconst::dyn_extract<ConstantInt>(MD->getOperand(2));
280 ConstantInt *SIDef =
281 mdconst::dyn_extract<ConstantInt>(MD->getOperand(1));
430 if (ConstantInt *Cond = dyn_cast<ConstantInt>(II->getArgOperand(0)))
744 ConstantInt::get(Type::getInt32Ty(BA->getContext()), 1);
1734 auto *ConstInt = dyn_cast<ConstantInt>(I.getOperand(1));
2610 auto *NonNullInt = ConstantExpr::getAdd(NullInt, ConstantInt::get(ITy, 1));
2772 if (I->isLogicalShift() && isa<ConstantInt>(I->getOperand(1))) {
2774 cast<ConstantInt>(I->getOperand(1))->getLimitedValue(~0U);
2801 isa<ConstantInt>(I->getOperand(1))) {
2803 const APInt &AndMask = cast<ConstantInt>(I->getOperand(1))->getValue();
2985 // isn't also required to be a simple ConstantInt.