GCC Middle and Back End API Reference
|
Go to the source code of this file.
Functions | |
int | toplev_main (int, char **) |
void | rest_of_decl_compilation (tree, int, int) |
void | rest_of_type_compilation (tree, int) |
void | init_optimization_passes (void) |
bool | enable_rtl_dump_file (void) |
void | init_eh (void) |
void | announce_function (tree) |
void | wrapup_global_declaration_1 (tree) |
bool | wrapup_global_declaration_2 (tree) |
bool | wrapup_global_declarations (tree *, int) |
void | check_global_declaration_1 (tree) |
void | check_global_declarations (tree *, int) |
void | emit_debug_global_declarations (tree *, int) |
void | write_global_declarations (void) |
void | dump_memory_report (bool) |
void | dump_profile_report (void) |
void | target_reinit (void) |
void | print_version (FILE *, const char *) |
const char * | get_src_pwd (void) |
bool | set_src_pwd (const char *) |
HOST_WIDE_INT | get_random_seed (bool) |
const char * | set_random_seed (const char *) |
Variables | |
struct cl_decoded_option * | save_decoded_options |
unsigned int | save_decoded_options_count |
unsigned | local_tick |
bool | user_defined_section_attribute |
int | flag_rerun_cse_after_global_opts |
struct ht * | ident_hash |
void announce_function | ( | tree | ) |
void check_global_declaration_1 | ( | tree | ) |
void check_global_declarations | ( | tree * | , |
int | |||
) |
void dump_memory_report | ( | bool | ) |
void dump_profile_report | ( | void | ) |
Output profile consistency.
References gcc::pass_manager::dump_profile_report(), g, and gcc::context::get_passes().
Referenced by finalize().
void emit_debug_global_declarations | ( | tree * | , |
int | |||
) |
bool enable_rtl_dump_file | ( | void | ) |
Enable RTL dump for all the RTL passes.
References dump_enable_all().
Referenced by handle_common_deferred_options().
HOST_WIDE_INT get_random_seed | ( | bool | ) |
Functions used to manipulate the random seed.
const char* get_src_pwd | ( | void | ) |
Functions used to get and set GCC's notion of in what directory compilation was started.
Return the directory from which the translation unit was initiated, in case set_src_pwd() was not called before to assign it a different value.
Referenced by comp_dir_string(), and dbxout_init().
void init_eh | ( | void | ) |
In except.c. Initialize exception handling. This is used by the Ada and LTO front ends to initialize EH "on demand". See lto-streamer-in.c and ada/gcc-interface/misc.c.
References build_array_type(), build_index_type(), build_pointer_type(), get_identifier(), layout_type(), lang_hooks_for_types::make_type, sjlj_fc_call_site_ofs, sjlj_fc_data_ofs, sjlj_fc_jbuf_ofs, sjlj_fc_lsda_ofs, sjlj_fc_personality_ofs, sjlj_fc_type_node, t2r_eq(), t2r_hash(), targetm, tree_low_cst(), lang_hooks_for_types::type_for_mode, type_to_runtime_map, lang_hooks::types, and UI_SJLJ.
Referenced by lang_dependent_init(), and lto_init_eh().
void init_optimization_passes | ( | void | ) |
void print_version | ( | FILE * | , |
const char * | |||
) |
void rest_of_decl_compilation | ( | tree | decl, |
int | top_level, | ||
int | at_end | ||
) |
This is called from various places for FUNCTION_DECL, VAR_DECL, and TYPE_DECL nodes. This does nothing for local (non-static) variables, unless the variable is a register variable with DECL_ASSEMBLER_NAME set. In that case, or if the variable is not an automatic, it sets up the RTL and outputs any assembler code (label definition, storage allocation and initialization). DECL is the declaration. TOP_LEVEL is nonzero if this declaration is not within a function.
References asm_out_file, assemble_alias(), debug_hooks, get_identifier(), last_assemble_variable_decl, lookup_attribute(), make_decl_rtl(), seen_error(), timevar_pop(), timevar_push(), gcc_debug_hooks::type_decl, varpool_finalize_decl(), and varpool_node_for_decl().
Referenced by expand_one_hard_reg_var(), and wrapup_global_declaration_2().
void rest_of_type_compilation | ( | tree | , |
int | |||
) |
const char* set_random_seed | ( | const char * | ) |
bool set_src_pwd | ( | const char * | ) |
void target_reinit | ( | void | ) |
Reinitialize everything when target parameters, such as register usage, have changed.
References backend_init_target(), lang_dependent_init_target(), memset(), and regno_reg_rtx.
Referenced by save_target_globals().
int toplev_main | ( | int | , |
char ** | |||
) |
void wrapup_global_declaration_1 | ( | tree | ) |
bool wrapup_global_declaration_2 | ( | tree | ) |
bool wrapup_global_declarations | ( | tree * | , |
int | |||
) |
void write_global_declarations | ( | void | ) |
lang_hooks.decls.final_write_globals: perform final processing on global variables.
References check_global_declarations(), lang_hooks::decls, emit_debug_global_declarations(), finalize_compilation_unit(), free(), lang_hooks_for_decls::getdecls, len, list_length(), timevar_start(), timevar_stop(), and wrapup_global_declarations().
int flag_rerun_cse_after_global_opts |
See toplev.c.
Set to non-zero if CSE should run after all GCSE optimizations are done.
Referenced by execute_rtl_cprop(), execute_rtl_hoist(), execute_rtl_pre(), execute_rtl_store_motion(), gate_handle_cse_after_global_opts(), and rest_of_clean_state().
struct ht* ident_hash |
The hashtable, so that the C front ends can pass it to cpplib.
Referenced by get_identifier(), get_identifier_with_length(), ggc_mark_stringpool(), ggc_purge_stringpool(), gt_pch_restore_stringpool(), gt_pch_save_stringpool(), init_stringpool(), maybe_get_identifier(), and stringpool_statistics().
unsigned local_tick |
A unique local time stamp, might be zero if none is available.
Referenced by coverage_finish(), coverage_init(), and crash_signal().
struct cl_decoded_option* save_decoded_options |
Decoded options, and number of such options.
Referenced by crash_signal(), gen_producer_string(), and lto_write_options().
unsigned int save_decoded_options_count |
Referenced by crash_signal(), gen_producer_string(), and lto_write_options().
bool user_defined_section_attribute |
True if the user has tagged the function with the 'section' attribute.
Referenced by crash_signal(), gate_handle_partition_blocks(), and rest_of_handle_final().