20#ifndef GCC_LANG_HOOKS_H
21#define GCC_LANG_HOOKS_H
343 unsigned HOST_WIDE_INT tkind,
444 const line_map_ordinary *);
479 int kind, location_t loc,
552 const char *(*decl_printable_name) (
tree decl,
int verbosity);
557 const char *(*dwarf_name) (
tree,
int verbosity);
682 location_t *out_loc);
691 const char *(*get_sarif_source_language) (
const char *filename);
702 const char *library_name,
708 const char *library_name,
711 int,
const char *,
tree);
Definition genoutput.cc:150
Definition diagnostics/context.h:254
Definition text-sink.h:35
Definition genmatch.cc:1507
Definition dumpfile.h:666
Definition substring-locations.h:47
gimple * gimple_seq
Definition coretypes.h:100
const union tree_node * const_tree
Definition coretypes.h:98
union tree_node * tree
Definition coretypes.h:97
int alias_set_type
Definition coretypes.h:342
static options_p option(options_p prev)
Definition gengtype-parse.cc:547
fields
Definition gengtype.cc:622
tree_code
Definition genmatch.cc:1002
bool lang_GNU_C(void)
Definition langhooks.cc:985
tree simulate_builtin_function_decl(location_t, const char *, tree, int, const char *, tree)
Definition langhooks.cc:824
void(* lang_print_tree_hook)(FILE *, tree, int indent)
Definition langhooks.h:32
tree add_builtin_type(const char *name, tree type)
Definition langhooks.cc:855
tree add_builtin_function_ext_scope(const char *name, tree type, int function_code, enum built_in_class cl, const char *library_name, tree attrs)
Definition langhooks.cc:802
tree add_builtin_function(const char *name, tree type, int function_code, enum built_in_class cl, const char *library_name, tree attrs)
Definition langhooks.cc:782
bool lang_GNU_OBJC(void)
Definition langhooks.cc:1011
bool lang_GNU_CXX(void)
Definition langhooks.cc:994
bool lang_GNU_Fortran(void)
Definition langhooks.cc:1002
@ RECORD_IS_CLASS
Definition langhooks.h:35
@ RECORD_IS_INTERFACE
Definition langhooks.h:35
@ RECORD_IS_STRUCT
Definition langhooks.h:35
Definition dwarf2out.h:451
Definition var-tracking.cc:242
Definition genautomata.cc:499
Definition diagnostic-info.h:32
Definition dwarf2out.h:485
Definition gimplify.cc:278
Definition langhooks.h:198
bool(* omp_is_allocatable_or_ptr)(const_tree)
Definition langhooks.h:260
bool(* global_bindings_p)(void)
Definition langhooks.h:202
tree(* omp_clause_assign_op)(tree clause, tree dst, tree src)
Definition langhooks.h:310
bool(* generic_generic_parameter_decl_p)(const_tree)
Definition langhooks.h:219
tree(* omp_clause_linear_ctor)(tree clause, tree dst, tree src, tree add)
Definition langhooks.h:314
void(* omp_deep_mapping)(const gimple *stmt, tree clause, unsigned HOST_WIDE_INT tkind, tree data, tree sizes, tree kinds, tree offset_data, tree offset, gimple_seq *seq)
Definition langhooks.h:342
tree(* omp_array_data)(tree, bool)
Definition langhooks.h:244
bool(* omp_disregard_value_expr)(tree, bool)
Definition langhooks.h:291
bool(* function_parm_expanded_from_pack_p)(tree, tree)
Definition langhooks.h:223
bool(* omp_deep_mapping_p)(const gimple *ctx_stmt, tree clause)
Definition langhooks.h:326
tree(* omp_clause_dtor)(tree clause, tree decl)
Definition langhooks.h:318
bool(* omp_array_data_privatize)(tree)
Definition langhooks.h:251
bool(* omp_privatize_by_reference)(const_tree)
Definition langhooks.h:273
bool(* omp_private_debug_clause)(tree, bool)
Definition langhooks.h:295
tree(* get_generic_function_decl)(const_tree)
Definition langhooks.h:226
tree(* omp_clause_default_ctor)(tree clause, tree decl, tree outer)
Definition langhooks.h:304
void(* post_compilation_parsing_cleanups)(void)
Definition langhooks.h:236
tree(* omp_deep_mapping_cnt)(const gimple *ctx_stmt, tree clause, gimple_seq *seq)
Definition langhooks.h:332
tree(* omp_finish_mapper_clauses)(tree clauses)
Definition langhooks.h:349
bool(* omp_allocatable_p)(tree decl)
Definition langhooks.h:365
tree(* omp_array_size)(tree, gimple_seq *pre_p)
Definition langhooks.h:256
bool(* warn_unused_global)(const_tree)
Definition langhooks.h:230
tree(* omp_mapper_lookup)(tree name, tree type)
Definition langhooks.h:353
tree(* omp_map_array_section)(location_t, tree t)
Definition langhooks.h:361
enum omp_clause_defaultmap_kind(* omp_predetermined_mapping)(tree)
Definition langhooks.h:281
bool(* omp_private_outer_ref)(tree)
Definition langhooks.h:299
enum omp_clause_default_kind(* omp_predetermined_sharing)(tree)
Definition langhooks.h:277
tree(* getdecls)(void)
Definition langhooks.h:211
tree(* omp_report_decl)(tree)
Definition langhooks.h:285
int(* decl_dwarf_attribute)(const_tree, int)
Definition langhooks.h:215
void(* omp_finish_decl_inits)(void)
Definition langhooks.h:384
tree(* omp_extract_mapper_directive)(tree fndecl)
Definition langhooks.h:358
tree(* omp_clause_copy_ctor)(tree clause, tree dst, tree src)
Definition langhooks.h:307
tree(* omp_check_optional_argument)(tree, bool)
Definition langhooks.h:269
void(* omp_finish_clause)(tree clause, gimple_seq *pre_p, bool)
Definition langhooks.h:321
tree(* pushdecl)(tree)
Definition langhooks.h:208
bool(* omp_scalar_p)(tree decl, bool ptr_ok)
Definition langhooks.h:370
bool(* omp_scalar_target_p)(tree decl)
Definition langhooks.h:374
bool(* ok_for_sibcall)(const_tree)
Definition langhooks.h:239
Definition langhooks.h:390
void(* end_section)(void)
Definition langhooks.h:401
void(* append_data)(const void *data, size_t len, void *block)
Definition langhooks.h:398
void(* begin_section)(const char *name)
Definition langhooks.h:392
Definition langhooks.h:50
bool(* dump_tree)(void *, tree)
Definition langhooks.h:53
int(* type_quals)(const_tree)
Definition langhooks.h:56
Definition langhooks.h:43
bool(* var_mod_type_p)(tree, tree)
Definition langhooks.h:44
Definition langhooks.h:62
void(* get_subrange_bounds)(const_tree, tree *, tree *)
Definition langhooks.h:146
tree(* simulate_record_decl)(location_t loc, const char *name, array_slice< const tree > fields)
Definition langhooks.h:78
tree(* classtype_as_base)(const_tree)
Definition langhooks.h:192
enum classify_record(* classify_record)(tree)
Definition langhooks.h:84
tree(* max_size)(const_tree)
Definition langhooks.h:125
tree(* make_type)(enum tree_code)
Definition langhooks.h:65
bool(* get_array_descr_info)(const_tree, struct array_descr_info *)
Definition langhooks.h:143
tree(* reconstruct_complex_type)(tree, tree)
Definition langhooks.h:162
tree(* unit_size_without_reusable_padding)(tree)
Definition langhooks.h:187
bool(* type_hash_eq)(const_tree, const_tree)
Definition langhooks.h:135
tree(* simulate_enum_decl)(location_t, const char *, vec< string_int_pair > *)
Definition langhooks.h:69
tree(* type_for_mode)(machine_mode, int)
Definition langhooks.h:88
void(* omp_firstprivatize_type_sizes)(struct gimplify_omp_ctx *, tree)
Definition langhooks.h:129
bool(* generic_p)(const_tree)
Definition langhooks.h:96
tree(* type_promotes_to)(tree)
Definition langhooks.h:105
void(* incomplete_type_error)(location_t loc, const_tree value, const_tree type)
Definition langhooks.h:120
tree(* copy_lang_qualifiers)(const_tree, const_tree)
Definition langhooks.h:139
tree(* get_argument_pack_elems)(const_tree)
Definition langhooks.h:99
int(* type_dwarf_attribute)(const_tree, int)
Definition langhooks.h:183
tree(* descriptive_type)(const_tree)
Definition langhooks.h:156
tree(* get_type_bias)(const_tree)
Definition langhooks.h:151
void(* register_builtin_type)(tree, const char *)
Definition langhooks.h:114
tree(* type_for_size)(unsigned, int)
Definition langhooks.h:92
tree(* enum_underlying_base_type)(const_tree)
Definition langhooks.h:168
tree(* get_debug_type)(const_tree)
Definition langhooks.h:174
bool(* get_fixed_point_type_info)(const_tree, struct fixed_point_type_info *)
Definition langhooks.h:178
Definition langhooks.h:407
void(* preprocess_options)(cpp_reader *)
Definition langhooks.h:447
struct lang_hooks_for_tree_inlining tree_inlining
Definition langhooks.h:586
tree(* simulate_builtin_function_decl)(tree decl)
Definition langhooks.h:631
bool(* function_parameter_pack_p)(const_tree)
Definition langhooks.h:607
bool(* init)(void)
Definition langhooks.h:495
void(* init_ts)(void)
Definition langhooks.h:634
void(* overwrite_decl_assembler_name)(tree, tree)
Definition langhooks.h:527
void(* set_decl_assembler_name)(tree)
Definition langhooks.h:523
tree(* eh_runtime_type)(tree)
Definition langhooks.h:645
const char * name
Definition langhooks.h:410
array_slice< const struct scoped_attribute_specs *const > attribute_table
Definition langhooks.h:584
PT_flags
Definition langhooks.h:456
@ PT_begin_pragma
Definition langhooks.h:457
size_t identifier_size
Definition langhooks.h:414
void(* init_options_struct)(struct gcc_options *opts)
Definition langhooks.h:430
struct lang_hooks_for_decls decls
Definition langhooks.h:590
lang_print_tree_hook print_type
Definition langhooks.h:540
void(* finalize_early_debug)(void)
Definition langhooks.h:685
bool custom_function_descriptors
Definition langhooks.h:669
unsigned int(* option_lang_mask)(void)
Definition langhooks.h:427
void(* preprocess_main_file)(cpp_reader *, line_maps *, const line_map_ordinary *)
Definition langhooks.h:443
void(* dup_lang_specific_decl)(tree)
Definition langhooks.h:516
uintptr_t(* preprocess_token)(cpp_reader *, const cpp_token *, uintptr_t)
Definition langhooks.h:453
bool(* post_options)(const char **)
Definition langhooks.h:490
struct lang_hooks_for_types types
Definition langhooks.h:592
void(* parse_file)(void)
Definition langhooks.h:501
lang_print_tree_hook print_xnode
Definition langhooks.h:535
HOST_WIDE_INT(* to_target_charset)(HOST_WIDE_INT)
Definition langhooks.h:577
tree(* builtin_function_ext_scope)(tree decl)
Definition langhooks.h:622
bool(* complain_wrong_lang_p)(const struct cl_option *option)
Definition langhooks.h:466
int(* gimplify_expr)(tree *, gimple_seq *, gimple_seq *)
Definition langhooks.h:611
size_t(* tree_size)(enum tree_code)
Definition langhooks.h:423
tree(* builtin_function)(tree decl)
Definition langhooks.h:614
void(* finish)(void)
Definition langhooks.h:498
int(* types_compatible_p)(tree x, tree y)
Definition langhooks.h:562
struct lang_hooks_for_tree_dump tree_dump
Definition langhooks.h:588
tree(* expr_to_decl)(tree expr, bool *tc, bool *se)
Definition langhooks.h:639
tree(* eh_personality)(void)
Definition langhooks.h:642
void(* initialize_diagnostics)(diagnostics::context *)
Definition langhooks.h:440
void(* print_statistics)(void)
Definition langhooks.h:531
alias_set_type(* get_alias_set)(tree)
Definition langhooks.h:508
bool eh_use_cxa_end_cleanup
Definition langhooks.h:661
lang_print_tree_hook print_identifier
Definition langhooks.h:541
lang_print_tree_hook print_decl
Definition langhooks.h:539
void(* print_error_function)(diagnostics::text_sink &, const char *, const diagnostics::diagnostic_info *)
Definition langhooks.h:566
tree(* get_innermost_generic_parms)(const_tree)
Definition langhooks.h:600
bool(* missing_noreturn_ok_p)(tree)
Definition langhooks.h:504
void(* preprocess_undef)(cpp_reader *, location_t, cpp_hashnode *)
Definition langhooks.h:450
void(* finish_incomplete_decl)(tree)
Definition langhooks.h:512
bool emits_begin_stmt
Definition langhooks.h:672
void(* free_lang_data)(tree)
Definition langhooks.h:417
bool deep_unsharing
Definition langhooks.h:665
struct lang_hooks_for_lto lto
Definition langhooks.h:594
bool(* handle_option)(size_t code, const char *arg, HOST_WIDE_INT value, int kind, location_t loc, const struct cl_option_handlers *handlers)
Definition langhooks.h:478
tree(* get_innermost_generic_args)(const_tree)
Definition langhooks.h:604
void(* register_dumps)(gcc::dump_manager *)
Definition langhooks.h:461
tree(* eh_protect_cleanup_actions)(void)
Definition langhooks.h:653
void(* init_options)(unsigned int decoded_options_count, struct cl_decoded_option *decoded_options)
Definition langhooks.h:435
void(* run_lang_selftests)(void)
Definition langhooks.h:675
bool(* block_may_fallthru)(const_tree)
Definition langhooks.h:657
Definition gengtype.h:252
#define bool
Definition system.h:889
built_in_class
Definition tree-core.h:172
omp_clause_default_kind
Definition tree-core.h:626
omp_clause_defaultmap_kind
Definition tree-core.h:636
const T2 & y
Definition wide-int.h:3870