libFirm
|
Functions | |
ir_node * | new_rd_Phi_loop (dbg_info *db, ir_node *block, int arity, ir_node *in[]) |
Constructor for memory Phi with keep-alive edge. | |
ir_node * | new_r_Phi_loop (ir_node *block, int arity, ir_node *in[]) |
Constructor for memory Phi with keep-alive edge. | |
ir_node * | new_d_Phi_loop (dbg_info *db, int arity, ir_node *in[]) |
Constructor for memory Phi with keep-alive edge. | |
ir_node * | new_Phi_loop (int arity, ir_node *in[]) |
Constructor for memory Phi with keep-alive edge. | |
ir_node * | get_Phi_next (const ir_node *phi) |
Returns the next element of a block phi list. | |
void | set_Phi_next (ir_node *phi, ir_node *next) |
Sets the next link of a block Phi list. | |
ir_node * | new_rd_Phi (dbg_info *dbgi, ir_node *block, int arity, ir_node *const *in, ir_mode *mode) |
Construct a Phi node. | |
ir_node * | new_r_Phi (ir_node *block, int arity, ir_node *const *in, ir_mode *mode) |
Construct a Phi node. | |
ir_node * | new_d_Phi (dbg_info *dbgi, int arity, ir_node *const *in, ir_mode *mode) |
Construct a Phi node. | |
ir_node * | new_Phi (int arity, ir_node *const *in, ir_mode *mode) |
Construct a Phi node. | |
int | is_Phi (const ir_node *node) |
Test if node is a Phi. | |
int | get_Phi_n_preds (ir_node const *node) |
Get the number of Phi preds. | |
ir_node * | get_Phi_pred (ir_node const *node, int pos) |
Get the Phi pred with index pos . | |
void | set_Phi_pred (ir_node *node, int pos, ir_node *pred) |
Set the Phi pred with index pos . | |
ir_node ** | get_Phi_pred_arr (ir_node *node) |
Get an array of all Phi preds. | |
int | get_Phi_loop (const ir_node *node) |
Returns loop attribute of a Phi node. | |
void | set_Phi_loop (ir_node *node, int loop) |
Sets loop attribute of a Phi node. | |
ir_op * | get_op_Phi (void) |
Returns opcode for Phi nodes. | |
Variables | |
ir_op * | op_Phi |
Phi opcode. | |
Choose a value based on control flow. A phi node has 1 input for each predecessor of its block. If a block is entered from its nth predecessor all phi nodes produce their nth input as result.
ir_op * get_op_Phi | ( | void | ) |
Returns opcode for Phi nodes.
int get_Phi_loop | ( | const ir_node * | node | ) |
Returns loop attribute of a Phi node.
int get_Phi_n_preds | ( | ir_node const * | node | ) |
Get the number of Phi preds.
int is_Phi | ( | const ir_node * | node | ) |
Test if node is a Phi.
Construct a Phi node.
dbgi | A pointer to debug information. |
arity | size of additional inputs array |
in | additional inputs |
mode | mode of the operations result |
Constructor for memory Phi with keep-alive edge.
Construct a Phi node.
arity | size of additional inputs array |
in | additional inputs |
mode | mode of the operations result |
Constructor for memory Phi with keep-alive edge.
Construct a Phi node.
block | The IR block the node belongs to. |
arity | size of additional inputs array |
in | additional inputs |
mode | mode of the operations result |
Constructor for memory Phi with keep-alive edge.
ir_node * new_rd_Phi | ( | dbg_info * | dbgi, |
ir_node * | block, | ||
int | arity, | ||
ir_node *const * | in, | ||
ir_mode * | mode ) |
Construct a Phi node.
dbgi | A pointer to debug information. |
block | The IR block the node belongs to. |
arity | size of additional inputs array |
in | additional inputs |
mode | mode of the operations result |
Constructor for memory Phi with keep-alive edge.
void set_Phi_loop | ( | ir_node * | node, |
int | loop ) |
Sets loop attribute of a Phi node.