backend: put ignore regs into beirg
[libfirm] / ir / ir / irdump.c
index c479944..d0cec78 100644 (file)
@@ -602,7 +602,7 @@ static ir_node **construct_block_lists(ir_graph *irg)
        return ird_get_irg_link(irg);
 }
 
-typedef struct _list_tuple {
+typedef struct list_tuple {
        ir_node **blk_list;
        ir_extblk **extbb_list;
 } list_tuple;
@@ -795,12 +795,12 @@ static int dump_node_typeinfo(FILE *F, ir_node *n)
        return bad;
 }
 
-typedef struct _pns_lookup {
+typedef struct pns_lookup {
        long       nr;      /**< the proj number */
        const char *name;   /**< the name of the Proj */
 } pns_lookup_t;
 
-typedef struct _proj_lookup {
+typedef struct proj_lookup {
        ir_opcode          code;      /**< the opcode of the Proj predecessor */
        unsigned           num_data;  /**< number of data entries */
        const pns_lookup_t *data;     /**< the data */
@@ -1492,16 +1492,6 @@ static void dump_ir_data_edges(FILE *F, ir_node *n)
                print_edge_vcgattr(F, n, i);
                fprintf(F, "}\n");
        }
-
-       if ((flags & ir_dump_flag_macroblock_edges) && is_Block(n)) {
-               ir_node *mb = get_Block_MacroBlock(n);
-               fprintf(F, "edge: {sourcename: \"");
-               PRINT_NODEID(n);
-               fprintf(F, "\" targetname: \"");
-               PRINT_NODEID(mb);
-               fprintf(F, "\" label: \"mb\" " MACROBLOCK_EDGE_ATTR);
-               fprintf(F, "}\n");
-       }
 }
 
 /**
@@ -1843,7 +1833,7 @@ static void dump_enum_item(FILE *F, ir_type *tp, int pos)
        char buf[1024];
        ir_enum_const *ec = get_enumeration_const(tp, pos);
        ident         *id = get_enumeration_const_nameid(ec);
-       tarval        *tv = get_enumeration_value(ec);
+       ir_tarval     *tv = get_enumeration_value(ec);
 
        if (tv)
                tarval_snprintf(buf, sizeof(buf), tv);
@@ -2262,7 +2252,7 @@ static void dump_blocks_extbb_grouped(FILE *F, ir_graph *irg)
        int        i;
        ir_entity *ent = get_irg_entity(irg);
 
-       if (get_irg_extblk_state(irg) != extblk_valid)
+       if (get_irg_extblk_state(irg) != ir_extblk_info_valid)
                compute_extbb(irg);
 
        construct_extblock_lists(irg);