libFirm
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Size node

A symbolic constant that represents the size of a type. More...

Functions

ir_nodenew_rd_Size (dbg_info *dbgi, ir_graph *irg, ir_mode *mode, ir_type *type)
 Construct a Size node. More...
 
ir_nodenew_r_Size (ir_graph *irg, ir_mode *mode, ir_type *type)
 Construct a Size node. More...
 
ir_nodenew_d_Size (dbg_info *dbgi, ir_mode *mode, ir_type *type)
 Construct a Size node. More...
 
ir_nodenew_Size (ir_mode *mode, ir_type *type)
 Construct a Size node. More...
 
int is_Size (const ir_node *node)
 Test if node is a Size. More...
 
ir_typeget_Size_type (const ir_node *node)
 Returns type attribute of a Size node. More...
 
void set_Size_type (ir_node *node, ir_type *type)
 Sets type attribute of a Size node. More...
 
ir_opget_op_Size (void)
 Returns opcode for Size nodes. More...
 

Variables

ir_opop_Size
 Size opcode. More...
 

Detailed Description

A symbolic constant that represents the size of a type.

Function Documentation

ir_op* get_op_Size ( void  )

Returns opcode for Size nodes.

Definition at line 2530 of file gen_irnode.c.

References op_Size.

ir_type* get_Size_type ( const ir_node node)

Returns type attribute of a Size node.

Definition at line 3429 of file gen_irnode.c.

int is_Size ( const ir_node node)

Test if node is a Size.

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

Definition at line 3424 of file gen_irnode.c.

ir_node* new_d_Size ( dbg_info dbgi,
ir_mode mode,
ir_type type 
)

Construct a Size node.

Parameters
dbgiA pointer to debug information.
modemode of the operations result
typetype to operate on

Definition at line 2518 of file gen_irnode.c.

References current_ir_graph, IR_GRAPH_CONSTRAINT_CONSTRUCTION, irg_is_constrained(), and new_rd_Size().

Referenced by new_Size().

ir_node* new_r_Size ( ir_graph irg,
ir_mode mode,
ir_type type 
)

Construct a Size node.

Parameters
irgThe IR graph the node belongs to.
modemode of the operations result
typetype to operate on

Definition at line 2513 of file gen_irnode.c.

References new_rd_Size().

ir_node* new_rd_Size ( dbg_info dbgi,
ir_graph irg,
ir_mode mode,
ir_type type 
)

Construct a Size node.

Parameters
dbgiA pointer to debug information.
irgThe IR graph the node belongs to.
modemode of the operations result
typetype to operate on

Definition at line 2499 of file gen_irnode.c.

References get_irg_start_block(), new_ir_node(), op_Size, optimize_node(), and verify_new_node().

Referenced by new_d_Size(), and new_r_Size().

ir_node* new_Size ( ir_mode mode,
ir_type type 
)

Construct a Size node.

Parameters
modemode of the operations result
typetype to operate on

Definition at line 2525 of file gen_irnode.c.

References new_d_Size().

void set_Size_type ( ir_node node,
ir_type type 
)

Sets type attribute of a Size node.

Definition at line 3434 of file gen_irnode.c.

Variable Documentation

ir_op* op_Size

Size opcode.

Definition at line 3738 of file nodes.h.

Referenced by get_op_Size(), and new_rd_Size().