X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbechordal_t.h;h=90e4eff0886ea9f67f3b1e111a131b722aabc09c;hb=bb4b701ebadcf132a2a6637f41db3c845d51de78;hp=1dfd6653da7c9b55330907129bbd9c6cfe782ab9;hpb=d6768d8d4427959eb045aafb1d15bd189beaa5dd;p=libfirm diff --git a/ir/be/bechordal_t.h b/ir/be/bechordal_t.h index 1dfd6653d..90e4eff08 100644 --- a/ir/be/bechordal_t.h +++ b/ir/be/bechordal_t.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. * @@ -27,9 +27,9 @@ #ifndef FIRM_BE_BECHORDAL_T_H #define FIRM_BE_BECHORDAL_T_H +#include "firm_types.h" #include "list.h" #include "pmap.h" -#include "irnode.h" #include "bitset.h" #include "obst.h" #include "debug.h" @@ -72,7 +72,7 @@ struct be_chordal_env_t { bitset_t *ignore_colors;/**< A set of colors which shall be ignored in register allocation. */ }; -static INLINE struct list_head *_get_block_border_head(const be_chordal_env_t *inf, ir_node *bl) { +static inline struct list_head *_get_block_border_head(const be_chordal_env_t *inf, ir_node *bl) { return pmap_get(inf->border_heads, bl); } @@ -83,7 +83,7 @@ static INLINE struct list_head *_get_block_border_head(const be_chordal_env_t *i #define border_prev(b) (list_entry((b)->list.prev, border_t, list)) #define chordal_has_class(chordal_env, irn) \ - arch_irn_consider_in_reg_alloc(chordal_env->birg->main_env->arch_env, chordal_env->cls, irn) + arch_irn_consider_in_reg_alloc(chordal_env->cls, irn) void be_ra_chordal_color(be_chordal_env_t *chordal_env); @@ -121,6 +121,6 @@ struct be_ra_chordal_opts_t { char ilp_solver[128]; }; -void be_pre_spill_prepare_constr(be_chordal_env_t *cenv); +void check_for_memory_operands(ir_graph *irg); #endif /* FIRM_BE_BECHORDAL_T_H */