libFirm
Or node

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

Enumerations

enum  n_Or { n_Or_left, n_Or_right, n_Or_max = n_Or_right }
 Input numbers for Or node. More...

Functions

ir_nodenew_rd_Or (dbg_info *dbgi, ir_node *block, ir_node *irn_left, ir_node *irn_right, ir_mode *mode)
 Construct an Or node.
ir_nodenew_r_Or (ir_node *block, ir_node *irn_left, ir_node *irn_right, ir_mode *mode)
 Construct an Or node.
ir_nodenew_d_Or (dbg_info *dbgi, ir_node *irn_left, ir_node *irn_right, ir_mode *mode)
 Construct an Or node.
ir_nodenew_Or (ir_node *irn_left, ir_node *irn_right, ir_mode *mode)
 Construct an Or node.
int is_Or (const ir_node *node)
 Test if node is a Or.
ir_nodeget_Or_left (const ir_node *node)
 Returns left input of an Or node.
void set_Or_left (ir_node *node, ir_node *left)
 Sets left input of an Or node.
ir_nodeget_Or_right (const ir_node *node)
 Returns right input of an Or node.
void set_Or_right (ir_node *node, ir_node *right)
 Sets right input of an Or node.
ir_opget_op_Or (void)
 Returns opcode for Or nodes.

Variables

ir_opop_Or
 Or opcode.

Detailed Description

returns the result of a bitwise or operation of its operands

Enumeration Type Documentation

enum n_Or

Input numbers for Or node.

Definition at line 2663 of file nodeops.h.

Function Documentation

ir_op* get_op_Or ( void  )

Returns opcode for Or nodes.

ir_node* get_Or_left ( const ir_node node)

Returns left input of an Or node.

ir_node* get_Or_right ( const ir_node node)

Returns right input of an Or node.

int is_Or ( const ir_node node)

Test if node is a Or.

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

Construct an Or node.

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

Construct an Or node.

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

Construct an Or node.

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

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

Sets left input of an Or node.

void set_Or_right ( ir_node node,
ir_node right 
)

Sets right input of an Or node.

Variable Documentation

ir_op* op_Or

Or opcode.

Definition at line 278 of file opcodes.h.