X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=ir%2Fbe%2Fbeloopana.h;h=327f608f6e7a867251ee47a776055ea5d78f5fd3;hb=532ca14c1686c1b14cf923371c079055670de7e6;hp=29778f24d9a732c62eee70572682f9a61cb8a5ed;hpb=0b1140d1887f497ef413709e5cda2608f2cd1017;p=libfirm diff --git a/ir/be/beloopana.h b/ir/be/beloopana.h index 29778f24d..327f608f6 100644 --- a/ir/be/beloopana.h +++ b/ir/be/beloopana.h @@ -22,7 +22,6 @@ * @brief Compute register pressure in loops. * @author Christian Wuerdig * @date 20.02.2007 - * @version $Id$ */ #ifndef FIRM_BE_BELOOPANA_H #define FIRM_BE_BELOOPANA_H @@ -32,35 +31,37 @@ #include "bearch.h" #include "beirg.h" -typedef struct _be_loopana_t be_loopana_t; +typedef struct be_loopana_t be_loopana_t; /** - * Compute the register pressure for a class of all loops in the birg. - * @param birg The backend irg object + * Compute the register pressure for a class of all loops in the irg. + * @param irg The graph * @param cls The register class to compute the pressure for * @return The loop analysis object. */ -be_loopana_t *be_new_loop_pressure_cls(be_irg_t *birg, const arch_register_class_t *cls); +be_loopana_t *be_new_loop_pressure_cls(ir_graph *irg, + const arch_register_class_t *cls); /** - * Compute the register pressure of all loops in the birg. - * @param birg The backend irg object + * Compute the register pressure of all loops in the irg. + * @param irg The graph * @param cls register class to compute loop pressure for, * if NULL computes for all classes * @return The loop analysis object. */ -be_loopana_t *be_new_loop_pressure(be_irg_t *birg, +be_loopana_t *be_new_loop_pressure(ir_graph *irg, const arch_register_class_t *cls); /** * Returns the computed register pressure for the given class and loop. * @return The pressure or INT_MAX if not found */ -unsigned be_get_loop_pressure(be_loopana_t *loop_ana, const arch_register_class_t *cls, ir_loop *loop); +unsigned be_get_loop_pressure(be_loopana_t *loop_ana, + const arch_register_class_t *cls, ir_loop *loop); /** * Frees loop analysis object. */ void be_free_loop_pressure(be_loopana_t *loop_ana); -#endif /* FIRM_BE_BELOOPANA_H */ +#endif