forked from OSchip/llvm-project
ac91e67375
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 |
||
---|---|---|
.. | ||
Dialects | ||
Tutorials | ||
includes | ||
Canonicalization.md | ||
ConversionToLLVMDialect.md | ||
DeclarativeRewrites.md | ||
DefiningAttributesAndTypes.md | ||
DeveloperGuide.md | ||
Diagnostics.md | ||
DialectConversion.md | ||
GenericDAGRewriter.md | ||
Interfaces.md | ||
LangRef.md | ||
MLIRForGraphAlgorithms.md | ||
OpDefinitions.md | ||
Passes.md | ||
Quantization.md | ||
QuickstartRewrites.md | ||
Rationale.md | ||
RationaleSimplifiedPolyhedralForm.md | ||
TestingGuide.md | ||
UsageOfConst.md | ||
WritingAPass.md |