River Riddle
4562e389a4
NFC: Remove unnecessary 'llvm::' prefix from uses of llvm symbols declared in mlir namespace.
...
Aside from being cleaner, this also makes the codebase more consistent.
PiperOrigin-RevId: 286206974
2019-12-18 09:29:20 -08:00
Jing Pu
563b5910a8
Also elide large array attribute in OpGraph Dump
...
PiperOrigin-RevId: 281114034
2019-11-18 11:27:43 -08:00
Jing Pu
736ad2061c
Dump op location in createPrintOpGraphPass for easier debugging.
...
PiperOrigin-RevId: 277546527
2019-10-30 11:22:22 -07:00
Jing Pu
17606a108b
Print result types when dumping graphviz.
...
PiperOrigin-RevId: 273406833
2019-10-07 16:45:53 -07:00
Jacques Pienaar
2b86e27dbd
Show type even if elementsattr is elided in graph
...
The type is quite useful for debugging and shouldn't be too large.
PiperOrigin-RevId: 272390311
2019-10-02 01:46:12 -07:00
River Riddle
f1b100c77b
NFC: Finish replacing FunctionPassBase/ModulePassBase with OpPassBase.
...
These directives were temporary during the generalization of FunctionPass/ModulePass to OpPass.
PiperOrigin-RevId: 268970259
2019-09-13 13:34:27 -07:00
Jacques Pienaar
a23f69a37b
Remove redundant qualification
...
Address GCC error: extra qualification not allowed [-fpermissive]
PiperOrigin-RevId: 268133737
2019-09-09 19:50:53 -07:00
Jacques Pienaar
2660623a88
Add pass generate per block in a function a GraphViz Dot graph with ops as nodes
...
* 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
2019-09-09 18:12:41 -07:00