projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed perm placements
[libfirm]
/
ir
/
be
/
bespill.h
diff --git
a/ir/be/bespill.h
b/ir/be/bespill.h
index
d29dfe3
..
d651de5
100644
(file)
--- a/
ir/be/bespill.h
+++ b/
ir/be/bespill.h
@@
-1,5
+1,5
@@
/**
/**
- * Author: Daniel Grund
+ * Author: Daniel Grund
, Sebastian Hack
* Date: 29.09.2005
* Copyright: (c) Universitaet Karlsruhe
* Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
* Date: 29.09.2005
* Copyright: (c) Universitaet Karlsruhe
* Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
@@
-13,23
+13,27
@@
#include "irnode.h"
#include "debug.h"
#include "irnode.h"
#include "debug.h"
+#include "bechordal.h"
#include "be_t.h"
#include "bearch.h"
typedef struct _spill_env_t spill_env_t;
#include "be_t.h"
#include "bearch.h"
typedef struct _spill_env_t spill_env_t;
+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);
void be_delete_spill_env(spill_env_t *senv);
void be_delete_spill_env(spill_env_t *senv);
-void be_add_
spill
(spill_env_t *senv, ir_node *to_spill, ir_node *before);
+void be_add_
reload
(spill_env_t *senv, ir_node *to_spill, ir_node *before);
-void be_add_
spill
_on_edge(spill_env_t *senv, ir_node *to_spill, ir_node *bl, int pos);
+void be_add_
reload
_on_edge(spill_env_t *senv, ir_node *to_spill, ir_node *bl, int pos);
-void be_insert_spills_reloads(spill_env_t *senv, pset *
mem_phis, pset *
reload_set);
+void be_insert_spills_reloads(spill_env_t *senv, pset *reload_set);
#endif /*BESPILL_H_*/
#endif /*BESPILL_H_*/