[PATCH] D79056: [mlir][IR] Add a Region::getOps method that returns a range of immediately nested operations

River Riddle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 28 17:50:23 PDT 2020


rriddle created this revision.
rriddle added a reviewer: mehdi_amini.
Herald added subscribers: llvm-commits, Kayjukh, frgossen, grosul1, Joonsoo, liufengdb, lucyrfox, mgester, arpith-jacob, csigg, nicolasvasilache, antiagainst, shauheen, jpienaar, eraman.
Herald added a reviewer: herhut.
Herald added a project: LLVM.

This allows for walking the operations nested directly within a region, without traversing nested regions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D79056

Files:
  mlir/include/mlir/IR/Block.h
  mlir/include/mlir/IR/BlockSupport.h
  mlir/include/mlir/IR/Function.h
  mlir/include/mlir/IR/OpDefinition.h
  mlir/include/mlir/IR/Region.h
  mlir/lib/Analysis/CallGraph.cpp
  mlir/lib/Conversion/LoopsToGPU/LoopsToGPUPass.cpp
  mlir/lib/IR/Region.cpp
  mlir/lib/IR/SymbolTable.cpp
  mlir/lib/Transforms/Inliner.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79056.260807.patch
Type: text/x-patch
Size: 21807 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200429/428b39f7/attachment.bin>


More information about the llvm-commits mailing list