MLIR
20.0.0git
|
This iterator enumerates elements according to their dominance relationship. More...
#include "mlir/IR/Iterators.h"
Static Public Member Functions | |
static Block & | makeIterable (Block &range) |
static auto | makeIterable (Region ®ion) |
static MutableArrayRef< Region > | makeIterable (Operation &range) |
This iterator enumerates elements according to their dominance relationship.
Operations and regions are enumerated in "forward" order. Blocks are enumerated according to their successor relationship. Unreachable blocks are not enumerated. Blocks may not be erased during the traversal.
Note: If NoGraphRegions
is set to "true", this iterator asserts that each visited region has SSA dominance. In either case, the ops in such regions are visited in forward order, but for regions without SSA dominance this does not guarantee that defining ops are visited before their users.
Definition at line 48 of file Iterators.h.
|
inlinestatic |
Definition at line 49 of file Iterators.h.
References mlir::ForwardIterator::makeIterable().
|
inlinestatic |
Definition at line 70 of file Iterators.h.
References mlir::ForwardIterator::makeIterable().
|
inlinestatic |
Definition at line 53 of file Iterators.h.
References mlir::Region::empty(), mlir::Region::front(), and mlir::mayHaveSSADominance().