osprey-gcc-4.2.0/gcc/cgraphunit.c File Reference

#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "tm.h"
#include "tree.h"
#include "rtl.h"
#include "tree-flow.h"
#include "tree-inline.h"
#include "langhooks.h"
#include "pointer-set.h"
#include "toplev.h"
#include "flags.h"
#include "ggc.h"
#include "debug.h"
#include "target.h"
#include "cgraph.h"
#include "diagnostic.h"
#include "timevar.h"
#include "params.h"
#include "fibheap.h"
#include "c-common.h"
#include "intl.h"
#include "function.h"
#include "ipa-prop.h"
#include "tree-gimple.h"
#include "tree-pass.h"
#include "output.h"
#include "gt-cgraphunit.h"

Include dependency graph for cgraphunit.c:

Go to the source code of this file.

Data Types

type  cgraph_order_sort

Functions/Subroutines

static void cgraph_expand_all_functions (void)
static void cgraph_mark_functions_to_output (void)
static void cgraph_expand_function (struct cgraph_node *)
static tree record_reference (tree *, int *, void *)
void cgraph_output_pending_asms (void)
static void cgraph_increase_alignment (void)
static GTY (())
static bool cgraph_varpool_analyze_pending_decls (void)
static void cgraph_varpool_remove_unreferenced_decls (void)
bool cgraph_assemble_pending_functions (void)
static void cgraph_reset_node (struct cgraph_node *node)
static void cgraph_lower_function (struct cgraph_node *node)
void cgraph_finalize_function (tree decl, bool nested)
static void cgraph_create_edges (struct cgraph_node *node, tree body)
static void initialize_inline_failed (struct cgraph_node *node)
static unsigned int rebuild_cgraph_edges (void)
void verify_cgraph_node (struct cgraph_node *node)
void verify_cgraph (void)
static bool cgraph_varpool_assemble_decl (struct cgraph_varpool_node *node)
bool cgraph_varpool_assemble_pending_decls (void)
static void cgraph_varpool_output_debug_info (void)
void cgraph_analyze_function (struct cgraph_node *node)
static void process_function_and_variable_attributes (struct cgraph_node *first, struct cgraph_varpool_node *first_var)
void cgraph_finalize_compilation_unit (void)
bool cgraph_inline_p (struct cgraph_edge *e, const char **reason)
static void cgraph_output_in_order (void)
static void cgraph_function_and_variable_visibility (void)
bool cgraph_preserve_function_body_p (tree decl)
static void ipa_passes (void)
void cgraph_optimize (void)
void cgraph_build_static_cdtor (char which, tree body, int priority)
void init_cgraph (void)
static void update_call_expr (struct cgraph_node *new_version)
static struct cgraph_node * cgraph_copy_node_for_versioning (struct cgraph_node *old_version, tree new_decl, VEC(cgraph_edge_p, heap)*redirect_callers)
struct cgraph_node * cgraph_function_versioning (struct cgraph_node *old_version_node, VEC(cgraph_edge_p, heap)*redirect_callers, varray_type tree_map)
struct cgraph_node * save_inline_function_body (struct cgraph_node *node)

Variables

struct tree_opt_pass pass_rebuild_cgraph_edges


Function Documentation

void cgraph_analyze_function ( struct cgraph_node *  node  ) 

bool cgraph_assemble_pending_functions ( void   ) 

void cgraph_build_static_cdtor ( char  which,
tree  body,
int  priority 
)

static struct cgraph_node* cgraph_copy_node_for_versioning ( struct cgraph_node *  old_version,
tree  new_decl,
VEC(cgraph_edge_p, heap)*  redirect_callers 
) [static, read]

static void cgraph_create_edges ( struct cgraph_node *  node,
tree  body 
) [static]

static void cgraph_expand_all_functions ( void   )  [static]

static void cgraph_expand_function ( struct cgraph_node *  node  )  [static]

void cgraph_finalize_compilation_unit ( void   ) 

void cgraph_finalize_function ( tree  decl,
bool  nested 
)

static void cgraph_function_and_variable_visibility ( void   )  [static]

struct cgraph_node* cgraph_function_versioning ( struct cgraph_node *  old_version_node,
VEC(cgraph_edge_p, heap)*  redirect_callers,
varray_type  tree_map 
) [read]

static void cgraph_increase_alignment ( void   )  [static]

bool cgraph_inline_p ( struct cgraph_edge *  e,
const char **  reason 
)

Definition at line 1267 of file cgraphunit.c.

Referenced by expand_call_inline().

static void cgraph_lower_function ( struct cgraph_node *  node  )  [static]

static void cgraph_mark_functions_to_output ( void   )  [static]

void cgraph_optimize ( void   ) 

static void cgraph_output_in_order ( void   )  [static]

void cgraph_output_pending_asms ( void   ) 

bool cgraph_preserve_function_body_p ( tree  decl  ) 

static void cgraph_reset_node ( struct cgraph_node *  node  )  [static]

static bool cgraph_varpool_analyze_pending_decls ( void   )  [static]

static bool cgraph_varpool_assemble_decl ( struct cgraph_varpool_node *  node  )  [static]

bool cgraph_varpool_assemble_pending_decls ( void   ) 

static void cgraph_varpool_output_debug_info ( void   )  [static]

static void cgraph_varpool_remove_unreferenced_decls ( void   )  [static]

static GTY ( ()   )  [static]

void init_cgraph ( void   ) 

Definition at line 1745 of file cgraphunit.c.

References cgraph_dump_file, dump_begin(), NULL, and TDI_cgraph.

Referenced by compile_file().

static void initialize_inline_failed ( struct cgraph_node *  node  )  [static]

Definition at line 624 of file cgraphunit.c.

References cgraph_edge(), gcc_assert, and N_.

Referenced by cgraph_analyze_function(), and rebuild_cgraph_edges().

static void ipa_passes ( void   )  [static]

static void process_function_and_variable_attributes ( struct cgraph_node *  first,
struct cgraph_varpool_node *  first_var 
) [static]

static unsigned int rebuild_cgraph_edges ( void   )  [static]

static tree record_reference ( tree tp,
int *  walk_subtrees,
void data 
) [static]

struct cgraph_node* save_inline_function_body ( struct cgraph_node *  node  )  [read]

static void update_call_expr ( struct cgraph_node *  new_version  )  [static]

Definition at line 1755 of file cgraphunit.c.

References cgraph_edge(), gcc_assert, get_call_expr_in(), and TREE_OPERAND.

Referenced by cgraph_function_versioning().

void verify_cgraph ( void   ) 

void verify_cgraph_node ( struct cgraph_node *  node  ) 


Variable Documentation

Initial value:

{
  NULL,         
  NULL,         
  rebuild_cgraph_edges,     
  NULL,         
  NULL,         
  0,          
  0,          
  PROP_cfg,       
  0,          
  0,          
  0,          
  0,          
  0         
}

Definition at line 672 of file cgraphunit.c.

Referenced by init_optimization_passes().


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