libFirm 1.20
Eor node

returns the result of a bitwise exclusive or operation of its operands. More...

Enumerations

enum  n_Eor { n_Eor_left, n_Eor_right, n_Eor_max = n_Eor_right }
 Input numbers for Eor node. More...

Functions

ir_nodenew_rd_Eor (dbg_info *dbgi, ir_node *block, ir_node *irn_left, ir_node *irn_right, ir_mode *mode)
 Construct an Eor node.
ir_nodenew_r_Eor (ir_node *block, ir_node *irn_left, ir_node *irn_right, ir_mode *mode)
 Construct an Eor node.
ir_nodenew_d_Eor (dbg_info *dbgi, ir_node *irn_left, ir_node *irn_right, ir_mode *mode)
 Construct an Eor node.
ir_nodenew_Eor (ir_node *irn_left, ir_node *irn_right, ir_mode *mode)
 Construct an Eor node.
int is_Eor (const ir_node *node)
 Test if node is a Eor.
ir_nodeget_Eor_left (const ir_node *node)
 Returns left input of an Eor node.
void set_Eor_left (ir_node *node, ir_node *left)
 Sets left input of an Eor node.
ir_nodeget_Eor_right (const ir_node *node)
 Returns right input of an Eor node.
void set_Eor_right (ir_node *node, ir_node *right)
 Sets right input of an Eor node.
ir_opget_op_Eor (void)
 Returns opcode for Eor nodes.

Variables

ir_opop_Eor
 Eor opcode.

Detailed Description

returns the result of a bitwise exclusive or operation of its operands.

This is also known as the Xor operation.


Enumeration Type Documentation

enum n_Eor

Input numbers for Eor node.

Definition at line 1618 of file nodeops.h.


Function Documentation

ir_node* get_Eor_left ( const ir_node node)

Returns left input of an Eor node.

ir_node* get_Eor_right ( const ir_node node)

Returns right input of an Eor node.

ir_op* get_op_Eor ( void  )

Returns opcode for Eor nodes.

int is_Eor ( const ir_node node)

Test if node is a Eor.

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

Construct an Eor node.

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

Construct an Eor node.

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

Construct an Eor node.

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

Construct an Eor 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_Eor_left ( ir_node node,
ir_node left 
)

Sets left input of an Eor node.

void set_Eor_right ( ir_node node,
ir_node right 
)

Sets right input of an Eor node.


Variable Documentation

Eor opcode.

Definition at line 209 of file opcodes.h.