Lines Matching refs:CI
253 ConstantInt *CI = dyn_cast<ConstantInt>(*i);
254 if (!CI) return false; // Index isn't a simple constant?
255 if (CI->isZero()) continue; // Not adding anything.
259 Offset += TD.getStructLayout(ST)->getElementOffset(CI->getZExtValue());
262 Offset += TD.getTypeAllocSize(SQT->getElementType())*CI->getSExtValue();
286 if (ConstantInt *CI = dyn_cast<ConstantInt>(C)) {
287 if (CI->getBitWidth() > 64 ||
288 (CI->getBitWidth() & 7) != 0)
291 uint64_t Val = CI->getZExtValue();
292 unsigned IntBytes = unsigned(CI->getBitWidth()/8);
837 if (const CmpInst *CI = dyn_cast<CmpInst>(I))
838 return ConstantFoldCompareInstOperands(CI->getPredicate(), Ops[0], Ops[1],