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

Go to the source code of this file.
Referenced by init_optimization_passes(), and init_tree_optimization_passes().
Definition at line 116 of file tree-optimize.c.
References cleanup_dead_labels(), cleanup_tree_cfg(), and group_case_labels().
Definition at line 144 of file tree-optimize.c.
References alloc_stmt_list(), CDI_DOMINATORS, current_function_decl, DECL_SAVED_TREE, delete_tree_cfg_annotations(), delete_tree_ssa(), disband_implicit_edges(), and free_dominance_info().
| static bool execute_one_pass | ( | struct tree_opt_pass * | pass | ) | [static] |
Definition at line 487 of file tree-optimize.c.
References cfun, current_function_decl, DECL_ASSEMBLER_NAME, dump_begin(), dump_end(), dump_file, dump_file_name, dump_flags, tree_opt_pass::execute, execute_todo(), fprintf(), free(), FUNCTION_FREQUENCY_HOT, FUNCTION_FREQUENCY_UNLIKELY_EXECUTED, tree_opt_pass::gate, get_dump_file_name(), get_insns(), IDENTIFIER_POINTER, in_gimple_form, last_verified, NULL, print_rtl_with_bb(), PROP_cfg, PROP_rtl, PROP_trees, tree_opt_pass::properties_provided, tree_opt_pass::properties_required, tree_opt_pass::static_pass_number, timevar_pop, timevar_push, tree_opt_pass::todo_flags_finish, tree_opt_pass::todo_flags_start, TODO_verify_all, and tree_opt_pass::tv_id.
Referenced by execute_ipa_pass_list(), and execute_pass_list().
| static void execute_pass_list | ( | struct tree_opt_pass * | pass | ) | [static] |
Definition at line 563 of file tree-optimize.c.
References execute_one_pass(), tree_opt_pass::next, and tree_opt_pass::sub.
Referenced by execute_ipa_pass_list(), execute_pass_list(), tree_lowering_passes(), and tree_rest_of_compilation().
| static void execute_todo | ( | int | properties, | |
| unsigned int | flags | |||
| ) | [static] |
Definition at line 442 of file tree-optimize.c.
References bitmap_clear(), cleanup_tree_cfg(), current_function_decl, dump_file, dump_flags, dump_function_to_file(), fflush(), get_insns(), ggc_collect(), print_rtl(), print_rtl_with_bb(), PROP_cfg, PROP_trees, rewrite_def_def_chains(), rewrite_into_ssa(), TODO_cleanup_cfg, TODO_dump_func, TODO_fix_def_def_chains, TODO_ggc_collect, TODO_rename_vars, TODO_verify_flow, TODO_verify_ssa, TODO_verify_stmts, vars_to_rename, verify_flow_info(), verify_ssa(), and verify_stmts().
Referenced by execute_one_pass().
Definition at line 328 of file tree-optimize.c.
References NEXT_PASS, NULL, p, pass_build_cfg, pass_build_ssa, pass_ccp, pass_cd_dce, pass_ch, pass_complete_unroll, pass_dce, pass_del_ssa, pass_dominator, pass_dse, pass_early_warn_uninitialized, pass_expand, pass_fold_builtins, pass_forwprop, pass_if_conversion, pass_iv_canon, pass_iv_optimize, pass_late_warn_uninitialized, pass_lim, pass_linear_transform, pass_loop, pass_loop_done, pass_loop_init, pass_lower_cf, pass_lower_eh, pass_mark_used_blocks, pass_may_alias, pass_merge_phi, pass_mudflap_1, pass_mudflap_2, pass_nrv, pass_phiopt, pass_pre, pass_pre_expand, pass_profile, pass_record_bounds, pass_redundant_phi, pass_referenced_vars, pass_remove_useless_stmts, pass_remove_useless_vars, pass_rename_ssa_copies, pass_rest_of_compilation, pass_split_crit_edges, pass_sra, pass_tail_calls, pass_tail_recursion, pass_tree_profile, pass_unswitch, pass_vectorize, pass_warn_function_return, register_dump_files(), and tree_opt_pass::sub.
Referenced by general_init().
| static struct tree_opt_pass** next_pass_1 | ( | struct tree_opt_pass ** | list, | |
| struct tree_opt_pass * | pass | |||
| ) | [static, read] |
Definition at line 291 of file tree-optimize.c.
References memcpy, tree_opt_pass::name, tree_opt_pass::next, tree_opt_pass::static_pass_number, and xmalloc().
| static int register_dump_files | ( | struct tree_opt_pass * | pass, | |
| int | properties | |||
| ) | [static] |
Definition at line 246 of file tree-optimize.c.
References tree_opt_pass::gate, if(), n, tree_opt_pass::name, tree_opt_pass::next, PROP_rtl, tree_opt_pass::properties_destroyed, tree_opt_pass::properties_provided, tree_opt_pass::properties_required, register_one_dump_file(), and tree_opt_pass::sub.
Referenced by init_optimization_passes(), and init_tree_optimization_passes().
| static void register_one_dump_file | ( | struct tree_opt_pass * | pass, | |
| int | n | |||
| ) | [static] |
Definition at line 217 of file tree-optimize.c.
References concat(), dump_register(), tree_opt_pass::letter, tree_opt_pass::name, NULL, PROP_trees, tree_opt_pass::properties_provided, sprintf(), tree_opt_pass::static_pass_number, TDF_RTL, TDF_TREE, and TDI_tree_all.
Referenced by register_dump_files(), and register_dump_files_1().
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().
struct tree_opt_pass* all_passes [static] |
| int dump_flags |
Definition at line 57 of file tree-optimize.c.
Definition at line 59 of file tree-optimize.c.
Referenced by execute_one_pass(), fold(), fold_binary(), fold_builtin_isascii(), fold_builtin_isdigit(), fold_cond_expr_with_comparison(), fold_inf_compare(), fold_relational_hi_lo(), and non_lvalue().
unsigned int last_verified [static] |
Definition at line 439 of file tree-optimize.c.
Referenced by execute_one_pass(), and execute_todo().
struct tree_opt_pass pass_all_optimizations [static] |
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().
struct tree_opt_pass pass_free_datastructures [static] |
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().
struct tree_opt_pass pass_gimple [static] |
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.
struct tree_opt_pass pass_init_datastructures [static] |
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().
Definition at line 58 of file tree-optimize.c.
Referenced by convert_to_gimple_builtin(), create_global_var(), create_name_tags(), dom_opt_finalize_block(), execute_todo(), generate_element_init(), insert_phi_nodes(), make_rename_temp(), mark_all_v_defs(), mark_call_clobbered_vars_to_rename(), maybe_create_global_var(), move_computations(), prepare_def_operand_for_rename(), prepare_use_operand_for_rename(), propagate_into_addr(), remove_dead_stmt(), replace_immediate_uses(), rewrite_into_ssa(), rewrite_mem_refs(), rewrite_operand(), rewrite_virtual_phi_arguments(), set_pt_anything(), setup_pointers_and_addressables(), substitute_and_fold(), tree_loop_optimizer_init(), tree_rest_of_compilation(), tree_ssa_dominator_optimize(), tree_vectorize(), vect_create_data_ref_ptr(), and vectorize_loops().
1.5.6