llvm/mlir/lib
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
..
Analysis Fix typos, NFC. 2019-10-04 04:37:53 -07:00
Conversion GPUToCUDA: attach CUBIN to the nested module rather than to the function 2019-10-08 05:11:26 -07:00
Dialect Linalg to LLVM lowering: decrease the reliance on symbol lookup in a module 2019-10-08 06:55:25 -07:00
EDSC
ExecutionEngine
IR Add support for walking the uses of a symbol. 2019-10-08 10:21:59 -07:00
Parser Replace constexpr MemRefType::kDynamicStrideOrOffset by a MemRefType:;getDynamicStrideOrOffset() method - NFC 2019-10-04 08:58:09 -07:00
Pass Pass the pointer of the parent pipeline collection pass to PassInstrumentation::run*Pipeline. 2019-09-30 17:44:55 -07:00
Quantizer Fix typos, NFC. 2019-10-04 04:37:53 -07:00
Support Fix JitRunner.cpp Error creation pattern and reactivate tests. 2019-09-27 09:56:40 -07:00
TableGen Add DialectType and generate docs for dialect types 2019-10-07 08:41:13 -07:00
Target Fix typos, NFC. 2019-10-04 04:37:53 -07:00
Transforms Print result types when dumping graphviz. 2019-10-07 16:45:53 -07:00
Translation
CMakeLists.txt