libFirm
|
Stores a value into memory (heap or stack). More...
Enumerations | |
enum | n_Store { n_Store_mem, n_Store_ptr, n_Store_value, n_Store_max = n_Store_value } |
Input numbers for Store node. More... | |
enum | pn_Store { pn_Store_M, pn_Store_X_regular, pn_Store_X_except, pn_Store_max = pn_Store_X_except } |
Projection numbers for result of Store node (use for Proj nodes) More... |
Functions | |
ir_node * | new_rd_Store (dbg_info *dbgi, ir_node *block, ir_node *irn_mem, ir_node *irn_ptr, ir_node *irn_value, ir_cons_flags flags) |
Construct a Store node. | |
ir_node * | new_r_Store (ir_node *block, ir_node *irn_mem, ir_node *irn_ptr, ir_node *irn_value, ir_cons_flags flags) |
Construct a Store node. | |
ir_node * | new_d_Store (dbg_info *dbgi, ir_node *irn_mem, ir_node *irn_ptr, ir_node *irn_value, ir_cons_flags flags) |
Construct a Store node. | |
ir_node * | new_Store (ir_node *irn_mem, ir_node *irn_ptr, ir_node *irn_value, ir_cons_flags flags) |
Construct a Store node. | |
int | is_Store (const ir_node *node) |
Test if node is a Store. | |
ir_node * | get_Store_mem (const ir_node *node) |
Returns mem input of a Store node. | |
void | set_Store_mem (ir_node *node, ir_node *mem) |
Sets mem input of a Store node. | |
ir_node * | get_Store_ptr (const ir_node *node) |
Returns ptr input of a Store node. | |
void | set_Store_ptr (ir_node *node, ir_node *ptr) |
Sets ptr input of a Store node. | |
ir_node * | get_Store_value (const ir_node *node) |
Returns value input of a Store node. | |
void | set_Store_value (ir_node *node, ir_node *value) |
Sets value input of a Store node. | |
ir_volatility | get_Store_volatility (const ir_node *node) |
Returns volatility attribute of a Store node. | |
void | set_Store_volatility (ir_node *node, ir_volatility volatility) |
Sets volatility attribute of a Store node. | |
ir_align | get_Store_unaligned (const ir_node *node) |
Returns unaligned attribute of a Store node. | |
void | set_Store_unaligned (ir_node *node, ir_align unaligned) |
Sets unaligned attribute of a Store node. | |
ir_op * | get_op_Store (void) |
Returns opcode for Store nodes. |
Variables | |
ir_op * | op_Store |
Store opcode. |
Stores a value into memory (heap or stack).
enum pn_Store |
ir_op* get_op_Store | ( | void | ) |
Returns opcode for Store nodes.
ir_volatility get_Store_volatility | ( | const ir_node * | node | ) |
Returns volatility attribute of a Store node.
int is_Store | ( | const ir_node * | node | ) |
Test if node is a Store.
ir_node* new_d_Store | ( | dbg_info * | dbgi, |
ir_node * | irn_mem, | ||
ir_node * | irn_ptr, | ||
ir_node * | irn_value, | ||
ir_cons_flags | flags | ||
) |
Construct a Store node.
dbgi | A pointer to debug information. |
irn_mem | memory dependency |
irn_ptr | address to store to |
irn_value | value to store |
flags | specifies alignment, volatility and pin state |
ir_node* new_r_Store | ( | ir_node * | block, |
ir_node * | irn_mem, | ||
ir_node * | irn_ptr, | ||
ir_node * | irn_value, | ||
ir_cons_flags | flags | ||
) |
Construct a Store node.
block | The IR block the node belongs to. |
irn_mem | memory dependency |
irn_ptr | address to store to |
irn_value | value to store |
flags | specifies alignment, volatility and pin state |
ir_node* new_rd_Store | ( | dbg_info * | dbgi, |
ir_node * | block, | ||
ir_node * | irn_mem, | ||
ir_node * | irn_ptr, | ||
ir_node * | irn_value, | ||
ir_cons_flags | flags | ||
) |
Construct a Store node.
dbgi | A pointer to debug information. |
block | The IR block the node belongs to. |
irn_mem | memory dependency |
irn_ptr | address to store to |
irn_value | value to store |
flags | specifies alignment, volatility and pin state |
ir_node* new_Store | ( | ir_node * | irn_mem, |
ir_node * | irn_ptr, | ||
ir_node * | irn_value, | ||
ir_cons_flags | flags | ||
) |
Construct a Store node.
irn_mem | memory dependency |
irn_ptr | address to store to |
irn_value | value to store |
flags | specifies alignment, volatility and pin state |
Sets unaligned attribute of a Store node.
void set_Store_volatility | ( | ir_node * | node, |
ir_volatility | volatility | ||
) |
Sets volatility attribute of a Store node.