osprey-gcc-4.2.0/gcc/ipa-prop.h File Reference

#include "tree.h"

Include dependency graph for ipa-prop.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Types

union  parameter_info
type  ipa_jump_func
type  ipcp_formal
type  ipa_replace_map
type  ipa_node
type  ipa_edge
type  ipa_methodlist

Defines

#define IPA_NODE_REF(MT)   ((struct ipa_node *)(MT)->aux)
#define IPA_EDGE_REF(EDGE)   ((struct ipa_edge *)(EDGE)->aux)

Typedefs

typedef struct ipa_methodlistipa_methodlist_p

Enumerations

enum  jump_func_type { UNKNOWN_IPATYPE, CONST_IPATYPE, CONST_IPATYPE_REF, FORMAL_IPATYPE }
enum  cvalue_type { BOTTOM, CONST_VALUE, CONST_VALUE_REF, TOP }

Functions/Subroutines

ipa_methodlist_p ipa_methodlist_init (void)
bool ipa_methodlist_not_empty (ipa_methodlist_p)
void ipa_add_method (ipa_methodlist_p *, struct cgraph_node *)
struct cgraph_node * ipa_remove_method (ipa_methodlist_p *)
int ipa_callsite_param_count (struct cgraph_edge *)
void ipa_callsite_param_count_set (struct cgraph_edge *, int)
struct ipa_jump_funcipa_callsite_param (struct cgraph_edge *, int)
struct cgraph_node * ipa_callsite_callee (struct cgraph_edge *)
void ipa_callsite_compute_param (struct cgraph_edge *)
void ipa_callsite_compute_count (struct cgraph_edge *)
int ipa_method_formal_count (struct cgraph_node *)
void ipa_method_formal_count_set (struct cgraph_node *, int)
tree ipa_method_get_tree (struct cgraph_node *, int)
void ipa_method_compute_tree_map (struct cgraph_node *)
void ipa_method_formal_compute_count (struct cgraph_node *)
void ipa_method_compute_modify (struct cgraph_node *)
enum jump_func_type get_type (struct ipa_jump_func *)
union parameter_infoipa_jf_get_info_type (struct ipa_jump_func *)
void ipa_node_create (struct cgraph_node *)
void ipa_free (void)
void ipa_nodes_create (void)
void ipa_edges_create (void)
void ipa_edges_free (void)
void ipa_nodes_free (void)
void ipa_method_tree_print (FILE *)
void ipa_method_modify_print (FILE *)
unsigned int ipcp_driver (void)


Define Documentation

#define IPA_EDGE_REF ( EDGE   )     ((struct ipa_edge *)(EDGE)->aux)

#define IPA_NODE_REF ( MT   )     ((struct ipa_node *)(MT)->aux)


Typedef Documentation

Definition at line 161 of file ipa-prop.h.


Enumeration Type Documentation

Enumerator:
BOTTOM 
CONST_VALUE 
CONST_VALUE_REF 
TOP 

Definition at line 54 of file ipa-prop.h.

Enumerator:
UNKNOWN_IPATYPE 
CONST_IPATYPE 
CONST_IPATYPE_REF 
FORMAL_IPATYPE 

Definition at line 36 of file ipa-prop.h.


Function Documentation

enum jump_func_type get_type ( struct ipa_jump_func  ) 

Definition at line 500 of file ipa-prop.c.

References ipa_jump_func::type.

void ipa_add_method ( ipa_methodlist_p ,
struct cgraph_node *   
)

struct cgraph_node* ipa_callsite_callee ( struct cgraph_edge *   )  [read]

Definition at line 355 of file ipa-prop.c.

Referenced by ipcp_propagate_stage().

void ipa_callsite_compute_count ( struct cgraph_edge *   ) 

void ipa_callsite_compute_param ( struct cgraph_edge *   ) 

struct ipa_jump_func* ipa_callsite_param ( struct cgraph_edge *  ,
int   
) [read]

int ipa_callsite_param_count ( struct cgraph_edge *   ) 

void ipa_callsite_param_count_set ( struct cgraph_edge *  ,
int   
)

Definition at line 340 of file ipa-prop.c.

References IPA_EDGE_REF.

Referenced by ipa_callsite_compute_count(), and ipcp_init_stage().

void ipa_edges_create ( void   ) 

Definition at line 533 of file ipa-prop.c.

References cgraph_edge(), cgraph_node(), cs, node, and xcalloc().

Referenced by ipcp_driver().

void ipa_edges_free ( void   ) 

Definition at line 558 of file ipa-prop.c.

References cgraph_edge(), cgraph_node(), cs, free(), node, and NULL.

Referenced by ipcp_driver().

void ipa_free ( void   ) 

Definition at line 573 of file ipa-prop.c.

References cgraph_edge(), cgraph_node(), cs, free(), IPA_EDGE_REF, IPA_NODE_REF, node, and NULL.

Referenced by ipcp_driver().

union parameter_info* ipa_jf_get_info_type ( struct ipa_jump_func  )  [write]

Definition at line 507 of file ipa-prop.c.

References ipa_jump_func::info_type.

Referenced by ipcp_callsite_param_print(), and ipcp_propagate_stage().

void ipa_method_compute_modify ( struct cgraph_node *   ) 

void ipa_method_compute_tree_map ( struct cgraph_node *   ) 

Definition at line 204 of file ipa-prop.c.

References DECL_ARGUMENTS, ipa_method_tree_map_create(), IPA_NODE_REF, and TREE_CHAIN.

Referenced by ipcp_cloned_create(), and ipcp_init_stage().

void ipa_method_formal_compute_count ( struct cgraph_node *   ) 

Definition at line 225 of file ipa-prop.c.

References DECL_ARGUMENTS, ipa_method_formal_count_set(), and TREE_CHAIN.

Referenced by ipcp_cloned_create(), and ipcp_init_stage().

int ipa_method_formal_count ( struct cgraph_node *   ) 

void ipa_method_formal_count_set ( struct cgraph_node *  ,
int   
)

Definition at line 146 of file ipa-prop.c.

References IPA_NODE_REF.

Referenced by ipa_method_formal_compute_count(), and ipcp_init_stage().

tree ipa_method_get_tree ( struct cgraph_node *  ,
int   
)

void ipa_method_modify_print ( FILE  ) 

void ipa_method_tree_print ( FILE  ) 

ipa_methodlist_p ipa_methodlist_init ( void   ) 

Definition at line 95 of file ipa-prop.c.

References cgraph_node(), ipa_add_method(), node, NULL, and wl.

Referenced by ipcp_propagate_stage().

bool ipa_methodlist_not_empty ( ipa_methodlist_p   ) 

Definition at line 59 of file ipa-prop.c.

References NULL.

Referenced by ipcp_propagate_stage().

void ipa_node_create ( struct cgraph_node *   ) 

Definition at line 515 of file ipa-prop.c.

References xcalloc().

Referenced by ipa_nodes_create(), and ipcp_cloned_create().

void ipa_nodes_create ( void   ) 

Definition at line 523 of file ipa-prop.c.

References cgraph_node(), ipa_node_create(), and node.

Referenced by ipcp_driver().

void ipa_nodes_free ( void   ) 

Definition at line 545 of file ipa-prop.c.

References cgraph_node(), free(), node, and NULL.

Referenced by ipcp_driver().

struct cgraph_node* ipa_remove_method ( ipa_methodlist_p  )  [read]

unsigned int ipcp_driver ( void   ) 


Generated on Wed Apr 8 14:19:01 2009 for Open64 by  doxygen 1.5.6