libFirm 1.20
Dummy node

A placeholder value. More...

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

ir_op* get_op_Dummy ( void  )

Returns opcode for Dummy nodes.

int is_Dummy ( const ir_node node)

Test if node is a Dummy.

Returns:
1 if the node is a Dummy node, 0 otherwise
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
ir_node* new_Dummy ( ir_mode mode)

Construct a Dummy node.

Parameters:
modemode of the operations result
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
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

Dummy opcode.

Definition at line 199 of file opcodes.h.