libFirm

returns the bitwise complement of a value. More...

Enumerations

enum  n_Not { n_Not_op, n_Not_max = n_Not_op }
 Input numbers for Not node. More...
 

Functions

ir_nodenew_rd_Not (dbg_info *dbgi, ir_node *block, ir_node *irn_op)
 Construct a Not node. More...
 
ir_nodenew_r_Not (ir_node *block, ir_node *irn_op)
 Construct a Not node. More...
 
ir_nodenew_d_Not (dbg_info *dbgi, ir_node *irn_op)
 Construct a Not node. More...
 
ir_nodenew_Not (ir_node *irn_op)
 Construct a Not node. More...
 
int is_Not (const ir_node *node)
 Test if node is a Not. More...
 
ir_nodeget_Not_op (const ir_node *node)
 Returns op input of a Not node. More...
 
void set_Not_op (ir_node *node, ir_node *op)
 Sets op input of a Not node. More...
 
ir_opget_op_Not (void)
 Returns opcode for Not nodes. More...
 

Variables

ir_opop_Not
 Not opcode. More...
 

Detailed Description

returns the bitwise complement of a value.

Works for boolean values, too.

Enumeration Type Documentation

◆ n_Not

enum n_Not

Input numbers for Not node.

Enumerator
n_Not_op 

operand

n_Not_max 

Definition at line 2801 of file nodes.h.

Function Documentation

◆ get_Not_op()

ir_node* get_Not_op ( const ir_node node)

Returns op input of a Not node.

◆ get_op_Not()

ir_op* get_op_Not ( void  )

Returns opcode for Not nodes.

◆ is_Not()

int is_Not ( const ir_node node)

Test if node is a Not.

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

◆ new_d_Not()

ir_node* new_d_Not ( dbg_info dbgi,
ir_node irn_op 
)

Construct a Not node.

Parameters
dbgiA pointer to debug information.
irn_opop

◆ new_Not()

ir_node* new_Not ( ir_node irn_op)

Construct a Not node.

Parameters
irn_opop

◆ new_r_Not()

ir_node* new_r_Not ( ir_node block,
ir_node irn_op 
)

Construct a Not node.

Parameters
blockThe IR block the node belongs to.
irn_opop

◆ new_rd_Not()

ir_node* new_rd_Not ( dbg_info dbgi,
ir_node block,
ir_node irn_op 
)

Construct a Not node.

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

◆ set_Not_op()

void set_Not_op ( ir_node node,
ir_node op 
)

Sets op input of a Not node.

Variable Documentation

◆ op_Not

ir_op* op_Not

Not opcode.

Definition at line 2849 of file nodes.h.