libFirm
Loading...
Searching...
No Matches

Enumerations

enum  n_Mul { n_Mul_left , n_Mul_right , n_Mul_max = n_Mul_right }
 Input numbers for Mul node. More...
 

Functions

ir_nodenew_rd_Mul (dbg_info *dbgi, ir_node *block, ir_node *irn_left, ir_node *irn_right)
 Construct a Mul node.
 
ir_nodenew_r_Mul (ir_node *block, ir_node *irn_left, ir_node *irn_right)
 Construct a Mul node.
 
ir_nodenew_d_Mul (dbg_info *dbgi, ir_node *irn_left, ir_node *irn_right)
 Construct a Mul node.
 
ir_nodenew_Mul (ir_node *irn_left, ir_node *irn_right)
 Construct a Mul node.
 
int is_Mul (const ir_node *node)
 Test if node is a Mul.
 
ir_nodeget_Mul_left (const ir_node *node)
 Returns left input of a Mul node.
 
void set_Mul_left (ir_node *node, ir_node *left)
 Sets left input of a Mul node.
 
ir_nodeget_Mul_right (const ir_node *node)
 Returns right input of a Mul node.
 
void set_Mul_right (ir_node *node, ir_node *right)
 Sets right input of a Mul node.
 
ir_opget_op_Mul (void)
 Returns opcode for Mul nodes.
 

Variables

ir_opop_Mul
 Mul opcode.
 

Detailed Description

returns the product of its operands

Enumeration Type Documentation

◆ n_Mul

enum n_Mul

Input numbers for Mul node.

Enumerator
n_Mul_left 

first operand

n_Mul_right 

second operand

n_Mul_max 

Definition at line 2519 of file nodes.h.

Function Documentation

◆ get_Mul_left()

ir_node * get_Mul_left ( const ir_node * node)

Returns left input of a Mul node.

◆ get_Mul_right()

ir_node * get_Mul_right ( const ir_node * node)

Returns right input of a Mul node.

◆ get_op_Mul()

ir_op * get_op_Mul ( void )

Returns opcode for Mul nodes.

◆ is_Mul()

int is_Mul ( const ir_node * node)

Test if node is a Mul.

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

◆ new_d_Mul()

ir_node * new_d_Mul ( dbg_info * dbgi,
ir_node * irn_left,
ir_node * irn_right )

Construct a Mul node.

Parameters
dbgiA pointer to debug information.
irn_leftleft
irn_rightright

◆ new_Mul()

ir_node * new_Mul ( ir_node * irn_left,
ir_node * irn_right )

Construct a Mul node.

Parameters
irn_leftleft
irn_rightright

◆ new_r_Mul()

ir_node * new_r_Mul ( ir_node * block,
ir_node * irn_left,
ir_node * irn_right )

Construct a Mul node.

Parameters
blockThe IR block the node belongs to.
irn_leftleft
irn_rightright

◆ new_rd_Mul()

ir_node * new_rd_Mul ( dbg_info * dbgi,
ir_node * block,
ir_node * irn_left,
ir_node * irn_right )

Construct a Mul node.

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

◆ set_Mul_left()

void set_Mul_left ( ir_node * node,
ir_node * left )

Sets left input of a Mul node.

◆ set_Mul_right()

void set_Mul_right ( ir_node * node,
ir_node * right )

Sets right input of a Mul node.

Variable Documentation

◆ op_Mul

ir_op* op_Mul

Mul opcode.

Definition at line 2576 of file nodes.h.