fixed some bugs
[libfirm] / ir / be / bechordal.h
index c946a74..eeb4b3b 100644 (file)
 #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"
 
 /**
- * Free data from the chordal register allocation.
- * @param irg The graph.
+ * The register allocator structure.
  */
-void be_ra_chordal_done(be_chordal_env_t *info);
+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