osprey-gcc/gcc/tree-optimize.c File Reference

#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "tm.h"
#include "tree.h"
#include "rtl.h"
#include "tm_p.h"
#include "hard-reg-set.h"
#include "basic-block.h"
#include "output.h"
#include "expr.h"
#include "diagnostic.h"
#include "flags.h"
#include "tree-flow.h"
#include "tree-dump.h"
#include "timevar.h"
#include "function.h"
#include "langhooks.h"
#include "toplev.h"
#include "cgraph.h"
#include "tree-inline.h"
#include "tree-mudflap.h"
#include "tree-pass.h"
#include "ggc.h"
#include "graph.h"

Include dependency graph for tree-optimize.c:

Go to the source code of this file.

Defines

#define NEXT_PASS(PASS)   (p = next_pass_1 (p, &PASS))

Functions/Subroutines

static bool gate_all_optimizations (void)
static void execute_cleanup_cfg_post_optimizing (void)
static void execute_free_datastructures (void)
static void execute_init_datastructures (void)
static void register_one_dump_file (struct tree_opt_pass *pass, int n)
static int register_dump_files (struct tree_opt_pass *pass, int properties)
static struct tree_opt_pass ** next_pass_1 (struct tree_opt_pass **list, struct tree_opt_pass *pass)
void init_tree_optimization_passes (void)
static void execute_pass_list (struct tree_opt_pass *)
static void execute_todo (int properties, unsigned int flags)
static bool execute_one_pass (struct tree_opt_pass *pass)
static void update_inlined_to_pointers (struct cgraph_node *node, struct cgraph_node *inlined_to)
void tree_rest_of_compilation (tree fndecl)

Variables

int dump_flags
bitmap vars_to_rename
bool in_gimple_form
static struct tree_opt_passall_passes
static struct tree_opt_pass pass_gimple
static struct tree_opt_pass pass_all_optimizations
static struct tree_opt_pass pass_cleanup_cfg_post_optimizing
static struct tree_opt_pass pass_free_datastructures
static struct tree_opt_pass pass_init_datastructures
static unsigned int last_verified


Define Documentation

#define NEXT_PASS ( PASS   )     (p = next_pass_1 (p, &PASS))


Function Documentation

static void execute_cleanup_cfg_post_optimizing ( void   )  [static]

Definition at line 116 of file tree-optimize.c.

References cleanup_dead_labels(), cleanup_tree_cfg(), and group_case_labels().

static void execute_free_datastructures ( void   )  [static]

static void execute_init_datastructures ( void   )  [static]

Definition at line 189 of file tree-optimize.c.

References init_tree_ssa().

static bool execute_one_pass ( struct tree_opt_pass pass  )  [static]

static void execute_pass_list ( struct tree_opt_pass pass  )  [static]

static void execute_todo ( int  properties,
unsigned int  flags 
) [static]

static bool gate_all_optimizations ( void   )  [static]

Definition at line 86 of file tree-optimize.c.

References errorcount, optimize, and sorrycount.

void init_tree_optimization_passes ( void   ) 

static struct tree_opt_pass** next_pass_1 ( struct tree_opt_pass **  list,
struct tree_opt_pass pass 
) [static, read]

static int register_dump_files ( struct tree_opt_pass pass,
int  properties 
) [static]

static void register_one_dump_file ( struct tree_opt_pass pass,
int  n 
) [static]

void tree_rest_of_compilation ( tree  fndecl  ) 

Definition at line 597 of file tree-optimize.c.

static void update_inlined_to_pointers ( struct cgraph_node *  node,
struct cgraph_node *  inlined_to 
) [static]

Definition at line 578 of file tree-optimize.c.

References cgraph_edge().

Referenced by tree_rest_of_compilation(), and update_inlined_to_pointers().


Variable Documentation

Definition at line 62 of file tree-optimize.c.

Referenced by tree_rest_of_compilation().

Definition at line 57 of file tree-optimize.c.

unsigned int last_verified [static]

Definition at line 439 of file tree-optimize.c.

Referenced by execute_one_pass(), and execute_todo().

Initial value:

{
  NULL,         
  gate_all_optimizations,   
  NULL,         
  NULL,         
  NULL,         
  0,          
  0,          
  0,          
  0,          
  0,          
  0,          
  0,          
  0         
}

Definition at line 93 of file tree-optimize.c.

Referenced by init_optimization_passes().

Initial value:

{
  "final_cleanup",      
  NULL,         
  execute_cleanup_cfg_post_optimizing,  
  NULL,         
  NULL,         
  0,          
  0,          
  PROP_cfg,       
  0,          
  0,          
  0,          
  TODO_dump_func,         
  0         
}

Definition at line 123 of file tree-optimize.c.

Referenced by init_optimization_passes().

Initial value:

{
  NULL,         
  NULL,         
  execute_free_datastructures,      
  NULL,         
  NULL,         
  0,          
  0,          
  PROP_cfg,       
  0,          
  0,          
  0,          
  0,          
  0         
}

Definition at line 167 of file tree-optimize.c.

Referenced by init_optimization_passes().

Initial value:

 
{
  "gimple",       
  NULL,         
  NULL,         
  NULL,         
  NULL,         
  0,          
  0,          
  0,          
  PROP_gimple_any,      
  0,          
  0,          
  TODO_dump_func,     
  0         
}

Definition at line 66 of file tree-optimize.c.

Initial value:

{
  NULL,         
  NULL,         
  execute_init_datastructures,    
  NULL,         
  NULL,         
  0,          
  0,          
  PROP_cfg,       
  0,          
  0,          
  0,          
  0,          
  0         
}

Definition at line 195 of file tree-optimize.c.

Referenced by init_optimization_passes().


Generated on Wed Apr 8 14:22:29 2009 for Open64 by  doxygen 1.5.6