Lines Matching refs:ConstantInt
530 bool MaxVal = cast<ConstantInt>(ObjectSize->getArgOperand(1))->isZero();
541 cast<ConstantInt>(ObjectSize->getArgOperand(2))->isOne();
544 bool StaticOnly = cast<ConstantInt>(ObjectSize->getArgOperand(3))->isZero();
551 return ConstantInt::get(ResultType, Size);
569 return Builder.CreateSelect(UseZero, ConstantInt::get(ResultType, 0),
577 return ConstantInt::get(ResultType, MaxVal ? -1ULL : 0);
665 if (const ConstantInt *C = dyn_cast<ConstantInt>(ArraySize)) {
702 ConstantInt *Arg =
703 dyn_cast<ConstantInt>(CB.getArgOperand(FnData->FstParam));
714 ConstantInt *Arg = dyn_cast<ConstantInt>(CB.getArgOperand(FnData->FstParam));
726 Arg = dyn_cast<ConstantInt>(CB.getArgOperand(FnData->SndParam));
863 Zero = ConstantInt::get(IntTy, 0);
894 return std::make_pair(ConstantInt::get(Context, Const.first),
895 ConstantInt::get(Context, Const.second));
948 Value *Size = ConstantInt::get(ArraySize->getType(),