libFirm
|
Raises an exception. More...
Enumerations | |
enum | n_Raise { n_Raise_mem, n_Raise_exo_ptr, n_Raise_max = n_Raise_exo_ptr } |
Input numbers for Raise node. More... | |
enum | pn_Raise { pn_Raise_M, pn_Raise_X, pn_Raise_max = pn_Raise_X } |
Projection numbers for result of Raise node (use for Proj nodes) More... | |
Functions | |
ir_node * | new_rd_Raise (dbg_info *dbgi, ir_node *block, ir_node *irn_mem, ir_node *irn_exo_ptr) |
Construct a Raise node. More... | |
ir_node * | new_r_Raise (ir_node *block, ir_node *irn_mem, ir_node *irn_exo_ptr) |
Construct a Raise node. More... | |
ir_node * | new_d_Raise (dbg_info *dbgi, ir_node *irn_mem, ir_node *irn_exo_ptr) |
Construct a Raise node. More... | |
ir_node * | new_Raise (ir_node *irn_mem, ir_node *irn_exo_ptr) |
Construct a Raise node. More... | |
int | is_Raise (const ir_node *node) |
Test if node is a Raise. More... | |
ir_node * | get_Raise_mem (const ir_node *node) |
Returns mem input of a Raise node. More... | |
void | set_Raise_mem (ir_node *node, ir_node *mem) |
Sets mem input of a Raise node. More... | |
ir_node * | get_Raise_exo_ptr (const ir_node *node) |
Returns exo_ptr input of a Raise node. More... | |
void | set_Raise_exo_ptr (ir_node *node, ir_node *exo_ptr) |
Sets exo_ptr input of a Raise node. More... | |
ir_op * | get_op_Raise (void) |
Returns opcode for Raise nodes. More... | |
Variables | |
ir_op * | op_Raise |
Raise opcode. More... | |
Raises an exception.
Unconditional change of control flow. Writes an explicit Except variable to memory to pass it to the exception handler. Must be lowered to a Call to a runtime check function.
enum n_Raise |
enum pn_Raise |
ir_op* get_op_Raise | ( | void | ) |
Returns exo_ptr input of a Raise node.
Definition at line 2181 of file gen_irnode.c.
Returns mem input of a Raise node.
Definition at line 2171 of file gen_irnode.c.
int is_Raise | ( | const ir_node * | node | ) |
Test if node is a Raise.
Definition at line 3384 of file gen_irnode.c.
Construct a Raise node.
dbgi | A pointer to debug information. |
irn_mem | mem |
irn_exo_ptr | exo_ptr |
Definition at line 2159 of file gen_irnode.c.
References current_ir_graph, get_cur_block(), IR_GRAPH_CONSTRAINT_CONSTRUCTION, irg_is_constrained(), and new_rd_Raise().
Referenced by new_Raise().
Construct a Raise node.
block | The IR block the node belongs to. |
irn_mem | mem |
irn_exo_ptr | exo_ptr |
Definition at line 2154 of file gen_irnode.c.
References new_rd_Raise().
Construct a Raise node.
irn_mem | mem |
irn_exo_ptr | exo_ptr |
Definition at line 2166 of file gen_irnode.c.
References new_d_Raise().
ir_node* new_rd_Raise | ( | dbg_info * | dbgi, |
ir_node * | block, | ||
ir_node * | irn_mem, | ||
ir_node * | irn_exo_ptr | ||
) |
Construct a Raise node.
dbgi | A pointer to debug information. |
block | The IR block the node belongs to. |
irn_mem | mem |
irn_exo_ptr | exo_ptr |
Definition at line 2138 of file gen_irnode.c.
References get_irn_irg(), mode_T, new_ir_node(), op_Raise, optimize_node(), and verify_new_node().
Referenced by new_d_Raise(), and new_r_Raise().
Sets exo_ptr input of a Raise node.
Definition at line 2186 of file gen_irnode.c.
Sets mem input of a Raise node.
Definition at line 2176 of file gen_irnode.c.
ir_op* op_Raise |
Raise opcode.
Definition at line 3261 of file nodes.h.
Referenced by get_op_Raise(), and new_rd_Raise().