libFirm
Loading...
Searching...
No Matches
Minus node

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)
 Construct a Minus node.
 
ir_nodenew_r_Minus (ir_node *block, ir_node *irn_op)
 Construct a Minus node.
 
ir_nodenew_d_Minus (dbg_info *dbgi, ir_node *irn_op)
 Construct a Minus node.
 
ir_nodenew_Minus (ir_node *irn_op)
 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 additive inverse of its operand

Enumeration Type Documentation

◆ n_Minus

enum n_Minus

Input numbers for Minus node.

Enumerator
n_Minus_op 

operand

n_Minus_max 

Definition at line 2344 of file nodes.h.

Function Documentation

◆ get_Minus_op()

ir_node * get_Minus_op ( const ir_node * node)

Returns op input of a Minus node.

◆ get_op_Minus()

ir_op * get_op_Minus ( void )

Returns opcode for Minus nodes.

◆ is_Minus()

int is_Minus ( const ir_node * node)

Test if node is a Minus.

Returns
1 if the node is a Minus node, 0 otherwise

◆ new_d_Minus()

ir_node * new_d_Minus ( dbg_info * dbgi,
ir_node * irn_op )

Construct a Minus node.

Parameters
dbgiA pointer to debug information.
irn_opop

◆ new_Minus()

ir_node * new_Minus ( ir_node * irn_op)

Construct a Minus node.

Parameters
irn_opop

◆ new_r_Minus()

ir_node * new_r_Minus ( ir_node * block,
ir_node * irn_op )

Construct a Minus node.

Parameters
blockThe IR block the node belongs to.
irn_opop

◆ new_rd_Minus()

ir_node * new_rd_Minus ( dbg_info * dbgi,
ir_node * block,
ir_node * irn_op )

Construct a Minus node.

Parameters
dbgiA pointer to debug information.
blockThe IR block the node belongs to.
irn_opop

◆ set_Minus_op()

void set_Minus_op ( ir_node * node,
ir_node * op )

Sets op input of a Minus node.

Variable Documentation

◆ op_Minus

ir_op* op_Minus

Minus opcode.

Definition at line 2392 of file nodes.h.