summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bepbqpcoloring.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-12-17 08:33:50 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-12-17 08:34:45 +0100
commit4cbdab238c1bd78c11cda18f18f8a4ab676e5c56 (patch)
treefe54be1d1e776f0ce1c622dd1648b4b835de779d /ir/be/bepbqpcoloring.c
parente12a125f6ae11c13e4c22c1f4519f23b050c62bc (diff)
bepbqpcoloring: Remove duplicate macros.
Diffstat (limited to 'ir/be/bepbqpcoloring.c')
-rw-r--r--ir/be/bepbqpcoloring.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ir/be/bepbqpcoloring.c b/ir/be/bepbqpcoloring.c
index eab5b4b..6e0ea25 100644
--- a/ir/be/bepbqpcoloring.c
+++ b/ir/be/bepbqpcoloring.c
@@ -34,6 +34,7 @@
#include "bechordal_common.h"
#include "bechordal.h"
#include "bechordal_t.h"
+#include "becopyopt_t.h"
#include "beinsn_t.h"
#include "benode.h"
#include "belive.h"
@@ -41,7 +42,6 @@
#include "beutil.h"
#include "plist.h"
#include "pqueue.h"
-#include "becopyopt.h"
/* pbqp includes */
#include "kaps.h"
@@ -81,9 +81,6 @@ typedef struct be_pbqp_alloc_env_t {
} be_pbqp_alloc_env_t;
-#define is_Reg_Phi(irn) (is_Phi(irn) && mode_is_data(get_irn_mode(irn)))
-#define get_Perm_src(irn) (get_irn_n(get_Proj_pred(irn), get_Proj_proj(irn)))
-#define is_Perm_Proj(irn) (is_Proj(irn) && be_is_Perm(get_Proj_pred(irn)))
#define insert_edge(pbqp, src_node, trg_node, template_matrix) (add_edge_costs(pbqp, get_irn_idx(src_node), get_irn_idx(trg_node), pbqp_matrix_copy(pbqp, template_matrix)))
#define get_free_regs(restr_nodes, cls, irn) (arch_register_class_n_regs(cls) - restr_nodes[get_irn_idx(irn)])