libFirm
Offset node

Symbolic constant that represents the offset of an entity in its owner type. More...

Functions

ir_nodenew_rd_Offset (dbg_info *dbgi, ir_graph *irg, ir_mode *mode, ir_entity *entity)
 Construct an Offset node. More...
 
ir_nodenew_r_Offset (ir_graph *irg, ir_mode *mode, ir_entity *entity)
 Construct an Offset node. More...
 
ir_nodenew_d_Offset (dbg_info *dbgi, ir_mode *mode, ir_entity *entity)
 Construct an Offset node. More...
 
ir_nodenew_Offset (ir_mode *mode, ir_entity *entity)
 Construct an Offset node. More...
 
int is_Offset (const ir_node *node)
 Test if node is a Offset. More...
 
ir_entityget_Offset_entity (const ir_node *node)
 Returns entity attribute of an Offset node. More...
 
void set_Offset_entity (ir_node *node, ir_entity *entity)
 Sets entity attribute of an Offset node. More...
 
ir_opget_op_Offset (void)
 Returns opcode for Offset nodes. More...
 

Variables

ir_opop_Offset
 Offset opcode. More...
 

Detailed Description

Symbolic constant that represents the offset of an entity in its owner type.

Function Documentation

ir_entity* get_Offset_entity ( const ir_node node)

Returns entity attribute of an Offset node.

Definition at line 3335 of file gen_irnode.c.

ir_op* get_op_Offset ( void  )

Returns opcode for Offset nodes.

Definition at line 1923 of file gen_irnode.c.

References op_Offset.

int is_Offset ( const ir_node node)

Test if node is a Offset.

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

Definition at line 3330 of file gen_irnode.c.

ir_node* new_d_Offset ( dbg_info dbgi,
ir_mode mode,
ir_entity entity 
)

Construct an Offset node.

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

Definition at line 1911 of file gen_irnode.c.

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

Referenced by new_Offset().

ir_node* new_Offset ( ir_mode mode,
ir_entity entity 
)

Construct an Offset node.

Parameters
modemode of the operations result
entityentity to operate on

Definition at line 1918 of file gen_irnode.c.

References new_d_Offset(), and op_Offset.

ir_node* new_r_Offset ( ir_graph irg,
ir_mode mode,
ir_entity entity 
)

Construct an Offset node.

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

Definition at line 1906 of file gen_irnode.c.

References new_rd_Offset().

ir_node* new_rd_Offset ( dbg_info dbgi,
ir_graph irg,
ir_mode mode,
ir_entity entity 
)

Construct an Offset node.

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

Definition at line 1892 of file gen_irnode.c.

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

Referenced by new_d_Offset(), and new_r_Offset().

void set_Offset_entity ( ir_node node,
ir_entity entity 
)

Sets entity attribute of an Offset node.

Definition at line 3340 of file gen_irnode.c.

Variable Documentation

ir_op* op_Offset

Offset opcode.

Definition at line 2840 of file nodes.h.

Referenced by get_op_Offset(), new_Offset(), new_rd_Offset(), and set_typeconst_type().