Home
last modified time | relevance | path

Searched refs:MDep (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp336 bool processMemCpyMemCpyDependence(MemCpyInst *M, MemCpyInst *MDep,
701 bool MemCpyOpt::processMemCpyMemCpyDependence(MemCpyInst *M, MemCpyInst *MDep, in processMemCpyMemCpyDependence() argument
705 if (M->getSource() != MDep->getDest() || MDep->isVolatile()) in processMemCpyMemCpyDependence()
713 if (M->getSource() == MDep->getSource()) in processMemCpyMemCpyDependence()
718 ConstantInt *MDepLen = dyn_cast<ConstantInt>(MDep->getLength()); in processMemCpyMemCpyDependence()
738 MD->getPointerDependencyFrom(AA.getLocationForSource(MDep), in processMemCpyMemCpyDependence()
740 if (!SourceDep.isClobber() || SourceDep.getInst() != MDep) in processMemCpyMemCpyDependence()
747 if (!AA.isNoAlias(AA.getLocationForDest(M), AA.getLocationForSource(MDep))) in processMemCpyMemCpyDependence()
757 unsigned Align = std::min(MDep->getAlignment(), M->getAlignment()); in processMemCpyMemCpyDependence()
761 Builder.CreateMemMove(M->getRawDest(), MDep->getRawSource(), M->getLength(), in processMemCpyMemCpyDependence()
[all …]
/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp332 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()
[all …]
/external/llvm/include/llvm/Transforms/Scalar/
DMemCpyOptimizer.h57 bool processMemCpyMemCpyDependence(MemCpyInst *M, MemCpyInst *MDep);
58 bool processMemSetMemCpyDependence(MemCpyInst *M, MemSetInst *MDep);
59 bool performMemCpyToMemSetOptzn(MemCpyInst *M, MemSetInst *MDep);