env->num_consts += 1;
}
}
-} /* handle_case */
+}
/**
* Handle a mode_b input of Cond nodes.
}
}
}
-} /* handle_if */
+}
/**
* Pre-block-walker: Called for every block to insert Confirm nodes
handle_case(block, get_Cond_selector(cond), proj_nr, env);
}
-} /* insert_Confirm_in_block */
+}
/**
* Checks if a node is a non-null Confirm.
if (is_SymConst_addr_ent(ptr))
return 1;
return 0;
-} /* is_non_null_Confirm */
+}
/**
* The given pointer will be dereferenced, add non-null Confirms.
env->num_confirms += 1;
}
}
-} /* insert_non_null */
+}
/**
* Pre-walker: Called for every node to insert Confirm nodes
default:
break;
}
-} /* insert_Confirm */
+}
/*
* Construct Confirm nodes
/* deactivate edges if they where off */
if (! edges_active)
edges_deactivate(irg);
-} /* construct_confirms */
+}
/* Construct a pass. */
ir_graph_pass_t *construct_confirms_pass(const char *name)
{
return def_graph_pass(name ? name : "confirm", construct_confirms);
-} /* construct_confirms_pass */
+}
static void remove_confirm(ir_node *n, void *env)
{
void remove_confirms(ir_graph *irg)
{
irg_walk_graph(irg, NULL, remove_confirm, NULL);
-} /* remove_confirms */
+}
/* Construct a pass. */
ir_graph_pass_t *remove_confirms_pass(const char *name)
{
return def_graph_pass(name ? name : "rem_confirm", remove_confirms);
-} /* remove_confirms_pass */
+}