X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbelive.h;h=8f2ee6a4bf6fd8bffc2216cdfa2592b95f71a628;hb=e6ad8ee4680a88db8652483c2c6f3124f3d9a888;hp=754847b0e66e3ba2cdf1b38ac3c17b6be20f9d29;hpb=d26125ca5720072a4975d37c0a17f7ad6c18de2d;p=libfirm diff --git a/ir/be/belive.h b/ir/be/belive.h index 754847b0e..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,4 +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