Lines Matching refs:ConstantInt
342 !isa<ConstantInt>(I->getOperand(1)))
345 ConstantInt *OverflowConst = cast<ConstantInt>(I->getOperand(1));
357 ConstantInt *ICmpConst = nullptr;
358 if (auto *Const = dyn_cast<ConstantInt>(CI->getOperand(0)))
360 else if (auto *Const = dyn_cast<ConstantInt>(CI->getOperand(1)))
459 assert((isa<ConstantInt>(I->getOperand(1)) &&
460 cast<ConstantInt>(I->getOperand(1))->isNegative()) &&
463 auto Const = cast<ConstantInt>(I->getOperand(1));
464 auto *NewConst = ConstantInt::get(Ctx, Const->getValue().abs());
537 if (auto *Const = dyn_cast<ConstantInt>(Op)) {
665 ConstantInt *Mask =
666 ConstantInt::get(SrcTy, APInt::getMaxValue(NumBits).getZExtValue());