Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
4cbdab23
Commit
4cbdab23
authored
Dec 17, 2012
by
Christoph Mallon
Browse files
bepbqpcoloring: Remove duplicate macros.
parent
e12a125f
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/bepbqpcoloring.c
View file @
4cbdab23
...
...
@@ -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)])
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment