X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeuses.h;h=2300bde6b3b809e861be8080ff5f4913dfc24628;hb=4ed245f5007168dab7850942a7ee6b6b29a19817;hp=06a97b0f265187367c51fea2991aaee55c2e01ff;hpb=1013579946ac0cdb7e1461a6b52006e01d87716b;p=libfirm diff --git a/ir/be/beuses.h b/ir/be/beuses.h index 06a97b0f2..2300bde6b 100644 --- a/ir/be/beuses.h +++ b/ir/be/beuses.h @@ -12,6 +12,9 @@ #ifndef _BEUSES_H #define _BEUSES_H +#include "bearch.h" +#include "belive.h" + #define USES_INFINITY 1000000 #define USES_IS_INIFINITE(x) ((x) >= USES_INFINITY) @@ -19,11 +22,9 @@ typedef struct _loc_t loc_t; typedef struct _be_uses_t be_uses_t; unsigned be_get_next_use(be_uses_t *uses, const ir_node *from, - unsigned from_step, const ir_node *def); + unsigned from_step, const ir_node *def, int skip_from_uses); -be_uses_t *be_begin_uses(ir_graph *irg, - const arch_env_t *arch_env, - const arch_register_class_t *cls); +be_uses_t *be_begin_uses(ir_graph *irg, const be_lv_t *lv, const arch_env_t *arch_env, const arch_register_class_t *cls); void be_end_uses(be_uses_t *uses);