2 * Author: Daniel Grund, Sebastian Hack
4 * Copyright: (c) Universitaet Karlsruhe
5 * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
16 #include "bechordal.h"
21 typedef struct _spill_env_t spill_env_t;
22 typedef int(*decide_irn_t)(const ir_node*, void*);
25 spill_env_t *be_new_spill_env(
26 firm_dbg_module_t *dbg,
27 const be_chordal_env_t *chordal,
28 decide_irn_t is_mem_phi,
31 void be_delete_spill_env(spill_env_t *senv);
33 void be_add_reload(spill_env_t *senv, ir_node *to_spill, ir_node *before);
35 void be_add_reload_on_edge(spill_env_t *senv, ir_node *to_spill, ir_node *bl, int pos);
37 void be_insert_spills_reloads(spill_env_t *senv, pset *reload_set);
40 * Computes the spill offsets for all spill nodes in the irg
42 void be_compute_spill_offsets(be_chordal_env_t *cenv);