libFirm
Start node

The first node of a graph. More...

Enumerations

enum  pn_Start { pn_Start_M, pn_Start_P_frame_base, pn_Start_T_args, pn_Start_max = pn_Start_T_args }
 Projection numbers for result of Start node (use for Proj nodes) More...
 

Functions

ir_nodenew_rd_Start (dbg_info *dbgi, ir_graph *irg)
 Construct a Start node. More...
 
ir_nodenew_r_Start (ir_graph *irg)
 Construct a Start node. More...
 
ir_nodenew_d_Start (dbg_info *dbgi)
 Construct a Start node. More...
 
ir_nodenew_Start (void)
 Construct a Start node. More...
 
int is_Start (const ir_node *node)
 Test if node is a Start. More...
 
ir_opget_op_Start (void)
 Returns opcode for Start nodes. More...
 

Variables

ir_opop_Start
 Start opcode. More...
 

Detailed Description

The first node of a graph.

Execution starts with this node.

Enumeration Type Documentation

enum pn_Start

Projection numbers for result of Start node (use for Proj nodes)

Enumerator
pn_Start_M 

initial memory

pn_Start_P_frame_base 

frame base pointer

pn_Start_T_args 

function arguments

pn_Start_max 

Definition at line 3700 of file nodes.h.

Function Documentation

ir_op* get_op_Start ( void  )

Returns opcode for Start nodes.

Definition at line 2566 of file gen_irnode.c.

References op_Start.

int is_Start ( const ir_node node)

Test if node is a Start.

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

Definition at line 3440 of file gen_irnode.c.

ir_node* new_d_Start ( dbg_info dbgi)

Construct a Start node.

Parameters
dbgiA pointer to debug information.

Definition at line 2554 of file gen_irnode.c.

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

Referenced by new_Start().

ir_node* new_r_Start ( ir_graph irg)

Construct a Start node.

Parameters
irgThe IR graph the node belongs to.

Definition at line 2549 of file gen_irnode.c.

References new_rd_Start().

ir_node* new_rd_Start ( dbg_info dbgi,
ir_graph irg 
)

Construct a Start node.

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

Definition at line 2536 of file gen_irnode.c.

References get_irg_start_block(), mode_T, new_ir_node(), op_Start, optimize_node(), and verify_new_node().

Referenced by new_d_Start(), and new_r_Start().

ir_node* new_Start ( void  )

Construct a Start node.

Definition at line 2561 of file gen_irnode.c.

References new_d_Start(), and op_Start.

Variable Documentation

ir_op* op_Start

Start opcode.

Definition at line 3742 of file nodes.h.

Referenced by get_op_Start(), new_rd_Start(), new_Start(), and set_typeconst_type().