X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbelower.h;h=4a2576cf0cf17352595beec770a73e805e32e77b;hb=b7dd849f8dd4bf73629adffec3fbe19bed0e458b;hp=875e6b39461f1ccc9c82372107661b038034cf4e;hpb=1ce363f80e6a204d4011f85813362d9bd1d0e7e4;p=libfirm diff --git a/ir/be/belower.h b/ir/be/belower.h index 875e6b394..4a2576cf0 100644 --- a/ir/be/belower.h +++ b/ir/be/belower.h @@ -19,7 +19,8 @@ /** * @file - * @brief Performs lowering of perm nodes. Inserts copies to assure register constraints. + * @brief Performs lowering of perm nodes. Inserts copies to assure + * register constraints. * @author Christian Wuerdig * @date 14.12.2005 * @version $Id$ @@ -29,7 +30,20 @@ #include "beirg.h" -void assure_constraints(be_irg_t *birg); -void lower_nodes_after_ra(be_irg_t *birg, int do_copy); +/** + * Walks over all nodes to assure register constraints. + * + * @param irg The graph + */ +void assure_constraints(ir_graph *irg); + +/** + * Walks over all blocks in an irg and performs lowering need to be + * done after register allocation (e.g. perm lowering). + * + * @param irg The graph + * @param do_copy 1 == resolve cycles with a free reg if available + */ +void lower_nodes_after_ra(ir_graph *irg, int do_copy); -#endif /* FIRM_BE_BELOWER_H */ +#endif