llvm-project/mlir/g3doc
River Riddle ac91e67375 Add support for walking the uses of a symbol.
MLIR uses symbol references to model references to many global entities, such as functions/variables/etc. Before this change, there is no way to actually reason about the uses of such entities. This change provides a walker for symbol references(via SymbolTable::walkSymbolUses), as well as 'use_empty' support(via SymbolTable::symbol_use_empty). It also resolves some deficiencies in the LangRef definition of SymbolRefAttr, namely the restrictions on where a SymbolRefAttr can be stored, ArrayAttr and DictionaryAttr, and the relationship with operations containing the SymbolTable trait.

PiperOrigin-RevId: 273549331
2019-10-08 10:21:59 -07:00
..
Dialects Use named modules for gpu.launch_func 2019-10-08 04:30:32 -07:00
Tutorials Fix a typo in Toy Chapter 2 tutorial documentation 2019-09-29 16:16:29 -07: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 Normalize MemRefType lowering to LLVM as strided MemRef descriptor 2019-09-30 11:58:54 -07:00
DeclarativeRewrites.md [DRR] Explain result type deduction in doc 2019-09-30 11:49:22 -07: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 OpaqueLoc to MLIR locations. 2019-10-07 05:05:42 -07:00
DialectConversion.md Add a DialectConversion document detailing the conversion infrastructure. 2019-08-19 17:01:46 -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 walking the uses of a symbol. 2019-10-08 10:21:59 -07:00
MLIRForGraphAlgorithms.md Minor spelling tweaks 2019-09-25 11:57:44 -07:00
OpDefinitions.md Fix a comment in the OperationInterface example. 2019-10-07 09:27:25 -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 Fix missing links in the documentation 2019-09-27 08:07:31 -07:00