|
ir_node * | new_rd_Sel (dbg_info *dbgi, ir_node *block, ir_node *irn_ptr, ir_node *irn_index, ir_type *type) |
| Construct a Sel node.
|
|
ir_node * | new_r_Sel (ir_node *block, ir_node *irn_ptr, ir_node *irn_index, ir_type *type) |
| Construct a Sel node.
|
|
ir_node * | new_d_Sel (dbg_info *dbgi, ir_node *irn_ptr, ir_node *irn_index, ir_type *type) |
| Construct a Sel node.
|
|
ir_node * | new_Sel (ir_node *irn_ptr, ir_node *irn_index, ir_type *type) |
| Construct a Sel node.
|
|
int | is_Sel (const ir_node *node) |
| Test if node is a Sel.
|
|
ir_node * | get_Sel_ptr (const ir_node *node) |
| Returns ptr input of a Sel node.
|
|
void | set_Sel_ptr (ir_node *node, ir_node *ptr) |
| Sets ptr input of a Sel node.
|
|
ir_node * | get_Sel_index (const ir_node *node) |
| Returns index input of a Sel node.
|
|
void | set_Sel_index (ir_node *node, ir_node *index) |
| Sets index input of a Sel node.
|
|
ir_type * | get_Sel_type (const ir_node *node) |
| Returns type attribute of a Sel node.
|
|
void | set_Sel_type (ir_node *node, ir_type *type) |
| Sets type attribute of a Sel node.
|
|
ir_op * | get_op_Sel (void) |
| Returns opcode for Sel nodes.
|
|
Computes the address of an array element from the array base pointer and an index.
A Sel node must only produce a NULL pointer if the ptr input is NULL.
◆ n_Sel
Input numbers for Sel node.
Enumerator |
---|
n_Sel_ptr | pointer to array to select from
|
n_Sel_index | index to select
|
n_Sel_max | |
Definition at line 3391 of file nodes.h.
◆ get_op_Sel()
ir_op * get_op_Sel |
( |
void | | ) |
|
Returns opcode for Sel nodes.
◆ get_Sel_index()
Returns index input of a Sel node.
◆ get_Sel_ptr()
Returns ptr input of a Sel node.
◆ get_Sel_type()
Returns type attribute of a Sel node.
◆ is_Sel()
Test if node is a Sel.
- Returns
- 1 if the node is a Sel node, 0 otherwise
◆ new_d_Sel()
Construct a Sel node.
- Parameters
-
dbgi | A pointer to debug information. |
irn_ptr | ptr |
irn_index | index |
type | array type |
◆ new_r_Sel()
Construct a Sel node.
- Parameters
-
block | The IR block the node belongs to. |
irn_ptr | ptr |
irn_index | index |
type | array type |
◆ new_rd_Sel()
Construct a Sel node.
- Parameters
-
dbgi | A pointer to debug information. |
block | The IR block the node belongs to. |
irn_ptr | ptr |
irn_index | index |
type | array type |
◆ new_Sel()
Construct a Sel node.
- Parameters
-
irn_ptr | ptr |
irn_index | index |
type | array type |
◆ set_Sel_index()
Sets index input of a Sel node.
◆ set_Sel_ptr()
Sets ptr input of a Sel node.
◆ set_Sel_type()
Sets type attribute of a Sel node.
◆ op_Sel