revivie max_irg_visited
[libfirm] / ir / ir / irdump_t.h
index 657f85a..69a1838 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
  *
  * This file is part of libFirm.
  *
@@ -26,6 +26,7 @@
 #define FIRM_IR_IRDUMPT_T_H
 
 #include "irdump.h"
+#include "irgraph_t.h"
 
 /* Attributes of nodes */
 #define PRINT_DEFAULT_NODE_ATTR
@@ -48,6 +49,7 @@
 #define KEEP_ALIVE_DF_EDGE_ATTR  "class:20 priority:10 color:purple"
 #define ANCHOR_EDGE_ATTR         "class:20 priority:60 color:purple linestyle:dotted"
 #define OUT_EDGE_ATTR            "class:21 priority:10 color:gold linestyle:dashed"
+#define MACROBLOCK_EDGE_ATTR     "class:22 priority:10 color:green linestyle:dashed"
 
 #define BACK_EDGE_ATTR "linestyle:dashed "
 
@@ -89,16 +91,15 @@ extern int dump_dominator_information_flag;
 extern int opt_dump_pointer_values_to_info;
 extern int opt_dump_analysed_type_info;
 
-FILE *vcg_open (ir_graph *irg, const char * suffix1, const char *suffix2);
-FILE *vcg_open_name (const char *name, const char *suffix);
-void dump_vcg_header(FILE *F, const char *name, const char *orientation);
-const char *get_irg_dump_name(ir_graph *irg);
-void vcg_close (FILE *F);
+FILE *vcg_open(const ir_graph *irg, const char * suffix1, const char *suffix2);
+FILE *vcg_open_name(const char *name, const char *suffix);
+void dump_vcg_header(FILE *F, const char *name, const char *layout, const char *orientation);
+void dump_vcg_footer(FILE *F);
+const char *get_irg_dump_name(const ir_graph *irg);
 
 
-const char *get_ent_dump_name(ir_entity *ent);
-const char *get_type_name_ex(ir_type *tp, int *bad);
-const char *get_mode_name_ex(ir_mode *mode, int *bad);
+const char *get_ent_dump_name(const ir_entity *ent);
+const char *get_mode_name_ex(const ir_mode *mode, int *bad);
 /**
  * dump the name of a node n to the File F.
  */