Lines Matching refs:MSI
218 void addMemSet(int64_t OffsetFromFirst, MemSetInst *MSI) { in addMemSet() argument
219 int64_t Size = cast<ConstantInt>(MSI->getLength())->getZExtValue(); in addMemSet()
220 addRange(OffsetFromFirst, Size, MSI->getDest(), MSI->getAlignment(), MSI); in addMemSet()
401 MemSetInst *MSI = cast<MemSetInst>(BI); in INITIALIZE_PASS_DEPENDENCY() local
403 if (MSI->isVolatile() || ByteVal != MSI->getValue() || in INITIALIZE_PASS_DEPENDENCY()
404 !isa<ConstantInt>(MSI->getLength())) in INITIALIZE_PASS_DEPENDENCY()
409 if (!IsPointerOffset(StartPtr, MSI->getDest(), Offset, *TD)) in INITIALIZE_PASS_DEPENDENCY()
412 Ranges.addMemSet(Offset, MSI); in INITIALIZE_PASS_DEPENDENCY()
544 bool MemCpyOpt::processMemSet(MemSetInst *MSI, BasicBlock::iterator &BBI) { in processMemSet() argument
547 if (isa<ConstantInt>(MSI->getLength()) && !MSI->isVolatile()) in processMemSet()
548 if (Instruction *I = tryMergingIntoMemset(MSI, MSI->getDest(), in processMemSet()
549 MSI->getValue())) { in processMemSet()