libFirm
Bitcast node

Converts a value between modes with different arithmetics but same number of bits by reinterpreting the bits in the new mode. More...

Enumerations

enum  n_Bitcast { n_Bitcast_op, n_Bitcast_max = n_Bitcast_op }
 Input numbers for Bitcast node. More...
 

Functions

ir_nodenew_rd_Bitcast (dbg_info *dbgi, ir_node *block, ir_node *irn_op, ir_mode *mode)
 Construct a Bitcast node. More...
 
ir_nodenew_r_Bitcast (ir_node *block, ir_node *irn_op, ir_mode *mode)
 Construct a Bitcast node. More...
 
ir_nodenew_d_Bitcast (dbg_info *dbgi, ir_node *irn_op, ir_mode *mode)
 Construct a Bitcast node. More...
 
ir_nodenew_Bitcast (ir_node *irn_op, ir_mode *mode)
 Construct a Bitcast node. More...
 
int is_Bitcast (const ir_node *node)
 Test if node is a Bitcast. More...
 
ir_nodeget_Bitcast_op (const ir_node *node)
 Returns op input of a Bitcast node. More...
 
void set_Bitcast_op (ir_node *node, ir_node *op)
 Sets op input of a Bitcast node. More...
 
ir_opget_op_Bitcast (void)
 Returns opcode for Bitcast nodes. More...
 

Variables

ir_opop_Bitcast
 Bitcast opcode. More...
 

Detailed Description

Converts a value between modes with different arithmetics but same number of bits by reinterpreting the bits in the new mode.

Enumeration Type Documentation

◆ n_Bitcast

enum n_Bitcast

Input numbers for Bitcast node.

Enumerator
n_Bitcast_op 

operand

n_Bitcast_max 

Definition at line 754 of file nodes.h.

Function Documentation

◆ get_Bitcast_op()

ir_node* get_Bitcast_op ( const ir_node node)

Returns op input of a Bitcast node.

◆ get_op_Bitcast()

ir_op* get_op_Bitcast ( void  )

Returns opcode for Bitcast nodes.

◆ is_Bitcast()

int is_Bitcast ( const ir_node node)

Test if node is a Bitcast.

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

◆ new_Bitcast()

ir_node* new_Bitcast ( ir_node irn_op,
ir_mode mode 
)

Construct a Bitcast node.

Parameters
irn_opop
modemode of the operations result

◆ new_d_Bitcast()

ir_node* new_d_Bitcast ( dbg_info dbgi,
ir_node irn_op,
ir_mode mode 
)

Construct a Bitcast node.

Parameters
dbgiA pointer to debug information.
irn_opop
modemode of the operations result

◆ new_r_Bitcast()

ir_node* new_r_Bitcast ( ir_node block,
ir_node irn_op,
ir_mode mode 
)

Construct a Bitcast node.

Parameters
blockThe IR block the node belongs to.
irn_opop
modemode of the operations result

◆ new_rd_Bitcast()

ir_node* new_rd_Bitcast ( dbg_info dbgi,
ir_node block,
ir_node irn_op,
ir_mode mode 
)

Construct a Bitcast node.

Parameters
dbgiA pointer to debug information.
blockThe IR block the node belongs to.
irn_opop
modemode of the operations result

◆ set_Bitcast_op()

void set_Bitcast_op ( ir_node node,
ir_node op 
)

Sets op input of a Bitcast node.

Variable Documentation

◆ op_Bitcast

ir_op* op_Bitcast

Bitcast opcode.

Definition at line 806 of file nodes.h.