X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbelower.h;h=daf56e8c192024bb7fb02d4bb9feb19323513764;hb=5474a1c188c9d59eea2c915515980cd9cbab58d8;hp=875e6b39461f1ccc9c82372107661b038034cf4e;hpb=1ce363f80e6a204d4011f85813362d9bd1d0e7e4;p=libfirm diff --git a/ir/be/belower.h b/ir/be/belower.h index 875e6b394..daf56e8c1 100644 --- a/ir/be/belower.h +++ b/ir/be/belower.h @@ -19,17 +19,30 @@ /** * @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$ */ #ifndef FIRM_BE_BELOWER_H #define FIRM_BE_BELOWER_H #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