llvm-project/mlir/lib/Transforms
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
..
Utils [mlir:Transforms] Move out the remaining non-dialect independent transforms and utilities 2022-01-24 19:25:53 -08:00
CMakeLists.txt [mlir:Transforms] Move out the remaining non-dialect independent transforms and utilities 2022-01-24 19:25:53 -08:00
CSE.cpp [mlir:Transforms] Move out the remaining non-dialect independent transforms and utilities 2022-01-24 19:25:53 -08:00
Canonicalizer.cpp [mlir] Fix missing namespace (NFC) 2021-12-22 19:17:14 +00:00
ControlFlowSink.cpp [mlir:Transforms] Move out the remaining non-dialect independent transforms and utilities 2022-01-24 19:25:53 -08:00
Inliner.cpp [mlir] Add a parsePassPipeline overload that returns a new pass manager 2022-01-12 14:54:30 -08:00
LocationSnapshot.cpp Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00
LoopInvariantCodeMotion.cpp [mlir:Transforms] Move out the remaining non-dialect independent transforms and utilities 2022-01-24 19:25:53 -08:00
OpStats.cpp [mlir][BuiltinDialect] Resolve comments from D91571 2020-11-19 11:12:49 -08:00
PassDetail.h [mlir:Transforms] Move out the remaining non-dialect independent transforms and utilities 2022-01-24 19:25:53 -08:00
SCCP.cpp [MLIR][DataFlowAnalysis] Use a queue to maintain the worklist 2022-01-06 09:55:22 +05:30
StripDebugInfo.cpp Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00
SymbolDCE.cpp [mlir] Symbol DCE ignores unknown symbols 2022-01-05 20:48:30 +00:00
ViewOpGraph.cpp Apply clang-tidy fixes for performance-unnecessary-value-param to MLIR (NFC) 2022-01-02 01:45:18 +00:00