X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbespill.h;h=5863a887ef67fc650b9c3f332acf70ab458f86d8;hb=d300330b1e6df8c8914b8fb70cf38ee1c8ca2634;hp=563a9aa5ca5c865c581fe02574d872ff3ce09d9c;hpb=1ce363f80e6a204d4011f85813362d9bd1d0e7e4;p=libfirm diff --git a/ir/be/bespill.h b/ir/be/bespill.h index 563a9aa5c..5863a887e 100644 --- a/ir/be/bespill.h +++ b/ir/be/bespill.h @@ -146,6 +146,15 @@ typedef struct { double reload_costs; } be_total_spill_costs_t; +/** + * Insert a spill after the definition of the given node if there is a reload that is not dominated by some spill. + * This function checks whether there is a reload that is not dominated by some spill for that node. + * If so, it inserts a spill right after the definition of the node. + * @param env The spill environment. + * @param irn The node to check for. + */ +void make_spill_locations_dominate_irn(spill_env_t *env, ir_node *irn); + /** * Collect spill/reload cost statistics for a graph. * @param birg The backend graph.