Lines Matching refs:MSI
537 if (MemSetInst *MSI = dyn_cast<MemSetInst>(UI)) {
542 if (!isa<ConstantInt>(MSI->getValue()))
546 ConstantInt *Len = dyn_cast<ConstantInt>(MSI->getLength());
657 if (MemSetInst *MSI = dyn_cast<MemSetInst>(User)) {
658 assert(MSI->getRawDest() == Ptr && "Consistency error!");
660 int64_t SNumBytes = cast<ConstantInt>(MSI->getLength())->getSExtValue();
663 unsigned Val = cast<ConstantInt>(MSI->getValue())->getZExtValue();
684 MSI->eraseFromParent();