libFirm

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

◆ n_Id

enum n_Id

Input numbers for Id node.

Enumerator
n_Id_pred 

the value which is returned unchanged

n_Id_max 

Definition at line 2067 of file nodes.h.

Function Documentation

◆ get_Id_pred()

ir_node* get_Id_pred ( const ir_node node)

Returns pred input of an Id node.

◆ get_op_Id()

ir_op* get_op_Id ( void  )

Returns opcode for Id nodes.

◆ is_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

◆ set_Id_pred()

void set_Id_pred ( ir_node node,
ir_node pred 
)

Sets pred input of an Id node.

Variable Documentation

◆ op_Id

ir_op* op_Id

Id opcode.

Definition at line 2084 of file nodes.h.