added sta backend (but commented out)
[libfirm] / ir / be / bestat.h
index 961ee2f..a3994e4 100644 (file)
@@ -76,6 +76,12 @@ void be_do_stat_nodes(ir_graph *irg, const char *phase);
  */
 void be_stat_init_irg(const arch_env_t *arch_env, ir_graph *irg);
 
+/**
+ * Gives a cost estimate for the program (based on execution frequencies)
+ * and backend op_estimated_cost
+ */
+double be_estimate_irg_costs(ir_graph *irg, const arch_env_t *arch_env, ir_exec_freq *execfreqs);
+
 void be_init_stat_file(const char *filename, const char *sourcefilename);
 void be_close_stat_file(void);