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 | |
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 | |
rtl_opt_pass (const pass_data &data, gcc::context *ctxt) |
Protected Attributes | |
gcc::context * | ctxt_ |
Description of RTL pass.
|
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 |
|
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().
|
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().
|
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().