[MLIR] Support walks over regions and blocks
authorFrederik Gossen <frgossen@google.com>
Thu, 29 Oct 2020 13:48:07 +0000 (13:48 +0000)
committerFrederik Gossen <frgossen@google.com>
Thu, 29 Oct 2020 14:34:22 +0000 (14:34 +0000)
commitdbae3d50f114a8ec0a7c3211e3b1b9fb6ef22dbd
tree8c177e83110073c6d1ff1e106acb571576a2e30d
parent8c058dd2d752f9ac26a085eb93e1b6e864583be0
[MLIR] Support walks over regions and blocks

Add specializations for `walk` to allow traversal of regions and blocks.

Differential Revision: https://reviews.llvm.org/D90379
mlir/include/mlir/Analysis/Liveness.h
mlir/include/mlir/IR/Block.h
mlir/include/mlir/IR/Operation.h
mlir/include/mlir/IR/Visitors.h
mlir/lib/Analysis/Liveness.cpp
mlir/lib/IR/Visitors.cpp