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.
|
Detailed Description
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.
Enumeration Type Documentation
Input numbers for Raise node.
Definition at line 2924 of file nodeops.h.
Projection numbers for result of Raise node (use for Proj nodes)
- Enumerator:
pn_Raise_M |
memory result
|
pn_Raise_X |
control flow to exception handler
|
Definition at line 2934 of file nodeops.h.
Function Documentation
ir_op* get_op_Raise |
( |
void |
| ) |
|
Returns opcode for Raise nodes.
Returns exo_ptr input of a Raise node.
Returns mem input of a Raise node.
int is_Raise |
( |
const ir_node * |
node | ) |
|
Test if node is a Raise.
- Returns
- 1 if the node is a Raise node, 0 otherwise
Construct a Raise node.
- Parameters
-
dbgi | A pointer to debug information. |
irn_mem | memory dependency |
irn_exo_ptr | pointer to exception object to be thrown |
Construct a Raise node.
- Parameters
-
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.
- Parameters
-
irn_mem | memory dependency |
irn_exo_ptr | pointer to exception object to be thrown |
Construct a Raise node.
- Parameters
-
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 |
Sets exo_ptr input of a Raise node.
Sets mem input of a Raise node.
Variable Documentation