#include "irprog.h"
#include "iredges.h"
#include "phiclass_t.h"
+#include "beutil.h"
#include "becopyopt.h"
#include "becopystat.h"
#include "xmalloc.h"
I_COPIES_MAX, /* max possible costs of copies*/
I_COPIES_INIT, /* number of copies in initial allocation */
I_COPIES_HEUR, /* number of copies after heuristic */
+ I_COPIES_5SEC, /* number of copies after ilp with max n sec */
+ I_COPIES_30SEC, /* number of copies after ilp with max n sec */
I_COPIES_OPT, /* number of copies after ilp */
I_COPIES_IF, /* number of copies inevitable due to root-arg-interf */
if (is_Block(node)) /* count all blocks */
curr_vals[I_BLOCKS]++;
- if (is_Phi(node) && mode_is_datab(get_irn_mode(node))) /* collect phis */
+ if (is_Phi(node) && is_firm_be_mode(get_irn_mode(node))) /* collect phis */
pset_insert_ptr(all_phi_nodes, node);
if (is_Copy(arch_env, node))
void copystat_add_heur_costs(int costs) {
curr_vals[I_COPIES_HEUR] += costs;
}
+void copystat_add_ilp_5_sec_costs(int costs) {
+ curr_vals[I_COPIES_5SEC] += costs;
+}
+void copystat_add_ilp_30_sec_costs(int costs) {
+ curr_vals[I_COPIES_30SEC] += costs;
+}
void copystat_add_opt_costs(int costs) {
curr_vals[I_COPIES_OPT] += costs;
}