Lines Matching refs:MSI
470 if (MemSetInst *MSI = dyn_cast<MemSetInst>(User)) {
472 if (!isa<ConstantInt>(MSI->getValue()))
476 ConstantInt *Len = dyn_cast<ConstantInt>(MSI->getLength());
575 if (MemSetInst *MSI = dyn_cast<MemSetInst>(User)) {
576 assert(MSI->getRawDest() == Ptr && "Consistency error!");
577 int64_t SNumBytes = cast<ConstantInt>(MSI->getLength())->getSExtValue();
580 unsigned Val = cast<ConstantInt>(MSI->getValue())->getZExtValue();
601 MSI->eraseFromParent();