llvm-project/mlir/unittests
River Riddle a70aa7bb0d [mlir:Transforms] Move out the remaining non-dialect independent transforms and utilities
This has been a major TODO for a very long time, and is necessary for establishing a proper
dialect-free dependency layering for the Transforms library. Code was moved to effectively
two main locations:

* Affine/
There was quite a bit of affine dialect related code in Transforms/ do to historical reasons
(of a time way into MLIR's past). The following headers were moved to:
Transforms/LoopFusionUtils.h -> Dialect/Affine/LoopFusionUtils.h
Transforms/LoopUtils.h -> Dialect/Affine/LoopUtils.h
Transforms/Utils.h -> Dialect/Affine/Utils.h

The following transforms were also moved:
AffineLoopFusion, AffinePipelineDataTransfer, LoopCoalescing

* SCF/
Only one SCF pass was in Transforms/ (likely accidentally placed here): ParallelLoopCollapsing
The SCF specific utilities in LoopUtils have been moved to SCF/Utils.h

* Misc:
mlir::moveLoopInvariantCode was also moved to LoopLikeInterface.h given
that it is a simple utility defined in terms of LoopLikeOpInterface.

Differential Revision: https://reviews.llvm.org/D117848
2022-01-24 19:25:53 -08:00
..
Analysis [MLIR][Presburger] use braces for single-line loop when inner if uses braces [NFC] 2022-01-25 04:18:20 +05:30
Conversion Apply clang-tidy fixes for performance-unnecessary-value-param to MLIR (NFC) 2022-01-02 01:45:18 +00:00
Dialect [mlir:Analysis] Move the LoopAnalysis library to Dialect/Affine/Analysis 2022-01-18 10:28:22 -08:00
ExecutionEngine Fix clang-tidy issues in mlir/ (NFC) 2021-12-20 20:25:01 +00:00
IR [mlir] Refactor ShapedType into an interface 2022-01-12 14:12:09 -08:00
Interfaces Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00
Pass [mlir][Pass] Deprecate FunctionPass in favor of OperationPass<FuncOp> 2022-01-18 19:52:44 -08:00
Rewrite Fix memory leaks in MLIR unit-tests (NFC) 2021-10-02 21:31:46 +00:00
Support [MLIR] Add forgotten directory Support to unittests cmake 2021-12-27 14:42:48 +05:30
TableGen Apply clang-tidy fixes for performance-move-const-arg to MLIR (NFC) 2022-01-02 22:36:56 +00:00
Transforms [mlir:Transforms] Move out the remaining non-dialect independent transforms and utilities 2022-01-24 19:25:53 -08:00
CMakeLists.txt Mark some MLIR tests as requiring the native target to be configured 2022-01-14 07:23:14 +00:00