if (arch_register_req_is(req, ignore))
return 0;
- if (is_Reg_Phi(irn) || is_Perm_Proj(irn))
+ if (is_Phi(irn) || is_Perm_Proj(irn))
return 1;
if (arch_register_req_is(req, should_be_same))
be_lv_t *const lv = be_get_irg_liveness(co->irg);
/* Phi with some/all of its arguments */
- if (is_Reg_Phi(irn)) {
+ if (is_Phi(irn)) {
int i, arity;
/* init */
if (req->cls != co->cls || arch_register_req_is(req, ignore))
return;
- if (is_Reg_Phi(irn)) { /* Phis */
+ if (is_Phi(irn)) { /* Phis */
for (pos=0, max=get_irn_arity(irn); pos<max; ++pos) {
ir_node *arg = get_irn_n(irn, pos);
add_edges(co, irn, arg, co->get_costs(irn, pos));
#define list_entry_units(lh) list_entry(lh, unit_t, units)
-#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)))
unsigned pos;
unsigned max;
- if (is_Reg_Phi(irn)) { /* Phis */
+ if (is_Phi(irn)) { /* Phis */
for (pos = 0, max = get_irn_arity(irn); pos < max; ++pos) {
ir_node *arg = get_irn_n(irn, pos);