libFirm
Address node

Symbolic constant that represents the address of an entity (variable or method) More...

Functions

ir_nodenew_rd_Address (dbg_info *dbgi, ir_graph *irg, ir_entity *entity)
 Construct an Address node. More...
 
ir_nodenew_r_Address (ir_graph *irg, ir_entity *entity)
 Construct an Address node. More...
 
ir_nodenew_d_Address (dbg_info *dbgi, ir_entity *entity)
 Construct an Address node. More...
 
ir_nodenew_Address (ir_entity *entity)
 Construct an Address node. More...
 
int is_Address (const ir_node *node)
 Test if node is a Address. More...
 
ir_entityget_Address_entity (const ir_node *node)
 Returns entity attribute of an Address node. More...
 
void set_Address_entity (ir_node *node, ir_entity *entity)
 Sets entity attribute of an Address node. More...
 
ir_opget_op_Address (void)
 Returns opcode for Address nodes. More...
 

Variables

ir_opop_Address
 Address opcode. More...
 

Detailed Description

Symbolic constant that represents the address of an entity (variable or method)

Function Documentation

ir_entity* get_Address_entity ( const ir_node node)

Returns entity attribute of an Address node.

Definition at line 2955 of file gen_irnode.c.

ir_op* get_op_Address ( void  )

Returns opcode for Address nodes.

Definition at line 142 of file gen_irnode.c.

References op_Address.

int is_Address ( const ir_node node)

Test if node is a Address.

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

Definition at line 2950 of file gen_irnode.c.

ir_node* new_Address ( ir_entity entity)

Construct an Address node.

Parameters
entityentity to operate on

Definition at line 137 of file gen_irnode.c.

References new_d_Address(), and op_Address.

ir_node* new_d_Address ( dbg_info dbgi,
ir_entity entity 
)

Construct an Address node.

Parameters
dbgiA pointer to debug information.
entityentity to operate on

Definition at line 130 of file gen_irnode.c.

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

Referenced by new_Address().

ir_node* new_r_Address ( ir_graph irg,
ir_entity entity 
)

Construct an Address node.

Parameters
irgThe IR graph the node belongs to.
entityentity to operate on

Definition at line 125 of file gen_irnode.c.

References new_rd_Address().

ir_node* new_rd_Address ( dbg_info dbgi,
ir_graph irg,
ir_entity entity 
)

Construct an Address node.

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

Definition at line 111 of file gen_irnode.c.

References get_irg_start_block(), mode_P, new_ir_node(), op_Address, optimize_node(), and verify_new_node().

Referenced by new_d_Address(), and new_r_Address().

void set_Address_entity ( ir_node node,
ir_entity entity 
)

Sets entity attribute of an Address node.

Definition at line 2960 of file gen_irnode.c.

Variable Documentation

ir_op* op_Address

Address opcode.

Definition at line 291 of file nodes.h.

Referenced by get_op_Address(), new_Address(), new_rd_Address(), and set_typeconst_type().