libFirm
Loading...
Searching...
No Matches
Unknown node

Functions

ir_nodenew_rd_Unknown (dbg_info *dbgi, ir_graph *irg, ir_mode *mode)
 Construct an Unknown node.
 
ir_nodenew_r_Unknown (ir_graph *irg, ir_mode *mode)
 Construct an Unknown node.
 
ir_nodenew_d_Unknown (dbg_info *dbgi, ir_mode *mode)
 Construct an Unknown node.
 
ir_nodenew_Unknown (ir_mode *mode)
 Construct an Unknown node.
 
int is_Unknown (const ir_node *node)
 Test if node is a Unknown.
 
ir_opget_op_Unknown (void)
 Returns opcode for Unknown nodes.
 

Variables

ir_opop_Unknown
 Unknown opcode.
 

Detailed Description

Returns an unknown (at compile- and runtime) value. It is a valid optimization to replace an Unknown by any other constant value.

Be careful when optimising Unknown values, you cannot simply replace Unknown+x or Unknown<x with a new Unknown node if there are multiple users of the original unknown node!

Function Documentation

◆ get_op_Unknown()

ir_op * get_op_Unknown ( void )

Returns opcode for Unknown nodes.

◆ is_Unknown()

int is_Unknown ( const ir_node * node)

Test if node is a Unknown.

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

◆ new_d_Unknown()

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

Construct an Unknown node.

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

◆ new_r_Unknown()

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

Construct an Unknown node.

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

◆ new_rd_Unknown()

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

Construct an Unknown node.

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

◆ new_Unknown()

ir_node * new_Unknown ( ir_mode * mode)

Construct an Unknown node.

Parameters
modemode of the operations result

Variable Documentation

◆ op_Unknown

ir_op* op_Unknown

Unknown opcode.

Definition at line 4296 of file nodes.h.