#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"

Go to the source code of this file.
| static void close_dump_file | ( | enum tree_dump_index | index, | |
| void(*)(FILE *, rtx) | func, | |||
| rtx | insns | |||
| ) | [static] |
Definition at line 157 of file passes.c.
References clean_graph_dump_file(), dump_end(), dump_file, dump_file_name, dump_file_info::flags, free(), func, get_dump_file_info(), graph_dump_format, initializing_dump, no_graph, NULL, print_rtl_graph_with_bb(), TDF_GRAPH, timevar_pop, and timevar_push.
| static int open_dump_file | ( | enum tree_dump_index | index, | |
| tree | decl | |||
| ) | [static] |
Definition at line 124 of file passes.c.
References abort, cfun, dump_begin(), dump_enabled_p(), dump_file, dump_file_name, dump_initialized_p(), fatal_error(), fprintf(), FUNCTION_FREQUENCY_HOT, FUNCTION_FREQUENCY_UNLIKELY_EXECUTED, get_dump_file_name(), initializing_dump, NULL, timevar_pop, and timevar_push.
Definition at line 1445 of file passes.c.
References gcc_target::binds_local_p, cfun, cgraph_rtl_info(), coverage_end_function(), current_function_decl, epilogue_completed, flow2_completed, free_after_compilation(), free_after_parsing(), free_basic_block_vars(), free_bb_for_insn(), get_insns(), init_insn_lengths(), init_recog_no_volatile(), init_temp_slots(), insn, next, NEXT_INSN, no_new_pseudos, NULL, NULL_TREE, PREV_INSN, reload_completed, SDB_DEBUG, sdbout_types(), targetm, timevar_pop, timevar_push, and write_symbols.
Referenced by rest_of_compilation().
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.
Definition at line 804 of file passes.c.
References branch_prob(), CDI_DOMINATORS, close_dump_file(), current_function_decl, DFI_bp, dump_file, estimate_probability(), flag_branch_probabilities, flag_guess_branch_prob, flag_test_coverage, flow_loops_dump(), flow_loops_find(), flow_loops_free(), free_dominance_info(), get_insns(), LOOP_TREE, NULL, open_dump_file(), print_rtl_with_bb(), profile_arc_flag, timevar_pop, and timevar_push.
Referenced by rest_of_compilation().
Definition at line 1221 of file passes.c.
References branch_target_load_optimize(), close_dump_file(), current_function_decl, DFI_branch_target_load, epilogue_completed, get_insns(), ggc_collect(), open_dump_file(), print_rtl_with_bb(), and warning.
Referenced by rest_of_compilation(), and rest_of_handle_flow2().
Definition at line 848 of file passes.c.
References cleanup_cfg(), CLEANUP_EXPENSIVE, CLEANUP_THREADING, close_dump_file(), current_function_decl, DFI_cfg, dump_file, dump_flow_info(), flag_branch_probabilities, flag_thread_jumps, flag_tree_based_profiling, get_insns(), mark_constant_function(), max_reg_num(), open_dump_file(), optimize, print_rtl_with_bb(), profile_arc_flag, and reg_scan().
Referenced by rest_of_compilation().
Definition at line 911 of file passes.c.
References cleanup_cfg(), CLEANUP_EXPENSIVE, CLEANUP_UPDATE_LIFE, close_dump_file(), combine_instructions(), current_function_decl, delete_dead_jumptables(), DFI_combine, get_insns(), ggc_collect(), max_reg_num(), open_dump_file(), print_rtl_with_bb(), rebuild_jump_labels(), timevar_pop, and timevar_push.
Referenced by rest_of_compilation().
Definition at line 984 of file passes.c.
References cleanup_cfg(), CLEANUP_EXPENSIVE, CLEANUP_PRE_LOOP, close_dump_file(), cse_main(), cse_not_expected, current_function_decl, delete_dead_jumptables(), delete_trivially_dead_insns(), delete_unreachable_blocks(), DFI_cse, dump_file, dump_flow_info(), flag_gcse, flag_rerun_cse_after_loop, get_insns(), ggc_collect(), max_reg_num(), open_dump_file(), optimize, print_rtl_with_bb(), purge_all_dead_edges(), rebuild_jump_labels(), reg_scan(), timevar_pop, and timevar_push.
Referenced by rest_of_compilation().
Definition at line 1021 of file passes.c.
References cleanup_cfg(), CLEANUP_EXPENSIVE, close_dump_file(), cse_condition_code_reg(), cse_main(), current_function_decl, delete_dead_jumptables(), delete_trivially_dead_insns(), DFI_cse2, dump_file, dump_flow_info(), get_insns(), ggc_collect(), max_reg_num(), open_dump_file(), print_rtl_with_bb(), purge_all_dead_edges(), rebuild_jump_labels(), reg_scan(), timevar_pop, and timevar_push.
Referenced by rest_of_compilation().
Definition at line 1279 of file passes.c.
References cleanup_cfg(), CLEANUP_NO_INSN_DEL, CLEANUP_PRE_LOOP, close_dump_file(), current_function_decl, DFI_eh, doing_eh(), finish_eh_generation(), get_insns(), insn_locators_initialize(), open_dump_file(), print_rtl(), timevar_pop, and timevar_push.
Referenced by rest_of_compilation().
Definition at line 299 of file passes.c.
References abort, asm_out_file, assemble_end_function(), assemble_start_function(), current_function_decl, debug_hooks, DECL_RTL, fflush(), final_end_function(), final_start_function(), free_basic_block_vars(), gcc_debug_hooks::function_decl, GET_CODE, get_insns(), ggc_collect(), MEM_P, optimize, output_function_exception_table(), quiet_flag, timevar_pop, timevar_push, user_defined_section_attribute, x, XEXP, and XSTR.
Referenced by rest_of_compilation().
Definition at line 1317 of file passes.c.
References cleanup_cfg(), CLEANUP_EXPENSIVE, close_dump_file(), current_function_decl, DFI_flow2, epilogue_completed, flow2_completed, get_insns(), ggc_collect(), open_dump_file(), optimize, print_rtl_with_bb(), rest_of_handle_branch_target_load_optimize(), rest_of_handle_stack_adjustments(), split_all_insns(), thread_prologue_and_epilogue_insns(), timevar_pop, timevar_push, and verify_flow_info().
Referenced by rest_of_compilation().
Definition at line 1058 of file passes.c.
References cleanup_cfg(), CLEANUP_EXPENSIVE, CLEANUP_PRE_LOOP, close_dump_file(), cse_main(), cse_not_expected, current_function_decl, delete_dead_jumptables(), delete_trivially_dead_insns(), DFI_gcse, dump_file, flag_cse_follow_jumps, flag_cse_skip_blocks, flag_expensive_optimizations, flag_rerun_cse_after_loop, gcse_main(), get_insns(), ggc_collect(), max_reg_num(), open_dump_file(), print_rtl_with_bb(), purge_all_dead_edges(), rebuild_jump_labels(), reg_scan(), timevar_pop, timevar_push, and verify_flow_info().
Referenced by rest_of_compilation().
Definition at line 681 of file passes.c.
References close_dump_file(), current_function_decl, delete_trivially_dead_insns(), DFI_gcse2, gcse_after_reload_main(), get_insns(), ggc_collect(), max_reg_num(), open_dump_file(), print_rtl_with_bb(), rebuild_jump_labels(), timevar_pop, timevar_push, and verify_flow_info().
Referenced by rest_of_compilation().
Definition at line 758 of file passes.c.
References close_dump_file(), current_function_decl, DFI_ce2, get_insns(), if_convert(), no_new_pseudos, open_dump_file(), print_rtl_with_bb(), timevar_pop, and timevar_push.
Referenced by rest_of_compilation().
Definition at line 772 of file passes.c.
References cleanup_cfg(), CLEANUP_EXPENSIVE, CLEANUP_UPDATE_LIFE, close_dump_file(), current_function_decl, DFI_ce3, flag_crossjumping, flag_if_conversion2, get_insns(), if_convert(), open_dump_file(), print_rtl_with_bb(), timevar_pop, and timevar_push.
Referenced by rest_of_compilation().
Definition at line 732 of file passes.c.
References cleanup_cfg(), CLEANUP_EXPENSIVE, close_dump_file(), current_function_decl, DFI_ce1, dump_file, dump_flow_info(), flag_if_conversion, get_insns(), if_convert(), max_reg_num(), open_dump_file(), print_rtl_with_bb(), reg_scan(), timevar_pop, and timevar_push.
Referenced by rest_of_compilation().
Definition at line 1259 of file passes.c.
References cfun, close_dump_file(), current_function_decl, delete_unreachable_blocks(), DFI_sibling, fixup_tail_calls(), get_insns(), ggc_collect(), open_dump_file(), print_rtl(), timevar_pop, timevar_push, and verify_flow_info().
Referenced by rest_of_compilation().
Definition at line 1363 of file passes.c.
References cleanup_cfg(), CLEANUP_EXPENSIVE, CLEANUP_PRE_LOOP, CLEANUP_THREADING, close_dump_file(), create_loop_notes(), current_function_decl, delete_trivially_dead_insns(), DFI_jump, dump_file, dump_flow_info(), expected_value_to_br_prob(), flag_guess_branch_prob, flag_thread_jumps, get_insns(), ggc_collect(), max_reg_num(), open_dump_file(), optimize, print_rtl_with_bb(), purge_line_number_notes(), reg_scan(), renumber_insns(), timevar_pop, and timevar_push.
Referenced by rest_of_compilation().
Definition at line 884 of file passes.c.
References bypass_jumps(), cleanup_cfg(), CLEANUP_EXPENSIVE, close_dump_file(), current_function_decl, delete_trivially_dead_insns(), DFI_bypass, dump_file, get_insns(), ggc_collect(), max_reg_num(), open_dump_file(), print_rtl_with_bb(), rebuild_jump_labels(), reg_scan(), timevar_pop, timevar_push, and verify_flow_info().
Referenced by rest_of_compilation().
Definition at line 942 of file passes.c.
References allocate_reg_life_data(), cleanup_cfg(), CLEANUP_EXPENSIVE, CLEANUP_LOG_LINKS, CLEANUP_THREADING, CLEANUP_UPDATE_LIFE, close_dump_file(), current_function_decl, DECL_INITIAL, DFI_life, dump_file, extra_warnings, flag_thread_jumps, get_insns(), ggc_collect(), initialize_uninitialized_subregs(), life_analysis(), no_new_pseudos, NULL, open_dump_file(), optimize, print_rtl_with_bb(), PROP_DEATH_NOTES, PROP_FINAL, PROP_LOG_LINKS, PROP_REG_INFO, regclass_init(), setjmp_args_warning(), setjmp_vars_warning(), UPDATE_LIFE_GLOBAL_RM_NOTES, update_life_info(), and verify_flow_info().
Referenced by rest_of_compilation().
Definition at line 1157 of file passes.c.
References CDI_DOMINATORS, cfg_layout_finalize(), cfg_layout_initialize(), cleanup_cfg(), CLEANUP_EXPENSIVE, close_dump_file(), current_function_decl, delete_trivially_dead_insns(), DFI_loop2, doloop_optimize_loops(), dump_file, dump_flow_info(), EXIT_BLOCK_PTR, flag_branch_on_count_reg, flag_peel_loops, flag_unroll_all_loops, flag_unroll_loops, flag_unswitch_loops, FOR_EACH_BB, free_dominance_info(), get_insns(), ggc_collect(), HAVE_doloop_end, loop_optimizer_finalize(), loop_optimizer_init(), max_reg_num(), move_loop_invariants(), basic_block_def::next_bb, open_dump_file(), print_rtl_with_bb(), reg_scan(), timevar_pop, timevar_push, UAP_PEEL, UAP_UNROLL, UAP_UNROLL_ALL, unroll_and_peel_loops(), and unswitch_loops().
Referenced by rest_of_compilation().
Definition at line 1111 of file passes.c.
References cleanup_barriers(), close_dump_file(), current_function_decl, delete_trivially_dead_insns(), DFI_loop, dump_file, find_basic_blocks(), flag_prefetch_loop_arrays, flag_rerun_loop_opt, free_bb_for_insn(), get_insns(), ggc_collect(), loop_optimize(), LOOP_PREFETCH, max_reg_num(), open_dump_file(), print_rtl(), PROFILE_ABSENT, reg_scan(), timevar_pop, and timevar_push.
Referenced by rest_of_compilation().
Definition at line 440 of file passes.c.
References close_dump_file(), current_function_decl, DFI_mach, get_insns(), ggc_collect(), gcc_target::machine_dependent_reorg, open_dump_file(), print_rtl(), targetm, timevar_pop, and timevar_push.
Referenced by rest_of_compilation().
Definition at line 457 of file passes.c.
References allocate_initial_values(), allocate_reg_info(), build_insn_chain(), close_dump_file(), current_function_decl, delete_unreachable_blocks(), DFI_greg, DFI_lreg, dump_enabled_p(), dump_file, dump_flow_info(), dump_global_regs(), dump_local_alloc(), failure, FALSE, get_insns(), ggc_collect(), global_alloc(), local_alloc(), max_reg_num(), max_regno, open_dump_file(), optimize, print_rtl_with_bb(), purge_all_dead_edges(), rebuild_jump_labels(), reg_equiv_memory_loc, reg_equiv_memory_loc_varray, regclass(), reload(), timevar_pop, timevar_push, TRUE, VARRAY_GROW, and VARRAY_RTX.
Referenced by rest_of_compilation().
Definition at line 584 of file passes.c.
References allocate_reg_life_data(), no_new_pseudos, NULL, partition_hot_cold_basic_blocks(), PROP_DEATH_NOTES, PROP_LOG_LINKS, PROP_REG_INFO, UPDATE_LIFE_GLOBAL_RM_NOTES, and update_life_info().
Referenced by rest_of_compilation().
Definition at line 1419 of file passes.c.
References close_dump_file(), current_function_decl, DFI_postreload, flag_non_call_exceptions, get_insns(), open_dump_file(), print_rtl_with_bb(), purge_all_dead_edges(), reload_cse_regs(), timevar_pop, and timevar_push.
Referenced by rest_of_compilation().
Definition at line 703 of file passes.c.
References cleanup_cfg(), CLEANUP_EXPENSIVE, CLEANUP_UPDATE_LIFE, close_dump_file(), current_function_decl, DFI_regmove, dump_file, get_insns(), ggc_collect(), max_reg_num(), open_dump_file(), print_rtl_with_bb(), regmove_optimize(), timevar_pop, and timevar_push.
Referenced by rest_of_compilation().
Definition at line 537 of file passes.c.
References close_dump_file(), copyprop_hardreg_forward(), current_function_decl, DFI_rnreg, flag_cprop_registers, flag_rename_registers, get_insns(), open_dump_file(), print_rtl_with_bb(), regrename_optimize(), timevar_pop, and timevar_push.
Referenced by rest_of_compilation().
Definition at line 553 of file passes.c.
References changed, cleanup_cfg(), CLEANUP_EXPENSIVE, CLEANUP_UPDATE_LIFE, close_dump_file(), current_function_decl, DFI_bbro, flag_reorder_blocks, flag_schedule_insns_after_reload, get_insns(), HAVE_conditional_execution, NULL, open_dump_file(), print_rtl_with_bb(), PROP_DEATH_NOTES, reorder_basic_blocks(), tracer(), UPDATE_LIFE_GLOBAL_RM_NOTES, and update_life_info().
Referenced by rest_of_compilation().
Definition at line 1436 of file passes.c.
References get_insns(), shorten_branches(), timevar_pop, and timevar_push.
Referenced by rest_of_compilation().
Definition at line 1300 of file passes.c.
References ACCUMULATE_OUTGOING_ARGS, cleanup_cfg(), CLEANUP_EXPENSIVE, CLEANUP_UPDATE_LIFE, combine_stack_adjustments(), dump_file, flag_crossjumping, life_analysis(), and PROP_POSTRELOAD.
Referenced by rest_of_handle_flow2().
Definition at line 719 of file passes.c.
References cleanup_cfg(), CLEANUP_EXPENSIVE, close_dump_file(), current_function_decl, DFI_tracer, dump_file, dump_flow_info(), get_insns(), max_reg_num(), open_dump_file(), print_rtl_with_bb(), reg_scan(), and tracer().
Referenced by rest_of_compilation().
Definition at line 833 of file passes.c.
References cleanup_cfg(), CLEANUP_EXPENSIVE, close_dump_file(), current_function_decl, DFI_vpt, get_insns(), open_dump_file(), print_rtl_with_bb(), timevar_pop, timevar_push, and value_profile_transformations().
Referenced by rest_of_compilation().
Definition at line 427 of file passes.c.
References close_dump_file(), current_function_decl, DFI_vartrack, get_insns(), open_dump_file(), print_rtl_with_bb(), timevar_pop, timevar_push, and variable_tracking_main().
Referenced by rest_of_compilation().
Definition at line 789 of file passes.c.
References cleanup_cfg(), CLEANUP_EXPENSIVE, close_dump_file(), current_function_decl, delete_trivially_dead_insns(), DFI_web, get_insns(), max_reg_num(), open_dump_file(), print_rtl_with_bb(), reg_scan(), timevar_pop, timevar_push, and web_main().
Referenced by rest_of_compilation().
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().
1.5.6