projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed debug output of unary x87 nodes
[libfirm]
/
ir
/
be
/
bespill.h
diff --git
a/ir/be/bespill.h
b/ir/be/bespill.h
index
8cffc84
..
dac0226
100644
(file)
--- a/
ir/be/bespill.h
+++ b/
ir/be/bespill.h
@@
-1,10
+1,9
@@
-/*
*
+/*
* Author: Daniel Grund, Sebastian Hack
* Date: 29.09.2005
* Copyright: (c) Universitaet Karlsruhe
* Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
*/
* Author: Daniel Grund, Sebastian Hack
* Date: 29.09.2005
* Copyright: (c) Universitaet Karlsruhe
* Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
*/
-
#ifndef BESPILL_H_
#define BESPILL_H_
#ifndef BESPILL_H_
#define BESPILL_H_
@@
-24,16
+23,9
@@
typedef struct _spill_env_t spill_env_t;
* Creates a new spill environment.
*
* @param chordal
* Creates a new spill environment.
*
* @param chordal
- * @param is_spilled_phi a function that evaluates a phi node and returns true if it is a spilled phi node
- * @param data context parameter for the is_spilled_phi function
*/
spill_env_t *be_new_spill_env(const be_chordal_env_t *chordal);
*/
spill_env_t *be_new_spill_env(const be_chordal_env_t *chordal);
-/**
- * Marks a phi-node for spilling
- */
-void be_spill_phi(spill_env_t *env, ir_node *node);
-
/**
* Deletes a spill environment.
*/
/**
* Deletes a spill environment.
*/
@@
-46,9
+38,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);
/**
void be_insert_spills_reloads(spill_env_t *senv);
/**
- * Computes the spill offsets for all spill nodes in the irg
+ * Marks a phi-node for spilling. So when reloading from this phi-node, not
+ * only its value but the whole phi will be spilled.
+ * This might place be_Copy nodes in predecessor blocks.
*/
*/
-void be_
compute_spill_offsets(be_chordal_env_t *cenv
);
+void be_
spill_phi(spill_env_t *env, ir_node *node
);
/**
* Sets the debug module of a spill environment.
/**
* Sets the debug module of a spill environment.