llvm-project/mlir/test
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
..
AffineOps Convert the Canonicalize and CSE passes to generic Operation Passes. 2019-10-24 15:01:09 -07:00
Analysis Add initial callgraph support. 2019-09-23 11:44:13 -07:00
Conversion Drop spurious test file 2019-11-06 16:00:57 -08:00
Dialect Look for SymbolRefAttr in KernelOutlining instead of hard-coding CallOp 2019-11-08 19:13:13 -08:00
EDSC Automated rollback of commit 575405f4d6 2019-10-18 06:45:06 -07:00
Examples Add Ch-7 of the toy tutorial detailing how to define new types. 2019-11-07 09:54:04 -08:00
IR Add support for nested symbol references. 2019-11-11 18:18:31 -08:00
Pass Convert the Canonicalize and CSE passes to generic Operation Passes. 2019-10-24 15:01:09 -07:00
Quantizer Convert the Canonicalize and CSE passes to generic Operation Passes. 2019-10-24 15:01:09 -07:00
SDBM Fix minor spelling tweaks (NFC) 2019-10-20 09:44:36 -07:00
Target mlir-translate: support -verify-diagnostics 2019-11-07 11:42:46 -08:00
Transforms Also consider index constants when folding integer arithmetics with constants. 2019-11-11 02:34:21 -08:00
Unit Add build files and update README. 2019-03-30 11:23:22 -07:00
lib Add support for nested symbol references. 2019-11-11 18:18:31 -08:00
mlir-cpu-runner Update Linalg to use std.view 2019-11-07 06:33:10 -08:00
mlir-cuda-runner Support custom accumulator provided as region to gpu.all_reduce. 2019-10-16 10:43:44 -07:00
mlir-tblgen Add support for nested symbol references. 2019-11-11 18:18:31 -08:00
APITest.h Fix minor spelling tweaks (NFC) 2019-10-20 09:44:36 -07:00
CMakeLists.txt Add Ch-7 of the toy tutorial detailing how to define new types. 2019-11-07 09:54:04 -08:00
lit.cfg.py [llvm] Add initial import of LLVM modules to mlir-translate 2019-11-05 14:41:38 -08:00
lit.site.cfg.py.in Use single quotes to wrap '@HOST_LDFLAGS@' in LIT config file 2019-10-14 09:05:34 -07:00