llvm-project/mlir/g3doc
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
..
Dialects Add affine load/store/dma_start/dma_wait to dialect doc. 2019-11-06 14:31:35 -08:00
Tutorials/Toy Add support for nested symbol references. 2019-11-11 18:18:31 -08:00
includes MLIR graph rewrite using pattern quickstart doc. 2019-03-29 16:14:35 -07:00
Canonicalization.md Minor spelling tweaks 2019-09-25 11:57:44 -07:00
ConversionToLLVMDialect.md Use llvm.func to define functions with wrapped LLVM IR function type 2019-10-10 01:34:06 -07:00
DeclarativeRewrites.md [DRR] List some limitations clearly in the doc 2019-11-06 09:56:35 -08:00
DefiningAttributesAndTypes.md Minor spelling tweaks 2019-09-25 11:57:44 -07:00
DeveloperGuide.md Minor spelling tweaks 2019-09-25 11:57:44 -07:00
Diagnostics.md Add @below and @above directives to verify-diagnostics. 2019-10-23 15:56:29 -07:00
DialectConversion.md Add support for marking an operation as recursively legal. 2019-10-28 10:04:34 -07:00
EDSC.md Automated rollback of commit 575405f4d6 2019-10-18 06:45:06 -07:00
GenericDAGRewriter.md Minor spelling tweaks 2019-09-25 11:57:44 -07:00
Interfaces.md Fix example in OpInterfaces documentation 2019-10-02 09:16:27 -07:00
LangRef.md Add support for nested symbol references. 2019-11-11 18:18:31 -08:00
MLIRForGraphAlgorithms.md Minor spelling tweaks 2019-09-25 11:57:44 -07:00
OpDefinitions.md Move BitEnumAttr from SPIRVBase.td to OpBase.td 2019-11-01 11:18:19 -07:00
Passes.md Update MLIR code examples in Passes.md doc to use new affine.load/store dma_start/wait operations. 2019-08-20 10:38:55 -07:00
Quantization.md Minor spelling tweaks 2019-09-25 11:57:44 -07:00
QuickstartRewrites.md Minor spelling tweaks 2019-09-25 11:57:44 -07:00
Rationale.md Format markdown list. 2019-09-30 16:48:39 -07:00
RationaleSimplifiedPolyhedralForm.md Minor spelling tweaks 2019-09-25 11:57:44 -07:00
TestingGuide.md Minor spelling tweaks 2019-09-25 11:57:44 -07:00
UsageOfConst.md Replace usages of instruction with operation in the g3 documents. 2019-03-29 17:56:57 -07:00
WritingAPass.md Add support for generating reproducers on pass crash and failure. 2019-10-10 19:36:54 -07:00