llvm-project/mlir
MaheshRavishankar 342d4662e1 [mlir] Add custom directive hooks for printing mixed integer or value operands.
Add printer and parser hooks for a custom directive that allows
parsing and printing of idioms that can represent a list of values
each of which is either an integer or an SSA value. For example in

`subview %source[%offset_0, 1] [4, %size_1] [%stride_0, 3]`

each of the list (which represents offset, size and strides) is a mix
of either statically know integer values or dynamically computed SSA
values. Since this is used in many places adding a custom directive to
parse/print this idiom allows using assembly format on operations
which use this idiom.

Differential Revision: https://reviews.llvm.org/D95773
2021-02-01 19:03:49 -08:00
..
cmake/modules
docs [Branch-Rename] Fix some links 2021-02-01 16:43:21 +05:30
examples [mlir][Python] Roll up of python API fixes. 2021-01-24 19:02:59 -08:00
include [mlir] Add custom directive hooks for printing mixed integer or value operands. 2021-02-01 19:03:49 -08:00
integration_test [mlir][sparse] use typenames for opaque pointers 2021-01-28 09:23:11 -08:00
lib [mlir] Add custom directive hooks for printing mixed integer or value operands. 2021-02-01 19:03:49 -08:00
test [mlir] Add custom directive hooks for printing mixed integer or value operands. 2021-02-01 19:03:49 -08:00
tools [mlir] Add custom directive hooks for printing mixed integer or value operands. 2021-02-01 19:03:49 -08:00
unittests Update ElementsAttr::isValidIndex to handle ElementsAttr with a scalar. Scalar will have rank 0. 2021-01-29 16:56:00 -08:00
utils [mlir][spirv] Fix script for availability autogen and refresh ops 2021-01-22 13:07:36 -05:00
.clang-format
.clang-tidy
CMakeLists.txt Revert "[CMake] Actually require python 3.6 or greater" 2021-01-29 12:03:32 -08:00
LICENSE.TXT
README.md

README.md

Multi-Level Intermediate Representation

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