libFirm 1.20
Pin node

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_node * new_rd_Pin (dbg_info *dbgi, ir_node *block, ir_node *irn_op)
 Construct a Pin node.
ir_node * new_r_Pin (ir_node *block, ir_node *irn_op)
 Construct a Pin node.
ir_node * new_d_Pin (dbg_info *dbgi, ir_node *irn_op)
 Construct a Pin node.
ir_node * new_Pin (ir_node *irn_op)
 Construct a Pin node.
int is_Pin (const ir_node *node)
 Test if node is a Pin.
ir_node * get_Pin_op (const ir_node *node)
 Returns op input of a Pin node.
void set_Pin_op (ir_node *node, ir_node *op)
 Sets op input of a Pin node.
ir_op * get_op_Pin (void)
 Returns opcode for Pin nodes.

Variables

ir_op * op_Pin
 Pin opcode.

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.

Definition at line 2773 of file nodeops.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_opvalue which is pinned
ir_node* new_Pin ( ir_node *  irn_op)

Construct a Pin node.

Parameters:
irn_opvalue which is pinned
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_opvalue which is pinned
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_opvalue which is pinned
void set_Pin_op ( ir_node *  node,
ir_node *  op 
)

Sets op input of a Pin node.


Variable Documentation

Pin opcode.

Definition at line 289 of file opcodes.h.