libFirm
Loading...
Searching...
No Matches

Enumerations

enum  n_And { n_And_left , n_And_right , n_And_max = n_And_right }
 Input numbers for And node. More...
 

Functions

ir_nodenew_rd_And (dbg_info *dbgi, ir_node *block, ir_node *irn_left, ir_node *irn_right)
 Construct an And node.
 
ir_nodenew_r_And (ir_node *block, ir_node *irn_left, ir_node *irn_right)
 Construct an And node.
 
ir_nodenew_d_And (dbg_info *dbgi, ir_node *irn_left, ir_node *irn_right)
 Construct an And node.
 
ir_nodenew_And (ir_node *irn_left, ir_node *irn_right)
 Construct an And node.
 
int is_And (const ir_node *node)
 Test if node is a And.
 
ir_nodeget_And_left (const ir_node *node)
 Returns left input of an And node.
 
void set_And_left (ir_node *node, ir_node *left)
 Sets left input of an And node.
 
ir_nodeget_And_right (const ir_node *node)
 Returns right input of an And node.
 
void set_And_right (ir_node *node, ir_node *right)
 Sets right input of an And node.
 
ir_opget_op_And (void)
 Returns opcode for And nodes.
 

Variables

ir_opop_And
 And opcode.
 

Detailed Description

returns the result of a bitwise and operation of its operands

Enumeration Type Documentation

◆ n_And

enum n_And

Input numbers for And node.

Enumerator
n_And_left 

first operand

n_And_right 

second operand

n_And_max 

Definition at line 607 of file nodes.h.

Function Documentation

◆ get_And_left()

ir_node * get_And_left ( const ir_node * node)

Returns left input of an And node.

◆ get_And_right()

ir_node * get_And_right ( const ir_node * node)

Returns right input of an And node.

◆ get_op_And()

ir_op * get_op_And ( void )

Returns opcode for And nodes.

◆ is_And()

int is_And ( const ir_node * node)

Test if node is a And.

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

◆ new_And()

ir_node * new_And ( ir_node * irn_left,
ir_node * irn_right )

Construct an And node.

Parameters
irn_leftleft
irn_rightright

◆ new_d_And()

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

Construct an And node.

Parameters
dbgiA pointer to debug information.
irn_leftleft
irn_rightright

◆ new_r_And()

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

Construct an And node.

Parameters
blockThe IR block the node belongs to.
irn_leftleft
irn_rightright

◆ new_rd_And()

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

Construct an And node.

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

◆ set_And_left()

void set_And_left ( ir_node * node,
ir_node * left )

Sets left input of an And node.

◆ set_And_right()

void set_And_right ( ir_node * node,
ir_node * right )

Sets right input of an And node.

Variable Documentation

◆ op_And

ir_op* op_And

And opcode.

Definition at line 664 of file nodes.h.