Home | History | Annotate | Download | only in VMCore

Lines Matching refs:CI

161   if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
169 APFloat(CI->getValue(),
205 if (ConstantInt *CI = dyn_cast<ConstantInt>(C)) {
206 APInt V = CI->getValue();
210 return ConstantInt::get(CI->getContext(), V);
627 ConstantInt *CI = cast<ConstantInt>(CE->getOperand(2));
628 if (CI->isOne() &&
646 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
647 APInt api = CI->getValue();
656 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
659 CI->getValue().zext(BitWidth));
663 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
666 CI->getValue().sext(BitWidth));
671 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
673 CI->getValue().trunc(DestBitWidth));
866 else if (ConstantInt *CI = dyn_cast<ConstantInt>(InElt)) {
867 unsigned Elt = CI->getZExtValue();
1024 ConstantInt *CI;
1026 if (((CI = dyn_cast<ConstantInt>(C1)) && CI->getValue()[0]) ||
1027 ((CI = dyn_cast<ConstantInt>(C2)) && CI->getValue()[0]) ||
2271 if (ConstantInt *CI = dyn_cast<ConstantInt>(Idxs[i])) {
2275 CI->getSExtValue() >= (int64_t)ATy->getNumElements()) {
2280 ConstantInt *Factor = ConstantInt::get(CI->getType(),
2282 NewIdxs[i] = ConstantExpr::getSRem(CI, Factor);
2285 Constant *Div = ConstantExpr::getSDiv(CI, Factor);