X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeutil.h;h=a32cc59a5fd6759602bed69a599a3da0a48e9d9b;hb=35e4e9294a122f3417302c8f1843d707cf8eb0af;hp=3c2c50e24531c3091bf97ca2cccd6bf3973c0125;hpb=9b060a71a2667ced8d103023eda0ff710e799867;p=libfirm diff --git a/ir/be/beutil.h b/ir/be/beutil.h index 3c2c50e24..a32cc59a5 100644 --- a/ir/be/beutil.h +++ b/ir/be/beutil.h @@ -37,7 +37,20 @@ static INLINE int is_data_node(const ir_node *irn) return 0; } +/** + * Make each constant local to its use. + * This duplicates all constants in order to simulate a realistic + * register pressure. + * @param irg The graph. + */ +void localize_consts(ir_graph *irg); +/** + * Dump a vcg graph containing the controlflow graph, the schedule and + * allocated registers. + * @param irg The irg. Note that scheduling, register allocation must + * have been performed. + */ void dump_allocated_irg(ir_graph *irg); #endif