2 * This file is part of libFirm.
3 * Copyright (C) 2012 University of Karlsruhe.
8 * @brief Performs lowering of perm nodes. Inserts copies to assure
9 * register constraints.
10 * @author Christian Wuerdig
13 #ifndef FIRM_BE_BELOWER_H
14 #define FIRM_BE_BELOWER_H
16 #include "firm_types.h"
19 * Walks over all nodes to assure register constraints.
21 * @param irg The graph
23 void assure_constraints(ir_graph *irg);
26 * Walks over all blocks in an irg and performs lowering need to be
27 * done after register allocation (e.g. perm lowering).
29 * @param irg The graph
30 * @param do_copy 1 == resolve cycles with a free reg if available
32 void lower_nodes_after_ra(ir_graph *irg, int do_copy);