libFirm
|
The Sync operation unifies several partial memory blocks. More...
Functions | |
ir_node ** | get_Sync_preds_arr (ir_node *node) |
Returns all predecessors of Sync node node as array. | |
int | get_Sync_n_preds (const ir_node *node) |
Returns number of predecessors of Sync node node . | |
ir_node * | get_Sync_pred (const ir_node *node, int pos) |
Returns predecessor number pos of Sync node node . | |
void | set_Sync_pred (ir_node *node, int pos, ir_node *pred) |
Sets value pred as predecessor number pos of Sync node node . | |
void | add_Sync_pred (ir_node *node, ir_node *pred) |
Adds pred to predecessor list of Sync node node . | |
void | del_Sync_n (ir_node *n, int i) |
Removes predecessor i from Sync n. | |
ir_node * | new_rd_Sync (dbg_info *dbgi, ir_node *block, int arity, ir_node *const *in) |
Construct a Sync node. | |
ir_node * | new_r_Sync (ir_node *block, int arity, ir_node *const *in) |
Construct a Sync node. | |
ir_node * | new_d_Sync (dbg_info *dbgi, int arity, ir_node *const *in) |
Construct a Sync node. | |
ir_node * | new_Sync (int arity, ir_node *const *in) |
Construct a Sync node. | |
int | is_Sync (const ir_node *node) |
Test if node is a Sync. | |
ir_op * | get_op_Sync (void) |
Returns opcode for Sync nodes. |
Variables | |
ir_op * | op_Sync |
Sync opcode. |
The Sync operation unifies several partial memory blocks.
These blocks have to be pairwise disjunct or the values in common locations have to be identical. This operation allows to specify all operations that eventually need several partial memory blocks as input with a single entrance by unifying the memories with a preceding Sync operation.
Adds pred
to predecessor list of Sync node node
.
void del_Sync_n | ( | ir_node * | n, |
int | i | ||
) |
Removes predecessor i from Sync n.
ir_op* get_op_Sync | ( | void | ) |
Returns opcode for Sync nodes.
int get_Sync_n_preds | ( | const ir_node * | node | ) |
Returns number of predecessors of Sync node node
.
Returns predecessor number pos
of Sync node node
.
int is_Sync | ( | const ir_node * | node | ) |
Test if node is a Sync.
Construct a Sync node.
dbgi | A pointer to debug information. |
arity | size of additional inputs array |
in | additional inputs |
Construct a Sync node.
block | The IR block the node belongs to. |
arity | size of additional inputs array |
in | additional inputs |
Construct a Sync node.
dbgi | A pointer to debug information. |
block | The IR block the node belongs to. |
arity | size of additional inputs array |
in | additional inputs |
Construct a Sync node.
arity | size of additional inputs array |
in | additional inputs |
Sets value pred
as predecessor number pos
of Sync node node
.