Lines Matching refs:CI
164 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
173 CI->getValue()));
208 if (ConstantInt *CI = dyn_cast<ConstantInt>(C)) {
209 APInt V = CI->getValue();
213 return ConstantInt::get(CI->getContext(), V);
630 ConstantInt *CI = cast<ConstantInt>(CE->getOperand(2));
631 if (CI->isOne() &&
649 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
650 APInt api = CI->getValue();
660 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
663 CI->getValue().zext(BitWidth));
667 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
670 CI->getValue().sext(BitWidth));
675 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
677 CI->getValue().trunc(DestBitWidth));
892 ConstantInt *CI;
894 if (((CI = dyn_cast<ConstantInt>(C1)) && CI->getValue()[0]) ||
895 ((CI = dyn_cast<ConstantInt>(C2)) && CI->getValue()[0]) ||
1904 const ConstantInt *CI) {
1920 if (CI->getValue().getActiveBits() > 64)
1925 int64_t IndexVal = CI->getSExtValue();
1998 if (ConstantInt *CI = dyn_cast<ConstantInt>(Idx0))
1999 PerformFold = isIndexInRangeOfSequentialType(STy, CI);
2069 if (ConstantInt *CI = dyn_cast<ConstantInt>(Idxs[i])) {
2071 if (CI->getSExtValue() > 0 &&
2072 !isIndexInRangeOfSequentialType(cast<SequentialType>(Ty), CI)) {
2083 ConstantInt *Factor = ConstantInt::get(CI->getType(), NumElements);
2084 NewIdxs[i] = ConstantExpr::getSRem(CI, Factor);
2087 Constant *Div = ConstantExpr::getSDiv(CI, Factor);