libFirm
|
Returns from the current function. More...
Enumerations | |
enum | n_Return { n_Return_mem, n_Return_max = n_Return_mem } |
Input numbers for Return node. More... | |
Functions | |
ir_node * | new_rd_Return (dbg_info *dbgi, ir_node *block, ir_node *irn_mem, int arity, ir_node *const *in) |
Construct a Return node. More... | |
ir_node * | new_r_Return (ir_node *block, ir_node *irn_mem, int arity, ir_node *const *in) |
Construct a Return node. More... | |
ir_node * | new_d_Return (dbg_info *dbgi, ir_node *irn_mem, int arity, ir_node *const *in) |
Construct a Return node. More... | |
ir_node * | new_Return (ir_node *irn_mem, int arity, ir_node *const *in) |
Construct a Return node. More... | |
int | is_Return (const ir_node *node) |
Test if node is a Return. More... | |
ir_node * | get_Return_mem (const ir_node *node) |
Returns mem input of a Return node. More... | |
void | set_Return_mem (ir_node *node, ir_node *mem) |
Sets mem input of a Return node. More... | |
int | get_Return_n_ress (ir_node const *node) |
Get the number of Return ress. More... | |
ir_node * | get_Return_res (ir_node const *node, int pos) |
Get the Return res with index pos . More... | |
void | set_Return_res (ir_node *node, int pos, ir_node *res) |
Set the Return res with index pos . More... | |
ir_node ** | get_Return_res_arr (ir_node *node) |
Get an array of all Return ress. More... | |
ir_op * | get_op_Return (void) |
Returns opcode for Return nodes. More... | |
Variables | |
ir_op * | op_Return |
Return opcode. More... | |
Returns from the current function.
Takes memory and return values as operands.
enum n_Return |
ir_op* get_op_Return | ( | void | ) |
Returns opcode for Return nodes.
Definition at line 2262 of file gen_irnode.c.
References op_Return.
Returns mem input of a Return node.
Definition at line 2232 of file gen_irnode.c.
int get_Return_n_ress | ( | ir_node const * | node | ) |
Get the number of Return ress.
Definition at line 2242 of file gen_irnode.c.
Get the Return res with index pos
.
Definition at line 2247 of file gen_irnode.c.
Get an array of all Return ress.
Definition at line 2257 of file gen_irnode.c.
References op_Return.
int is_Return | ( | const ir_node * | node | ) |
Test if node is a Return.
Definition at line 3390 of file gen_irnode.c.
Construct a Return node.
dbgi | A pointer to debug information. |
irn_mem | mem |
arity | size of additional inputs array |
in | additional inputs |
Definition at line 2220 of file gen_irnode.c.
References current_ir_graph, get_cur_block(), IR_GRAPH_CONSTRAINT_CONSTRUCTION, irg_is_constrained(), and new_rd_Return().
Referenced by new_Return().
Construct a Return node.
block | The IR block the node belongs to. |
irn_mem | mem |
arity | size of additional inputs array |
in | additional inputs |
Definition at line 2215 of file gen_irnode.c.
References new_rd_Return().
ir_node* new_rd_Return | ( | dbg_info * | dbgi, |
ir_node * | block, | ||
ir_node * | irn_mem, | ||
int | arity, | ||
ir_node *const * | in | ||
) |
Construct a Return node.
dbgi | A pointer to debug information. |
block | The IR block the node belongs to. |
irn_mem | mem |
arity | size of additional inputs array |
in | additional inputs |
Definition at line 2197 of file gen_irnode.c.
References ALLOCAN, get_irn_irg(), mode_X, new_ir_node(), op_Return, optimize_node(), and verify_new_node().
Referenced by new_d_Return(), and new_r_Return().
Construct a Return node.
irn_mem | mem |
arity | size of additional inputs array |
in | additional inputs |
Definition at line 2227 of file gen_irnode.c.
References new_d_Return().
Sets mem input of a Return node.
Definition at line 2237 of file gen_irnode.c.
Set the Return res with index pos
.
Definition at line 2252 of file gen_irnode.c.
ir_op* op_Return |
Return opcode.
Definition at line 3300 of file nodes.h.
Referenced by get_op_Return(), get_Return_res_arr(), new_rd_Return(), and set_typeconst_type().