libFirm
Loading...
Searching...
No Matches
CopyB node

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...
 

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, ir_cons_flags flags)
 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, ir_cons_flags flags)
 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, ir_cons_flags flags)
 Construct a CopyB node.
 
ir_nodenew_CopyB (ir_node *irn_mem, ir_node *irn_dst, ir_node *irn_src, ir_type *type, ir_cons_flags flags)
 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_volatility get_CopyB_volatility (const ir_node *node)
 Returns volatility attribute of a CopyB node.
 
void set_CopyB_volatility (ir_node *node, ir_volatility volatility)
 Sets volatility 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

◆ n_CopyB

enum n_CopyB

Input numbers for CopyB node.

Enumerator
n_CopyB_mem 

memory dependency

n_CopyB_dst 

destination address

n_CopyB_src 

source address

n_CopyB_max 

Definition at line 1494 of file nodes.h.

Function Documentation

◆ get_CopyB_dst()

ir_node * get_CopyB_dst ( const ir_node * node)

Returns dst input of a CopyB node.

◆ get_CopyB_mem()

ir_node * get_CopyB_mem ( const ir_node * node)

Returns mem input of a CopyB node.

◆ get_CopyB_src()

ir_node * get_CopyB_src ( const ir_node * node)

Returns src input of a CopyB node.

◆ get_CopyB_type()

ir_type * get_CopyB_type ( const ir_node * node)

Returns type attribute of a CopyB node.

◆ get_CopyB_volatility()

ir_volatility get_CopyB_volatility ( const ir_node * node)

Returns volatility attribute of a CopyB node.

◆ get_op_CopyB()

ir_op * get_op_CopyB ( void )

Returns opcode for CopyB nodes.

◆ is_CopyB()

int is_CopyB ( const ir_node * node)

Test if node is a CopyB.

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

◆ new_CopyB()

ir_node * new_CopyB ( ir_node * irn_mem,
ir_node * irn_dst,
ir_node * irn_src,
ir_type * type,
ir_cons_flags flags )

Construct a CopyB node.

Parameters
irn_memmem
irn_dstdst
irn_srcsrc
typetype of copied data
flagsspecifies volatility

◆ new_d_CopyB()

ir_node * new_d_CopyB ( dbg_info * dbgi,
ir_node * irn_mem,
ir_node * irn_dst,
ir_node * irn_src,
ir_type * type,
ir_cons_flags flags )

Construct a CopyB node.

Parameters
dbgiA pointer to debug information.
irn_memmem
irn_dstdst
irn_srcsrc
typetype of copied data
flagsspecifies volatility

◆ new_r_CopyB()

ir_node * new_r_CopyB ( ir_node * block,
ir_node * irn_mem,
ir_node * irn_dst,
ir_node * irn_src,
ir_type * type,
ir_cons_flags flags )

Construct a CopyB node.

Parameters
blockThe IR block the node belongs to.
irn_memmem
irn_dstdst
irn_srcsrc
typetype of copied data
flagsspecifies volatility

◆ new_rd_CopyB()

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,
ir_cons_flags flags )

Construct a CopyB node.

Parameters
dbgiA pointer to debug information.
blockThe IR block the node belongs to.
irn_memmem
irn_dstdst
irn_srcsrc
typetype of copied data
flagsspecifies volatility

◆ set_CopyB_dst()

void set_CopyB_dst ( ir_node * node,
ir_node * dst )

Sets dst input of a CopyB node.

◆ set_CopyB_mem()

void set_CopyB_mem ( ir_node * node,
ir_node * mem )

Sets mem input of a CopyB node.

◆ set_CopyB_src()

void set_CopyB_src ( ir_node * node,
ir_node * src )

Sets src input of a CopyB node.

◆ set_CopyB_type()

void set_CopyB_type ( ir_node * node,
ir_type * type )

Sets type attribute of a CopyB node.

◆ set_CopyB_volatility()

void set_CopyB_volatility ( ir_node * node,
ir_volatility volatility )

Sets volatility attribute of a CopyB node.

Variable Documentation

◆ op_CopyB

ir_op* op_CopyB

CopyB opcode.

Definition at line 1578 of file nodes.h.