Lines Matching defs:executeRegionOp
128 static scf::YieldOp getUniqueYieldOp(scf::ExecuteRegionOp executeRegionOp) {
130 for (Block &block : executeRegionOp.getRegion()) {
155 auto executeRegionOp = cast<scf::ExecuteRegionOp>(op);
157 if (!getUniqueYieldOp(executeRegionOp))
172 auto executeRegionOp = cast<scf::ExecuteRegionOp>(op);
176 auto yieldOp = getUniqueYieldOp(executeRegionOp);
185 auto executeRegionOp = cast<scf::ExecuteRegionOp>(op);
186 auto yieldOp = getUniqueYieldOp(executeRegionOp);
192 newOp.getRegion().takeBody(executeRegionOp.getRegion());
203 for (const auto &it : llvm::enumerate(executeRegionOp->getResultTypes())) {
206 executeRegionOp.getLoc(), it.value(),
214 rewriter.replaceOp(executeRegionOp, newResults);