X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbelower.h;h=4a2576cf0cf17352595beec770a73e805e32e77b;hb=248af0e1d8280f21f356bb148ecdf11f2e7a6093;hp=6f023d336dfe7c6bb551e2aff261e01216213b47;hpb=39f3a8dbd0f00f90b7b12a849d1bf7b9c1329479;p=libfirm diff --git a/ir/be/belower.h b/ir/be/belower.h index 6f023d336..4a2576cf0 100644 --- a/ir/be/belower.h +++ b/ir/be/belower.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -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