X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbelower.h;h=ac02dafdab73020f14d6af0c6cd01d37132cb918;hb=dc5eb2926b1ff88193b0ec00f3fbc8f969baaa4f;hp=85cc63d13b3c88fd37ce0cffdc88864175ea3db0;hpb=46270524c797c7a668257cccc3b565350affa0a7;p=libfirm diff --git a/ir/be/belower.h b/ir/be/belower.h index 85cc63d13..ac02dafda 100644 --- a/ir/be/belower.h +++ b/ir/be/belower.h @@ -1,17 +1,34 @@ +/* + * This file is part of libFirm. + * Copyright (C) 2012 University of Karlsruhe. + */ + /** - * Chordal register allocation. - * @author Christian Wuerdig - * @date 2005/12/14 - * @cvsid $Id$ + * @file + * @brief Performs lowering of perm nodes. Inserts copies to assure + * register constraints. + * @author Christian Wuerdig + * @date 14.12.2005 */ +#ifndef FIRM_BE_BELOWER_H +#define FIRM_BE_BELOWER_H -#ifndef _BELOWER_H_ -#define _BELOWER_H_ +#include "firm_types.h" -#include "bechordal.h" -#include "be_t.h" +/** + * Walks over all nodes to assure register constraints. + * + * @param irg The graph + */ +void assure_constraints(ir_graph *irg); -void assure_constraints(be_irg_t *birg); -void lower_nodes_after_ra(be_chordal_env_t *chord_env, int do_copy, int do_stat); +/** + * 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 /* _BELOWER_H_ */ +#endif