Lines Matching defs:LenC
314 if (ConstantInt *LenC = dyn_cast<ConstantInt>(Size)) {
316 annotateDereferenceableBytes(CI, ArgNos, LenC->getZExtValue());
966 Value *LenC = ConstantInt::get(CI->getType(), Len - 1);
970 return B.CreateBinaryIntrinsic(Intrinsic::umin, LenC, Bound);
971 return LenC;
1216 ConstantInt *LenC = dyn_cast<ConstantInt>(Size);
1219 if (LenC) {
1220 if (LenC->isZero())
1224 if (LenC->isOne()) {
1246 if (LenC) {
1247 EndOff = LenC->getZExtValue();
1261 if (LenC)
1311 ConstantInt *LenC = dyn_cast<ConstantInt>(Size);
1315 if (LenC) {
1316 if (LenC->isZero())
1319 if (LenC->isOne()) {
1357 if (LenC)
1358 Str = substr(Str, LenC->getZExtValue());
1397 if (!LenC) {
1593 ConstantInt *LenC = dyn_cast<ConstantInt>(Size);
1594 if (!LenC)
1597 return optimizeMemCmpConstantSize(CI, LHS, RHS, LenC->getZExtValue(), B, DL);