llvm-project/mlir/test/IR
Alex Zinenko 1916b0e098 [mlir] support data layout specs on ModuleOp
ModuleOp is a natural place to provide scoped data layout information. However,
it is undesirable for ModuleOp to implement the entirety of
DataLayoutOpInterface because that would require either pushing the interface
inside the IR library instead of a separate library, or putting the default
implementation of the interface as inline functions in headers leading to
binary bloat. Instead, ModuleOp accepts an arbitrary data layout spec attribute
and has a dedicated hook to extract it, and DataLayout is modified to know
about ModuleOp particularities.

Reviewed By: herhut, nicolasvasilache

Differential Revision: https://reviews.llvm.org/D98500
2021-03-24 15:13:38 +01:00
..
affine-map.mlir [MLIR] Extend Symbol verification to reject public symbol declarations. 2020-11-16 16:05:32 -08:00
attribute.mlir Make ops with StructAttr's actually verify `isa<TheStruct>`. 2020-04-28 14:00:18 -07:00
check-help-output.mlir Add custom lilith script. 2019-03-29 13:02:57 -07:00
core-ops.mlir [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
dense-elements-hex.mlir [mlir] Convert raw data in dense element attributes for big-endian machines. 2020-10-28 17:06:16 -07:00
diagnostic-handler.mlir [mlir][Diagnostics] Don't print note source line if it is the same as the previous diagnostic 2020-03-29 21:43:44 -07:00
invalid-affinemap.mlir [mlir][NFC] Remove usernames and google bug numbers from TODO comments. 2020-07-07 01:40:52 -07:00
invalid-func-op.mlir [MLIR] Disallow `sym_visibility`, `sym_name` and `type` attributes in the parsed attribute dictionary. 2021-01-12 09:11:02 -08:00
invalid-locations.mlir [mlir][Asm] Add support for resolving operation locations after parsing has finished 2020-11-12 23:34:36 -08:00
invalid-module-op.mlir [MLIR][NFC] Fix mix up between dialect attribute values and names 2020-12-03 02:34:15 +05:30
invalid-ops.mlir [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
invalid.mlir [mlir][IR] Support parsing hex float values in the DialectSymbolParser 2021-03-17 13:52:32 -07:00
locations.mlir [mlir][AsmPrinter] Properly escape strings when printing locations 2021-01-15 17:14:57 -08:00
memory-ops.mlir [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
module-op.mlir [mlir] support data layout specs on ModuleOp 2021-03-24 15:13:38 +01:00
op-stats.mlir Add a flag on the context to protect against creation of operations in unregistered dialects 2020-03-30 19:37:31 +00:00
opaque_locations.mlir [mlir][Asm] Add support for using an alias for trailing operation locations 2020-11-09 21:54:47 -08:00
operand.mlir [MLIR] Better message for FuncOp type mismatch 2020-10-02 09:31:44 -07:00
parser.mlir Add a mechanism for Dialects to customize printing/parsing operations when they are unregistered 2021-03-23 00:40:03 +00:00
pretty-attributes.mlir [mlir][IR] Move the remaining builtin attributes to ODS. 2021-03-16 16:31:53 -07:00
pretty-locations.mlir Add a flag on the context to protect against creation of operations in unregistered dialects 2020-03-30 19:37:31 +00:00
pretty-region-args.mlir Add a flag on the context to protect against creation of operations in unregistered dialects 2020-03-30 19:37:31 +00:00
print-attr-type-aliases.mlir Fix omitted kw in type alias printer 2021-01-31 14:06:58 -08:00
print-ir-defuse.mlir Add a doc/tutorial on traversing the IR 2020-09-08 00:07:03 +00:00
print-ir-nesting.mlir Add a doc/tutorial on traversing the IR 2020-09-08 00:07:03 +00:00
print-op-local-scope.mlir Change filecheck default to dump input on failure 2020-06-09 18:57:46 +00:00
print-op-on-diagnostic.mlir [mlir][IR] Manually register command line options for MLIRContext and AsmPrinter 2020-04-11 23:13:00 -07:00
recursive-type.mlir [mlir] Support for mutable types 2020-07-27 13:07:44 +02:00
region.mlir [mlir][ODS] Add support for variadic regions. 2020-04-05 01:03:38 -07:00
repro_b120295301.mlir Change the attribute dictionary syntax to separate name and value with '='. 2019-06-25 19:06:34 -07:00
result.mlir Split test-specific passes out of mlir-opt 2019-06-24 17:47:12 -07:00
slice.mlir [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
test-func-erase-arg.mlir Add FuncOp::eraseArgument 2019-11-13 10:59:55 -08:00
test-func-erase-result.mlir [MLIR] Extend Symbol verification to reject public symbol declarations. 2020-11-16 16:05:32 -08:00
test-func-set-type.mlir [MLIR] Extend Symbol verification to reject public symbol declarations. 2020-11-16 16:05:32 -08:00
test-matchers.mlir [mlir] Add a new context flag for disabling/enabling multi-threading 2020-05-02 12:32:25 -07:00
test-side-effects.mlir Add a mechanism for Dialects to provide a fallback for OpInterface 2021-03-24 08:41:40 +00:00
test-symbol-rauw.mlir [MLIR] Extend Symbol verification to reject public symbol declarations. 2020-11-16 16:05:32 -08:00
test-symbol-uses.mlir [MLIR] Extend Symbol verification to reject public symbol declarations. 2020-11-16 16:05:32 -08:00
traits.mlir [mlir] verify that operand/result_segment_sizes attributes have i32 element 2021-03-23 18:26:31 +01:00
visitors.mlir [mlir] Add 'Skip' result to Operation visitor 2021-03-06 00:02:20 +02:00
wrapping_op.mlir [mlir][Asm] Add support for using an alias for trailing operation locations 2020-11-09 21:54:47 -08:00
zero_whitespace.mlir Isolate zero_whitespace parser test into its own file. 2020-04-22 19:58:40 -07:00