libFirm
Align node

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

Functions

ir_nodenew_rd_Align (dbg_info *dbgi, ir_graph *irg, ir_mode *mode, ir_type *type)
 Construct an Align node. More...
 
ir_nodenew_r_Align (ir_graph *irg, ir_mode *mode, ir_type *type)
 Construct an Align node. More...
 
ir_nodenew_d_Align (dbg_info *dbgi, ir_mode *mode, ir_type *type)
 Construct an Align node. More...
 
ir_nodenew_Align (ir_mode *mode, ir_type *type)
 Construct an Align node. More...
 
int is_Align (const ir_node *node)
 Test if node is a Align. More...
 
ir_typeget_Align_type (const ir_node *node)
 Returns type attribute of an Align node. More...
 
void set_Align_type (ir_node *node, ir_type *type)
 Sets type attribute of an Align node. More...
 
ir_opget_op_Align (void)
 Returns opcode for Align nodes. More...
 

Variables

ir_opop_Align
 Align opcode. More...
 

Detailed Description

A symbolic constant that represents the alignment of a type.

Function Documentation

ir_type* get_Align_type ( const ir_node node)

Returns type attribute of an Align node.

Definition at line 2970 of file gen_irnode.c.

ir_op* get_op_Align ( void  )

Returns opcode for Align nodes.

Definition at line 178 of file gen_irnode.c.

References op_Align.

int is_Align ( const ir_node node)

Test if node is a Align.

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

Definition at line 2965 of file gen_irnode.c.

ir_node* new_Align ( ir_mode mode,
ir_type type 
)

Construct an Align node.

Parameters
modemode of the operations result
typetype to operate on

Definition at line 173 of file gen_irnode.c.

References new_d_Align(), and op_Align.

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

Construct an Align node.

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

Definition at line 166 of file gen_irnode.c.

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

Referenced by new_Align().

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

Construct an Align node.

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

Definition at line 161 of file gen_irnode.c.

References new_rd_Align().

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

Construct an Align 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 147 of file gen_irnode.c.

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

Referenced by new_d_Align(), and new_r_Align().

void set_Align_type ( ir_node node,
ir_type type 
)

Sets type attribute of an Align node.

Definition at line 2975 of file gen_irnode.c.

Variable Documentation

ir_op* op_Align

Align opcode.

Definition at line 353 of file nodes.h.

Referenced by get_op_Align(), new_Align(), new_rd_Align(), and set_typeconst_type().