libFirm
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
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 3334 of file gen_irnode.c.

ir_op* get_op_Offset ( void  )

Returns opcode for Offset nodes.

Definition at line 1922 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 3329 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 1910 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 1917 of file gen_irnode.c.

References new_d_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 1905 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 1891 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 3339 of file gen_irnode.c.

Variable Documentation

ir_op* op_Offset

Offset opcode.

Definition at line 2879 of file nodes.h.

Referenced by get_op_Offset(), and new_rd_Offset().