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) |
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) |
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) |
Construct a Mux node. More... | |
ir_node * | new_Mux (ir_node *irn_sel, ir_node *irn_false, ir_node *irn_true) |
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 1785 of file gen_irnode.c.
Returns sel input of a Mux node.
Definition at line 1775 of file gen_irnode.c.
Returns true input of a Mux node.
Definition at line 1795 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 3315 of file gen_irnode.c.
Construct a Mux node.
dbgi | A pointer to debug information. |
irn_sel | sel |
irn_false | false |
irn_true | true |
Definition at line 1763 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 |
Definition at line 1770 of file gen_irnode.c.
References new_d_Mux().
Construct a Mux node.
block | The IR block the node belongs to. |
irn_sel | sel |
irn_false | false |
irn_true | true |
Definition at line 1758 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 | ||
) |
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 |
Definition at line 1741 of file gen_irnode.c.
References get_irn_irg(), get_irn_mode(), 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 1790 of file gen_irnode.c.
Sets sel input of a Mux node.
Definition at line 1780 of file gen_irnode.c.
ir_op* op_Mux |
Mux opcode.
Definition at line 2664 of file nodes.h.
Referenced by get_op_Mux(), new_rd_Mux(), set_Mux_true(), and set_typeconst_type().