projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
placed register_options() last in the interface
[libfirm]
/
ir
/
be
/
bespill.h
diff --git
a/ir/be/bespill.h
b/ir/be/bespill.h
index
d651de5
..
a0503cd
100644
(file)
--- a/
ir/be/bespill.h
+++ b/
ir/be/bespill.h
@@
-8,6
+8,7
@@
#ifndef BESPILL_H_
#define BESPILL_H_
#ifndef BESPILL_H_
#define BESPILL_H_
+#include "firm_config.h"
#include "set.h"
#include "pset.h"
#include "irnode.h"
#include "set.h"
#include "pset.h"
#include "irnode.h"
@@
-22,11
+23,7
@@
typedef struct _spill_env_t spill_env_t;
typedef int(*decide_irn_t)(const ir_node*, void*);
typedef int(*decide_irn_t)(const ir_node*, void*);
-spill_env_t *be_new_spill_env(
- firm_dbg_module_t *dbg,
- const be_chordal_env_t *chordal,
- decide_irn_t is_mem_phi,
- void *data);
+spill_env_t *be_new_spill_env(const be_chordal_env_t *chordal, decide_irn_t is_mem_phi, void *data);
void be_delete_spill_env(spill_env_t *senv);
void be_delete_spill_env(spill_env_t *senv);
@@
-36,4
+33,11
@@
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);
+
+DEBUG_ONLY(void be_set_spill_env_dbg_module(spill_env_t *env, firm_dbg_module_t *dbg));
+
#endif /*BESPILL_H_*/
#endif /*BESPILL_H_*/