libFirm
|
returns the sum of its operands More...
Enumerations | |
enum | n_Add { n_Add_left, n_Add_right, n_Add_max = n_Add_right } |
Input numbers for Add node. More... | |
Functions | |
ir_node * | new_rd_Add (dbg_info *dbgi, ir_node *block, ir_node *irn_left, ir_node *irn_right) |
Construct an Add node. More... | |
ir_node * | new_r_Add (ir_node *block, ir_node *irn_left, ir_node *irn_right) |
Construct an Add node. More... | |
ir_node * | new_d_Add (dbg_info *dbgi, ir_node *irn_left, ir_node *irn_right) |
Construct an Add node. More... | |
ir_node * | new_Add (ir_node *irn_left, ir_node *irn_right) |
Construct an Add node. More... | |
int | is_Add (const ir_node *node) |
Test if node is a Add. More... | |
ir_node * | get_Add_left (const ir_node *node) |
Returns left input of an Add node. More... | |
void | set_Add_left (ir_node *node, ir_node *left) |
Sets left input of an Add node. More... | |
ir_node * | get_Add_right (const ir_node *node) |
Returns right input of an Add node. More... | |
void | set_Add_right (ir_node *node, ir_node *right) |
Sets right input of an Add node. More... | |
ir_op * | get_op_Add (void) |
Returns opcode for Add nodes. More... | |
Variables | |
ir_op * | op_Add |
Add opcode. More... | |
returns the sum of its operands
enum n_Add |
Returns left input of an Add node.
Definition at line 86 of file gen_irnode.c.
Returns right input of an Add node.
Definition at line 96 of file gen_irnode.c.
ir_op* get_op_Add | ( | void | ) |
int is_Add | ( | const ir_node * | node | ) |
Test if node is a Add.
Definition at line 2945 of file gen_irnode.c.
Construct an Add node.
irn_left | left |
irn_right | right |
Definition at line 81 of file gen_irnode.c.
References new_d_Add().
Construct an Add node.
dbgi | A pointer to debug information. |
irn_left | left |
irn_right | right |
Definition at line 74 of file gen_irnode.c.
References current_ir_graph, get_cur_block(), IR_GRAPH_CONSTRAINT_CONSTRUCTION, irg_is_constrained(), and new_rd_Add().
Referenced by new_Add().
Construct an Add node.
block | The IR block the node belongs to. |
irn_left | left |
irn_right | right |
Definition at line 69 of file gen_irnode.c.
References new_rd_Add().
Construct an Add node.
dbgi | A pointer to debug information. |
block | The IR block the node belongs to. |
irn_left | left |
irn_right | right |
Definition at line 53 of file gen_irnode.c.
References get_irn_irg(), get_irn_mode(), mode_is_reference(), new_ir_node(), op_Add, optimize_node(), and verify_new_node().
Referenced by new_d_Add(), and new_r_Add().
Sets left input of an Add node.
Definition at line 91 of file gen_irnode.c.
ir_op* op_Add |
Add opcode.
Definition at line 232 of file nodes.h.
Referenced by get_op_Add(), new_rd_Add(), set_Add_right(), and set_typeconst_type().