summaryrefslogtreecommitdiffhomepage
path: root/ir/ir
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-12-27 20:54:38 +0100
committerMatthias Braun <matze@braunis.de>2016-12-27 20:57:53 +0100
commita004a6e0d3fd06ce147b0f6f17092c9c85bcceea (patch)
treeef0f0782a0d3bd4b0ae821388038ae7d9f64fe42 /ir/ir
parent457ba52f6e29cbc2febe58c11b08a59dae5680eb (diff)
irdump: Make some low-level functions public.
The homepage uses those functions to generate firm graph examples/snippets without dumping a whole function. This is necessary to make the homepage generator not call private libfirm interface any longer.
Diffstat (limited to 'ir/ir')
-rw-r--r--ir/ir/irdump.c1
-rw-r--r--ir/ir/irdump_t.h17
2 files changed, 4 insertions, 14 deletions
diff --git a/ir/ir/irdump.c b/ir/ir/irdump.c
index 3406b23..a021ec6 100644
--- a/ir/ir/irdump.c
+++ b/ir/ir/irdump.c
@@ -1024,7 +1024,6 @@ void dump_node(FILE *F, const ir_node *n)
dump_node_vcgattr(F, n, NULL);
fputs("}\n", F);
dump_const_node_local(F, n);
-
}
/** dump the edge to the block this node belongs to */
diff --git a/ir/ir/irdump_t.h b/ir/ir/irdump_t.h
index 035adb1..44173aa 100644
--- a/ir/ir/irdump_t.h
+++ b/ir/ir/irdump_t.h
@@ -13,11 +13,10 @@
#include "irdump.h"
#include "irgraph_t.h"
-void print_nodeid(FILE *F, const ir_node *node);
-void print_irgid(FILE *F, const ir_graph *irg);
-void print_typeid(FILE *F, const ir_type *type);
-void print_entityid(FILE *F, const ir_entity *entity);
-void print_loopid(FILE *F, const ir_loop *loop);
+void print_irgid(FILE *out, const ir_graph *irg);
+void print_typeid(FILE *out, const ir_type *type);
+void print_entityid(FILE *out, const ir_entity *entity);
+void print_loopid(FILE *out, const ir_loop *loop);
const char *get_irg_dump_name(const ir_graph *irg);
@@ -31,16 +30,8 @@ void dump_node_label(FILE *out, const ir_node *n);
/** Writes vcg representation with title "PRINT_TYPEID(tp)" to file F. */
void dump_type_node(FILE *out, ir_type *tp);
-void dump_vcg_header(FILE *out, const char *name, const char *layout, const char *orientation);
-void dump_vcg_footer(FILE *out);
void dump_vcg_header_colors(FILE *out);
void dump_vcg_infonames(FILE *out);
-void dump_node(FILE *out, const ir_node *node);
-void dump_ir_data_edges(FILE *F, const ir_node *n);
-void dump_begin_block_subgraph(FILE *F, const ir_node *block);
-void dump_end_block_subgraph(FILE *F, const ir_node *block);
-void dump_block_edges(FILE *F, const ir_node *block);
-void dump_blocks_as_subgraphs(FILE *out, ir_graph *irg);
/** Write the irnode and all its attributes to the file passed.
* (plain text format) */