Lines Matching refs:MemSet
417 if (auto *MemSet = dyn_cast<MemSetInst>(SecondI)) in memoryIsNotModifiedBetween() local
418 MemLoc = MemoryLocation::getForDest(MemSet); in memoryIsNotModifiedBetween()
1851 MemSetInst *MemSet = dyn_cast<MemSetInst>(DefI); in tryFoldIntoCalloc() local
1852 if (!MemSet) in tryFoldIntoCalloc()
1855 Constant *StoredConstant = dyn_cast<Constant>(MemSet->getValue()); in tryFoldIntoCalloc()
1902 if (Malloc->getOperand(0) != MemSet->getLength()) in tryFoldIntoCalloc()
1904 if (!shouldCreateCalloc(Malloc, MemSet) || in tryFoldIntoCalloc()
1905 !DT.dominates(Malloc, MemSet) || in tryFoldIntoCalloc()
1906 !memoryIsNotModifiedBetween(Malloc, MemSet, BatchAA, DL, &DT)) in tryFoldIntoCalloc()
1931 MemSetInst *MemSet = dyn_cast<MemSetInst>(DefI); in storeIsNoop() local
1935 else if (MemSet) in storeIsNoop()
1936 StoredConstant = dyn_cast<Constant>(MemSet->getValue()); in storeIsNoop()