libFirm
|
returns the false or true operand depending on the value of the sel operand More...
Enumerations | |
enum | n_Mux { n_Mux_sel, n_Mux_false, n_Mux_true, n_Mux_max = n_Mux_true } |
Input numbers for Mux node. More... | |
Functions | |
ir_node * | new_rd_Mux (dbg_info *dbgi, ir_node *block, ir_node *irn_sel, ir_node *irn_false, ir_node *irn_true, ir_mode *mode) |
Construct a Mux node. More... | |
ir_node * | new_r_Mux (ir_node *block, ir_node *irn_sel, ir_node *irn_false, ir_node *irn_true, ir_mode *mode) |
Construct a Mux node. More... | |
ir_node * | new_d_Mux (dbg_info *dbgi, ir_node *irn_sel, ir_node *irn_false, ir_node *irn_true, ir_mode *mode) |
Construct a Mux node. More... | |
ir_node * | new_Mux (ir_node *irn_sel, ir_node *irn_false, ir_node *irn_true, ir_mode *mode) |
Construct a Mux node. More... | |
int | is_Mux (const ir_node *node) |
Test if node is a Mux. More... | |
ir_node * | get_Mux_sel (const ir_node *node) |
Returns sel input of a Mux node. More... | |
void | set_Mux_sel (ir_node *node, ir_node *sel) |
Sets sel input of a Mux node. More... | |
ir_node * | get_Mux_false (const ir_node *node) |
Returns false input of a Mux node. More... | |
void | set_Mux_false (ir_node *node, ir_node *false_) |
Sets false input of a Mux node. More... | |
ir_node * | get_Mux_true (const ir_node *node) |
Returns true input of a Mux node. More... | |
void | set_Mux_true (ir_node *node, ir_node *true_) |
Sets true input of a Mux node. More... | |
ir_op * | get_op_Mux (void) |
Returns opcode for Mux nodes. More... | |
Variables | |
ir_op * | op_Mux |
Mux opcode. More... | |
returns the false or true operand depending on the value of the sel operand
enum n_Mux |
Returns false input of a Mux node.
Definition at line 1784 of file gen_irnode.c.
Returns sel input of a Mux node.
Definition at line 1774 of file gen_irnode.c.
Returns true input of a Mux node.
Definition at line 1794 of file gen_irnode.c.
ir_op* get_op_Mux | ( | void | ) |
int is_Mux | ( | const ir_node * | node | ) |
Test if node is a Mux.
Definition at line 3314 of file gen_irnode.c.
ir_node* new_d_Mux | ( | dbg_info * | dbgi, |
ir_node * | irn_sel, | ||
ir_node * | irn_false, | ||
ir_node * | irn_true, | ||
ir_mode * | mode | ||
) |
Construct a Mux node.
dbgi | A pointer to debug information. |
irn_sel | sel |
irn_false | false |
irn_true | true |
mode | mode of the operations result |
Definition at line 1762 of file gen_irnode.c.
References current_ir_graph, get_cur_block(), IR_GRAPH_CONSTRAINT_CONSTRUCTION, irg_is_constrained(), and new_rd_Mux().
Referenced by new_Mux().
Construct a Mux node.
irn_sel | sel |
irn_false | false |
irn_true | true |
mode | mode of the operations result |
Definition at line 1769 of file gen_irnode.c.
References new_d_Mux().
ir_node* new_r_Mux | ( | ir_node * | block, |
ir_node * | irn_sel, | ||
ir_node * | irn_false, | ||
ir_node * | irn_true, | ||
ir_mode * | mode | ||
) |
Construct a Mux node.
block | The IR block the node belongs to. |
irn_sel | sel |
irn_false | false |
irn_true | true |
mode | mode of the operations result |
Definition at line 1757 of file gen_irnode.c.
References new_rd_Mux().
ir_node* new_rd_Mux | ( | dbg_info * | dbgi, |
ir_node * | block, | ||
ir_node * | irn_sel, | ||
ir_node * | irn_false, | ||
ir_node * | irn_true, | ||
ir_mode * | mode | ||
) |
Construct a Mux node.
dbgi | A pointer to debug information. |
block | The IR block the node belongs to. |
irn_sel | sel |
irn_false | false |
irn_true | true |
mode | mode of the operations result |
Definition at line 1740 of file gen_irnode.c.
References get_irn_irg(), new_ir_node(), op_Mux, optimize_node(), and verify_new_node().
Referenced by new_d_Mux(), and new_r_Mux().
Sets false input of a Mux node.
Definition at line 1789 of file gen_irnode.c.
Sets sel input of a Mux node.
Definition at line 1779 of file gen_irnode.c.
Sets true input of a Mux node.
Definition at line 1799 of file gen_irnode.c.
ir_op* op_Mux |