X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbechordal.h;h=eeb4b3b7d6bfb427332123e0489033bacff25254;hb=f804d333c7b5459c3c1a6bfc188ecdc54346be73;hp=362d093064678da33bd82a4ad61aaa337f5ce333;hpb=e5ab50e3025460b25b6287e7bb3659d6256e38fb;p=libfirm diff --git a/ir/be/bechordal.h b/ir/be/bechordal.h index 362d09306..eeb4b3b7d 100644 --- a/ir/be/bechordal.h +++ b/ir/be/bechordal.h @@ -12,26 +12,13 @@ #include "irnode.h" #include "bearch.h" +#include "bera.h" /** - * Allocate registers for an ir graph. - * @param irg The graph. - * @return Some internal data to be freed with be_ra_chordal_done(). + * The register allocator structure. */ -void be_ra_chordal(ir_graph *irg, - const arch_isa_if_t *isa, - const arch_register_class_t *cls); +extern const be_ra_t be_ra_chordal_allocator; -/** - * 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); +typedef struct _be_chordal_env_t be_chordal_env_t; #endif