X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firdump_t.h;h=1ac0e0ca303b0d9d077b853e82fb77adfbe88c39;hb=0e5195711161c7a5d6b841cb614c10f58b216fa8;hp=f4ec06b127671a853265d49ddc8692cdab85f68a;hpb=8e4e49e66d1d578b31a5ffce9bb6ff94ba985dfb;p=libfirm diff --git a/ir/ir/irdump_t.h b/ir/ir/irdump_t.h index f4ec06b12..1ac0e0ca3 100644 --- a/ir/ir/irdump_t.h +++ b/ir/ir/irdump_t.h @@ -130,15 +130,11 @@ typedef enum { #define TYPE_MEMBER_EDGE_ATTR "class: 12 label: \"member\" color:blue" /* #define CALLGRAPH_EDGE_ATTR "calls" */ -#define PRINT_NODEID(X) ir_fprintf(F, "n%ld", get_irn_node_nr(X)) -#define PRINT_TYPEID(X) ir_fprintf(F, "\"t%ld\"", get_type_nr(X)) -#define PRINT_ENTID(X) ir_fprintf(F, "e%ld", get_entity_nr(X)) -#define PRINT_IRGID(X) ir_fprintf(F, "g%ld", get_irg_graph_nr(X)) -#define PRINT_CONSTID(X,Y) ir_fprintf(F, "\"n%ldn%ld\"", get_irn_node_nr(X),get_irn_node_nr(Y)) -#define PRINT_CONSTBLKID(X,Y) ir_fprintf(F, "n%ldb%ld", get_irn_node_nr(X),get_irn_node_nr(Y)) -#define PRINT_LOOPID(X) ir_fprintf(F, "l%ld", get_loop_loop_nr(X)) -#define PRINT_ITEMID(X,Y) ir_fprintf(F, "i%ldT%zu", get_type_nr(X), (Y)) -#define PRINT_EXTBBID(X) ir_fprintf(F, "x%ld", get_irn_node_nr(X)) +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); const char *get_irg_dump_name(const ir_graph *irg); @@ -160,6 +156,7 @@ 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); /** Write the irnode and all its attributes to the file passed.