osprey-gcc/gcc/passes.c File Reference

#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "tm.h"
#include <signal.h>
#include "line-map.h"
#include "input.h"
#include "tree.h"
#include "rtl.h"
#include "tm_p.h"
#include "flags.h"
#include "insn-attr.h"
#include "insn-config.h"
#include "insn-flags.h"
#include "hard-reg-set.h"
#include "recog.h"
#include "output.h"
#include "except.h"
#include "function.h"
#include "toplev.h"
#include "expr.h"
#include "basic-block.h"
#include "intl.h"
#include "ggc.h"
#include "graph.h"
#include "regs.h"
#include "timevar.h"
#include "diagnostic.h"
#include "params.h"
#include "reload.h"
#include "dwarf2asm.h"
#include "integrate.h"
#include "real.h"
#include "debug.h"
#include "target.h"
#include "langhooks.h"
#include "cfglayout.h"
#include "cfgloop.h"
#include "hosthooks.h"
#include "cgraph.h"
#include "opts.h"
#include "coverage.h"
#include "value-prof.h"
#include "alloc-pool.h"
#include "tree-pass.h"
#include "tree-dump.h"

Include dependency graph for passes.c:

Go to the source code of this file.

Defines

#define HAVE_conditional_execution   0
#define DUMPFILE_FORMAT   ".%02d."

Functions/Subroutines

static int open_dump_file (enum tree_dump_index index, tree decl)
static void close_dump_file (enum tree_dump_index index, void(*func)(FILE *, rtx), rtx insns)
void rest_of_decl_compilation (tree decl, int top_level, int at_end)
void rest_of_type_compilation (tree type, int toplev)
static void rest_of_handle_final (void)
static void rest_of_handle_variable_tracking (void)
static void rest_of_handle_machine_reorg (void)
static bool rest_of_handle_old_regalloc (void)
static void rest_of_handle_regrename (void)
static void rest_of_handle_reorder_blocks (void)
static void rest_of_handle_partition_blocks (void)
static void rest_of_handle_gcse2 (void)
static void rest_of_handle_regmove (void)
static void rest_of_handle_tracer (void)
static void rest_of_handle_if_conversion (void)
static void rest_of_handle_if_after_combine (void)
static void rest_of_handle_if_after_reload (void)
static void rest_of_handle_web (void)
static void rest_of_handle_branch_prob (void)
static void rest_of_handle_value_profile_transformations (void)
static void rest_of_handle_cfg (void)
static void rest_of_handle_jump_bypass (void)
static void rest_of_handle_combine (void)
static void rest_of_handle_life (void)
static void rest_of_handle_cse (void)
static void rest_of_handle_cse2 (void)
static void rest_of_handle_gcse (void)
static void rest_of_handle_loop_optimize (void)
static void rest_of_handle_loop2 (void)
static void rest_of_handle_branch_target_load_optimize (void)
static void rest_of_handle_jump (void)
static void rest_of_handle_eh (void)
static void rest_of_handle_stack_adjustments (void)
static void rest_of_handle_flow2 (void)
static void rest_of_handle_jump2 (void)
static void rest_of_handle_postreload (void)
static void rest_of_handle_shorten_branches (void)
static void rest_of_clean_state (void)
static void rest_of_compilation (void)
void finish_optimization_passes (void)

Variables

static int initializing_dump = 0
struct tree_opt_pass pass_rest_of_compilation


Define Documentation

#define DUMPFILE_FORMAT   ".%02d."

Definition at line 112 of file passes.c.

#define HAVE_conditional_execution   0

Definition at line 107 of file passes.c.


Function Documentation

