Lines Matching refs:loadOp
66 void forwardStoreToLoad(AffineReadOpInterface loadOp);
87 void MemRefDataFlowOpt::forwardStoreToLoad(AffineReadOpInterface loadOp) { in forwardStoreToLoad() argument
92 unsigned minSurroundingLoops = getNestingDepth(loadOp); in forwardStoreToLoad()
93 for (auto *user : loadOp.getMemRef().getUsers()) { in forwardStoreToLoad()
97 unsigned nsLoops = getNumCommonSurroundingLoops(*loadOp, *storeOp); in forwardStoreToLoad()
113 MemRefAccess destAccess(loadOp); in forwardStoreToLoad()
116 unsigned nsLoops = getNumCommonSurroundingLoops(*loadOp, *storeOp); in forwardStoreToLoad()
144 if (!domInfo->dominates(storeOp, loadOp)) in forwardStoreToLoad()
172 loadOp.getValue().replaceAllUsesWith(storeVal); in forwardStoreToLoad()
174 memrefsToErase.insert(loadOp.getMemRef()); in forwardStoreToLoad()
176 loadOpsToErase.push_back(loadOp); in forwardStoreToLoad()
194 f.walk([&](AffineReadOpInterface loadOp) { forwardStoreToLoad(loadOp); }); in runOnFunction() argument
197 for (auto *loadOp : loadOpsToErase) in runOnFunction() local
198 loadOp->erase(); in runOnFunction()