X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbechordal.h;h=4cb739680513dd9bd70bbe5bdfa94c0c16b4d19f;hb=712cea35fe399ae20e3a33eb9bf81360b5000cf3;hp=ef97007e4e77169d303266ceb7bce89dd7255c88;hpb=83c9157ff224552a9b16a73fe4a16451f4963831;p=libfirm diff --git a/ir/be/bechordal.h b/ir/be/bechordal.h index ef97007e4..4cb739680 100644 --- a/ir/be/bechordal.h +++ b/ir/be/bechordal.h @@ -8,30 +8,14 @@ #ifndef __BECHORDAL_H #define __BECHORDAL_H -#include "irgraph.h" -#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(). - */ -void be_ra_chordal(ir_graph *irg, - const arch_env_t *arch_env, - const arch_register_class_t *cls); - -/** - * Free data from the chordal register allocation. - * @param irg The graph. + * The register allocator structure. */ -void be_ra_chordal_done(ir_graph *irg); +extern const be_ra_t be_ra_chordal_allocator; -/** - * 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