llvm/mlir
Mehdi Amini 43a894365e Remove deprecated registration APIs (NFC)
In D104421, we changed the API for pass registration.
Before you would write:

      void registerPass("my-pass", "My Pass Description.",
                        [] { return createMyPass(); });
while now you’d only write:

      void registerPass([] { return createMyPass(); });

If you’re using TableGen to define your pass registration, you shouldn’t have anything to do. If you’re using directly the C++ API here are some changes.
Your project may also be broken even if you use TableGen and you call the
generated registration API in case your pass implementation didn’t inherit from
the MyPassBase class generated by TableGen.

If you don't use TableGen, the "my-pass" and "My Pass Description." fields must
be provided by overriding methods on the pass itself:

  llvm::StringRef getArgument() const final { return "my-pass"; }
  llvm::StringRef getDescription() const final {
    return "My Pass Description.";
  }

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D104429
2021-09-01 18:53:30 +00:00
..
cmake/modules [MLIR] [Python] Fix out-of-tree Windows python bindings 2021-08-16 19:18:54 -07:00
docs [mlir][docs] A friendlier improvement for the Toy tutorial chapter 4. 2021-08-25 00:44:51 +00:00
examples Change ASM Op printer to print the operation name in the framework instead of leaving it up to each individual operation 2021-08-31 17:52:40 +00:00
include Remove deprecated registration APIs (NFC) 2021-09-01 18:53:30 +00:00
lib Remove deprecated registration APIs (NFC) 2021-09-01 18:53:30 +00:00
python [mlir] Add op for NCHW conv2d. 2021-08-22 17:27:33 -07:00
test [mlir][tosa] Small refactor to the functionality of Depthwise_Conv2D to add the bias at the end of the convolution 2021-09-01 10:01:00 -07:00
tools Support alias.scope and noalias metadata lowering on intrinsics. 2021-09-01 16:54:20 +00:00
unittests [mlir][Analysis][NFC] FlatAffineConstraints: Use BoundType enum in functions 2021-08-19 10:33:42 +09:00
utils [vscode-mlir] Add proper support for mlir markdown codeblocks 2021-08-03 19:55:31 +00:00
.clang-format
.clang-tidy
CMakeLists.txt
LICENSE.TXT
README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.