Initial revision
[libfirm] / ir / ir / irdump.h
1 /* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
2 ** All rights reserved.
3 **
4 ** Authors: Martin Trapp, Christian Schaefer
5 **
6 ** dump an ir graph, for further use with xvcg
7 */
8
9 # ifndef _IRDUMP_H_
10 # define _IRDUMP_H_
11
12 # include "irnode.h"
13 # include "irgraph.h"
14
15 /* dump a simple node */
16 void dump_ir_node (ir_node *node);
17 /* dump the edge to the block this node belongs to */
18 void dump_ir_block_edge(ir_node *n);
19 /* dump edges to our inputs */
20 void dump_ir_data_edges(ir_node *n);
21
22 /* dump a hole graph */
23 void dump_ir_graph (ir_graph *irg);
24
25 /* dump a graph blockwise */
26 void dump_ir_block_graph (ir_graph *irg);
27
28 /* dump a control flow graph */
29 void dump_cfg (ir_graph *irg);
30
31 /* dumps the type information reachable from an ir graph. */
32 void dump_type_graph (ir_graph *irg);
33
34
35 # endif /* _IRDUMP_H_ */