llvm-project/mlir/tools
River Riddle 2a6c8b2e95 [mlir][PassIncGen] Refactor how pass registration is generated
The current output is a bit clunky and requires including files+macros everywhere, or manually wrapping the file inclusion in a registration function. This revision refactors the pass backend to automatically generate `registerFooPass`/`registerFooPasses` functions that wrap the pass registration. `gen-pass-decls` now takes a `-name` input that specifies a tag name for the group of passes that are being generated. For each pass, the generator now produces a `registerFooPass` where `Foo` is the name of the definition specified in tablegen. It also generates a `registerGroupPasses`, where `Group` is the tag provided via the `-name` input parameter, that registers all of the passes present.

Differential Revision: https://reviews.llvm.org/D84983
2020-07-31 13:20:37 -07:00
..
mlir-cpu-runner [MLIR] Move JitRunner to live with ExecutionEngine 2020-05-15 14:37:10 -07:00
mlir-cuda-runner Clean up cuda-runtime-wrappers API. 2020-07-28 16:34:08 +02:00
mlir-linalg-ods-gen [mlir][Linalg] Retire C++ MatmulOp in favor of a linalg-ods-gen'd op. 2020-06-16 10:46:35 -04:00
mlir-opt [mlir][GPUToSPIRV] Add a test pass to set workgroup size for kernel 2020-07-28 12:10:30 -07:00
mlir-reduce Create the MLIR Reduce framework 2020-07-07 23:42:53 +00:00
mlir-rocm-runner [mlir] fix error handling in rocm runtime wrapper 2020-07-29 22:08:42 +02:00
mlir-shlib [MLIR] Reapply: Adjust libMLIR building to more closely follow libClang 2020-05-04 20:47:57 -07:00
mlir-tblgen [mlir][PassIncGen] Refactor how pass registration is generated 2020-07-31 13:20:37 -07:00
mlir-translate [MLIR] Reapply: Adjust libMLIR building to more closely follow libClang 2020-05-04 20:47:57 -07:00
mlir-vulkan-runner [mlir][NFC] Remove usernames and google bug numbers from TODO comments. 2020-07-07 01:40:52 -07:00
CMakeLists.txt Create the MLIR Reduce framework 2020-07-07 23:42:53 +00:00