summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Transforms/ViewOpGraph.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [mlir] Refactor operation results to use a single use list for all results ↵River Riddle2019-12-301-7/+3
| | | | | | | | | | of the operation. Summary: A new class is added, IRMultiObjectWithUseList, that allows for representing an IR use list that holds multiple sub values(used in this case for OpResults). This class provides all of the same functionality as the base IRObjectWithUseList, but for specific sub-values. This saves a word per operation result and is a necessary step in optimizing the layout of operation results. For now the use list is placed on the operation itself, so zero-result operations grow by a word. When the work for optimizing layout is finished, this can be moved back to being a trailing object based on memory/runtime benchmarking. Reviewed By: jpienaar Differential Revision: https://reviews.llvm.org/D71955
* Adjust License.txt file to use the LLVM licenseMehdi Amini2019-12-231-13/+4
| | | | PiperOrigin-RevId: 286906740
* NFC: Remove unnecessary 'llvm::' prefix from uses of llvm symbols declared ↵River Riddle2019-12-181-41/+39
| | | | | | | | in `mlir` namespace. Aside from being cleaner, this also makes the codebase more consistent. PiperOrigin-RevId: 286206974
* Also elide large array attribute in OpGraph DumpJing Pu2019-11-181-0/+6
| | | | PiperOrigin-RevId: 281114034
* Dump op location in createPrintOpGraphPass for easier debugging.Jing Pu2019-10-301-0/+4
| | | | PiperOrigin-RevId: 277546527
* Print result types when dumping graphviz.Jing Pu2019-10-071-0/+6
| | | | PiperOrigin-RevId: 273406833
* Show type even if elementsattr is elided in graphJacques Pienaar2019-10-021-2/+4
| | | | | | The type is quite useful for debugging and shouldn't be too large. PiperOrigin-RevId: 272390311
* NFC: Finish replacing FunctionPassBase/ModulePassBase with OpPassBase.River Riddle2019-09-131-1/+1
| | | | | | These directives were temporary during the generalization of FunctionPass/ModulePass to OpPass. PiperOrigin-RevId: 268970259
* Remove redundant qualificationJacques Pienaar2019-09-091-1/+1
| | | | | | Address GCC error: extra qualification not allowed [-fpermissive] PiperOrigin-RevId: 268133737
* Add pass generate per block in a function a GraphViz Dot graph with ops as nodesJacques Pienaar2019-09-091-0/+163
* Add GraphTraits that treat a block as a graph, Operation* as node and use-relationship for edges; - Just basic graph output; * Add use iterator to iterate over all uses of an Operation; * Add testing pass to generate op graph; This does not support arbitrary operations other than function nor nested regions yet. PiperOrigin-RevId: 268121782
OpenPOWER on IntegriCloud