X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeloopana.h;h=29778f24d9a732c62eee70572682f9a61cb8a5ed;hb=51d5090095b2f4f2285ff1b7ccd13c72a7b5d9d3;hp=627c54ded3abda620d710ce14113991c6762e925;hpb=39f3a8dbd0f00f90b7b12a849d1bf7b9c1329479;p=libfirm diff --git a/ir/be/beloopana.h b/ir/be/beloopana.h index 627c54ded..29778f24d 100644 --- a/ir/be/beloopana.h +++ b/ir/be/beloopana.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. * @@ -43,11 +43,14 @@ typedef struct _be_loopana_t be_loopana_t; be_loopana_t *be_new_loop_pressure_cls(be_irg_t *birg, const arch_register_class_t *cls); /** - * Compute the register pressure for all classes of all loops in the birg. + * Compute the register pressure of all loops in the birg. * @param birg The backend irg object + * @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(be_irg_t *birg, + const arch_register_class_t *cls); /** * Returns the computed register pressure for the given class and loop.