GCC Middle and Back End API Reference
|
#include <toplev.h>
Public Member Functions | |
toplev (timer *external_timer, bool init_signals) | |
~toplev () | |
int | main (int argc, char **argv) |
void | finalize () |
Private Member Functions | |
void | start_timevars () |
void | run_self_tests () |
Private Attributes | |
bool | m_use_TV_TOTAL |
bool | m_init_signals |
Invoking the compiler.
toplev::~toplev | ( | ) |
References g_timer, m_use_TV_TOTAL, NULL, timer::print(), and timer::stop().
void toplev::finalize | ( | void | ) |
For those that want to, this function aims to clean up enough state that you can call toplev::main again.
References cgraph_cc_finalize(), cgraphunit_cc_finalize(), dwarf2cfi_cc_finalize(), dwarf2out_cc_finalize(), g, gcse_cc_finalize(), ggc_common_finalize(), ipa_cp_cc_finalize(), ipa_edge_modifications_finalize(), ipa_fnsummary_cc_finalize(), ipa_icf_cc_finalize(), ipa_modref_cc_finalize(), ipa_profile_cc_finalize(), ipa_prop_cc_finalize(), ipa_reference_cc_finalize(), ipa_sra_cc_finalize(), ira_costs_cc_finalize(), no_backend, NULL, opts_obstack, reginfo_cc_finalize(), rtl_initialized, save_decoded_options, save_decoded_options_count, symtab_thunks_cc_finalize(), this_target_rtl, and tree_cc_finalize().
Referenced by main().
int toplev::main | ( | int | argc, |
char ** | argv ) |
Entry point of cc1, cc1plus, jc1, f771, etc. Exit code is FATAL_EXIT_CODE if can't open files or if there were any errors, or SUCCESS_EXIT_CODE if compilation succeeded. It is not safe to call this function more than once.
References after_memory_report, CL_OPTIMIZATION, cl_options, cl_options_count, CONST_CAST2, debug_hooks, decode_cmdline_options_to_array_default_mask(), decode_options(), diagnostic_finish(), do_compile(), do_nothing_debug_hooks, error_at(), errorcount, diagnostic_context::execution_failed_p(), FATAL_EXIT_CODE, finalize_plugins(), general_init(), diagnostic_context::get_edit_context(), global_dc, global_options, global_options_set, handle_common_deferred_options(), handle_deferred_dump_options(), i, init_ggc_heuristics(), init_local_tick(), lang_hooks::init_options, init_options_once(), init_options_struct(), lang_hooks::init_options_struct, init_opts_obstack(), initialize_plugins(), invoke_plugin_callbacks(), m_init_signals, diagnostic_context::m_printer, m_use_TV_TOTAL, no_backend, NULL, lang_hooks::post_options, pp_flush(), pp_show_color(), print_ignored_options(), print_plugins_help(), print_version, process_options(), run_self_tests(), save_decoded_options, save_decoded_options_count, save_opt_decoded_options, seen_error(), start_timevars(), SUCCESS_EXIT_CODE, targetm, UNKNOWN_LOCATION, warningcount, and werrorcount.
Referenced by main().
|
private |
Handle -fself-test.
References bitmap_obstack_initialize(), bitmap_obstack_release(), inform(), input_location, NULL, and UNKNOWN_LOCATION.
Referenced by main().
|
private |
Potentially call timevar_init (which will create g_timevars if it doesn't already exist).
References timevar_init(), and timevar_start().
Referenced by main().