libFirm 1.20
Minus node

returns the difference between its operands More...

Enumerations

enum  n_Minus { n_Minus_op, n_Minus_max = n_Minus_op }
 Input numbers for Minus node. More...

Functions

ir_nodenew_rd_Minus (dbg_info *dbgi, ir_node *block, ir_node *irn_op, ir_mode *mode)
 Construct a Minus node.
ir_nodenew_r_Minus (ir_node *block, ir_node *irn_op, ir_mode *mode)
 Construct a Minus node.
ir_nodenew_d_Minus (dbg_info *dbgi, ir_node *irn_op, ir_mode *mode)
 Construct a Minus node.
ir_nodenew_Minus (ir_node *irn_op, ir_mode *mode)
 Construct a Minus node.
int is_Minus (const ir_node *node)
 Test if node is a Minus.
ir_nodeget_Minus_op (const ir_node *node)
 Returns op input of a Minus node.
void set_Minus_op (ir_node *node, ir_node *op)
 Sets op input of a Minus node.
ir_opget_op_Minus (void)
 Returns opcode for Minus nodes.

Variables

ir_opop_Minus
 Minus opcode.

Detailed Description

returns the difference between its operands


Enumeration Type Documentation

enum n_Minus

Input numbers for Minus node.

Definition at line 2139 of file nodeops.h.


Function Documentation

ir_node* get_Minus_op ( const ir_node node)

Returns op input of a Minus node.

ir_op* get_op_Minus ( void  )

Returns opcode for Minus nodes.

int is_Minus ( const ir_node node)

Test if node is a Minus.

Returns:
1 if the node is a Minus node, 0 otherwise
ir_node* new_d_Minus ( dbg_info dbgi,
ir_node irn_op,
ir_mode mode 
)

Construct a Minus node.

Parameters:
dbgiA pointer to debug information.
irn_opoperand
modemode of the operations result
ir_node* new_Minus ( ir_node irn_op,
ir_mode mode 
)

Construct a Minus node.

Parameters:
irn_opoperand
modemode of the operations result
ir_node* new_r_Minus ( ir_node block,
ir_node irn_op,
ir_mode mode 
)

Construct a Minus node.

Parameters:
blockThe IR block the node belongs to.
irn_opoperand
modemode of the operations result
ir_node* new_rd_Minus ( dbg_info dbgi,
ir_node block,
ir_node irn_op,
ir_mode mode 
)

Construct a Minus node.

Parameters:
dbgiA pointer to debug information.
blockThe IR block the node belongs to.
irn_opoperand
modemode of the operations result
void set_Minus_op ( ir_node node,
ir_node op 
)

Sets op input of a Minus node.


Variable Documentation

Minus opcode.

Definition at line 244 of file opcodes.h.