set_irn_link(block, NULL);
}
-/**
- * add a block to an extended block
- */
-static void addto_extblk(ir_extblk *extblk, ir_node *block)
-{
- /* link all blocks belonging to this extended block */
- set_irn_link(block, extblk->link);
-
- extblk->link = block;
- extblk->visited++;
-
- set_Block_extbb(block, extblk);
-}
-
/**
* Returns the number of block successors.
* we are interested only in 1, 2 and >2.
printf("%s", get_id_str(id));
}
if (irg)
- printf("[%d] (%p)\n", get_irg_graph_nr(irg), irg);
+ printf("[%ld] (%p)\n", get_irg_graph_nr(irg), irg);
else
printf(" NULL\n");
}
printf("%s", get_id_str(id));
}
if (irg)
- printf("[%d] (%p)\n", get_irg_graph_nr(irg), irg);
+ printf("[%ld] (%p)\n", get_irg_graph_nr(irg), irg);
else
printf(" NULL\n");
}
}
}
-static int have_blk_phi_mem(ir_node *blk) {
-
- int i;
- ir_node *out;
-
- for(i = get_irn_n_outs(blk) - 1; i >= 0; i--) {
-
- out = get_irn_out(blk, i);
- if(get_irn_op(out) == op_Phi)
- return 1;
- }
-
- return 0;
-}
-
static int set_block_dominated_first_access(ir_node *blk, int vnum, unsigned int access) {
ir_node *idom, *succ;
#include "firmstat_t.h"
#include "tv_t.h"
-static stat_info_t *status;
-
/**
* calculated the dual logarithmus of |value|
*/