• Home
  • Raw
  • Download

Lines Matching refs:MDep

332     bool processMemCpyMemCpyDependence(MemCpyInst *M, MemCpyInst *MDep);
333 bool processMemSetMemCpyDependence(MemCpyInst *M, MemSetInst *MDep);
334 bool performMemCpyToMemSetOptzn(MemCpyInst *M, MemSetInst *MDep);
959 MemCpyInst *MDep) { in processMemCpyMemCpyDependence() argument
962 if (M->getSource() != MDep->getDest() || MDep->isVolatile()) in processMemCpyMemCpyDependence()
970 if (M->getSource() == MDep->getSource()) in processMemCpyMemCpyDependence()
975 ConstantInt *MDepLen = dyn_cast<ConstantInt>(MDep->getLength()); in processMemCpyMemCpyDependence()
995 MD->getPointerDependencyFrom(MemoryLocation::getForSource(MDep), false, in processMemCpyMemCpyDependence()
997 if (!SourceDep.isClobber() || SourceDep.getInst() != MDep) in processMemCpyMemCpyDependence()
1005 MemoryLocation::getForSource(MDep))) in processMemCpyMemCpyDependence()
1015 unsigned Align = std::min(MDep->getAlignment(), M->getAlignment()); in processMemCpyMemCpyDependence()
1019 Builder.CreateMemMove(M->getRawDest(), MDep->getRawSource(), M->getLength(), in processMemCpyMemCpyDependence()
1022 Builder.CreateMemCpy(M->getRawDest(), MDep->getRawSource(), M->getLength(), in processMemCpyMemCpyDependence()
1164 if (MemSetInst *MDep = dyn_cast<MemSetInst>(DepInfo.getInst())) in processMemCpy() local
1165 if (processMemSetMemCpyDependence(M, MDep)) in processMemCpy()
1196 if (MemCpyInst *MDep = dyn_cast<MemCpyInst>(SrcDepInfo.getInst())) in processMemCpy() local
1197 return processMemCpyMemCpyDependence(M, MDep); in processMemCpy()
1220 if (MemSetInst *MDep = dyn_cast<MemSetInst>(SrcDepInfo.getInst())) in processMemCpy() local
1221 if (performMemCpyToMemSetOptzn(M, MDep)) { in processMemCpy()
1278 MemCpyInst *MDep = dyn_cast<MemCpyInst>(DepInfo.getInst()); in processByValArgument() local
1279 if (!MDep || MDep->isVolatile() || in processByValArgument()
1280 ByValArg->stripPointerCasts() != MDep->getDest()) in processByValArgument()
1284 ConstantInt *C1 = dyn_cast<ConstantInt>(MDep->getLength()); in processByValArgument()
1297 if (MDep->getAlignment() < ByValAlign && in processByValArgument()
1298 getOrEnforceKnownAlignment(MDep->getSource(), ByValAlign, DL, in processByValArgument()
1312 MemoryLocation::getForSource(MDep), false, in processByValArgument()
1313 CS.getInstruction()->getIterator(), MDep->getParent()); in processByValArgument()
1314 if (!SourceDep.isClobber() || SourceDep.getInst() != MDep) in processByValArgument()
1317 Value *TmpCast = MDep->getSource(); in processByValArgument()
1318 if (MDep->getSource()->getType() != ByValArg->getType()) in processByValArgument()
1319 TmpCast = new BitCastInst(MDep->getSource(), ByValArg->getType(), in processByValArgument()
1323 << " " << *MDep << "\n" in processByValArgument()