libFirm
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
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

int is_Id (const ir_node *node)
 Test if node is a Id. More...
 
ir_nodeget_Id_pred (const ir_node *node)
 Returns pred input of an Id node. More...
 
void set_Id_pred (ir_node *node, ir_node *pred)
 Sets pred input of an Id node. More...
 
ir_opget_op_Id (void)
 Returns opcode for Id nodes. More...
 

Variables

ir_opop_Id
 Id opcode. More...
 

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.

Enumerator
n_Id_pred 

the value which is returned unchanged

n_Id_max 

Definition at line 2011 of file nodes.h.

Function Documentation

ir_node* get_Id_pred ( const ir_node node)

Returns pred input of an Id node.

Definition at line 1342 of file gen_irnode.c.

ir_op* get_op_Id ( void  )

Returns opcode for Id nodes.

Definition at line 1352 of file gen_irnode.c.

References op_Id.

int is_Id ( const ir_node node)

Test if node is a Id.

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

Definition at line 3214 of file gen_irnode.c.

void set_Id_pred ( ir_node node,
ir_node pred 
)

Sets pred input of an Id node.

Definition at line 1347 of file gen_irnode.c.

Variable Documentation

ir_op* op_Id

Id opcode.

Definition at line 2028 of file nodes.h.

Referenced by get_op_Id().