libFirm

Pin the value of the node node in the current block. More...

Enumerations

enum  n_Pin { n_Pin_op, n_Pin_max = n_Pin_op }
 Input numbers for Pin node. More...
 

Functions

ir_nodenew_rd_Pin (dbg_info *dbgi, ir_node *block, ir_node *irn_op)
 Construct a Pin node. More...
 
ir_nodenew_r_Pin (ir_node *block, ir_node *irn_op)
 Construct a Pin node. More...
 
ir_nodenew_d_Pin (dbg_info *dbgi, ir_node *irn_op)
 Construct a Pin node. More...
 
ir_nodenew_Pin (ir_node *irn_op)
 Construct a Pin node. More...
 
int is_Pin (const ir_node *node)
 Test if node is a Pin. More...
 
ir_nodeget_Pin_op (const ir_node *node)
 Returns op input of a Pin node. More...
 
void set_Pin_op (ir_node *node, ir_node *op)
 Sets op input of a Pin node. More...
 
ir_opget_op_Pin (void)
 Returns opcode for Pin nodes. More...
 

Variables

ir_opop_Pin
 Pin opcode. More...
 

Detailed Description

Pin the value of the node node in the current block.

No users of the Pin node can float above the Block of the Pin. The node cannot float behind this block. Often used to Pin the NoMem node.

Enumeration Type Documentation

enum n_Pin

Input numbers for Pin node.

Enumerator
n_Pin_op 

value which is pinned

n_Pin_max 

Definition at line 3013 of file nodes.h.

Function Documentation

ir_op* get_op_Pin ( void  )

Returns opcode for Pin nodes.

ir_node* get_Pin_op ( const ir_node node)

Returns op input of a Pin node.

int is_Pin ( const ir_node node)

Test if node is a Pin.

Returns
1 if the node is a Pin node, 0 otherwise
ir_node* new_d_Pin ( dbg_info dbgi,
ir_node irn_op 
)

Construct a Pin node.

Parameters
dbgiA pointer to debug information.
irn_opop
ir_node* new_Pin ( ir_node irn_op)

Construct a Pin node.

Parameters
irn_opop
ir_node* new_r_Pin ( ir_node block,
ir_node irn_op 
)

Construct a Pin node.

Parameters
blockThe IR block the node belongs to.
irn_opop
ir_node* new_rd_Pin ( dbg_info dbgi,
ir_node block,
ir_node irn_op 
)

Construct a Pin node.

Parameters
dbgiA pointer to debug information.
blockThe IR block the node belongs to.
irn_opop
void set_Pin_op ( ir_node node,
ir_node op 
)

Sets op input of a Pin node.

Variable Documentation

ir_op* op_Pin

Pin opcode.

Definition at line 3061 of file nodes.h.