GCC Middle and Back End API Reference
|
#include <tree-pass.h>
Public Member Functions | |
virtual opt_pass * | clone () |
virtual bool | gate () |
virtual unsigned int | execute () |
Data Fields | |
void(* | generate_summary )(void) |
void(* | write_summary )(void) |
void(* | read_summary )(void) |
void(* | write_optimization_summary )(void) |
void(* | read_optimization_summary )(void) |
void(* | stmt_fixup )(struct cgraph_node *, gimple *) |
unsigned int | function_transform_todo_flags_start |
unsigned int(* | function_transform )(struct cgraph_node *) |
void(* | variable_transform )(struct varpool_node *) |
struct opt_pass * | sub |
struct opt_pass * | next |
int | static_pass_number |
enum opt_pass_type | type |
const char * | name |
unsigned int | optinfo_flags |
bool | has_gate |
bool | has_execute |
timevar_id_t | tv_id |
unsigned int | properties_required |
unsigned int | properties_provided |
unsigned int | properties_destroyed |
unsigned int | todo_flags_start |
unsigned int | todo_flags_finish |
Protected Member Functions | |
ipa_opt_pass_d (const pass_data &data, gcc::context *ctxt, void(*generate_summary)(void), void(*write_summary)(void), void(*read_summary)(void), void(*write_optimization_summary)(void), void(*read_optimization_summary)(void), void(*stmt_fixup)(struct cgraph_node *, gimple *), unsigned int function_transform_todo_flags_start, unsigned int(*function_transform)(struct cgraph_node *), void(*variable_transform)(struct varpool_node *)) |
Protected Attributes | |
gcc::context * | ctxt_ |
Description of IPA pass with generate summary, write, execute, read and transform stages.
|
inlineprotected |
|
virtualinherited |
Most passes are single-instance (within their context) and thus don't need to implement cloning, but passes that support multiple instances *must* provide their own implementation of the clone method. Handle this by providing a default implemenation, but make it a fatal error to call it.
References internal_error(), and pass_data::name.
Referenced by position_pass().
|
virtualinherited |
Referenced by execute_one_pass().
|
virtualinherited |
|
protectedinherited |
unsigned int(* ipa_opt_pass_d::function_transform)(struct cgraph_node *) |
Referenced by execute_one_ipa_transform_pass().
unsigned int ipa_opt_pass_d::function_transform_todo_flags_start |
Referenced by execute_one_ipa_transform_pass().
void(* ipa_opt_pass_d::generate_summary)(void) |
Referenced by execute_ipa_summary_passes().
|
inherited |
Referenced by execute_one_pass().
|
inherited |
|
inherited |
Referenced by add_pass_instance(), opt_pass::clone(), dump_one_pass(), execute_one_pass(), next_pass_1(), print_current_pass(), gcc::pass_manager::register_dump_files_1(), gcc::pass_manager::register_one_dump_file(), gcc::pass_manager::register_pass(), statistics_counter_event(), statistics_fini_1(), statistics_fini_pass_2(), and statistics_histogram_event().
|
inherited |
Referenced by dump_pass_list(), execute_ipa_pass_list(), execute_ipa_stmt_fixups(), execute_ipa_summary_passes(), execute_pass_list(), ipa_read_optimization_summaries_1(), ipa_read_summaries_1(), ipa_write_optimization_summaries_1(), ipa_write_summaries_2(), next_pass_1(), position_pass(), and gcc::pass_manager::register_dump_files_1().
|
inherited |
Referenced by gcc::pass_manager::register_one_dump_file().
|
inherited |
Referenced by gcc::pass_manager::register_dump_files_1(), and update_properties_after_pass().
|
inherited |
Referenced by gcc::pass_manager::register_dump_files_1(), and update_properties_after_pass().
|
inherited |
Referenced by execute_one_pass(), and gcc::pass_manager::register_dump_files().
void(* ipa_opt_pass_d::read_optimization_summary)(void) |
Referenced by ipa_read_optimization_summaries_1().
void(* ipa_opt_pass_d::read_summary)(void) |
Referenced by ipa_read_summaries_1().
|
inherited |
Referenced by add_pass_instance(), curr_statistics_hash(), dump_one_pass(), enable_disable_pass(), execute_one_ipa_transform_pass(), execute_one_pass(), is_pass_explicitly_enabled_or_disabled(), lto_output_node(), pass_fini_dump_file(), pass_init_dump_file(), passes_pass_traverse(), print_current_pass(), gcc::pass_manager::register_one_dump_file(), gcc::pass_manager::register_pass(), gcc::pass_manager::set_pass_for_id(), statistics_counter_event(), statistics_fini_1(), statistics_fini_pass(), statistics_fini_pass_2(), and statistics_histogram_event().
void(* ipa_opt_pass_d::stmt_fixup)(struct cgraph_node *, gimple *) |
Referenced by execute_ipa_stmt_fixups().
|
inherited |
|
inherited |
Referenced by execute_one_pass().
|
inherited |
Referenced by add_pass_instance(), and execute_one_pass().
|
inherited |
|
inherited |
Referenced by execute_ipa_pass_list(), execute_ipa_stmt_fixups(), execute_ipa_summary_passes(), execute_one_pass(), execute_pass_list(), ipa_read_optimization_summaries_1(), ipa_read_summaries_1(), ipa_write_optimization_summaries_1(), ipa_write_summaries_2(), position_pass(), gcc::pass_manager::register_one_dump_file(), and gcc::pass_manager::register_pass().
void(* ipa_opt_pass_d::variable_transform)(struct varpool_node *) |
void(* ipa_opt_pass_d::write_optimization_summary)(void) |
Referenced by ipa_write_optimization_summaries_1().
void(* ipa_opt_pass_d::write_summary)(void) |
Referenced by ipa_write_summaries_2().