llvm-project/mlir/lib/Analysis
Diego Caballero 71a86245ca [mlir] Extend Operation visitor with pre-order traversal
This patch extends the Region, Block and Operation visitors to also support pre-order walks.
We introduce a new template argument that dictates the walk order (only pre-order and
post-order are supported for now). The default order for Regions, Blocks and Operations is
post-order. Mixed orders (e.g., Region/Block pre-order + Operation post-order) could easily
be implemented, as shown in NumberOfExecutions.cpp.

Reviewed By: rriddle, frgossen, bondhugula

Differential Revision: https://reviews.llvm.org/D97217
2021-03-06 00:02:20 +02:00
..
AliasAnalysis [mlir] Add initial support for an alias analysis framework in MLIR 2021-02-09 14:21:27 -08:00
Presburger [mlir] Mark LogicalResult as LLVM_NODISCARD 2021-02-04 15:10:10 -08:00
AffineAnalysis.cpp Add `Operation* OpState::operator->()` to provide more convenient access to members of Operation. 2020-12-02 15:46:20 +01:00
AffineStructures.cpp [mlir][Affine] Add support for multi-store producer fusion 2021-01-25 20:31:17 +02:00
AliasAnalysis.cpp [mlir] Add initial support for an alias analysis framework in MLIR 2021-02-09 14:21:27 -08:00
BufferAliasAnalysis.cpp Add `Operation* OpState::operator->()` to provide more convenient access to members of Operation. 2020-12-02 15:46:20 +01:00
CMakeLists.txt [mlir] Add initial support for an alias analysis framework in MLIR 2021-02-09 14:21:27 -08:00
CallGraph.cpp [mlir] Update SCCP and the Inliner to use SymbolTableCollection for symbol lookups 2020-10-16 12:08:48 -07:00
LinearTransform.cpp [MLIR] Add support for extracting an integer sample point (if one exists) from an unbounded FlatAffineConstraints. 2021-01-22 22:28:38 +05:30
Liveness.cpp [mlir] Extend Operation visitor with pre-order traversal 2021-03-06 00:02:20 +02:00
LoopAnalysis.cpp [mlir][Affine] Fix vectorizability check for multiple load/stores 2020-12-09 12:19:34 -08:00
NestedMatcher.cpp [mlir][NFC] Remove usernames and google bug numbers from TODO comments. 2020-07-07 01:40:52 -07:00
NumberOfExecutions.cpp [mlir] Extend Operation visitor with pre-order traversal 2021-03-06 00:02:20 +02:00
PresburgerSet.cpp [MLIR] NFC: simplify PresburgerSet::isEqual 2021-01-18 22:47:25 +05:30
SliceAnalysis.cpp [mlir] Drop reliance of SliceAnalysis on specific ops. 2021-02-16 06:34:32 +00:00
Utils.cpp [mlir] Check 'iter_args' in 'isLoopParallel' utility 2021-02-25 18:12:34 +02:00