Loads a value from memory (heap or stack).
More...
Functions |
ir_node * | new_rd_Load (dbg_info *dbgi, ir_node *block, ir_node *irn_mem, ir_node *irn_ptr, ir_mode *mode, ir_cons_flags flags) |
| Construct a Load node.
|
ir_node * | new_r_Load (ir_node *block, ir_node *irn_mem, ir_node *irn_ptr, ir_mode *mode, ir_cons_flags flags) |
| Construct a Load node.
|
ir_node * | new_d_Load (dbg_info *dbgi, ir_node *irn_mem, ir_node *irn_ptr, ir_mode *mode, ir_cons_flags flags) |
| Construct a Load node.
|
ir_node * | new_Load (ir_node *irn_mem, ir_node *irn_ptr, ir_mode *mode, ir_cons_flags flags) |
| Construct a Load node.
|
int | is_Load (const ir_node *node) |
| Test if node is a Load.
|
ir_node * | get_Load_mem (const ir_node *node) |
| Returns mem input of a Load node.
|
void | set_Load_mem (ir_node *node, ir_node *mem) |
| Sets mem input of a Load node.
|
ir_node * | get_Load_ptr (const ir_node *node) |
| Returns ptr input of a Load node.
|
void | set_Load_ptr (ir_node *node, ir_node *ptr) |
| Sets ptr input of a Load node.
|
ir_mode * | get_Load_mode (const ir_node *node) |
| Returns mode attribute of a Load node.
|
void | set_Load_mode (ir_node *node, ir_mode *mode) |
| Sets mode attribute of a Load node.
|
ir_volatility | get_Load_volatility (const ir_node *node) |
| Returns volatility attribute of a Load node.
|
void | set_Load_volatility (ir_node *node, ir_volatility volatility) |
| Sets volatility attribute of a Load node.
|
ir_align | get_Load_unaligned (const ir_node *node) |
| Returns unaligned attribute of a Load node.
|
void | set_Load_unaligned (ir_node *node, ir_align unaligned) |
| Sets unaligned attribute of a Load node.
|
ir_op * | get_op_Load (void) |
| Returns opcode for Load nodes.
|
Detailed Description
Loads a value from memory (heap or stack).
Enumeration Type Documentation
Input numbers for Load node.
Definition at line 2061 of file nodeops.h.
Projection numbers for result of Load node (use for Proj nodes)
- Enumerator:
pn_Load_M |
memory result
|
pn_Load_res |
result of load operation
|
pn_Load_X_regular |
control flow when no exception occurs
|
pn_Load_X_except |
control flow when exception occured
|
Definition at line 2071 of file nodeops.h.
Function Documentation
Returns mem input of a Load node.
Returns mode attribute of a Load node.
Returns ptr input of a Load node.
Returns unaligned attribute of a Load node.
Returns volatility attribute of a Load node.
ir_op* get_op_Load |
( |
void |
| ) |
|
Returns opcode for Load nodes.
int is_Load |
( |
const ir_node * |
node | ) |
|
Test if node is a Load.
- Returns
- 1 if the node is a Load node, 0 otherwise
Construct a Load node.
- Parameters
-
dbgi | A pointer to debug information. |
irn_mem | memory dependency |
irn_ptr | address to load from |
mode | mode of the value to be loaded |
flags | specifies alignment, volatility and pin state |
Construct a Load node.
- Parameters
-
irn_mem | memory dependency |
irn_ptr | address to load from |
mode | mode of the value to be loaded |
flags | specifies alignment, volatility and pin state |
Construct a Load node.
- Parameters
-
block | The IR block the node belongs to. |
irn_mem | memory dependency |
irn_ptr | address to load from |
mode | mode of the value to be loaded |
flags | specifies alignment, volatility and pin state |
Construct a Load node.
- Parameters
-
dbgi | A pointer to debug information. |
block | The IR block the node belongs to. |
irn_mem | memory dependency |
irn_ptr | address to load from |
mode | mode of the value to be loaded |
flags | specifies alignment, volatility and pin state |
Sets mem input of a Load node.
Sets mode attribute of a Load node.
Sets ptr input of a Load node.
Sets unaligned attribute of a Load node.
Sets volatility attribute of a Load node.
Variable Documentation