Searched refs:LenC (Results 1 – 2 of 2) sorted by relevance
761 ConstantInt *LenC = dyn_cast<ConstantInt>(CI->getArgOperand(2)); in optimizeMemChr() local764 if (LenC && LenC->isNullValue()) in optimizeMemChr()769 if (!LenC || !getConstantStringInfo(SrcStr, Str, 0, /*TrimAtNul=*/false)) in optimizeMemChr()775 Str = Str.substr(0, LenC->getZExtValue()); in optimizeMemChr()850 ConstantInt *LenC = dyn_cast<ConstantInt>(CI->getArgOperand(2)); in optimizeMemCmp() local851 if (!LenC) in optimizeMemCmp()853 uint64_t Len = LenC->getZExtValue(); in optimizeMemCmp()
166 ConstantInt *LenC = dyn_cast<ConstantInt>(MI->getLength()); in SimplifyMemSet() local168 if (!LenC || !FillC || !FillC->getType()->isIntegerTy(8)) in SimplifyMemSet()170 uint64_t Len = LenC->getLimitedValue(); in SimplifyMemSet()193 MI->setLength(Constant::getNullValue(LenC->getType())); in SimplifyMemSet()