X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbechordal.h;h=362d093064678da33bd82a4ad61aaa337f5ce333;hb=4ca59cb404899ecc345f6eb30d82a623a346b6fe;hp=0d6949ff2fac1b4950275939bcd950cd012d82aa;hpb=a1cf7cc9742645630a1bf5c56c72f542d975645f;p=libfirm diff --git a/ir/be/bechordal.h b/ir/be/bechordal.h index 0d6949ff2..362d09306 100644 --- a/ir/be/bechordal.h +++ b/ir/be/bechordal.h @@ -11,15 +11,27 @@ #include "irgraph.h" #include "irnode.h" +#include "bearch.h" + /** * Allocate registers for an ir graph. * @param irg The graph. - * @return Some internal data to be freed with be_ra_chordal_free(). + * @return Some internal data to be freed with be_ra_chordal_done(). */ -void be_ra_chordal(ir_graph *irg); +void be_ra_chordal(ir_graph *irg, + const arch_isa_if_t *isa, + const arch_register_class_t *cls); +/** + * Free data from the chordal register allocation. + * @param irg The graph. + */ void be_ra_chordal_done(ir_graph *irg); + +/** + * Init some things for the chordal register allocator. + * This must be called before Firm is inited. + */ void be_ra_chordal_init(void); -int phi_ops_interfere(const ir_node *a, const ir_node *b); #endif