libFirm
Loading...
Searching...
No Matches
Member node

Enumerations

enum  n_Member { n_Member_ptr , n_Member_max = n_Member_ptr }
 Input numbers for Member node. More...
 

Functions

ir_nodenew_rd_Member (dbg_info *dbgi, ir_node *block, ir_node *irn_ptr, ir_entity *entity)
 Construct a Member node.
 
ir_nodenew_r_Member (ir_node *block, ir_node *irn_ptr, ir_entity *entity)
 Construct a Member node.
 
ir_nodenew_d_Member (dbg_info *dbgi, ir_node *irn_ptr, ir_entity *entity)
 Construct a Member node.
 
ir_nodenew_Member (ir_node *irn_ptr, ir_entity *entity)
 Construct a Member node.
 
int is_Member (const ir_node *node)
 Test if node is a Member.
 
ir_nodeget_Member_ptr (const ir_node *node)
 Returns ptr input of a Member node.
 
void set_Member_ptr (ir_node *node, ir_node *ptr)
 Sets ptr input of a Member node.
 
ir_entityget_Member_entity (const ir_node *node)
 Returns entity attribute of a Member node.
 
void set_Member_entity (ir_node *node, ir_entity *entity)
 Sets entity attribute of a Member node.
 
ir_opget_op_Member (void)
 Returns opcode for Member nodes.
 

Variables

ir_opop_Member
 Member opcode.
 

Detailed Description

Computes the address of a compound type member given the base address of an instance of the compound type.

A Member node must only produce a NULL pointer if the ptr input is NULL.

Enumeration Type Documentation

◆ n_Member

enum n_Member

Input numbers for Member node.

Enumerator
n_Member_ptr 

pointer to object to select from

n_Member_max 

Definition at line 2270 of file nodes.h.

Function Documentation

◆ get_Member_entity()

ir_entity * get_Member_entity ( const ir_node * node)

Returns entity attribute of a Member node.

◆ get_Member_ptr()

ir_node * get_Member_ptr ( const ir_node * node)

Returns ptr input of a Member node.

◆ get_op_Member()

ir_op * get_op_Member ( void )

Returns opcode for Member nodes.

◆ is_Member()

int is_Member ( const ir_node * node)

Test if node is a Member.

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

◆ new_d_Member()

ir_node * new_d_Member ( dbg_info * dbgi,
ir_node * irn_ptr,
ir_entity * entity )

Construct a Member node.

Parameters
dbgiA pointer to debug information.
irn_ptrptr
entityentity which is selected

◆ new_Member()

ir_node * new_Member ( ir_node * irn_ptr,
ir_entity * entity )

Construct a Member node.

Parameters
irn_ptrptr
entityentity which is selected

◆ new_r_Member()

ir_node * new_r_Member ( ir_node * block,
ir_node * irn_ptr,
ir_entity * entity )

Construct a Member node.

Parameters
blockThe IR block the node belongs to.
irn_ptrptr
entityentity which is selected

◆ new_rd_Member()

ir_node * new_rd_Member ( dbg_info * dbgi,
ir_node * block,
ir_node * irn_ptr,
ir_entity * entity )

Construct a Member node.

Parameters
dbgiA pointer to debug information.
blockThe IR block the node belongs to.
irn_ptrptr
entityentity which is selected

◆ set_Member_entity()

void set_Member_entity ( ir_node * node,
ir_entity * entity )

Sets entity attribute of a Member node.

◆ set_Member_ptr()

void set_Member_ptr ( ir_node * node,
ir_node * ptr )

Sets ptr input of a Member node.

Variable Documentation

◆ op_Member

ir_op* op_Member

Member opcode.

Definition at line 2327 of file nodes.h.