[PATCH] D76656: [mlir][Pass] Add a tablegen backend for defining Pass information
River Riddle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 23 17:59:21 PDT 2020
rriddle created this revision.
rriddle added reviewers: mehdi_amini, jpienaar.
Herald added subscribers: llvm-commits, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, burmako, eraman, mgorny.
Herald added a reviewer: antiagainst.
Herald added a project: LLVM.
rriddle added a child revision: D76657: [mlir][Pass] Move the registration of dialect passes to tablegen.
This will greatly simplify a number of things related to passes:
- Enables generation of pass registration
- Enables generation of boiler plate pass utilities
- Enables generation of pass documentation
This revision focuses on adding the basic structure and adds support for generating the registration for passes in the Transforms/ directory. Future revisions will add more support and move more passes over.
Depends On D76573 <https://reviews.llvm.org/D76573>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D76656
Files:
mlir/include/mlir/CMakeLists.txt
mlir/include/mlir/InitAllPasses.h
mlir/include/mlir/Pass/PassBase.td
mlir/include/mlir/Pass/PassRegistry.h
mlir/include/mlir/TableGen/Pass.h
mlir/include/mlir/Transforms/CMakeLists.txt
mlir/include/mlir/Transforms/LocationSnapshot.h
mlir/include/mlir/Transforms/Passes.td
mlir/lib/Pass/PassRegistry.cpp
mlir/lib/TableGen/CMakeLists.txt
mlir/lib/TableGen/Pass.cpp
mlir/lib/Transforms/CMakeLists.txt
mlir/lib/Transforms/CSE.cpp
mlir/lib/Transforms/Canonicalizer.cpp
mlir/lib/Transforms/Inliner.cpp
mlir/lib/Transforms/LocationSnapshot.cpp
mlir/lib/Transforms/LoopCoalescing.cpp
mlir/lib/Transforms/LoopFusion.cpp
mlir/lib/Transforms/LoopInvariantCodeMotion.cpp
mlir/lib/Transforms/MemRefDataFlowOpt.cpp
mlir/lib/Transforms/OpStats.cpp
mlir/lib/Transforms/PipelineDataTransfer.cpp
mlir/lib/Transforms/StripDebugInfo.cpp
mlir/lib/Transforms/SymbolDCE.cpp
mlir/lib/Transforms/ViewOpGraph.cpp
mlir/lib/Transforms/ViewRegionGraph.cpp
mlir/tools/mlir-tblgen/CMakeLists.txt
mlir/tools/mlir-tblgen/PassGen.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76656.252185.patch
Type: text/x-patch
Size: 22084 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200324/1aa31869/attachment.bin>
More information about the llvm-commits
mailing list