Another version of copy elimination
[libfirm] / ir / be / bechordal.h
index 4125693..4cb7396 100644 (file)
@@ -8,13 +8,14 @@
 #ifndef __BECHORDAL_H
 #define __BECHORDAL_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_free().
+ * The register allocator structure.
  */
-void be_ra_chordal(ir_graph *irg);
+extern const be_ra_t be_ra_chordal_allocator;
 
-void be_ra_chordal_free(ir_graph *irg);
+typedef struct _be_chordal_env_t be_chordal_env_t;
 
 #endif