libFirm 1.20
Mulh node

returns the upper word of the product of its operands (the part which would not fit into the result mode of a normal Mul anymore) More...

Enumerations

enum  n_Mulh { n_Mulh_left, n_Mulh_right, n_Mulh_max = n_Mulh_right }
 Input numbers for Mulh node. More...

Functions

ir_nodenew_rd_Mulh (dbg_info *dbgi, ir_node *block, ir_node *irn_left, ir_node *irn_right, ir_mode *mode)
 Construct a Mulh node.
ir_nodenew_r_Mulh (ir_node *block, ir_node *irn_left, ir_node *irn_right, ir_mode *mode)
 Construct a Mulh node.
ir_nodenew_d_Mulh (dbg_info *dbgi, ir_node *irn_left, ir_node *irn_right, ir_mode *mode)
 Construct a Mulh node.
ir_nodenew_Mulh (ir_node *irn_left, ir_node *irn_right, ir_mode *mode)
 Construct a Mulh node.
int is_Mulh (const ir_node *node)
 Test if node is a Mulh.
ir_nodeget_Mulh_left (const ir_node *node)
 Returns left input of a Mulh node.
void set_Mulh_left (ir_node *node, ir_node *left)
 Sets left input of a Mulh node.
ir_nodeget_Mulh_right (const ir_node *node)
 Returns right input of a Mulh node.
void set_Mulh_right (ir_node *node, ir_node *right)
 Sets right input of a Mulh node.
ir_opget_op_Mulh (void)
 Returns opcode for Mulh nodes.

Variables

ir_opop_Mulh
 Mulh opcode.

Detailed Description

returns the upper word of the product of its operands (the part which would not fit into the result mode of a normal Mul anymore)


Enumeration Type Documentation

enum n_Mulh

Input numbers for Mulh node.

Definition at line 2382 of file nodeops.h.


Function Documentation

ir_node* get_Mulh_left ( const ir_node node)

Returns left input of a Mulh node.

ir_node* get_Mulh_right ( const ir_node node)

Returns right input of a Mulh node.

ir_op* get_op_Mulh ( void  )

Returns opcode for Mulh nodes.

int is_Mulh ( const ir_node node)

Test if node is a Mulh.

Returns:
1 if the node is a Mulh node, 0 otherwise
ir_node* new_d_Mulh ( dbg_info dbgi,
ir_node irn_left,
ir_node irn_right,
ir_mode mode 
)

Construct a Mulh node.

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

Construct a Mulh node.

Parameters:
irn_leftfirst operand
irn_rightsecond operand
modemode of the operations result
ir_node* new_r_Mulh ( ir_node block,
ir_node irn_left,
ir_node irn_right,
ir_mode mode 
)

Construct a Mulh node.

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

Construct a Mulh 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_Mulh_left ( ir_node node,
ir_node left 
)

Sets left input of a Mulh node.

void set_Mulh_right ( ir_node node,
ir_node right 
)

Sets right input of a Mulh node.


Variable Documentation

Mulh opcode.

Definition at line 259 of file opcodes.h.