Searched refs:LenC (Results 1 – 2 of 2) sorted by relevance
237 if (ConstantInt *LenC = dyn_cast<ConstantInt>(Size)) { in annotateNonNullAndDereferenceable() local239 annotateDereferenceableBytes(CI, ArgNos, LenC->getZExtValue()); in annotateNonNullAndDereferenceable()907 ConstantInt *LenC = dyn_cast<ConstantInt>(Size); in optimizeMemChr() local910 if (LenC) { in optimizeMemChr()911 if (LenC->isZero()) in optimizeMemChr()925 Str = Str.substr(0, LenC->getZExtValue()); in optimizeMemChr()1077 ConstantInt *LenC = dyn_cast<ConstantInt>(Size); in optimizeMemCmpBCmpCommon() local1078 if (!LenC) in optimizeMemCmpBCmpCommon()1082 if (LenC->getZExtValue() == 0) in optimizeMemCmpBCmpCommon()1086 optimizeMemCmpConstantSize(CI, LHS, RHS, LenC->getZExtValue(), B, DL)) in optimizeMemCmpBCmpCommon()
251 ConstantInt *LenC = dyn_cast<ConstantInt>(MI->getLength()); in SimplifyAnyMemSet() local253 if (!LenC || !FillC || !FillC->getType()->isIntegerTy(8)) in SimplifyAnyMemSet()255 const uint64_t Len = LenC->getLimitedValue(); in SimplifyAnyMemSet()285 MI->setLength(Constant::getNullValue(LenC->getType())); in SimplifyAnyMemSet()