Lines Matching defs:newForOp
591 scf::ForOp newForOp =
597 newInnerLoops.push_back(newForOp);
600 forOp = newForOp;
601 // Update `operandMaps` for `newForOp` iterArgs and results.
602 ValueRange newIterArgs = newForOp.getRegionIterArgs();
604 ValueRange newResults = newForOp.getResults();
610 // `newForOp` has `unrollJamFactor` - 1 new sets of iterArgs and
653 for (auto newForOp : newInnerLoops) {
655 newForOp.getNumRegionIterArgs() / unrollJamFactor;
656 unsigned numControlOperands = newForOp.getNumControlOperands();
657 auto yieldOp = cast<scf::YieldOp>(newForOp.getBody()->getTerminator());
665 newForOp.setOperand(numControlOperands + i * oldNumIterOperands + j,
667 newForOp.getOperand(numControlOperands + j)));
1249 // Insert newForOp before the terminator of `t`.
1255 // Splice [begin, begin + nOps - 1) into `newForOp` and replace uses.
1256 auto newForOp = b.create<scf::ForOp>(t.getLoc(), iv, ub, originalStep);
1257 newForOp.getBody()->getOperations().splice(
1258 newForOp.getBody()->getOperations().begin(),
1260 replaceAllUsesInRegionWith(iv, newForOp.getInductionVar(),
1261 newForOp.getRegion());
1263 innerLoops.push_back(newForOp);