projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made lpp stuff modular.
[libfirm]
/
ir
/
be
/
bechordal.h
diff --git
a/ir/be/bechordal.h
b/ir/be/bechordal.h
index
10e6cd0
..
c946a74
100644
(file)
--- a/
ir/be/bechordal.h
+++ b/
ir/be/bechordal.h
@@
-11,15
+11,29
@@
#include "irgraph.h"
#include "irnode.h"
#include "irgraph.h"
#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.
/**
* Allocate registers for an ir graph.
* @param irg The graph.
- * @return Some internal data to be freed with be_ra_chordal_
fre
e().
+ * @return Some internal data to be freed with be_ra_chordal_
don
e().
*/
*/
-void be_ra_chordal(ir_graph *irg);
+be_chordal_env_t *be_ra_chordal(ir_graph *irg,
+ const arch_env_t *arch_env,
+ const arch_register_class_t *cls);
-void be_ra_chordal_done(ir_graph *irg);
+/**
+ * Free data from the chordal register allocation.
+ * @param irg The graph.
+ */
+void be_ra_chordal_done(be_chordal_env_t *info);
-int phi_ops_interfere(const ir_node *a, const ir_node *b);
+/**
+ * Init some things for the chordal register allocator.
+ * This must be called before Firm is inited.
+ */
+void be_ra_chordal_init(void);
#endif
#endif