projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adapted to changes
[libfirm]
/
ir
/
be
/
bespill.h
diff --git
a/ir/be/bespill.h
b/ir/be/bespill.h
index
116f7a9
..
ef19be8
100644
(file)
--- a/
ir/be/bespill.h
+++ b/
ir/be/bespill.h
@@
-13,6
+13,7
@@
#include "irnode.h"
#include "debug.h"
#include "irnode.h"
#include "debug.h"
+#include "bechordal.h"
#include "be_t.h"
#include "bearch.h"
#include "be_t.h"
#include "bearch.h"
@@
-23,8
+24,7
@@
typedef int(*decide_irn_t)(const ir_node*, void*);
spill_env_t *be_new_spill_env(
firm_dbg_module_t *dbg,
spill_env_t *be_new_spill_env(
firm_dbg_module_t *dbg,
- const be_main_session_env_t *session,
- const arch_register_class_t *cls,
+ const be_chordal_env_t *chordal,
decide_irn_t is_mem_phi,
void *data);
decide_irn_t is_mem_phi,
void *data);
@@
-36,4
+36,9
@@
void be_add_reload_on_edge(spill_env_t *senv, ir_node *to_spill, ir_node *bl, in
void be_insert_spills_reloads(spill_env_t *senv, pset *reload_set);
void be_insert_spills_reloads(spill_env_t *senv, pset *reload_set);
+/**
+ * Computes the spill offsets for all spill nodes in the irg
+ */
+void be_compute_spill_offsets(be_chordal_env_t *cenv);
+
#endif /*BESPILL_H_*/
#endif /*BESPILL_H_*/