X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbechordal.h;h=679add6d7e88e9e2e09703e11ba1d23bddb3f1da;hb=b46c894cf05a8c569d404ba0ef92c384d76e34d6;hp=853d58da380e97420c506457ff0127a2d942af2c;hpb=fffce24ca3bd902557240873edd936588b3cd265;p=libfirm diff --git a/ir/be/bechordal.h b/ir/be/bechordal.h index 853d58da3..679add6d7 100644 --- a/ir/be/bechordal.h +++ b/ir/be/bechordal.h @@ -12,36 +12,13 @@ #include "irnode.h" #include "bearch.h" - -typedef struct _be_chordal_env_t be_chordal_env_t; - -/** - * Allocate registers for an ir graph. - * @param irg The graph. - * @return Some internal data to be freed with be_ra_chordal_done(). - */ -be_chordal_env_t *be_ra_chordal(ir_graph *irg, - const arch_env_t *arch_env, - const arch_register_class_t *cls); +#include "bera.h" /** - * Check current register allocation for correctness. - * Interfering nodes have different colors - * Register constraints - * O(n^2) + * The register allocator structure. */ -void be_ra_chordal_check(be_chordal_env_t *chordal_env); +const be_ra_t be_ra_chordal_allocator; -/** - * Free data from the chordal register allocation. - * @param irg The graph. - */ -void be_ra_chordal_done(be_chordal_env_t *info); - -/** - * 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