/**
* @file irdump.h
*
- * Dump an ir graph, for further use with xvcg.
+ * Dump routines for the ir graph and all type information.
*
* @author Martin Trapp, Christian Schaefer
+ *
+ * The dump format of most functions is vcg. This is a text based graph
+ * representation. Some use the original format,
+ * but most generate an extended format that is only read by some special
+ * versions of xvcg or by the comercialized version now calles aiSee.
+ * A test version of aiSee is available at
+ * http://www.absint.de/aisee/download/index.htm.
+ *
+ * Most routines use the name of the passed entity as the name of the
+ * file dumped to.
*/
/* $Id$ */
# include "irgraph.h"
/**
- * Dump routines for the graph and all type information.
- *
- * The dump format of most functions is vcg. This is a text based graph
- * representation. Some use the original format,
- * but most generate an extended format that is only read by some special
- * versions of xvcg or by the comercialized version now calles aiSee.
- * A test version of aiSee is available at
- * http://www.absint.de/aisee/download/index.htm.
+ * The value of this string will be added to the file name before .vcg
*
- * Most routines use the name of the passed entity as the name of the
- * file dumped to.
- *
- * @note GL: A hack
+ * @todo GL: A hack
*/
extern char *dump_file_suffix;
* name of the entity describing the procedure (irg->entity) and the
* ending .vcg. Eventually overwrites existing files.
*
- * @see turn_of_edge_labels()
+ * @see turn_off_edge_labels()
*/
void dump_ir_graph (ir_graph *irg);
* name of the entity describing the procedure (irg->entity) and the
* ending .vcg. Eventually overwrites existing files.
*
- * @see turn_of_edge_labels()
+ * @see turn_off_edge_labels()
*/
void dump_ir_block_graph (ir_graph *irg);
* name of the entity describing the procedure (irg->entity) and the
* ending -cfg.vcg. Eventually overwrites existing files.
*
- * @see turn_of_edge_labels()
+ * @see turn_off_edge_labels()
*/
void dump_cfg (ir_graph *irg);
* name of the entity describing the procedure (irg->entity) and the
* ending -type.vcg. Eventually overwrites existing files.
*
- * @see turn_of_edge_labels()
+ * @see turn_off_edge_labels()
*/
void dump_type_graph (ir_graph *irg);
* format.
* Dumps the graph to a file named All_types.vcg.
*
- * @see turn_of_edge_labels()
+ * @see turn_off_edge_labels()
*/
void dump_all_types (void);
* name of the entity describing the procedure (irg->entity) and the
* ending -all.vcg. Eventually overwrites existing files.
*
- * @see turn_of_edge_labels()
+ * @see turn_off_edge_labels()
*/
void dump_ir_graph_w_types (ir_graph *irg);
* name of the entity describing the procedure (irg->entity) and the
* ending -all.vcg. Eventually overwrites existing files.
*
- * @see turn_of_edge_labels()
+ * @see turn_off_edge_labels()
*/
void dump_ir_block_graph_w_types (ir_graph *irg);
* - dump_type_graph()
* - dump_ir_graph_w_types()
*
- * @see turn_of_edge_labels()
+ * @see turn_off_edge_labels()
*/
void dump_all_ir_graphs (dump_graph_func *dump_graph);
* Default setting: false.
*/
void dump_consts_local(bool b);
+/**
+ * Returns false if dump_out_edge_flag or dump_loop_information_flag
+ * are set, else returns dump_const_local_flag.
+ */
+bool get_opt_dump_const_local(void);
/**
* Turns off dumping the values of constant entities. Makes type graphs
* alive
*/
void dump_keepalive_edges(bool b);
+bool get_opt_dump_keepalive_edges(void);
/**
* Turns on dumping the out edges starting from the Start block in
* If the loops are interprocedural nodes can be missing.
*/
void dump_loop_information(void);
+
+/**
+ * @see dump_loop_information()
+ */
void dont_dump_loop_information(void);
# endif /* _IRDUMP_H_ */