libFirm 1.20
CopyB node

Copies a block of memory with statically known size/type. More...

Enumerations

enum  n_CopyB { n_CopyB_mem, n_CopyB_dst, n_CopyB_src, n_CopyB_max = n_CopyB_src }
 Input numbers for CopyB node. More...
enum  pn_CopyB { pn_CopyB_M, pn_CopyB_X_regular, pn_CopyB_X_except, pn_CopyB_max = pn_CopyB_X_except }
 Projection numbers for result of CopyB node (use for Proj nodes) More...

Functions

ir_nodenew_rd_CopyB (dbg_info *dbgi, ir_node *block, ir_node *irn_mem, ir_node *irn_dst, ir_node *irn_src, ir_type *type)
 Construct a CopyB node.
ir_nodenew_r_CopyB (ir_node *block, ir_node *irn_mem, ir_node *irn_dst, ir_node *irn_src, ir_type *type)
 Construct a CopyB node.
ir_nodenew_d_CopyB (dbg_info *dbgi, ir_node *irn_mem, ir_node *irn_dst, ir_node *irn_src, ir_type *type)
 Construct a CopyB node.
ir_nodenew_CopyB (ir_node *irn_mem, ir_node *irn_dst, ir_node *irn_src, ir_type *type)
 Construct a CopyB node.
int is_CopyB (const ir_node *node)
 Test if node is a CopyB.
ir_nodeget_CopyB_mem (const ir_node *node)
 Returns mem input of a CopyB node.
void set_CopyB_mem (ir_node *node, ir_node *mem)
 Sets mem input of a CopyB node.
ir_nodeget_CopyB_dst (const ir_node *node)
 Returns dst input of a CopyB node.
void set_CopyB_dst (ir_node *node, ir_node *dst)
 Sets dst input of a CopyB node.
ir_nodeget_CopyB_src (const ir_node *node)
 Returns src input of a CopyB node.
void set_CopyB_src (ir_node *node, ir_node *src)
 Sets src input of a CopyB node.
ir_typeget_CopyB_type (const ir_node *node)
 Returns type attribute of a CopyB node.
void set_CopyB_type (ir_node *node, ir_type *type)
 Sets type attribute of a CopyB node.
ir_opget_op_CopyB (void)
 Returns opcode for CopyB nodes.

Variables

ir_opop_CopyB
 CopyB opcode.

Detailed Description

Copies a block of memory with statically known size/type.


Enumeration Type Documentation

enum n_CopyB

Input numbers for CopyB node.

Definition at line 1299 of file nodeops.h.

enum pn_CopyB

Projection numbers for result of CopyB node (use for Proj nodes)

Enumerator:
pn_CopyB_M 

memory result

pn_CopyB_X_regular 

control flow when no exception occurs

pn_CopyB_X_except 

control flow when exception occured

Definition at line 1310 of file nodeops.h.


Function Documentation

ir_node* get_CopyB_dst ( const ir_node node)

Returns dst input of a CopyB node.

ir_node* get_CopyB_mem ( const ir_node node)

Returns mem input of a CopyB node.

ir_node* get_CopyB_src ( const ir_node node)

Returns src input of a CopyB node.

ir_type* get_CopyB_type ( const ir_node node)

Returns type attribute of a CopyB node.

ir_op* get_op_CopyB ( void  )

Returns opcode for CopyB nodes.

int is_CopyB ( const ir_node node)

Test if node is a CopyB.

Returns:
1 if the node is a CopyB node, 0 otherwise
ir_node* new_CopyB ( ir_node irn_mem,
ir_node irn_dst,
ir_node irn_src,
ir_type type 
)

Construct a CopyB node.

Parameters:
irn_memmemory dependency
irn_dstdestination address
irn_srcsource address
typetype of copied data
ir_node* new_d_CopyB ( dbg_info dbgi,
ir_node irn_mem,
ir_node irn_dst,
ir_node irn_src,
ir_type type 
)

Construct a CopyB node.

Parameters:
dbgiA pointer to debug information.
irn_memmemory dependency
irn_dstdestination address
irn_srcsource address
typetype of copied data
ir_node* new_r_CopyB ( ir_node block,
ir_node irn_mem,
ir_node irn_dst,
ir_node irn_src,
ir_type type 
)

Construct a CopyB node.

Parameters:
blockThe IR block the node belongs to.
irn_memmemory dependency
irn_dstdestination address
irn_srcsource address
typetype of copied data
ir_node* new_rd_CopyB ( dbg_info dbgi,
ir_node block,
ir_node irn_mem,
ir_node irn_dst,
ir_node irn_src,
ir_type type 
)

Construct a CopyB node.

Parameters:
dbgiA pointer to debug information.
blockThe IR block the node belongs to.
irn_memmemory dependency
irn_dstdestination address
irn_srcsource address
typetype of copied data
void set_CopyB_dst ( ir_node node,
ir_node dst 
)

Sets dst input of a CopyB node.

void set_CopyB_mem ( ir_node node,
ir_node mem 
)

Sets mem input of a CopyB node.

void set_CopyB_src ( ir_node node,
ir_node src 
)

Sets src input of a CopyB node.

void set_CopyB_type ( ir_node node,
ir_type type 
)

Sets type attribute of a CopyB node.


Variable Documentation

CopyB opcode.

Definition at line 184 of file opcodes.h.