Home
last modified time | relevance | path

Searched refs:MDep (Results 1 – 7 of 7) 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp1009 MemCpyInst *MDep) { in processMemCpyMemCpyDependence() argument
1012 if (M->getSource() != MDep->getDest() || MDep->isVolatile()) in processMemCpyMemCpyDependence()
1020 if (M->getSource() == MDep->getSource()) in processMemCpyMemCpyDependence()
1025 ConstantInt *MDepLen = dyn_cast<ConstantInt>(MDep->getLength()); in processMemCpyMemCpyDependence()
1045 MD->getPointerDependencyFrom(MemoryLocation::getForSource(MDep), false, in processMemCpyMemCpyDependence()
1047 if (!SourceDep.isClobber() || SourceDep.getInst() != MDep) in processMemCpyMemCpyDependence()
1055 MemoryLocation::getForSource(MDep))) in processMemCpyMemCpyDependence()
1065 MDep->getRawSource(), MDep->getSourceAlignment(), in processMemCpyMemCpyDependence()
1069 MDep->getRawSource(), MDep->getSourceAlignment(), in processMemCpyMemCpyDependence()
1214 if (MemSetInst *MDep = dyn_cast<MemSetInst>(DepInfo.getInst())) in processMemCpy() local
[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);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/
DMemCpyOptimizer.h67 bool processMemCpyMemCpyDependence(MemCpyInst *M, MemCpyInst *MDep);
68 bool processMemSetMemCpyDependence(MemCpyInst *M, MemSetInst *MDep);
69 bool performMemCpyToMemSetOptzn(MemCpyInst *M, MemSetInst *MDep);
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DPassManagerTest.cpp582 Result(TestFunctionAnalysis::Result &FDep, TestModuleAnalysis::Result &MDep) in Result()
583 : FDep(FDep), MDep(MDep) {} in Result()
585 TestModuleAnalysis::Result &MDep; member
606 auto &MDep = *MAM.getCachedResult<TestModuleAnalysis>(*F.getParent()); in run() local
611 return Result(FDep, MDep); in run()
701 FunctionCount += IndirectResult.MDep.FunctionCount; in TEST_F()
713 FunctionCount += IndirectResult.MDep.FunctionCount; in TEST_F()
728 FunctionCount += IndirectResult.MDep.FunctionCount; in TEST_F()
742 FunctionCount += IndirectResult.MDep.FunctionCount; in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DCGSCCPassManagerTest.cpp839 Result(TestSCCAnalysis::Result &SCCDep, TestModuleAnalysis::Result &MDep) in Result()
840 : SCCDep(SCCDep), MDep(MDep) {} in Result()
842 TestModuleAnalysis::Result &MDep; member
865 auto &MDep = *MAM.getCachedResult<TestModuleAnalysis>( in run() local
872 return Result(SCCDep, MDep); in run()
931 Result(TestFunctionAnalysis::Result &FDep, TestModuleAnalysis::Result &MDep, in Result()
933 : FDep(FDep), MDep(MDep), SCCDep(SCCDep) {} in Result()
935 TestModuleAnalysis::Result &MDep; member
958 auto &MDep = *MAM.getCachedResult<TestModuleAnalysis>(*F.getParent()); in run() local
977 return Result(FDep, MDep, SCCDep); in run()