summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beutil.h
diff options
context:
space:
mode:
authorChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>2006-03-16 15:23:36 +0100
committerChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>2006-03-16 15:23:36 +0100
commita5b4eea4c9905472176af8a4392b5938ed321727 (patch)
tree20960747168313a424efc06b066cc741e2c1c1be /ir/be/beutil.h
parent30b5d43593b9621728ff616b0bb351f000c6d8e3 (diff)
added new dump wrapper
Diffstat (limited to 'ir/be/beutil.h')
-rw-r--r--ir/be/beutil.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/ir/be/beutil.h b/ir/be/beutil.h
index 122e217..d44902d 100644
--- a/ir/be/beutil.h
+++ b/ir/be/beutil.h
@@ -101,7 +101,16 @@ static INLINE FILE *ffopen(const char *base, const char *ext, const char *mode)
*/
void dump_ir_block_graph_sched(ir_graph *irg, const char *suffix);
-#endif
+/**
+ * Dumps a graph and numbers all dumps.
+ * @param irg The graph
+ * @param suffix A suffix to its file name.
+ * @param dumper The dump function
+ */
+void be_dump(ir_graph *irg, const char *suffix, void (*dumper)(ir_graph *, const char *));
+
+
+#endif /* _BEUTIL_H */
/**
* Search for an irn in @p accept.