libFirm
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
IJmp node

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 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 1943 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 1327 of file gen_irnode.c.

ir_op* get_op_IJmp ( void  )

Returns opcode for IJmp nodes.

Definition at line 1337 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 3209 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 1315 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 1322 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 1310 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 1295 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 1332 of file gen_irnode.c.

Variable Documentation

ir_op* op_IJmp

IJmp opcode.

Definition at line 1991 of file nodes.h.

Referenced by get_op_IJmp(), and new_rd_IJmp().