Lines Matching defs:MSI
172 bool processLoopMemSet(MemSetInst *MSI, const SCEV *BECount);
585 if (MemSetInst *MSI = dyn_cast<MemSetInst>(Inst)) {
587 if (!processLoopMemSet(MSI, BECount))
747 bool LoopIdiomRecognize::processLoopMemSet(MemSetInst *MSI,
750 if (MSI->isVolatile() || !isa<ConstantInt>(MSI->getLength()))
757 Value *Pointer = MSI->getDest();
767 uint64_t SizeInBytes = cast<ConstantInt>(MSI->getLength())->getZExtValue();
783 Value *SplatValue = MSI->getValue();
788 MSIs.insert(MSI);
791 Pointer, (unsigned)SizeInBytes, MaybeAlign(MSI->getDestAlignment()),
792 SplatValue, MSI, MSIs, Ev, BECount, NegStride, /*IsLoopMemset=*/true);