llvm-project/mlir/test/IR
River Riddle 9b9c647cef Add support for nested symbol references.
This change allows for adding additional nested references to a SymbolRefAttr to allow for further resolving a symbol if that symbol also defines a SymbolTable. If a referenced symbol also defines a symbol table, a nested reference can be used to refer to a symbol within that table. Nested references are printed after the main reference in the following form:

  symbol-ref-attribute ::= symbol-ref-id (`::` symbol-ref-id)*

Example:

  module @reference {
    func @nested_reference()
  }

  my_reference_op @reference::@nested_reference

Given that SymbolRefAttr is now more general, the existing functionality centered around a single reference is moved to a derived class FlatSymbolRefAttr. Followup commits will add support to lookups, rauw, etc. for scoped references.

PiperOrigin-RevId: 279860501
2019-11-11 18:18:31 -08:00
..
affine-map.mlir Fix asm printer for affine expr 2019-11-07 10:27:27 -08:00
attribute.mlir Add ReferToOp attribute constraint for SymbolRefAttr 2019-11-01 14:26:36 -07:00
check-help-output.mlir Add custom lilith script. 2019-03-29 13:02:57 -07:00
core-ops.mlir Adds std.subview operation which takes dynamic offsets, sizes and strides and returns a memref type which represents sub/reduced-size view of its memref argument. 2019-11-11 10:33:27 -08:00
invalid-affinemap.mlir Rename -verify mlir-opt flag to -verify-expected-diagnostics 2019-06-19 23:08:03 -07:00
invalid-func-op.mlir Add support for function result attributes. 2019-10-18 16:03:28 -07:00
invalid-locations.mlir Rename -verify mlir-opt flag to -verify-expected-diagnostics 2019-06-19 23:08:03 -07:00
invalid-module-op.mlir Add @below and @above directives to verify-diagnostics. 2019-10-23 15:56:29 -07:00
invalid-ops.mlir Adds std.subview operation which takes dynamic offsets, sizes and strides and returns a memref type which represents sub/reduced-size view of its memref argument. 2019-11-11 10:33:27 -08:00
invalid.mlir Update the SPV dialect type parser to use the methods on DialectAsmParser directly. 2019-11-01 16:55:25 -07:00
locations.mlir Replace the implementation of Function and Module with FuncOp and ModuleOp. 2019-07-03 14:37:18 -07:00
memory-ops.mlir Change the attribute dictionary syntax to separate name and value with '='. 2019-06-25 19:06:34 -07:00
module-op.mlir Give modules a name 2019-10-03 08:56:38 -07:00
op-stats.mlir Set the namespace of the StandardOps dialect to "std", but add a special case to the parser to allow parsing standard operations without the "std" prefix. This will now allow for the standard dialect to be looked up dynamically by name. 2019-03-29 16:54:20 -07:00
opaque_locations.mlir Add OpaqueLoc to MLIR locations. 2019-10-07 05:05:42 -07:00
operand.mlir Split test-specific passes out of mlir-opt 2019-06-24 17:47:12 -07:00
parser.mlir Add support for nested symbol references. 2019-11-11 18:18:31 -08:00
pretty-attributes.mlir Add a flag to the AsmPrinter for eliding large ElementsAttrs. 2019-10-07 17:19:20 -07:00
pretty-locations.mlir Replace the implementation of Function and Module with FuncOp and ModuleOp. 2019-07-03 14:37:18 -07:00
region.mlir Split test-specific passes out of mlir-opt 2019-06-24 17:47:12 -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
test-symbol-rauw.mlir Add support for replacing all uses of a symbol. 2019-10-24 10:47:27 -07:00
test-symbol-uses.mlir Add @below and @above directives to verify-diagnostics. 2019-10-23 15:56:29 -07:00
traits.mlir Add a test.symbol_scope operation that has the SymbolTable Traits to the Test dialect 2019-10-31 09:49:42 -07:00
wrapping_op.mlir Parse locations in parseGenericOperation 2019-10-28 15:11:26 -07:00