libFirm 1.20
|
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. | |
ir_node * | new_r_Raise (ir_node *block, ir_node *irn_mem, ir_node *irn_exo_ptr) |
Construct a Raise node. | |
ir_node * | new_d_Raise (dbg_info *dbgi, ir_node *irn_mem, ir_node *irn_exo_ptr) |
Construct a Raise node. | |
ir_node * | new_Raise (ir_node *irn_mem, ir_node *irn_exo_ptr) |
Construct a Raise node. | |
int | is_Raise (const ir_node *node) |
Test if node is a Raise. | |
ir_node * | get_Raise_mem (const ir_node *node) |
Returns mem input of a Raise node. | |
void | set_Raise_mem (ir_node *node, ir_node *mem) |
Sets mem input of a Raise node. | |
ir_node * | get_Raise_exo_ptr (const ir_node *node) |
Returns exo_ptr input of a Raise node. | |
void | set_Raise_exo_ptr (ir_node *node, ir_node *exo_ptr) |
Sets exo_ptr input of a Raise node. | |
ir_op * | get_op_Raise (void) |
Returns opcode for Raise nodes. | |
Variables | |
ir_op * | op_Raise |
Raise opcode. |
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 pn_Raise |
ir_op* get_op_Raise | ( | void | ) |
Returns opcode for Raise nodes.
int is_Raise | ( | const ir_node * | node | ) |
Test if node is a Raise.
Construct a Raise node.
dbgi | A pointer to debug information. |
irn_mem | memory dependency |
irn_exo_ptr | pointer to exception object to be thrown |
Construct a Raise node.
block | The IR block the node belongs to. |
irn_mem | memory dependency |
irn_exo_ptr | pointer to exception object to be thrown |
Construct a Raise node.
irn_mem | memory dependency |
irn_exo_ptr | pointer to exception object to be thrown |
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 | memory dependency |
irn_exo_ptr | pointer to exception object to be thrown |