libFirm 1.20
Conv node

Converts values between modes. More...

Enumerations

enum  n_Conv { n_Conv_op, n_Conv_max = n_Conv_op }
 Input numbers for Conv node. More...

Functions

ir_nodenew_rd_strictConv (dbg_info *db, ir_node *block, ir_node *op, ir_mode *mode)
 Constructor for a strictConv node.
ir_nodenew_r_strictConv (ir_node *block, ir_node *op, ir_mode *mode)
 Constructor for a strictConv node.
ir_nodenew_d_strictConv (dbg_info *db, ir_node *op, ir_mode *mode)
 Constructor for a strict Conv node.
ir_nodenew_strictConv (ir_node *op, ir_mode *mode)
 Constructor for a strict Conv node.
int is_strictConv (const ir_node *node)
 Returns true if a node is a Conv node with strict attribute set.
ir_nodenew_rd_Conv (dbg_info *dbgi, ir_node *block, ir_node *irn_op, ir_mode *mode)
 Construct a Conv node.
ir_nodenew_r_Conv (ir_node *block, ir_node *irn_op, ir_mode *mode)
 Construct a Conv node.
ir_nodenew_d_Conv (dbg_info *dbgi, ir_node *irn_op, ir_mode *mode)
 Construct a Conv node.
ir_nodenew_Conv (ir_node *irn_op, ir_mode *mode)
 Construct a Conv node.
int is_Conv (const ir_node *node)
 Test if node is a Conv.
ir_nodeget_Conv_op (const ir_node *node)
 Returns op input of a Conv node.
void set_Conv_op (ir_node *node, ir_node *op)
 Sets op input of a Conv node.
int get_Conv_strict (const ir_node *node)
 Returns strict attribute of a Conv node.
void set_Conv_strict (ir_node *node, int strict)
 Sets strict attribute of a Conv node.
ir_opget_op_Conv (void)
 Returns opcode for Conv nodes.

Variables

ir_opop_Conv
 Conv opcode.

Detailed Description

Converts values between modes.


Enumeration Type Documentation

enum n_Conv

Input numbers for Conv node.

Definition at line 1232 of file nodeops.h.


Function Documentation

ir_node* get_Conv_op ( const ir_node node)

Returns op input of a Conv node.

int get_Conv_strict ( const ir_node node)

Returns strict attribute of a Conv node.

ir_op* get_op_Conv ( void  )

Returns opcode for Conv nodes.

int is_Conv ( const ir_node node)

Test if node is a Conv.

Returns:
1 if the node is a Conv node, 0 otherwise
int is_strictConv ( const ir_node node)

Returns true if a node is a Conv node with strict attribute set.

ir_node* new_Conv ( ir_node irn_op,
ir_mode mode 
)

Construct a Conv node.

Parameters:
irn_opoperand
modemode of the operations result
ir_node* new_d_Conv ( dbg_info dbgi,
ir_node irn_op,
ir_mode mode 
)

Construct a Conv node.

Parameters:
dbgiA pointer to debug information.
irn_opoperand
modemode of the operations result
ir_node* new_d_strictConv ( dbg_info db,
ir_node op,
ir_mode mode 
)

Constructor for a strict Conv node.

Parameters:
dbA pointer for debug information.
opThe operand.
modeThe mode of this the operand muss be converted .
ir_node* new_r_Conv ( ir_node block,
ir_node irn_op,
ir_mode mode 
)

Construct a Conv node.

Parameters:
blockThe IR block the node belongs to.
irn_opoperand
modemode of the operations result
ir_node* new_r_strictConv ( ir_node block,
ir_node op,
ir_mode mode 
)

Constructor for a strictConv node.

Parameters:
blockThe IR block the node belongs to.
opThe operand.
modeThe mode of this the operand muss be converted .
ir_node* new_rd_Conv ( dbg_info dbgi,
ir_node block,
ir_node irn_op,
ir_mode mode 
)

Construct a Conv node.

Parameters:
dbgiA pointer to debug information.
blockThe IR block the node belongs to.
irn_opoperand
modemode of the operations result
ir_node* new_rd_strictConv ( dbg_info db,
ir_node block,
ir_node op,
ir_mode mode 
)

Constructor for a strictConv node.

Parameters:
dbA pointer for debug information.
blockThe IR block the node belongs to.
opThe operand.
modeThe mode of this the operand muss be converted .
ir_node* new_strictConv ( ir_node op,
ir_mode mode 
)

Constructor for a strict Conv node.

Parameters:
opThe operand.
modeThe mode of this the operand muss be converted .
void set_Conv_op ( ir_node node,
ir_node op 
)

Sets op input of a Conv node.

void set_Conv_strict ( ir_node node,
int  strict 
)

Sets strict attribute of a Conv node.


Variable Documentation

Conv opcode.

Definition at line 179 of file opcodes.h.