Lines Matching refs:ConstantInt
57 I->setOperand(OpNo, ConstantInt::get(Op->getType(), *C & Demanded));
282 isa<ConstantInt>(I->getOperand(1)) &&
283 isa<ConstantInt>(LHSInst->getOperand(1)) &&
285 ConstantInt *AndRHS = cast<ConstantInt>(LHSInst->getOperand(1));
286 ConstantInt *XorRHS = cast<ConstantInt>(I->getOperand(1));
290 ConstantInt::get(I->getType(), NewMask & AndRHS->getValue());
295 ConstantInt::get(I->getType(), NewMask & XorRHS->getValue());
360 I->setOperand(OpNo, ConstantInt::get(I->getType(), *CmpC));
673 if (ConstantInt *Rem = dyn_cast<ConstantInt>(I->getOperand(1))) {
753 ConstantInt::get(I->getType(), InputBit-ResultBit));
756 ConstantInt::get(I->getType(), ResultBit-InputBit));
809 return ConstantInt::getNullValue(VTy);
1006 Constant *Amt = ConstantInt::get(VarX->getType(), ShlAmt - ShrAmt);
1012 Constant *Amt = ConstantInt::get(VarX->getType(), ShrAmt - ShlAmt);
1089 auto *OffsetAddVal = ConstantInt::get(Offset->getType(), OffsetAdd);
1096 ConstantInt *DMask = cast<ConstantInt>(II->getArgOperand(DMaskIdx));
1114 Args[DMaskIdx] = ConstantInt::get(DMask->getType(), NewDMaskVal);
1318 ConstantInt *Idx = dyn_cast<ConstantInt>(I->getOperand(2));
1476 Op, Value, ConstantInt::get(Type::getInt32Ty(I->getContext()), Idx),