libFirm
Not node

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_node * new_rd_Not (dbg_info *dbgi, ir_node *block, ir_node *irn_op, ir_mode *mode)
 Construct a Not node.
ir_node * new_r_Not (ir_node *block, ir_node *irn_op, ir_mode *mode)
 Construct a Not node.
ir_node * new_d_Not (dbg_info *dbgi, ir_node *irn_op, ir_mode *mode)
 Construct a Not node.
ir_node * new_Not (ir_node *irn_op, ir_mode *mode)
 Construct a Not node.
int is_Not (const ir_node *node)
 Test if node is a Not.
ir_node * get_Not_op (const ir_node *node)
 Returns op input of a Not node.
void set_Not_op (ir_node *node, ir_node *op)
 Sets op input of a Not node.
ir_op * get_op_Not (void)
 Returns opcode for Not nodes.

Variables

ir_op * op_Not
 Not opcode.

Detailed Description

returns the bitwise complement of a value.

Works for boolean values, too.

Enumeration Type Documentation

enum n_Not

Input numbers for Not node.

Definition at line 2600 of file nodeops.h.

Function Documentation

ir_node* get_Not_op ( const ir_node *  node)

Returns op input of a Not node.

ir_op* get_op_Not ( void  )

Returns opcode for Not nodes.

int is_Not ( const ir_node *  node)

Test if node is a Not.

Returns
1 if the node is a Not node, 0 otherwise
ir_node* new_d_Not ( dbg_info *  dbgi,
ir_node *  irn_op,
ir_mode *  mode 
)

Construct a Not node.

Parameters
dbgiA pointer to debug information.
irn_opoperand
modemode of the operations result
ir_node* new_Not ( ir_node *  irn_op,
ir_mode *  mode 
)

Construct a Not node.

Parameters
irn_opoperand
modemode of the operations result
ir_node* new_r_Not ( ir_node *  block,
ir_node *  irn_op,
ir_mode *  mode 
)

Construct a Not node.

Parameters
blockThe IR block the node belongs to.
irn_opoperand
modemode of the operations result
ir_node* new_rd_Not ( dbg_info *  dbgi,
ir_node *  block,
ir_node *  irn_op,
ir_mode *  mode 
)

Construct a Not node.

Parameters
dbgiA pointer to debug information.
blockThe IR block the node belongs to.
irn_opoperand
modemode of the operations result
void set_Not_op ( ir_node *  node,
ir_node *  op 
)

Sets op input of a Not node.

Variable Documentation

ir_op* op_Not

Not opcode.

Definition at line 273 of file opcodes.h.