Lines Matching defs:LenC
315 if (ConstantInt *LenC = dyn_cast<ConstantInt>(Size)) {
317 annotateDereferenceableBytes(CI, ArgNos, LenC->getZExtValue());
957 Value *LenC = ConstantInt::get(CI->getType(), Len - 1);
961 return B.CreateBinaryIntrinsic(Intrinsic::umin, LenC, Bound);
962 return LenC;
1208 ConstantInt *LenC = dyn_cast<ConstantInt>(Size);
1211 if (LenC) {
1212 if (LenC->isZero())
1216 if (LenC->isOne()) {
1238 if (LenC) {
1239 EndOff = LenC->getZExtValue();
1253 if (LenC)
1303 ConstantInt *LenC = dyn_cast<ConstantInt>(Size);
1307 if (LenC) {
1308 if (LenC->isZero())
1311 if (LenC->isOne()) {
1349 if (LenC)
1350 Str = substr(Str, LenC->getZExtValue());
1389 if (!LenC) {
1586 ConstantInt *LenC = dyn_cast<ConstantInt>(Size);
1587 if (!LenC)
1590 return optimizeMemCmpConstantSize(CI, LHS, RHS, LenC->getZExtValue(), B, DL);