# include "irnode.h"
# include "irgraph.h"
+# include "irloop.h"
/**
* The value of this string will be added to the file name before .vcg
* @todo GL: A hack -- add parameter to dumper function.
*/
extern char *dump_file_suffix;
+extern char *dump_file_filter;
/**
* Dump a firm graph.
*/
void dump_class_hierarchy (bool entities);
+
+/**
+ * Dump a standalone loop tree, which contains the loop nodes and the firm nodes
+ * belonging to one loop packed together in one subgraph. Dumps to file
+ * <name of irg><suffix>-looptree.vcg
+ * Turns on edge labels by default.
+ *
+ * Implementing this dumper was stimulated by Florian Liekwegs similar dumper.
+ *
+ * @arg irg Dump the loop tree for this graph.
+ * @arg suffix Suffix to filename.
+ */
+void dump_loop_tree(ir_graph *irg, char *suffix);
+
+/** Dumps the firm nodes in the sub-loop-tree of loop to a graph.
+ * Dumps the loop nodes if dump_loop_information() is set.
+ *
+ * The name of the file is loop_<loop_nr><suffix>.vcg.
+ *
+ * @arg loop Dump the loop tree for this loop.
+ * @arg suffix Suffix to filename.
+ */
+void dump_loop (ir_loop *l, char *suffix);
+
/**
* Sets the vcg flag "display_edge_labels" to no.
*
*/
void dump_analysed_type_info(bool b);
+/**
+ * Write the address of a node into the vcg info.
+ * This is off per default for automatic comparisons of
+ * vcg graphs -- these will differ in the pointer values!
+ */
+void dump_pointer_values_to_info(bool b);
+
+
# endif /* _IRDUMP_H_ */