* Header for copy optimization problem. Analysis and set up of the problem.
*/
-/*
- * TODO: get_nodes_block(get_irn_n(get_nodes_block(phi), i)); --> get_ifgblock_nodeblock
- */
-
#ifndef _BECOPYOPT_H
#define _BECOPYOPT_H
#include "set.h"
#include "pset.h"
#include "bitset.h"
-#include "sp_matrix.h"
#include "irgraph.h"
#include "irgwalk.h"
int complete_costs; /**< sum of all costs[i] */
int minimal_costs; /**< a lower bound for this ou, considering only ifg (not coloring conflicts) */
- //TODO Think of the ordering.
- int avg_costs; /**< average costs. controls the order of ou's. */
+ int sort_key; /**< maximum costs. controls the order of ou's. */
/* for heuristic */
struct list_head queue; /**< list of (mis/color) sorted by size of mis */