libFirm
Id node

Returns its operand unchanged. More...

Enumerations

enum  n_Id { n_Id_pred, n_Id_max = n_Id_pred }
 Input numbers for Id node. More...

Functions

ir_nodenew_rd_Id (dbg_info *dbgi, ir_node *block, ir_node *irn_pred, ir_mode *mode)
 Construct an Id node.
ir_nodenew_r_Id (ir_node *block, ir_node *irn_pred, ir_mode *mode)
 Construct an Id node.
ir_nodenew_d_Id (dbg_info *dbgi, ir_node *irn_pred, ir_mode *mode)
 Construct an Id node.
ir_nodenew_Id (ir_node *irn_pred, ir_mode *mode)
 Construct an Id node.
int is_Id (const ir_node *node)
 Test if node is a Id.
ir_nodeget_Id_pred (const ir_node *node)
 Returns pred input of an Id node.
void set_Id_pred (ir_node *node, ir_node *pred)
 Sets pred input of an Id node.
ir_opget_op_Id (void)
 Returns opcode for Id nodes.

Variables

ir_opop_Id
 Id opcode.

Detailed Description

Returns its operand unchanged.

This is mainly used when exchanging nodes. Usually you shouldn't see Id nodes since the getters/setters for node inputs skip them automatically.

Enumeration Type Documentation

enum n_Id

Input numbers for Id node.

Definition at line 1868 of file nodeops.h.

Function Documentation

ir_node* get_Id_pred ( const ir_node node)

Returns pred input of an Id node.

ir_op* get_op_Id ( void  )

Returns opcode for Id nodes.

int is_Id ( const ir_node node)

Test if node is a Id.

Returns
1 if the node is a Id node, 0 otherwise
ir_node* new_d_Id ( dbg_info dbgi,
ir_node irn_pred,
ir_mode mode 
)

Construct an Id node.

Parameters
dbgiA pointer to debug information.
irn_predthe value which is returned unchanged
modemode of the operations result
ir_node* new_Id ( ir_node irn_pred,
ir_mode mode 
)

Construct an Id node.

Parameters
irn_predthe value which is returned unchanged
modemode of the operations result
ir_node* new_r_Id ( ir_node block,
ir_node irn_pred,
ir_mode mode 
)

Construct an Id node.

Parameters
blockThe IR block the node belongs to.
irn_predthe value which is returned unchanged
modemode of the operations result
ir_node* new_rd_Id ( dbg_info dbgi,
ir_node block,
ir_node irn_pred,
ir_mode mode 
)

Construct an Id node.

Parameters
dbgiA pointer to debug information.
blockThe IR block the node belongs to.
irn_predthe value which is returned unchanged
modemode of the operations result
void set_Id_pred ( ir_node node,
ir_node pred 
)

Sets pred input of an Id node.

Variable Documentation

ir_op* op_Id

Id opcode.

Definition at line 223 of file opcodes.h.