libFirm

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)
 Construct an Eor node. More...
 
ir_nodenew_r_Eor (ir_node *block, ir_node *irn_left, ir_node *irn_right)
 Construct an Eor node. More...
 
ir_nodenew_d_Eor (dbg_info *dbgi, ir_node *irn_left, ir_node *irn_right)
 Construct an Eor node. More...
 
ir_nodenew_Eor (ir_node *irn_left, ir_node *irn_right)
 Construct an Eor node. More...
 
int is_Eor (const ir_node *node)
 Test if node is a Eor. More...
 
ir_nodeget_Eor_left (const ir_node *node)
 Returns left input of an Eor node. More...
 
void set_Eor_left (ir_node *node, ir_node *left)
 Sets left input of an Eor node. More...
 
ir_nodeget_Eor_right (const ir_node *node)
 Returns right input of an Eor node. More...
 
void set_Eor_right (ir_node *node, ir_node *right)
 Sets right input of an Eor node. More...
 
ir_opget_op_Eor (void)
 Returns opcode for Eor nodes. More...
 

Variables

ir_opop_Eor
 Eor opcode. More...
 

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.

Enumerator
n_Eor_left 

first operand

n_Eor_right 

second operand

n_Eor_max 

Definition at line 1778 of file nodes.h.

Function Documentation

ir_node* get_Eor_left ( const ir_node node)

Returns left input of an Eor node.

Definition at line 1213 of file gen_irnode.c.

ir_node* get_Eor_right ( const ir_node node)

Returns right input of an Eor node.

Definition at line 1223 of file gen_irnode.c.

ir_op* get_op_Eor ( void  )

Returns opcode for Eor nodes.

Definition at line 1233 of file gen_irnode.c.

References op_Eor.

int is_Eor ( const ir_node node)

Test if node is a Eor.

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

Definition at line 3200 of file gen_irnode.c.

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

Construct an Eor node.

Parameters
dbgiA pointer to debug information.
irn_leftleft
irn_rightright

Definition at line 1201 of file gen_irnode.c.

References current_ir_graph, get_cur_block(), IR_GRAPH_CONSTRAINT_CONSTRUCTION, irg_is_constrained(), and new_rd_Eor().

Referenced by new_Eor().

ir_node* new_Eor ( ir_node irn_left,
ir_node irn_right 
)

Construct an Eor node.

Parameters
irn_leftleft
irn_rightright

Definition at line 1208 of file gen_irnode.c.

References new_d_Eor().

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

Construct an Eor node.

Parameters
blockThe IR block the node belongs to.
irn_leftleft
irn_rightright

Definition at line 1196 of file gen_irnode.c.

References new_rd_Eor().

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

Construct an Eor node.

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

Definition at line 1180 of file gen_irnode.c.

References get_irn_irg(), get_irn_mode(), new_ir_node(), op_Eor, optimize_node(), and verify_new_node().

Referenced by new_d_Eor(), and new_r_Eor().

void set_Eor_left ( ir_node node,
ir_node left 
)

Sets left input of an Eor node.

Definition at line 1218 of file gen_irnode.c.

void set_Eor_right ( ir_node node,
ir_node right 
)

Sets right input of an Eor node.

Definition at line 1228 of file gen_irnode.c.

References op_Eor.

Variable Documentation

ir_op* op_Eor

Eor opcode.

Definition at line 1835 of file nodes.h.

Referenced by get_op_Eor(), new_rd_Eor(), set_Eor_right(), and set_typeconst_type().