GCC Middle and Back End API Reference
|
#include <langhooks.h>
Public Types | |
enum | PT_flags { PT_begin_pragma = 1 << 0 } |
Language-specific hooks. See langhooks-def.h for defaults.
enum lang_hooks::PT_flags |
array_slice<const struct scoped_attribute_specs *const> lang_hooks::attribute_table |
Referenced by init_attributes().
bool(* lang_hooks::block_may_fallthru) (const_tree) |
Referenced by block_may_fallthru().
Referenced by add_builtin_function().
Referenced by add_builtin_function_ext_scope().
Referenced by complain_wrong_lang().
bool lang_hooks::custom_function_descriptors |
Referenced by announce_function(), convert_all_function_calls(), default_tree_printer(), cgraph_node::dump(), thunk_info::dump(), dump_alias_info(), dump_dfa_stats(), dump_function_header(), dump_function_name(), dump_tree_ssa(), eliminate_dom_walker::eliminate_stmt(), execute_oacc_loop_designation(), expand_expr_real_1(), flag_instrument_functions_exclude_p(), fndecl_name(), fold_builtin_FUNCTION(), get_chain_decl(), get_chain_field(), compiler_logical_location::get_name_for_tree_for_path_output(), compiler_logical_location::get_name_with_scope_for_tree(), compiler_logical_location::get_short_name_for_tree(), optrecord_json_writer::inlining_chain_to_json(), ipa_tm_scan_irr_function(), lhd_dwarf_name(), lhd_print_error_function(), lower_nested_functions(), symtab_node::name(), optimize_va_list_gpr_fpr_size(), print_decl_identifier(), print_rtx_function(), and record_dynamic_alloc().
struct lang_hooks_for_decls lang_hooks::decls |
Referenced by add_builtin_type(), can_implement_as_sibling_call_p(), check_global_declaration(), compile_file(), create_task_copyfn(), fold_range_test(), gen_formal_types_die(), generic_parameter_die(), gimplify_adjust_omp_clauses(), gimplify_adjust_omp_clauses_1(), gimplify_omp_for(), gimplify_omp_loop(), gimplify_scan_omp_clauses(), global_decl_processing(), install_var_field(), lhd_builtin_function(), lhd_simulate_enum_decl(), lhd_simulate_record_decl(), lower_copyprivate_clauses(), lower_lastprivate_clauses(), lower_omp_for_scan(), lower_omp_scan(), lower_omp_target(), lower_omp_task_reductions(), lower_rec_input_clauses(), lower_send_clauses(), maybe_build_inner_data_region(), oacc_default_clause(), omp_check_optional_argument(), omp_default_clause(), omp_discover_declare_target_var_r(), omp_discover_implicit_declare_target(), omp_is_allocatable_or_ptr(), omp_member_access_dummy_var(), omp_notice_variable(), omp_privatize_by_reference(), scan_sharing_clauses(), and variable_size().
bool lang_hooks::deep_unsharing |
Referenced by unshare_body().
void(* lang_hooks::dup_lang_specific_decl) (tree) |
Referenced by copy_arguments_nochange(), copy_decl_no_change(), copy_static_chain(), and tree_function_versioning().
const char *(* lang_hooks::dwarf_name) (tree, int verbosity) |
tree(* lang_hooks::eh_personality) (void) |
Referenced by cgraph_node::add_new_function(), and get_personality_function().
tree(* lang_hooks::eh_protect_cleanup_actions) (void) |
Referenced by honor_protect_cleanup_actions(), and maybe_catch_exception().
Referenced by add_type_for_runtime().
bool lang_hooks::eh_use_cxa_end_cleanup |
Referenced by gen_eh_region().
bool lang_hooks::emits_begin_stmt |
Referenced by allocate_struct_function().
Referenced by recompute_tree_invariant_for_addr_expr().
void(* lang_hooks::finalize_early_debug) (void) |
Referenced by symbol_table::finalize_compilation_unit().
void(* lang_hooks::finish) (void) |
Referenced by finalize().
void(* lang_hooks::finish_incomplete_decl) (tree) |
Referenced by wrapup_global_declaration_1().
void(* lang_hooks::free_lang_data) (tree) |
bool(* lang_hooks::function_parameter_pack_p) (const_tree) |
Referenced by gen_formal_types_die().
alias_set_type(* lang_hooks::get_alias_set) (tree) |
Referenced by get_alias_set(), and reference_alias_ptr_type().
tree(* lang_hooks::get_innermost_generic_args) (const_tree) |
Referenced by gen_generic_params_dies().
tree(* lang_hooks::get_innermost_generic_parms) (const_tree) |
Referenced by gen_generic_params_dies().
const char *(* lang_hooks::get_sarif_source_language) (const char *filename) |
Referenced by compiler_data_hooks::maybe_get_sarif_source_language().
const char *(* lang_hooks::get_substring_location) (const substring_loc &, location_t *out_loc) |
Referenced by substring_loc::get_location().
int(* lang_hooks::gimplify_expr) (tree *, gimple_seq *, gimple_seq *) |
Referenced by gimplify_expr().
bool(* lang_hooks::handle_option) (size_t code, const char *arg, HOST_WIDE_INT value, int kind, location_t loc, const struct cl_option_handlers *handlers) |
Referenced by lang_handle_option().
size_t lang_hooks::identifier_size |
Referenced by tree_code_size().
bool(* lang_hooks::init) (void) |
Referenced by lang_dependent_init().
void(* lang_hooks::init_options) (unsigned int decoded_options_count, struct cl_decoded_option *decoded_options) |
Referenced by toplev::main().
void(* lang_hooks::init_options_struct) (struct gcc_options *opts) |
Referenced by toplev::main().
void(* lang_hooks::init_ts) (void) |
Referenced by init_ttree().
void(* lang_hooks::initialize_diagnostics) (diagnostic_context *) |
Referenced by init_options_once().
struct lang_hooks_for_lto lang_hooks::lto |
Referenced by lto_append_data(), lto_begin_section(), lto_end_section(), lto_write_data(), lto_write_raw_data(), and lto_write_stream().
Referenced by warn_function_noreturn().
const char* lang_hooks::name |
Referenced by build_translation_unit_decl(), coverage_init(), fold_cond_expr_with_comparison(), compiler_version_info::get_tool_name(), init_asm_output(), lang_GNU_C(), lang_GNU_CXX(), lang_GNU_Fortran(), lang_GNU_OBJC(), optrecord_json_writer::optrecord_json_writer(), print_version(), and process_options().
unsigned int(* lang_hooks::option_lang_mask) (void) |
Referenced by general_init(), init_options_once(), and suggest_attribute().
Referenced by overwrite_decl_assembler_name().
void(* lang_hooks::parse_file) (void) |
Referenced by compile_file().
bool(* lang_hooks::post_options) (const char **) |
Referenced by toplev::main().
void(* lang_hooks::preprocess_main_file) (cpp_reader *, line_maps *, const line_map_ordinary *) |
void(* lang_hooks::preprocess_options) (cpp_reader *) |
uintptr_t(* lang_hooks::preprocess_token) (cpp_reader *, const cpp_token *, uintptr_t) |
void(* lang_hooks::preprocess_undef) (cpp_reader *, location_t, cpp_hashnode *) |
lang_print_tree_hook lang_hooks::print_decl |
Referenced by dump_tree_via_hooks(), and print_node().
void(* lang_hooks::print_error_function) (diagnostic_text_output_format &, const char *, const struct diagnostic_info *) |
Referenced by diagnostic_report_current_function().
lang_print_tree_hook lang_hooks::print_identifier |
Referenced by dump_tree_via_hooks(), and print_node().
void(* lang_hooks::print_statistics) (void) |
lang_print_tree_hook lang_hooks::print_type |
Referenced by dump_tree_via_hooks(), and print_node().
lang_print_tree_hook lang_hooks::print_xnode |
Referenced by print_node().
void(* lang_hooks::register_dumps) (gcc::dump_manager *) |
Referenced by gcc::dump_manager::register_dumps().
void(* lang_hooks::run_lang_selftests) (void) |
void(* lang_hooks::set_decl_assembler_name) (tree) |
Referenced by decl_assembler_name().
Referenced by simulate_builtin_function_decl().
HOST_WIDE_INT(* lang_hooks::to_target_charset) (HOST_WIDE_INT) |
Referenced by fold_builtin_isdigit(), cfn_toupper_tolower::get_letter_range(), and init_target_chars().
struct lang_hooks_for_tree_dump lang_hooks::tree_dump |
Referenced by dequeue_and_dump().
struct lang_hooks_for_tree_inlining lang_hooks::tree_inlining |
Referenced by variably_modified_type_p().
size_t(* lang_hooks::tree_size) (enum tree_code) |
Referenced by tree_code_size().
struct lang_hooks_for_types lang_hooks::types |
Referenced by add_gnat_descriptive_type_attribute(), add_iv_candidate_for_use(), tree_switch_conversion::switch_conversion::array_value_type(), base_type_die(), base_type_for_mode(), tree_switch_conversion::switch_conversion::build_arrays(), build_common_builtin_nodes(), build_fn_info_type(), build_split_load(), build_type_attribute_qual_variant(), build_word_mode_vector_type(), check_lang_type(), clear_padding_flush(), clear_padding_type(), compute_doloop_base_on_mode(), convert_to_integer_1(), convert_to_pointer_1(), coverage_obj_init(), default_emutls_var_fields(), do_jump(), do_narrow(), do_store_flag(), tree_switch_conversion::bit_test_cluster::emit(), emit_library_call_value_1(), emit_push_insn(), emutls_common_1(), type_cache_hasher::equal(), expand_doubleword_mod(), expand_expr_real_1(), expand_single_bit_test(), expand_vector_parallel(), find_bitfield_repr_type(), finish_bitfield_representative(), fixup_child_record_type(), gen_generic_params_dies(), get_emutls_object_type(), get_gcov_type(), get_gcov_unsigned_t(), get_narrower(), get_nl_goto_field(), get_related_vectype_for_scalar_type(), get_stack_local_alignment(), get_unwidened(), gimple_fold_builtin_memset(), gimple_get_alias_set(), gimplify_scalar_mode_aggregate_compare(), gimplify_va_arg_expr(), init_eh(), init_ic_make_global_vars(), initialize_sanitizer_builtins(), install_var_field(), lhd_enum_underlying_base_type(), lhd_simulate_enum_decl(), lhd_simulate_record_decl(), lower_omp_task_reductions(), make_debug_expr_from_rtl(), make_range_step(), make_tree(), max_int_size_in_bytes(), modified_type_die(), native_encode_fixed(), oacc_do_neutering(), omp_clause_aligned_alignment(), omp_firstprivatize_type_sizes(), ompdevlow_adjust_simt_enter(), optimize_bit_field_compare(), optimize_range_tests_to_bit_test(), range_check_type(), rt_bb_visited::rt_bb_visited(), scan_omp_parallel(), scan_omp_single(), scan_omp_target(), scan_omp_task(), scan_omp_teams(), separate_decls_in_region(), set_stack_check_libfunc(), should_emit_struct_debug(), simd_clone_adjust_argument_types(), size_in_bytes_loc(), store_constructor(), store_expr(), subrange_type_for_debug_p(), supportable_narrowing_operation(), supportable_widening_operation(), task_copyfn_remap_type(), try_casesi(), vect_build_one_gather_load_call(), vect_build_one_scatter_store_call(), vect_get_loop_mask(), vect_set_loop_condition_partial_vectors_avx512(), and vectorizable_simd_clone_call().