llvm-project/mlir/lib/Analysis
Vincent Zhao 654e8aadfd [MLIR] Consider AffineIfOp when getting the index set of an Op wrapped in nested loops
This diff attempts to resolve the TODO in `getOpIndexSet` (formerly
known as `getInstIndexSet`), which states "Add support to handle IfInsts
surronding `op`".

Major changes in this diff:

1. Overload `getIndexSet`. The overloaded version considers both
`AffineForOp` and `AffineIfOp`.
2. The `getInstIndexSet` is updated accordingly: its name is changed to
`getOpIndexSet` and its implementation is based on a new API `getIVs`
instead of `getLoopIVs`.
3. Add `addAffineIfOpDomain` to `FlatAffineConstraints`, which extracts
new constraints from the integer set of `AffineIfOp` and merges it to
the current constraint system.
4. Update how a `Value` is determined as dim or symbol for
`ValuePositionMap` in `buildDimAndSymbolPositionMaps`.

Differential Revision: https://reviews.llvm.org/D84698
2020-08-09 03:16:03 +05:30
..
Presburger [mlir]: NFC: Fix trivial typo in documents and comments 2020-07-23 23:40:57 +09:00
AffineAnalysis.cpp [MLIR] Consider AffineIfOp when getting the index set of an Op wrapped in nested loops 2020-08-09 03:16:03 +05:30
AffineStructures.cpp [MLIR] Consider AffineIfOp when getting the index set of an Op wrapped in nested loops 2020-08-09 03:16:03 +05:30
CMakeLists.txt [MLIR] Exact integer emptiness checks for FlatAffineConstraints 2020-07-02 19:53:27 +05:30
CallGraph.cpp [mlir] Add NamedAttrList 2020-05-07 12:33:36 -07:00
Liveness.cpp [mlir] Fixed warning related to unused variable in Liveness. 2020-04-27 14:02:33 +02:00
LoopAnalysis.cpp [mlir][NFC] Remove usernames and google bug numbers from TODO comments. 2020-07-07 01:40:52 -07:00
NestedMatcher.cpp [mlir][NFC] Remove usernames and google bug numbers from TODO comments. 2020-07-07 01:40:52 -07:00
SliceAnalysis.cpp [mlir] Support operations with multiple results in slicing 2020-07-13 13:24:27 -07:00
Utils.cpp [MLIR] Consider AffineIfOp when getting the index set of an Op wrapped in nested loops 2020-08-09 03:16:03 +05:30