diff options
author | Richard Biener <rguenther@suse.de> | 2021-07-12 15:13:17 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2021-07-12 16:47:45 +0200 |
commit | 47113773456ade7324c5467511d97f36cced57b4 (patch) | |
tree | 6aaa40d7db71d6d8c96d9e6c74d8aaf391e272c2 /gcc/tree-ssa-phiopt.c | |
parent | fedcf3c476aff7533741a1c61071200f0a38cf83 (diff) | |
download | gcc-47113773456ade7324c5467511d97f36cced57b4.zip gcc-47113773456ade7324c5467511d97f36cced57b4.tar.gz gcc-47113773456ade7324c5467511d97f36cced57b4.tar.bz2 |
produce simple DOT graphs from SLP trees
This adds a dot_slp_tree debug function producing a simple DOT
graph from a starting node down the graph. There's no fancy
direct invocation of dot but the output is directed to a specified
file. It re-uses vect_print_slp_tree, naming nodes as their
address.
2021-07-12 Richard Biener <rguenther@suse.de>
* dump-context.h (debug_dump_context::debug_dump_context):
Add FILE * parameter defaulted to stderr.
* dumpfile.c (debug_dump_context::debug_dump_context): Adjust.
* tree-vect-slp.c (dot_slp_tree): New functions.
Diffstat (limited to 'gcc/tree-ssa-phiopt.c')
0 files changed, 0 insertions, 0 deletions