llvm-project/mlir
Jean-Michel Gorius 160f5aa65f [mlir] Add an out-of-tree dialect example
This adds a minimal out-of-tree dialect template which can be used to start work on a standalone dialect implementation without having to integrate it in the main LLVM tree.

It mostly sets up the directory structure and provides CMakeLists.txt files to build a dialect library, an opt-like tool to operate on that dialect as well as tests. It could be expanded in the future to add examples of more user-defined operations, types, attributes, generated enums, transforms, etc. and linked to a tutorial.

Differential Revision: https://reviews.llvm.org/D77133
2020-04-04 17:16:43 +00:00
..
cmake/modules [CMAKE] Plumb include_directories() into tablegen() 2020-04-03 11:23:38 -07:00
docs [mlir][LLVM] Finer-grained control for C interface emission 2020-04-02 13:07:10 -04:00
examples [mlir] Add an out-of-tree dialect example 2020-04-04 17:16:43 +00:00
include [mlir][DeclarativeParser] Emit an error if a `:` follows an attribute with a non-constant type. 2020-04-03 19:23:56 -07:00
lib [mlir] Change the default of `mlir-print-op-on-diagnostic` to true 2020-04-03 19:02:51 -07:00
test [mlir][DeclarativeParser] Emit an error if a `:` follows an attribute with a non-constant type. 2020-04-03 19:23:56 -07:00
tools [mlir][DeclarativeParser] Emit an error if a `:` follows an attribute with a non-constant type. 2020-04-03 19:23:56 -07:00
unittests Add a flag on the context to protect against creation of operations in unregistered dialects 2020-03-30 19:37:31 +00:00
utils [mlir][spirv] Change op doc description autogen separator 2020-03-31 15:28:06 -04:00
.clang-format [mlir] add .clang-format 2019-03-29 12:41:43 -07:00
.clang-tidy Fix MLIR clang-tidy: when tweaking it does not inherit from the parent 2020-03-07 17:44:21 +00:00
CMakeLists.txt [mlir] Fix cross compiling MLIR 2020-03-14 19:18:40 +00:00
LICENSE.TXT Add the Apache2 with LLVM exceptions license to MLIR 2019-12-24 00:58:06 -08:00
README.md mlir README.md: Fix the syntax 2019-12-24 13:31:07 +01:00

README.md

Multi-Level Intermediate Representation

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