Lines Matching refs:MSI
230 void addMemSet(int64_t OffsetFromFirst, MemSetInst *MSI) { in addMemSet() argument
231 int64_t Size = cast<ConstantInt>(MSI->getLength())->getZExtValue(); in addMemSet()
232 addRange(OffsetFromFirst, Size, MSI->getDest(), MSI->getAlignment(), MSI); in addMemSet()
409 MemSetInst *MSI = cast<MemSetInst>(BI); in INITIALIZE_PASS_DEPENDENCY() local
411 if (MSI->isVolatile() || ByteVal != MSI->getValue() || in INITIALIZE_PASS_DEPENDENCY()
412 !isa<ConstantInt>(MSI->getLength())) in INITIALIZE_PASS_DEPENDENCY()
417 if (!IsPointerOffset(StartPtr, MSI->getDest(), Offset, DL)) in INITIALIZE_PASS_DEPENDENCY()
420 Ranges.addMemSet(Offset, MSI); in INITIALIZE_PASS_DEPENDENCY()
565 bool MemCpyOpt::processMemSet(MemSetInst *MSI, BasicBlock::iterator &BBI) { in processMemSet() argument
568 if (isa<ConstantInt>(MSI->getLength()) && !MSI->isVolatile()) in processMemSet()
569 if (Instruction *I = tryMergingIntoMemset(MSI, MSI->getDest(), in processMemSet()
570 MSI->getValue())) { in processMemSet()