libFirm 1.20
Borrow node

Returns the borrow bit from and implied subtractions of its 2 operands. More...

Enumerations

enum  n_Borrow { n_Borrow_left, n_Borrow_right, n_Borrow_max = n_Borrow_right }
 Input numbers for Borrow node. More...

Functions

ir_nodenew_rd_Borrow (dbg_info *dbgi, ir_node *block, ir_node *irn_left, ir_node *irn_right, ir_mode *mode)
 Construct a Borrow node.
ir_nodenew_r_Borrow (ir_node *block, ir_node *irn_left, ir_node *irn_right, ir_mode *mode)
 Construct a Borrow node.
ir_nodenew_d_Borrow (dbg_info *dbgi, ir_node *irn_left, ir_node *irn_right, ir_mode *mode)
 Construct a Borrow node.
ir_nodenew_Borrow (ir_node *irn_left, ir_node *irn_right, ir_mode *mode)
 Construct a Borrow node.
int is_Borrow (const ir_node *node)
 Test if node is a Borrow.
ir_nodeget_Borrow_left (const ir_node *node)
 Returns left input of a Borrow node.
void set_Borrow_left (ir_node *node, ir_node *left)
 Sets left input of a Borrow node.
ir_nodeget_Borrow_right (const ir_node *node)
 Returns right input of a Borrow node.
void set_Borrow_right (ir_node *node, ir_node *right)
 Sets right input of a Borrow node.
ir_opget_op_Borrow (void)
 Returns opcode for Borrow nodes.

Variables

ir_opop_Borrow
 Borrow opcode.

Detailed Description

Returns the borrow bit from and implied subtractions of its 2 operands.


Enumeration Type Documentation

enum n_Borrow

Input numbers for Borrow node.

Definition at line 449 of file nodeops.h.


Function Documentation

ir_node* get_Borrow_left ( const ir_node node)

Returns left input of a Borrow node.

ir_node* get_Borrow_right ( const ir_node node)

Returns right input of a Borrow node.

ir_op* get_op_Borrow ( void  )

Returns opcode for Borrow nodes.

int is_Borrow ( const ir_node node)

Test if node is a Borrow.

Returns:
1 if the node is a Borrow node, 0 otherwise
ir_node* new_Borrow ( ir_node irn_left,
ir_node irn_right,
ir_mode mode 
)

Construct a Borrow node.

Parameters:
irn_leftfirst operand
irn_rightsecond operand
modemode of the operations result
ir_node* new_d_Borrow ( dbg_info dbgi,
ir_node irn_left,
ir_node irn_right,
ir_mode mode 
)

Construct a Borrow node.

Parameters:
dbgiA pointer to debug information.
irn_leftfirst operand
irn_rightsecond operand
modemode of the operations result
ir_node* new_r_Borrow ( ir_node block,
ir_node irn_left,
ir_node irn_right,
ir_mode mode 
)

Construct a Borrow node.

Parameters:
blockThe IR block the node belongs to.
irn_leftfirst operand
irn_rightsecond operand
modemode of the operations result
ir_node* new_rd_Borrow ( dbg_info dbgi,
ir_node block,
ir_node irn_left,
ir_node irn_right,
ir_mode mode 
)

Construct a Borrow node.

Parameters:
dbgiA pointer to debug information.
blockThe IR block the node belongs to.
irn_leftfirst operand
irn_rightsecond operand
modemode of the operations result
void set_Borrow_left ( ir_node node,
ir_node left 
)

Sets left input of a Borrow node.

void set_Borrow_right ( ir_node node,
ir_node right 
)

Sets right input of a Borrow node.


Variable Documentation

Borrow opcode.

Definition at line 129 of file opcodes.h.