libFirm
Loading...
Searching...
No Matches
Dummy node

Functions

ir_nodenew_rd_Dummy (dbg_info *dbgi, ir_graph *irg, ir_mode *mode)
 Construct a Dummy node.
 
ir_nodenew_r_Dummy (ir_graph *irg, ir_mode *mode)
 Construct a Dummy node.
 
ir_nodenew_d_Dummy (dbg_info *dbgi, ir_mode *mode)
 Construct a Dummy node.
 
ir_nodenew_Dummy (ir_mode *mode)
 Construct a Dummy node.
 
int is_Dummy (const ir_node *node)
 Test if node is a Dummy.
 
ir_opget_op_Dummy (void)
 Returns opcode for Dummy nodes.
 

Variables

ir_opop_Dummy
 Dummy opcode.
 

Detailed Description

A placeholder value. This is used when constructing cyclic graphs where you have cases where not all predecessors of a phi-node are known. Dummy nodes are used for the unknown predecessors and replaced later.

Function Documentation

◆ get_op_Dummy()

ir_op * get_op_Dummy ( void )

Returns opcode for Dummy nodes.

◆ is_Dummy()

int is_Dummy ( const ir_node * node)

Test if node is a Dummy.

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

◆ new_d_Dummy()

ir_node * new_d_Dummy ( dbg_info * dbgi,
ir_mode * mode )

Construct a Dummy node.

Parameters
dbgiA pointer to debug information.
modemode of the operations result

◆ new_Dummy()

ir_node * new_Dummy ( ir_mode * mode)

Construct a Dummy node.

Parameters
modemode of the operations result

◆ new_r_Dummy()

ir_node * new_r_Dummy ( ir_graph * irg,
ir_mode * mode )

Construct a Dummy node.

Parameters
irgThe IR graph the node belongs to.
modemode of the operations result

◆ new_rd_Dummy()

ir_node * new_rd_Dummy ( dbg_info * dbgi,
ir_graph * irg,
ir_mode * mode )

Construct a Dummy node.

Parameters
dbgiA pointer to debug information.
irgThe IR graph the node belongs to.
modemode of the operations result

Variable Documentation

◆ op_Dummy

ir_op* op_Dummy

Dummy opcode.

Definition at line 1764 of file nodes.h.