X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbelive.h;h=8f2ee6a4bf6fd8bffc2216cdfa2592b95f71a628;hb=e6ad8ee4680a88db8652483c2c6f3124f3d9a888;hp=0b100f97817a7995c5b0d7db574c6893ecfd6c2a;hpb=9b060a71a2667ced8d103023eda0ff710e799867;p=libfirm diff --git a/ir/be/belive.h b/ir/be/belive.h index 0b100f978..8f2ee6a4b 100644 --- a/ir/be/belive.h +++ b/ir/be/belive.h @@ -20,7 +20,14 @@ void be_liveness(ir_graph *irg); * @param f The output. * @param irg The graph. */ -void be_liveness_dump(FILE *f, ir_graph *irg); +void be_liveness_dump(ir_graph *irg, FILE *f); + +/** + * Dump the liveness information for a graph. + * @param irg The graph. + * @param cls_name A string used as substing in the filename. + */ +void be_liveness_dumpto(ir_graph *irg, const char *cls_name); /** * Check, if a node is live in at a block. @@ -38,5 +45,18 @@ int (is_live_in)(const ir_node *block, const ir_node *irn); */ int (is_live_out)(const ir_node *block, const ir_node *irn); +/** + * Check, if a node is live at the end of a block. + * @param block The block. + * @param irn The node to check for. + * @return 1, if @p irn is live at the end of the block, 0 if not. + */ +int (is_live_end)(const ir_node *block, const ir_node *irn); + +/** + * Check, if the SSA dominance property is fulfilled. + * @param irg The graph. + */ +void be_check_dominance(ir_graph *irg); #endif