Home
last modified time | relevance | path

Searched refs:executeRegionOp (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/SCF/TransformOps/
H A DSCFTransformOps.cpp73 scf::ExecuteRegionOp executeRegionOp = in wrapInExecuteRegion() local
77 b.setInsertionPointToStart(&executeRegionOp.getRegion().emplaceBlock()); in wrapInExecuteRegion()
85 b.replaceOp(op, executeRegionOp.getResults()); in wrapInExecuteRegion()
86 return executeRegionOp; in wrapInExecuteRegion()
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/Transforms/
H A DBufferizableOpInterfaceImpl.cpp52 auto executeRegionOp = cast<scf::ExecuteRegionOp>(op); in getAliasingOpOperand() local
56 assert(executeRegionOp.getRegion().getBlocks().size() == 1 && in getAliasingOpOperand()
59 executeRegionOp.getRegion().front().getTerminator()); in getAliasingOpOperand()
78 auto executeRegionOp = cast<scf::ExecuteRegionOp>(op); in bufferize() local
79 assert(executeRegionOp.getRegion().getBlocks().size() == 1 && in bufferize()
82 cast<scf::YieldOp>(executeRegionOp.getRegion().front().getTerminator()); in bufferize()
88 newOp.getRegion().takeBody(executeRegionOp.getRegion()); in bufferize()
93 for (const auto &it : llvm::enumerate(executeRegionOp->getResultTypes())) { in bufferize()
96 executeRegionOp.getLoc(), newOp->getResult(it.index()))); in bufferize()
103 rewriter.replaceOp(executeRegionOp, newResults); in bufferize()