static void close_dump_file ( enum tree_dump_index  index,
void(*)(FILE *, rtx func,
rtx  insns 
) [static]

void finish_optimization_passes ( void   ) 

Definition at line 1788 of file passes.c.

Referenced by finalize().

static int open_dump_file ( enum tree_dump_index  index,
tree  decl 
) [static]

static void rest_of_clean_state ( void   )  [static]

static void rest_of_compilation ( void   )  [static]

Definition at line 1524 of file passes.c.

References cgraph_function_possibly_inlined_p(), cleanup_barriers(), compute_alignments(), convert_to_eh_region_ranges(), count_or_remove_death_notes(), cse_not_expected, current_function_calls_alloca, current_function_decl, current_function_is_leaf, current_function_uses_only_leaf_regs, debug_hooks, DECL_ASSEMBLER_NAME, DECL_CONTEXT, DECL_ONE_ONLY, duplicate_computed_gotos(), emit_initial_value_sets(), errorcount, FINALIZE_PIC, flag_branch_probabilities, flag_cprop_registers, flag_delayed_branch, flag_expensive_optimizations, flag_gcse, flag_if_conversion, flag_loop_optimize, flag_peephole2, flag_pic, flag_regmove, flag_rename_registers, flag_rerun_cse_after_loop, flag_schedule_insns, flag_schedule_insns_after_reload, flag_syntax_only, flag_test_coverage, flag_tracer, flag_tree_based_profiling, flag_var_tracking, free_bb_for_insn(), get_containing_scope(), get_insns(), init_function_for_compilation(), instantiate_virtual_regs(), leaf_function_p(), gcc_target::machine_dependent_reorg, NULL, NULL_TREE, only_leaf_regs_used(), optimize, optimize_save_area_alloca(), optimize_size, gcc_debug_hooks::outlining_inline_function, profile_arc_flag, purge_line_number_notes(), recompute_reg_usage(), remove_unnecessary_notes(), rest_of_clean_state(), rest_of_handle_branch_prob(), rest_of_handle_branch_target_load_optimize(), rest_of_handle_cfg(), rest_of_handle_combine(), rest_of_handle_cse(), rest_of_handle_cse2(), rest_of_handle_delay_slots(), rest_of_handle_eh(), rest_of_handle_final(), rest_of_handle_flow2(), rest_of_handle_gcse(), rest_of_handle_gcse2(), rest_of_handle_if_after_combine(), rest_of_handle_if_after_reload(), rest_of_handle_if_conversion(), rest_of_handle_jump(), rest_of_handle_jump2(), rest_of_handle_jump_bypass(), rest_of_handle_life(), rest_of_handle_loop2(), rest_of_handle_loop_optimize(), rest_of_handle_machine_reorg(), rest_of_handle_mode_switching(), rest_of_handle_old_regalloc(), rest_of_handle_partition_blocks(), rest_of_handle_peephole2(), rest_of_handle_postreload(), rest_of_handle_regmove(), rest_of_handle_regrename(), rest_of_handle_reorder_blocks(), rest_of_handle_sched(), rest_of_handle_sched2(), rest_of_handle_shorten_branches(), rest_of_handle_sms(), rest_of_handle_stack_regs(), rest_of_handle_tracer(), rest_of_handle_value_profile_transformations(), rest_of_handle_variable_tracking(), rest_of_handle_web(), rtl_dump_and_exit, rtl_register_profile_hooks(), rtl_register_value_prof_hooks(), set_nothrow_function_flags(), sorrycount, split_all_insns(), split_all_insns_noflow(), targetm, timevar_pop, timevar_push, TREE_ASM_WRITTEN, TREE_CODE, TREE_SYMBOL_REFERENCED, unshare_all_rtl(), and user_defined_section_attribute.

void rest_of_decl_compilation ( tree  decl,
int  top_level,
int  at_end 
)

Definition at line 202 of file passes.c.

static void rest_of_handle_branch_prob ( void   )  [static]

static void rest_of_handle_branch_target_load_optimize ( void   )  [static]

static void rest_of_handle_cfg ( void   )  [static]

static void rest_of_handle_combine ( void   )  [static]

static void rest_of_handle_cse ( void   )  [static]

static void rest_of_handle_cse2 ( void   )  [static]

static void rest_of_handle_eh ( void   )  [static]

static void rest_of_handle_final ( void   )  [static]

static void rest_of_handle_flow2 ( void   )  [static]

static void rest_of_handle_gcse ( void   )  [static]

static void rest_of_handle_gcse2 ( void   )  [static]

static void rest_of_handle_if_after_combine ( void   )  [static]

static void rest_of_handle_if_after_reload ( void   )  [static]

static void rest_of_handle_if_conversion ( void   )  [static]

static void rest_of_handle_jump ( void   )  [static]

static void rest_of_handle_jump2 ( void   )  [static]

static void rest_of_handle_jump_bypass ( void   )  [static]

static void rest_of_handle_life ( void   )  [static]

static void rest_of_handle_loop2 ( void   )  [static]

static void rest_of_handle_loop_optimize ( void   )  [static]

static void rest_of_handle_machine_reorg ( void   )  [static]

static bool rest_of_handle_old_regalloc ( void   )  [static]

static void rest_of_handle_partition_blocks ( void   )  [static]

static void rest_of_handle_postreload ( void   )  [static]

static void rest_of_handle_regmove ( void   )  [static]

static void rest_of_handle_regrename ( void   )  [static]

static void rest_of_handle_reorder_blocks ( void   )  [static]

static void rest_of_handle_shorten_branches ( void   )  [static]

Definition at line 1436 of file passes.c.

References get_insns(), shorten_branches(), timevar_pop, and timevar_push.

Referenced by rest_of_compilation().

static void rest_of_handle_stack_adjustments ( void   )  [static]

static void rest_of_handle_tracer ( void   )  [static]

static void rest_of_handle_value_profile_transformations ( void   )  [static]

static void rest_of_handle_variable_tracking ( void   )  [static]

static void rest_of_handle_web ( void   )  [static]

void rest_of_type_compilation ( tree  type,
int  toplev 
)

Definition at line 285 of file passes.c.


Variable Documentation

int initializing_dump = 0 [static]

Definition at line 119 of file passes.c.

Referenced by close_dump_file(), execute_one_pass(), and open_dump_file().

Initial value:

{
  NULL,                     
  NULL,                           
  rest_of_compilation,                  
  NULL,                                 
  NULL,                                 
  0,                                    
  TV_REST_OF_COMPILATION,               
  PROP_rtl,                   
  0,                                    
  PROP_rtl,                             
  0,                                    
  TODO_ggc_collect,     
  0         
}

Definition at line 1822 of file passes.c.

Referenced by init_tree_optimization_passes().


Generated on Wed Apr 8 14:21:43 2009 for Open64 by  doxygen 1.5.6