They're pointless with the new switch representation introduced a while
ago.
FIRM_API ir_node *new_rd_strictConv(dbg_info *db, ir_node *block,
ir_node *op, ir_mode *mode);
FIRM_API ir_node *new_rd_strictConv(dbg_info *db, ir_node *block,
ir_node *op, ir_mode *mode);
-/** Constructor for a defaultProj node.
- *
- * Represents the default control flow of a Switch-Cond node.
- *
- * @param *db A pointer for debug information.
- * @param arg A node producing a tuple.
- * @param max_proj The end position of the value in the tuple.
- */
-FIRM_API ir_node *new_rd_defaultProj(dbg_info *db, ir_node *arg, long max_proj);
-
/** Constructor for an ASM pseudo node.
*
* @param *db A pointer for debug information.
/** Constructor for an ASM pseudo node.
*
* @param *db A pointer for debug information.
*/
FIRM_API ir_node *new_r_strictConv(ir_node *block, ir_node *op, ir_mode *mode);
*/
FIRM_API ir_node *new_r_strictConv(ir_node *block, ir_node *op, ir_mode *mode);
-/** Constructor for a defaultProj node.
- *
- * Represents the default control flow of a Switch-Cond node.
- *
- * @param arg A node producing a tuple.
- * @param max_proj The end position of the value in the tuple.
- */
-FIRM_API ir_node *new_r_defaultProj(ir_node *arg, long max_proj);
-
/** Constructor for an ASM pseudo node.
*
* @param *block The block the node belong to.
/** Constructor for an ASM pseudo node.
*
* @param *block The block the node belong to.
*/
FIRM_API ir_node *new_d_strictConv(dbg_info *db, ir_node *op, ir_mode *mode);
*/
FIRM_API ir_node *new_d_strictConv(dbg_info *db, ir_node *op, ir_mode *mode);
-/** Constructor for a defaultProj node.
- *
- * Represents the default control flow of a Switch-Cond node.
- * Adds the node to the block in current_ir_block.
- *
- * @param *db A pointer for debug information.
- * @param arg A node producing a tuple.
- * @param max_proj The end position of the value in the tuple.
- */
-FIRM_API ir_node *new_d_defaultProj(dbg_info *db, ir_node *arg, long max_proj);
-
/** Constructor for an ASM pseudo node.
*
* @param *db A pointer for debug information.
/** Constructor for an ASM pseudo node.
*
* @param *db A pointer for debug information.
*/
FIRM_API ir_node *new_strictConv(ir_node *op, ir_mode *mode);
*/
FIRM_API ir_node *new_strictConv(ir_node *op, ir_mode *mode);
-/** Constructor for a defaultProj node.
- *
- * Represents the default control flow of a Switch-Cond node.
- * Adds the node to the block in current_ir_block.
- *
- * @param arg A node producing a tuple.
- * @param max_proj The end position of the value in the tuple.
- */
-FIRM_API ir_node *new_defaultProj(ir_node *arg, long max_proj);
-
/** Constructor for an ASM pseudo node.
*
* @param arity The number of data inputs to the node.
/** Constructor for an ASM pseudo node.
*
* @param arity The number of data inputs to the node.
return new_rd_Const(db, irg, new_tarval_from_long(value, mode));
}
return new_rd_Const(db, irg, new_tarval_from_long(value, mode));
}
-ir_node *new_rd_defaultProj(dbg_info *db, ir_node *arg, long max_proj)
-{
- ir_node *res;
-
- assert(is_Cond(arg));
- arg->attr.cond.default_proj = max_proj;
- res = new_rd_Proj(db, arg, mode_X, max_proj);
- return res;
-}
-
ir_node *new_rd_ASM(dbg_info *db, ir_node *block, int arity, ir_node *in[],
ir_asm_constraint *inputs, size_t n_outs,
ir_asm_constraint *outputs, size_t n_clobber,
ir_node *new_rd_ASM(dbg_info *db, ir_node *block, int arity, ir_node *in[],
ir_asm_constraint *inputs, size_t n_outs,
ir_asm_constraint *outputs, size_t n_clobber,
{
return new_rd_Sel(NULL, block, store, objptr, 0, NULL, ent);
}
{
return new_rd_Sel(NULL, block, store, objptr, 0, NULL, ent);
}
-ir_node *new_r_defaultProj(ir_node *arg, long max_proj)
-{
- return new_rd_defaultProj(NULL, arg, max_proj);
-}
ir_node *new_r_ASM(ir_node *block,
int arity, ir_node *in[], ir_asm_constraint *inputs,
size_t n_outs, ir_asm_constraint *outputs,
ir_node *new_r_ASM(ir_node *block,
int arity, ir_node *in[], ir_asm_constraint *inputs,
size_t n_outs, ir_asm_constraint *outputs,
return new_rd_Const_long(db, current_ir_graph, mode, value);
}
return new_rd_Const_long(db, current_ir_graph, mode, value);
}
-ir_node *new_d_defaultProj(dbg_info *db, ir_node *arg, long max_proj)
-{
- ir_node *res;
- assert(is_Cond(arg) || is_Bad(arg));
- assert(get_irg_phase_state(current_ir_graph) == phase_building);
- if (is_Cond(arg))
- arg->attr.cond.default_proj = max_proj;
- res = new_d_Proj(db, arg, mode_X, max_proj);
- return res;
-}
-
ir_node *new_d_simpleSel(dbg_info *db, ir_node *store, ir_node *objptr,
ir_entity *ent)
{
ir_node *new_d_simpleSel(dbg_info *db, ir_node *store, ir_node *objptr,
ir_entity *ent)
{
{
return new_d_simpleSel(NULL, store, objptr, ent);
}
{
return new_d_simpleSel(NULL, store, objptr, ent);
}
-ir_node *new_defaultProj(ir_node *arg, long max_proj)
-{
- return new_d_defaultProj(NULL, arg, max_proj);
-}
ir_node *new_ASM(int arity, ir_node *in[], ir_asm_constraint *inputs,
size_t n_outs, ir_asm_constraint *outputs,
size_t n_clobber, ident *clobber[], ident *text)
ir_node *new_ASM(int arity, ir_node *in[], ir_asm_constraint *inputs,
size_t n_outs, ir_asm_constraint *outputs,
size_t n_clobber, ident *clobber[], ident *text)