llvm/mlir/tools/mlir-opt
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
..
CMakeLists.txt Add support for walking the uses of a symbol. 2019-10-08 10:21:59 -07:00
mlir-opt.cpp Refactor pass pipeline command line parsing to support explicit pipeline strings. 2019-09-13 12:10:31 -07:00