libFirm

Jumps to the code in its argument. More...

Enumerations

enum  n_IJmp { n_IJmp_target, n_IJmp_max = n_IJmp_target }
 Input numbers for IJmp node. More...
 

Functions

ir_nodenew_rd_IJmp (dbg_info *dbgi, ir_node *block, ir_node *irn_target)
 Construct an IJmp node. More...
 
ir_nodenew_r_IJmp (ir_node *block, ir_node *irn_target)
 Construct an IJmp node. More...
 
ir_nodenew_d_IJmp (dbg_info *dbgi, ir_node *irn_target)
 Construct an IJmp node. More...
 
ir_nodenew_IJmp (ir_node *irn_target)
 Construct an IJmp node. More...
 
int is_IJmp (const ir_node *node)
 Test if node is a IJmp. More...
 
ir_nodeget_IJmp_target (const ir_node *node)
 Returns target input of an IJmp node. More...
 
void set_IJmp_target (ir_node *node, ir_node *target)
 Sets target input of an IJmp node. More...
 
ir_opget_op_IJmp (void)
 Returns opcode for IJmp nodes. More...
 

Variables

ir_opop_IJmp
 IJmp opcode. More...
 

Detailed Description

Jumps to the code in its argument.

The code has to be in the same function and the destination must be one of the blocks reachable by the tuple results

Enumeration Type Documentation

enum n_IJmp

Input numbers for IJmp node.

Enumerator
n_IJmp_target 

target address of the jump

n_IJmp_max 

Definition at line 1928 of file nodes.h.

Function Documentation

ir_node* get_IJmp_target ( const ir_node node)

Returns target input of an IJmp node.

Definition at line 1328 of file gen_irnode.c.

ir_op* get_op_IJmp ( void  )

Returns opcode for IJmp nodes.

Definition at line 1338 of file gen_irnode.c.

References op_IJmp.

int is_IJmp ( const ir_node node)

Test if node is a IJmp.

Returns
1 if the node is a IJmp node, 0 otherwise

Definition at line 3210 of file gen_irnode.c.

ir_node* new_d_IJmp ( dbg_info dbgi,
ir_node irn_target 
)

Construct an IJmp node.

Parameters
dbgiA pointer to debug information.
irn_targettarget

Definition at line 1316 of file gen_irnode.c.

References current_ir_graph, get_cur_block(), IR_GRAPH_CONSTRAINT_CONSTRUCTION, irg_is_constrained(), and new_rd_IJmp().

Referenced by new_IJmp().

ir_node* new_IJmp ( ir_node irn_target)

Construct an IJmp node.

Parameters
irn_targettarget

Definition at line 1323 of file gen_irnode.c.

References new_d_IJmp().

ir_node* new_r_IJmp ( ir_node block,
ir_node irn_target 
)

Construct an IJmp node.

Parameters
blockThe IR block the node belongs to.
irn_targettarget

Definition at line 1311 of file gen_irnode.c.

References new_rd_IJmp().

ir_node* new_rd_IJmp ( dbg_info dbgi,
ir_node block,
ir_node irn_target 
)

Construct an IJmp node.

Parameters
dbgiA pointer to debug information.
blockThe IR block the node belongs to.
irn_targettarget

Definition at line 1296 of file gen_irnode.c.

References get_irn_irg(), mode_X, new_ir_node(), op_IJmp, optimize_node(), and verify_new_node().

Referenced by new_d_IJmp(), and new_r_IJmp().

void set_IJmp_target ( ir_node node,
ir_node target 
)

Sets target input of an IJmp node.

Definition at line 1333 of file gen_irnode.c.

References op_IJmp.

Variable Documentation

ir_op* op_IJmp

IJmp opcode.

Definition at line 1976 of file nodes.h.

Referenced by get_op_IJmp(), new_rd_IJmp(), set_IJmp_target(), and set_typeconst_type().