libFirm

returns the difference of its operands More...

Enumerations

enum  n_Sub { n_Sub_left, n_Sub_right, n_Sub_max = n_Sub_right }
 Input numbers for Sub node. More...
 

Functions

ir_nodenew_rd_Sub (dbg_info *dbgi, ir_node *block, ir_node *irn_left, ir_node *irn_right)
 Construct a Sub node. More...
 
ir_nodenew_r_Sub (ir_node *block, ir_node *irn_left, ir_node *irn_right)
 Construct a Sub node. More...
 
ir_nodenew_d_Sub (dbg_info *dbgi, ir_node *irn_left, ir_node *irn_right)
 Construct a Sub node. More...
 
ir_nodenew_Sub (ir_node *irn_left, ir_node *irn_right)
 Construct a Sub node. More...
 
int is_Sub (const ir_node *node)
 Test if node is a Sub. More...
 
ir_nodeget_Sub_left (const ir_node *node)
 Returns left input of a Sub node. More...
 
void set_Sub_left (ir_node *node, ir_node *left)
 Sets left input of a Sub node. More...
 
ir_nodeget_Sub_right (const ir_node *node)
 Returns right input of a Sub node. More...
 
void set_Sub_right (ir_node *node, ir_node *right)
 Sets right input of a Sub node. More...
 
ir_opget_op_Sub (void)
 Returns opcode for Sub nodes. More...
 

Variables

ir_opop_Sub
 Sub opcode. More...
 

Detailed Description

returns the difference of its operands

Enumeration Type Documentation

enum n_Sub

Input numbers for Sub node.

Enumerator
n_Sub_left 

first operand

n_Sub_right 

second operand

n_Sub_max 

Definition at line 3879 of file nodes.h.

Function Documentation

ir_op* get_op_Sub ( void  )

Returns opcode for Sub nodes.

ir_node* get_Sub_left ( const ir_node node)

Returns left input of a Sub node.

ir_node* get_Sub_right ( const ir_node node)

Returns right input of a Sub node.

int is_Sub ( const ir_node node)

Test if node is a Sub.

Returns
1 if the node is a Sub node, 0 otherwise
ir_node* new_d_Sub ( dbg_info dbgi,
ir_node irn_left,
ir_node irn_right 
)

Construct a Sub node.

Parameters
dbgiA pointer to debug information.
irn_leftleft
irn_rightright
ir_node* new_r_Sub ( ir_node block,
ir_node irn_left,
ir_node irn_right 
)

Construct a Sub node.

Parameters
blockThe IR block the node belongs to.
irn_leftleft
irn_rightright
ir_node* new_rd_Sub ( dbg_info dbgi,
ir_node block,
ir_node irn_left,
ir_node irn_right 
)

Construct a Sub node.

Parameters
dbgiA pointer to debug information.
blockThe IR block the node belongs to.
irn_leftleft
irn_rightright
ir_node* new_Sub ( ir_node irn_left,
ir_node irn_right 
)

Construct a Sub node.

Parameters
irn_leftleft
irn_rightright
void set_Sub_left ( ir_node node,
ir_node left 
)

Sets left input of a Sub node.

void set_Sub_right ( ir_node node,
ir_node right 
)

Sets right input of a Sub node.

Variable Documentation

ir_op* op_Sub

Sub opcode.

Definition at line 3936 of file nodes.h.