Lines Matching defs:CI
93 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this))
94 return CI->isZero();
108 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this))
109 return CI->isMinusOne();
130 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this))
131 return CI->isOne();
152 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this))
153 return CI->isMinValue(/*isSigned=*/true);
174 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this))
175 return !CI->isMinValue(/*isSigned=*/true);
294 if (ConstantInt *CI = dyn_cast<ConstantInt>(Elt))
295 return getAggregateElement(CI->getZExtValue());
866 if (auto *CI = dyn_cast<ConstantInt>(C))
867 Elts.push_back(CI->getZExtValue());
892 if (ConstantInt *CI = dyn_cast<ConstantInt>(C)) {
893 if (CI->getType()->isIntegerTy(8))
895 else if (CI->getType()->isIntegerTy(16))
897 else if (CI->getType()->isIntegerTy(32))
899 else if (CI->getType()->isIntegerTy(64))
1131 ConstantInt *CI = dyn_cast<ConstantInt>(*OI);
1132 if (!CI) return false;
1134 if (CI->getValue().getActiveBits() > 64 ||
1135 CI->getZExtValue() >= ATy->getNumElements())
1379 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this))
1380 return CI->getValue();
2622 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
2623 if (CI->getType()->isIntegerTy(8)) {
2624 SmallVector<uint8_t, 16> Elts(NumElts, CI->getZExtValue());
2627 if (CI->getType()->isIntegerTy(16)) {
2628 SmallVector<uint16_t, 16> Elts(NumElts, CI->getZExtValue());
2631 if (CI->getType()->isIntegerTy(32)) {
2632 SmallVector<uint32_t, 16> Elts(NumElts, CI->getZExtValue());
2635 assert(CI->getType()->isIntegerTy(64) && "Unsupported ConstantData type");
2636 SmallVector<uint64_t, 16> Elts(NumElts, CI->getZExtValue());