llvm-project/mlir/test/Dialect/Linalg
River Riddle 907403f342 [mlir] Add a new `ConstantLike` trait to better identify operations that represent a "constant".
The current mechanism for identifying is a bit hacky and extremely adhoc, i.e. we explicit check 1-result, 0-operand, no side-effect, and always foldable and then assume that this is a constant. Adding a trait adds structure to this, and makes checking for a constant much more efficient as we can guarantee that all of these things have already been verified.

Differential Revision: https://reviews.llvm.org/D76020
2020-03-12 14:26:15 -07:00
..
affine.mlir [mlir] Change the syntax of AffineMapAttr and IntegerSetAttr to avoid conflicts with function types. 2020-01-13 13:24:39 -08:00
canonicalize.mlir [mlir][Linalg] Introduce folding patterns to remove certain MemRefCastOp 2020-01-29 09:52:51 -05:00
fusion-2-level.mlir Deprecate linalg.subview in favor of std.subview 2019-11-13 12:10:09 -08:00
fusion-tensor.mlir [mlir][Linalg] Implement fusion of linalg.generic operation on tensors. 2020-02-07 10:36:53 -08:00
fusion.mlir [mlir][DeclarativeParser] Add support for formatting operations with AttrSizedOperandSegments. 2020-03-05 12:51:28 -08:00
invalid.mlir [mlir] Add a new `ConstantLike` trait to better identify operations that represent a "constant". 2020-03-12 14:26:15 -07:00
llvm.mlir [mlir] use unpacked memref descriptors at function boundaries 2020-02-10 15:03:43 +01:00
loops.mlir [mlir][Linalg] Revisit 0-D abstraction 2020-03-10 15:14:09 -04:00
parallel_loops.mlir [MLIR] Allow Loop dialect IfOp and ForOp to define values 2020-02-21 10:05:32 -08:00
promote.mlir [mlir][DeclarativeParser] Add support for formatting operations with AttrSizedOperandSegments. 2020-03-05 12:51:28 -08:00
roundtrip.mlir [mlir][Linalg] Revisit 0-D abstraction 2020-03-10 15:14:09 -04:00
tile.mlir [mlir][DeclarativeParser] Add support for formatting operations with AttrSizedOperandSegments. 2020-03-05 12:51:28 -08:00
tile_conv.mlir [mlir][DeclarativeParser] Add support for formatting operations with AttrSizedOperandSegments. 2020-03-05 12:51:28 -08:00
tile_indexed_generic.mlir [mlir] Change the syntax of AffineMapAttr and IntegerSetAttr to avoid conflicts with function types. 2020-01-13 13:24:39 -08:00
tile_parallel.mlir [mlir][DeclarativeParser] Add support for formatting operations with AttrSizedOperandSegments. 2020-03-05 12:51:28 -08:00
transform-patterns.mlir [mlir][DeclarativeParser] Add support for formatting operations with AttrSizedOperandSegments. 2020-03-05 12:51:28 -08:00