Lines Matching refs:MemSet
1047 MemSetInst *MemSet) { in processMemSetMemCpyDependence() argument
1049 if (MemSet->getDest() != MemCpy->getDest()) in processMemSetMemCpyDependence()
1054 MD->getPointerDependencyFrom(MemoryLocation::getForDest(MemSet), false, in processMemSetMemCpyDependence()
1056 if (DstDepInfo.getInst() != MemSet) in processMemSetMemCpyDependence()
1061 Value *DestSize = MemSet->getLength(); in processMemSetMemCpyDependence()
1069 std::max(MemSet->getAlignment(), MemCpy->getAlignment()); in processMemSetMemCpyDependence()
1089 Builder.CreateMemSet(Builder.CreateGEP(Dest, SrcSize), MemSet->getOperand(1), in processMemSetMemCpyDependence()
1092 MD->removeInstruction(MemSet); in processMemSetMemCpyDependence()
1093 MemSet->eraseFromParent(); in processMemSetMemCpyDependence()
1112 MemSetInst *MemSet) { in performMemCpyToMemSetOptzn() argument
1114 if (MemSet->getRawDest() != MemCpy->getRawSource()) in performMemCpyToMemSetOptzn()
1118 ConstantInt *MemSetSize = dyn_cast<ConstantInt>(MemSet->getLength()); in performMemCpyToMemSetOptzn()
1125 Builder.CreateMemSet(MemCpy->getRawDest(), MemSet->getOperand(1), in performMemCpyToMemSetOptzn()