Bill Currie
f7757cf894
[qfcc] Add filename to dot output
...
It makes things so much easier when viewing the graphs
2020-03-06 21:05:53 +09:00
Bill Currie
8582e9de63
Make it possible to dump statement blocks in a flow graph.
...
Much nicer looking with proper back edges :). Not actually enabled, though.
2012-12-11 11:31:55 +09:00
Bill Currie
93f53605ed
Move and rename statement related flow_is_* and flow_get_*
...
They really should have been in statements.[ch] in the first place
(actually, they sort of were: is_goto etc, so some redundant code has been
removed, too).
2012-11-30 14:06:52 +09:00
Bill Currie
c759b73b24
Cope with empty sblocks when producing dot graphs.
2012-11-21 12:23:15 +09:00
Bill Currie
2b2ea5c9b3
Compute dags as part of data flow analysis.
...
I want to use the live variable information when building the dags.
2012-11-15 13:44:08 +09:00
Bill Currie
c358a0e77e
Create a function to generalize dot dumping.
...
Now, any time a graph is wanted, the file can be consistently named without
a lot of messy code.
2012-11-15 13:44:08 +09:00
Bill Currie
e77d3b9e54
Fix a missed colspan in sblock dumps.
2012-11-15 13:44:08 +09:00
Bill Currie
783b4082a1
Produce tidier dag dumps.
2012-11-15 13:44:08 +09:00
Bill Currie
5514c8db3c
Print the statement number in the sblock output.
2012-11-15 13:44:08 +09:00
Bill Currie
8844ac61a2
Rename dump_flow to dump_sblock and move to dot_sblock.c
2012-11-15 13:44:07 +09:00
Bill Currie
acde6ca0a0
Handle jumpb statements in dot_sblock and flow graphs.
2012-11-15 13:44:07 +09:00
Bill Currie
8b374305d2
Rename dot_flow.c and print_flow.
...
They're now dot_sblock.c and print_sblock. The new names both better
reflect their purpose and free up "flow" for outputting the real flow
analysis graphs.
2012-11-15 13:44:07 +09:00