GCC Middle and Back End API Reference
langhooks-def.h File Reference
#include "hooks.h"
Include dependency graph for langhooks-def.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LANG_HOOKS_NAME   "GNU unknown"
 
#define LANG_HOOKS_IDENTIFIER_SIZE   sizeof (struct lang_identifier)
 
#define LANG_HOOKS_INIT   hook_bool_void_false
 
#define LANG_HOOKS_FINISH   lhd_do_nothing
 
#define LANG_HOOKS_PARSE_FILE   lhd_do_nothing
 
#define LANG_HOOKS_OPTION_LANG_MASK   hook_uint_void_0
 
#define LANG_HOOKS_INIT_OPTIONS_STRUCT   hook_void_gcc_optionsp
 
#define LANG_HOOKS_INIT_OPTIONS   lhd_init_options
 
#define LANG_HOOKS_INITIALIZE_DIAGNOSTICS   lhd_initialize_diagnostics
 
#define LANG_HOOKS_PREPROCESS_MAIN_FILE   NULL
 
#define LANG_HOOKS_PREPROCESS_OPTIONS   NULL
 
#define LANG_HOOKS_PREPROCESS_UNDEF   NULL
 
#define LANG_HOOKS_PREPROCESS_TOKEN   NULL
 
#define LANG_HOOKS_REGISTER_DUMPS   lhd_register_dumps
 
#define LANG_HOOKS_COMPLAIN_WRONG_LANG_P   lhd_complain_wrong_lang_p
 
#define LANG_HOOKS_HANDLE_OPTION   lhd_handle_option
 
#define LANG_HOOKS_POST_OPTIONS   lhd_post_options
 
#define LANG_HOOKS_MISSING_NORETURN_OK_P   hook_bool_tree_true
 
#define LANG_HOOKS_GET_ALIAS_SET   lhd_get_alias_set
 
#define LANG_HOOKS_FINISH_INCOMPLETE_DECL   lhd_do_nothing_t
 
#define LANG_HOOKS_DUP_LANG_SPECIFIC_DECL   lhd_do_nothing_t
 
#define LANG_HOOKS_SET_DECL_ASSEMBLER_NAME   lhd_set_decl_assembler_name
 
#define LANG_HOOKS_OVERWRITE_DECL_ASSEMBLER_NAME   lhd_overwrite_decl_assembler_name
 
#define LANG_HOOKS_PRINT_STATISTICS   lhd_do_nothing
 
#define LANG_HOOKS_PRINT_XNODE   lhd_print_tree_nothing
 
#define LANG_HOOKS_PRINT_DECL   lhd_print_tree_nothing
 
#define LANG_HOOKS_PRINT_TYPE   lhd_print_tree_nothing
 
#define LANG_HOOKS_PRINT_IDENTIFIER   lhd_print_tree_nothing
 
#define LANG_HOOKS_PRINT_ERROR_FUNCTION   lhd_print_error_function
 
#define LANG_HOOKS_DECL_PRINTABLE_NAME   lhd_decl_printable_name
 
#define LANG_HOOKS_DWARF_NAME   lhd_dwarf_name
 
#define LANG_HOOKS_FREE_LANG_DATA   lhd_do_nothing_t
 
#define LANG_HOOKS_TREE_SIZE   lhd_tree_size
 
#define LANG_HOOKS_TYPES_COMPATIBLE_P   lhd_types_compatible_p
 
#define LANG_HOOKS_BUILTIN_FUNCTION   lhd_builtin_function
 
#define LANG_HOOKS_BUILTIN_FUNCTION_EXT_SCOPE   LANG_HOOKS_BUILTIN_FUNCTION
 
#define LANG_HOOKS_SIMULATE_BUILTIN_FUNCTION_DECL   LANG_HOOKS_BUILTIN_FUNCTION
 
#define LANG_HOOKS_EXPR_TO_DECL   lhd_expr_to_decl
 
#define LANG_HOOKS_TO_TARGET_CHARSET   lhd_to_target_charset
 
#define LANG_HOOKS_INIT_TS   lhd_do_nothing
 
#define LANG_HOOKS_EH_PERSONALITY   lhd_gcc_personality
 
#define LANG_HOOKS_EH_RUNTIME_TYPE   lhd_pass_through_t
 
#define LANG_HOOKS_EH_PROTECT_CLEANUP_ACTIONS   NULL
 
#define LANG_HOOKS_BLOCK_MAY_FALLTHRU   hook_bool_const_tree_true
 
#define LANG_HOOKS_EH_USE_CXA_END_CLEANUP   false
 
#define LANG_HOOKS_DEEP_UNSHARING   false
 
#define LANG_HOOKS_CUSTOM_FUNCTION_DESCRIPTORS   false
 
#define LANG_HOOKS_EMITS_BEGIN_STMT   false
 
#define LANG_HOOKS_RUN_LANG_SELFTESTS   lhd_do_nothing
 
#define LANG_HOOKS_GET_SUBSTRING_LOCATION   lhd_get_substring_location
 
#define LANG_HOOKS_FINALIZE_EARLY_DEBUG   lhd_finalize_early_debug
 
#define LANG_HOOKS_GET_SARIF_SOURCE_LANGUAGE   lhd_get_sarif_source_language
 
#define LANG_HOOKS_ATTRIBUTE_TABLE
 
#define LANG_HOOKS_TREE_INLINING_VAR_MOD_TYPE_P    hook_bool_tree_tree_false
 
#define LANG_HOOKS_TREE_INLINING_INITIALIZER
 
#define LANG_HOOKS_GIMPLIFY_EXPR   lhd_gimplify_expr
 
#define LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN   lhd_tree_dump_dump_tree
 
#define LANG_HOOKS_TREE_DUMP_TYPE_QUALS_FN   lhd_tree_dump_type_quals
 
#define LANG_HOOKS_TREE_DUMP_INITIALIZER
 
#define LANG_HOOKS_MAKE_TYPE   lhd_make_node
 
#define LANG_HOOKS_SIMULATE_ENUM_DECL   lhd_simulate_enum_decl
 
#define LANG_HOOKS_SIMULATE_RECORD_DECL   lhd_simulate_record_decl
 
#define LANG_HOOKS_CLASSIFY_RECORD   NULL
 
#define LANG_HOOKS_TYPE_FOR_SIZE   lhd_type_for_size
 
#define LANG_HOOKS_INCOMPLETE_TYPE_ERROR   lhd_incomplete_type_error
 
#define LANG_HOOKS_GENERIC_TYPE_P   hook_bool_const_tree_false
 
#define LANG_HOOKS_GET_INNERMOST_GENERIC_PARMS   hook_tree_const_tree_null
 
#define LANG_HOOKS_GET_INNERMOST_GENERIC_ARGS   hook_tree_const_tree_null
 
#define LANG_HOOKS_FUNCTION_PARAMETER_PACK_P   hook_bool_const_tree_false
 
#define LANG_HOOKS_GET_ARGUMENT_PACK_ELEMS   hook_tree_const_tree_null
 
#define LANG_HOOKS_GENERIC_GENERIC_PARAMETER_DECL_P   hook_bool_const_tree_false
 
#define LANG_HOOKS_FUNCTION_PARM_EXPANDED_FROM_PACK_P    hook_bool_tree_tree_false
 
#define LANG_HOOKS_GET_GENERIC_FUNCTION_DECL   hook_tree_const_tree_null
 
#define LANG_HOOKS_TYPE_PROMOTES_TO   lhd_type_promotes_to
 
#define LANG_HOOKS_REGISTER_BUILTIN_TYPE   lhd_register_builtin_type
 
#define LANG_HOOKS_TYPE_MAX_SIZE   lhd_return_null_const_tree
 
#define LANG_HOOKS_OMP_FIRSTPRIVATIZE_TYPE_SIZES    lhd_omp_firstprivatize_type_sizes
 
#define LANG_HOOKS_TYPE_HASH_EQ   NULL
 
#define LANG_HOOKS_COPY_LANG_QUALIFIERS   NULL
 
#define LANG_HOOKS_GET_ARRAY_DESCR_INFO   NULL
 
#define LANG_HOOKS_GET_SUBRANGE_BOUNDS   NULL
 
#define LANG_HOOKS_GET_TYPE_BIAS   NULL
 
#define LANG_HOOKS_DESCRIPTIVE_TYPE   NULL
 
#define LANG_HOOKS_RECONSTRUCT_COMPLEX_TYPE   reconstruct_complex_type
 
#define LANG_HOOKS_ENUM_UNDERLYING_BASE_TYPE   lhd_enum_underlying_base_type
 
#define LANG_HOOKS_GET_DEBUG_TYPE   NULL
 
#define LANG_HOOKS_GET_FIXED_POINT_TYPE_INFO   NULL
 
#define LANG_HOOKS_TYPE_DWARF_ATTRIBUTE   lhd_type_dwarf_attribute
 
#define LANG_HOOKS_UNIT_SIZE_WITHOUT_REUSABLE_PADDING   lhd_unit_size_without_reusable_padding
 
#define LANG_HOOKS_CLASSTYPE_AS_BASE   hook_tree_const_tree_null
 
#define LANG_HOOKS_FOR_TYPES_INITIALIZER
 
#define LANG_HOOKS_GLOBAL_BINDINGS_P   global_bindings_p
 
#define LANG_HOOKS_PUSHDECL   pushdecl
 
#define LANG_HOOKS_GETDECLS   getdecls
 
#define LANG_HOOKS_DECL_DWARF_ATTRIBUTE   lhd_decl_dwarf_attribute
 
#define LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL   lhd_warn_unused_global_decl
 
#define LANG_HOOKS_POST_COMPILATION_PARSING_CLEANUPS   NULL
 
#define LANG_HOOKS_DECL_OK_FOR_SIBCALL   lhd_decl_ok_for_sibcall
 
#define LANG_HOOKS_OMP_ARRAY_DATA   hook_tree_tree_bool_null
 
#define LANG_HOOKS_OMP_ARRAY_SIZE   lhd_omp_array_size
 
#define LANG_HOOKS_OMP_IS_ALLOCATABLE_OR_PTR   hook_bool_const_tree_false
 
#define LANG_HOOKS_OMP_CHECK_OPTIONAL_ARGUMENT   hook_tree_tree_bool_null
 
#define LANG_HOOKS_OMP_PRIVATIZE_BY_REFERENCE   hook_bool_const_tree_false
 
#define LANG_HOOKS_OMP_PREDETERMINED_SHARING   lhd_omp_predetermined_sharing
 
#define LANG_HOOKS_OMP_PREDETERMINED_MAPPING   lhd_omp_predetermined_mapping
 
#define LANG_HOOKS_OMP_REPORT_DECL   lhd_pass_through_t
 
#define LANG_HOOKS_OMP_DISREGARD_VALUE_EXPR   hook_bool_tree_bool_false
 
#define LANG_HOOKS_OMP_PRIVATE_DEBUG_CLAUSE   hook_bool_tree_bool_false
 
#define LANG_HOOKS_OMP_PRIVATE_OUTER_REF   hook_bool_tree_false
 
#define LANG_HOOKS_OMP_CLAUSE_DEFAULT_CTOR   hook_tree_tree_tree_tree_null
 
#define LANG_HOOKS_OMP_CLAUSE_COPY_CTOR   lhd_omp_assignment
 
#define LANG_HOOKS_OMP_CLAUSE_ASSIGN_OP   lhd_omp_assignment
 
#define LANG_HOOKS_OMP_CLAUSE_LINEAR_CTOR   NULL
 
#define LANG_HOOKS_OMP_CLAUSE_DTOR   hook_tree_tree_tree_null
 
#define LANG_HOOKS_OMP_FINISH_CLAUSE   lhd_omp_finish_clause
 
#define LANG_HOOKS_OMP_ALLOCATABLE_P   hook_bool_tree_false
 
#define LANG_HOOKS_OMP_SCALAR_P   lhd_omp_scalar_p
 
#define LANG_HOOKS_OMP_SCALAR_TARGET_P   hook_bool_tree_false
 
#define LANG_HOOKS_OMP_GET_DECL_INIT   lhd_omp_get_decl_init
 
#define LANG_HOOKS_OMP_FINISH_DECL_INITS   lhd_omp_finish_decl_inits
 
#define LANG_HOOKS_DECLS
 
#define LANG_HOOKS_BEGIN_SECTION   lhd_begin_section
 
#define LANG_HOOKS_APPEND_DATA   lhd_append_data
 
#define LANG_HOOKS_END_SECTION   lhd_end_section
 
#define LANG_HOOKS_LTO
 
#define LANG_HOOKS_INITIALIZER
 

Functions

void lhd_do_nothing (void)
 
void lhd_do_nothing_t (tree)
 
void lhd_do_nothing_f (struct function *)
 
tree lhd_pass_through_t (tree)
 
void lhd_register_dumps (gcc::dump_manager *)
 
bool lhd_post_options (const char **)
 
alias_set_type lhd_get_alias_set (tree)
 
tree lhd_return_null_tree (tree)
 
tree lhd_return_null_const_tree (const_tree)
 
tree lhd_do_nothing_iii_return_null_tree (int, int, int)
 
void lhd_print_tree_nothing (FILE *, tree, int)
 
const charlhd_decl_printable_name (tree, int)
 
const charlhd_dwarf_name (tree, int)
 
int lhd_types_compatible_p (tree, tree)
 
void lhd_print_error_function (diagnostic_context *, const char *, const struct diagnostic_info *)
 
void lhd_set_decl_assembler_name (tree decl)
 
void lhd_overwrite_decl_assembler_name (tree decl, tree name)
 
bool lhd_warn_unused_global_decl (const_tree)
 
tree lhd_simulate_enum_decl (location_t, const char *, vec< string_int_pair > *)
 
tree lhd_simulate_record_decl (location_t, const char *, array_slice< const tree >)
 
tree lhd_type_for_size (unsigned precision, int unsignedp)
 
void lhd_incomplete_type_error (location_t, const_tree, const_tree)
 
tree lhd_type_promotes_to (tree)
 
void lhd_register_builtin_type (tree, const char *)
 
bool lhd_decl_ok_for_sibcall (const_tree)
 
size_t lhd_tree_size (enum tree_code)
 
HOST_WIDE_INT lhd_to_target_charset (HOST_WIDE_INT)
 
tree lhd_expr_to_decl (tree, bool *, bool *)
 
tree lhd_builtin_function (tree)
 
tree lhd_enum_underlying_base_type (const_tree)
 
void lhd_initialize_diagnostics (diagnostic_context *)
 
void lhd_init_options (unsigned int, struct cl_decoded_option *)
 
bool lhd_complain_wrong_lang_p (const struct cl_option *)
 
bool lhd_handle_option (size_t, const char *, HOST_WIDE_INT, int, location_t, const struct cl_option_handlers *)
 
int lhd_gimplify_expr (tree *, gimple_seq *, gimple_seq *)
 
enum omp_clause_default_kind lhd_omp_predetermined_sharing (tree)
 
enum omp_clause_defaultmap_kind lhd_omp_predetermined_mapping (tree)
 
tree lhd_omp_assignment (tree, tree, tree)
 
void lhd_omp_finish_clause (tree, gimple_seq *, bool)
 
tree lhd_omp_array_size (tree, gimple_seq *)
 
void lhd_omp_firstprivatize_type_sizes (struct gimplify_omp_ctx *, tree)
 
bool lhd_omp_scalar_p (tree, bool)
 
treelhd_omp_get_decl_init (tree)
 
void lhd_omp_finish_decl_inits ()
 
const charlhd_get_substring_location (const substring_loc &, location_t *out_loc)
 
int lhd_decl_dwarf_attribute (const_tree, int)
 
int lhd_type_dwarf_attribute (const_tree, int)
 
void lhd_finalize_early_debug (void)
 
const charlhd_get_sarif_source_language (const char *)
 
bool lhd_tree_dump_dump_tree (void *, tree)
 
int lhd_tree_dump_type_quals (const_tree)
 
tree lhd_make_node (enum tree_code)
 
tree lhd_unit_size_without_reusable_padding (tree)
 
void lhd_begin_section (const char *)
 
void lhd_append_data (const void *, size_t, void *)
 
void lhd_end_section (void)
 

Macro Definition Documentation

◆ LANG_HOOKS_APPEND_DATA

#define LANG_HOOKS_APPEND_DATA   lhd_append_data

◆ LANG_HOOKS_ATTRIBUTE_TABLE

#define LANG_HOOKS_ATTRIBUTE_TABLE
Attribute hooks.   

◆ LANG_HOOKS_BEGIN_SECTION

#define LANG_HOOKS_BEGIN_SECTION   lhd_begin_section

◆ LANG_HOOKS_BLOCK_MAY_FALLTHRU

#define LANG_HOOKS_BLOCK_MAY_FALLTHRU   hook_bool_const_tree_true

◆ LANG_HOOKS_BUILTIN_FUNCTION

#define LANG_HOOKS_BUILTIN_FUNCTION   lhd_builtin_function

◆ LANG_HOOKS_BUILTIN_FUNCTION_EXT_SCOPE

#define LANG_HOOKS_BUILTIN_FUNCTION_EXT_SCOPE   LANG_HOOKS_BUILTIN_FUNCTION

◆ LANG_HOOKS_CLASSIFY_RECORD

#define LANG_HOOKS_CLASSIFY_RECORD   NULL

◆ LANG_HOOKS_CLASSTYPE_AS_BASE

#define LANG_HOOKS_CLASSTYPE_AS_BASE   hook_tree_const_tree_null

◆ LANG_HOOKS_COMPLAIN_WRONG_LANG_P

#define LANG_HOOKS_COMPLAIN_WRONG_LANG_P   lhd_complain_wrong_lang_p

◆ LANG_HOOKS_COPY_LANG_QUALIFIERS

#define LANG_HOOKS_COPY_LANG_QUALIFIERS   NULL

◆ LANG_HOOKS_CUSTOM_FUNCTION_DESCRIPTORS

#define LANG_HOOKS_CUSTOM_FUNCTION_DESCRIPTORS   false

◆ LANG_HOOKS_DECL_DWARF_ATTRIBUTE

#define LANG_HOOKS_DECL_DWARF_ATTRIBUTE   lhd_decl_dwarf_attribute

◆ LANG_HOOKS_DECL_OK_FOR_SIBCALL

#define LANG_HOOKS_DECL_OK_FOR_SIBCALL   lhd_decl_ok_for_sibcall

◆ LANG_HOOKS_DECL_PRINTABLE_NAME

#define LANG_HOOKS_DECL_PRINTABLE_NAME   lhd_decl_printable_name

◆ LANG_HOOKS_DECLS

#define LANG_HOOKS_DECLS

◆ LANG_HOOKS_DEEP_UNSHARING

#define LANG_HOOKS_DEEP_UNSHARING   false

◆ LANG_HOOKS_DESCRIPTIVE_TYPE

#define LANG_HOOKS_DESCRIPTIVE_TYPE   NULL

◆ LANG_HOOKS_DUP_LANG_SPECIFIC_DECL

#define LANG_HOOKS_DUP_LANG_SPECIFIC_DECL   lhd_do_nothing_t

◆ LANG_HOOKS_DWARF_NAME

#define LANG_HOOKS_DWARF_NAME   lhd_dwarf_name

◆ LANG_HOOKS_EH_PERSONALITY

#define LANG_HOOKS_EH_PERSONALITY   lhd_gcc_personality

◆ LANG_HOOKS_EH_PROTECT_CLEANUP_ACTIONS

#define LANG_HOOKS_EH_PROTECT_CLEANUP_ACTIONS   NULL

◆ LANG_HOOKS_EH_RUNTIME_TYPE

#define LANG_HOOKS_EH_RUNTIME_TYPE   lhd_pass_through_t

◆ LANG_HOOKS_EH_USE_CXA_END_CLEANUP

#define LANG_HOOKS_EH_USE_CXA_END_CLEANUP   false

◆ LANG_HOOKS_EMITS_BEGIN_STMT

#define LANG_HOOKS_EMITS_BEGIN_STMT   false

◆ LANG_HOOKS_END_SECTION

#define LANG_HOOKS_END_SECTION   lhd_end_section

◆ LANG_HOOKS_ENUM_UNDERLYING_BASE_TYPE

#define LANG_HOOKS_ENUM_UNDERLYING_BASE_TYPE   lhd_enum_underlying_base_type

◆ LANG_HOOKS_EXPR_TO_DECL

#define LANG_HOOKS_EXPR_TO_DECL   lhd_expr_to_decl

◆ LANG_HOOKS_FINALIZE_EARLY_DEBUG

#define LANG_HOOKS_FINALIZE_EARLY_DEBUG   lhd_finalize_early_debug

◆ LANG_HOOKS_FINISH

#define LANG_HOOKS_FINISH   lhd_do_nothing

◆ LANG_HOOKS_FINISH_INCOMPLETE_DECL

#define LANG_HOOKS_FINISH_INCOMPLETE_DECL   lhd_do_nothing_t

◆ LANG_HOOKS_FOR_TYPES_INITIALIZER

#define LANG_HOOKS_FOR_TYPES_INITIALIZER
Value:
{ \
}
T * ggc_alloc(ALONE_CXX_MEM_STAT_INFO)
Definition ggc.h:184
#define LANG_HOOKS_TYPE_MAX_SIZE
Definition langhooks-def.h:204
#define LANG_HOOKS_ENUM_UNDERLYING_BASE_TYPE
Definition langhooks-def.h:214
#define LANG_HOOKS_SIMULATE_ENUM_DECL
Definition langhooks-def.h:188
#define LANG_HOOKS_TYPE_DWARF_ATTRIBUTE
Definition langhooks-def.h:217
#define LANG_HOOKS_SIMULATE_RECORD_DECL
Definition langhooks-def.h:189
#define LANG_HOOKS_REGISTER_BUILTIN_TYPE
Definition langhooks-def.h:203
#define LANG_HOOKS_TYPE_HASH_EQ
Definition langhooks-def.h:207
#define LANG_HOOKS_GET_ARRAY_DESCR_INFO
Definition langhooks-def.h:209
#define LANG_HOOKS_CLASSIFY_RECORD
Definition langhooks-def.h:190
#define LANG_HOOKS_GET_ARGUMENT_PACK_ELEMS
Definition langhooks-def.h:197
#define LANG_HOOKS_GET_TYPE_BIAS
Definition langhooks-def.h:211
#define LANG_HOOKS_GENERIC_TYPE_P
Definition langhooks-def.h:193
#define LANG_HOOKS_DESCRIPTIVE_TYPE
Definition langhooks-def.h:212
#define LANG_HOOKS_UNIT_SIZE_WITHOUT_REUSABLE_PADDING
Definition langhooks-def.h:218
#define LANG_HOOKS_MAKE_TYPE
Definition langhooks-def.h:187
#define LANG_HOOKS_GET_FIXED_POINT_TYPE_INFO
Definition langhooks-def.h:216
#define LANG_HOOKS_GET_SUBRANGE_BOUNDS
Definition langhooks-def.h:210
#define LANG_HOOKS_TYPE_FOR_SIZE
Definition langhooks-def.h:191
#define LANG_HOOKS_INCOMPLETE_TYPE_ERROR
Definition langhooks-def.h:192
#define LANG_HOOKS_TYPE_PROMOTES_TO
Definition langhooks-def.h:202
#define LANG_HOOKS_COPY_LANG_QUALIFIERS
Definition langhooks-def.h:208
#define LANG_HOOKS_GET_DEBUG_TYPE
Definition langhooks-def.h:215
#define LANG_HOOKS_RECONSTRUCT_COMPLEX_TYPE
Definition langhooks-def.h:213
#define LANG_HOOKS_OMP_FIRSTPRIVATIZE_TYPE_SIZES
Definition langhooks-def.h:205
#define LANG_HOOKS_CLASSTYPE_AS_BASE
Definition langhooks-def.h:219

◆ LANG_HOOKS_FREE_LANG_DATA

#define LANG_HOOKS_FREE_LANG_DATA   lhd_do_nothing_t

◆ LANG_HOOKS_FUNCTION_PARAMETER_PACK_P

#define LANG_HOOKS_FUNCTION_PARAMETER_PACK_P   hook_bool_const_tree_false

◆ LANG_HOOKS_FUNCTION_PARM_EXPANDED_FROM_PACK_P

#define LANG_HOOKS_FUNCTION_PARM_EXPANDED_FROM_PACK_P    hook_bool_tree_tree_false

◆ LANG_HOOKS_GENERIC_GENERIC_PARAMETER_DECL_P

#define LANG_HOOKS_GENERIC_GENERIC_PARAMETER_DECL_P   hook_bool_const_tree_false

◆ LANG_HOOKS_GENERIC_TYPE_P

#define LANG_HOOKS_GENERIC_TYPE_P   hook_bool_const_tree_false

◆ LANG_HOOKS_GET_ALIAS_SET

#define LANG_HOOKS_GET_ALIAS_SET   lhd_get_alias_set

◆ LANG_HOOKS_GET_ARGUMENT_PACK_ELEMS

#define LANG_HOOKS_GET_ARGUMENT_PACK_ELEMS   hook_tree_const_tree_null

◆ LANG_HOOKS_GET_ARRAY_DESCR_INFO

#define LANG_HOOKS_GET_ARRAY_DESCR_INFO   NULL

◆ LANG_HOOKS_GET_DEBUG_TYPE

#define LANG_HOOKS_GET_DEBUG_TYPE   NULL

◆ LANG_HOOKS_GET_FIXED_POINT_TYPE_INFO

#define LANG_HOOKS_GET_FIXED_POINT_TYPE_INFO   NULL

◆ LANG_HOOKS_GET_GENERIC_FUNCTION_DECL

#define LANG_HOOKS_GET_GENERIC_FUNCTION_DECL   hook_tree_const_tree_null

◆ LANG_HOOKS_GET_INNERMOST_GENERIC_ARGS

#define LANG_HOOKS_GET_INNERMOST_GENERIC_ARGS   hook_tree_const_tree_null

◆ LANG_HOOKS_GET_INNERMOST_GENERIC_PARMS

#define LANG_HOOKS_GET_INNERMOST_GENERIC_PARMS   hook_tree_const_tree_null

◆ LANG_HOOKS_GET_SARIF_SOURCE_LANGUAGE

#define LANG_HOOKS_GET_SARIF_SOURCE_LANGUAGE   lhd_get_sarif_source_language

◆ LANG_HOOKS_GET_SUBRANGE_BOUNDS

#define LANG_HOOKS_GET_SUBRANGE_BOUNDS   NULL

◆ LANG_HOOKS_GET_SUBSTRING_LOCATION

#define LANG_HOOKS_GET_SUBSTRING_LOCATION   lhd_get_substring_location

◆ LANG_HOOKS_GET_TYPE_BIAS

#define LANG_HOOKS_GET_TYPE_BIAS   NULL

◆ LANG_HOOKS_GETDECLS

#define LANG_HOOKS_GETDECLS   getdecls

◆ LANG_HOOKS_GIMPLIFY_EXPR

#define LANG_HOOKS_GIMPLIFY_EXPR   lhd_gimplify_expr
Hooks for tree gimplification.   

◆ LANG_HOOKS_GLOBAL_BINDINGS_P

#define LANG_HOOKS_GLOBAL_BINDINGS_P   global_bindings_p
Declaration hooks.   

◆ LANG_HOOKS_HANDLE_OPTION

#define LANG_HOOKS_HANDLE_OPTION   lhd_handle_option

◆ LANG_HOOKS_IDENTIFIER_SIZE

#define LANG_HOOKS_IDENTIFIER_SIZE   sizeof (struct lang_identifier)

◆ LANG_HOOKS_INCOMPLETE_TYPE_ERROR

#define LANG_HOOKS_INCOMPLETE_TYPE_ERROR   lhd_incomplete_type_error

◆ LANG_HOOKS_INIT

#define LANG_HOOKS_INIT   hook_bool_void_false

◆ LANG_HOOKS_INIT_OPTIONS

#define LANG_HOOKS_INIT_OPTIONS   lhd_init_options

◆ LANG_HOOKS_INIT_OPTIONS_STRUCT

#define LANG_HOOKS_INIT_OPTIONS_STRUCT   hook_void_gcc_optionsp

◆ LANG_HOOKS_INIT_TS

#define LANG_HOOKS_INIT_TS   lhd_do_nothing

◆ LANG_HOOKS_INITIALIZE_DIAGNOSTICS

#define LANG_HOOKS_INITIALIZE_DIAGNOSTICS   lhd_initialize_diagnostics

◆ LANG_HOOKS_INITIALIZER

#define LANG_HOOKS_INITIALIZER
The whole thing.  The structure is defined in langhooks.h.   

◆ LANG_HOOKS_LTO

#define LANG_HOOKS_LTO
Value:
{ \
}
#define LANG_HOOKS_BEGIN_SECTION
Definition langhooks-def.h:321
#define LANG_HOOKS_END_SECTION
Definition langhooks-def.h:323
#define LANG_HOOKS_APPEND_DATA
Definition langhooks-def.h:322

◆ LANG_HOOKS_MAKE_TYPE

#define LANG_HOOKS_MAKE_TYPE   lhd_make_node

◆ LANG_HOOKS_MISSING_NORETURN_OK_P

#define LANG_HOOKS_MISSING_NORETURN_OK_P   hook_bool_tree_true

◆ LANG_HOOKS_NAME

#define LANG_HOOKS_NAME   "GNU unknown"

◆ LANG_HOOKS_OMP_ALLOCATABLE_P

#define LANG_HOOKS_OMP_ALLOCATABLE_P   hook_bool_tree_false

◆ LANG_HOOKS_OMP_ARRAY_DATA

#define LANG_HOOKS_OMP_ARRAY_DATA   hook_tree_tree_bool_null

◆ LANG_HOOKS_OMP_ARRAY_SIZE

#define LANG_HOOKS_OMP_ARRAY_SIZE   lhd_omp_array_size

◆ LANG_HOOKS_OMP_CHECK_OPTIONAL_ARGUMENT

#define LANG_HOOKS_OMP_CHECK_OPTIONAL_ARGUMENT   hook_tree_tree_bool_null

◆ LANG_HOOKS_OMP_CLAUSE_ASSIGN_OP

#define LANG_HOOKS_OMP_CLAUSE_ASSIGN_OP   lhd_omp_assignment

◆ LANG_HOOKS_OMP_CLAUSE_COPY_CTOR

#define LANG_HOOKS_OMP_CLAUSE_COPY_CTOR   lhd_omp_assignment

◆ LANG_HOOKS_OMP_CLAUSE_DEFAULT_CTOR

#define LANG_HOOKS_OMP_CLAUSE_DEFAULT_CTOR   hook_tree_tree_tree_tree_null

◆ LANG_HOOKS_OMP_CLAUSE_DTOR

#define LANG_HOOKS_OMP_CLAUSE_DTOR   hook_tree_tree_tree_null

◆ LANG_HOOKS_OMP_CLAUSE_LINEAR_CTOR

#define LANG_HOOKS_OMP_CLAUSE_LINEAR_CTOR   NULL

◆ LANG_HOOKS_OMP_DISREGARD_VALUE_EXPR

#define LANG_HOOKS_OMP_DISREGARD_VALUE_EXPR   hook_bool_tree_bool_false

◆ LANG_HOOKS_OMP_FINISH_CLAUSE

#define LANG_HOOKS_OMP_FINISH_CLAUSE   lhd_omp_finish_clause

◆ LANG_HOOKS_OMP_FINISH_DECL_INITS

#define LANG_HOOKS_OMP_FINISH_DECL_INITS   lhd_omp_finish_decl_inits

◆ LANG_HOOKS_OMP_FIRSTPRIVATIZE_TYPE_SIZES

#define LANG_HOOKS_OMP_FIRSTPRIVATIZE_TYPE_SIZES    lhd_omp_firstprivatize_type_sizes

◆ LANG_HOOKS_OMP_GET_DECL_INIT

#define LANG_HOOKS_OMP_GET_DECL_INIT   lhd_omp_get_decl_init

◆ LANG_HOOKS_OMP_IS_ALLOCATABLE_OR_PTR

#define LANG_HOOKS_OMP_IS_ALLOCATABLE_OR_PTR   hook_bool_const_tree_false

◆ LANG_HOOKS_OMP_PREDETERMINED_MAPPING

#define LANG_HOOKS_OMP_PREDETERMINED_MAPPING   lhd_omp_predetermined_mapping

◆ LANG_HOOKS_OMP_PREDETERMINED_SHARING

#define LANG_HOOKS_OMP_PREDETERMINED_SHARING   lhd_omp_predetermined_sharing

◆ LANG_HOOKS_OMP_PRIVATE_DEBUG_CLAUSE

#define LANG_HOOKS_OMP_PRIVATE_DEBUG_CLAUSE   hook_bool_tree_bool_false

◆ LANG_HOOKS_OMP_PRIVATE_OUTER_REF

#define LANG_HOOKS_OMP_PRIVATE_OUTER_REF   hook_bool_tree_false

◆ LANG_HOOKS_OMP_PRIVATIZE_BY_REFERENCE

#define LANG_HOOKS_OMP_PRIVATIZE_BY_REFERENCE   hook_bool_const_tree_false

◆ LANG_HOOKS_OMP_REPORT_DECL

#define LANG_HOOKS_OMP_REPORT_DECL   lhd_pass_through_t

◆ LANG_HOOKS_OMP_SCALAR_P

#define LANG_HOOKS_OMP_SCALAR_P   lhd_omp_scalar_p

◆ LANG_HOOKS_OMP_SCALAR_TARGET_P

#define LANG_HOOKS_OMP_SCALAR_TARGET_P   hook_bool_tree_false

◆ LANG_HOOKS_OPTION_LANG_MASK

#define LANG_HOOKS_OPTION_LANG_MASK   hook_uint_void_0

◆ LANG_HOOKS_OVERWRITE_DECL_ASSEMBLER_NAME

#define LANG_HOOKS_OVERWRITE_DECL_ASSEMBLER_NAME   lhd_overwrite_decl_assembler_name

◆ LANG_HOOKS_PARSE_FILE

#define LANG_HOOKS_PARSE_FILE   lhd_do_nothing

◆ LANG_HOOKS_POST_COMPILATION_PARSING_CLEANUPS

#define LANG_HOOKS_POST_COMPILATION_PARSING_CLEANUPS   NULL

◆ LANG_HOOKS_POST_OPTIONS

#define LANG_HOOKS_POST_OPTIONS   lhd_post_options

◆ LANG_HOOKS_PREPROCESS_MAIN_FILE

#define LANG_HOOKS_PREPROCESS_MAIN_FILE   NULL

◆ LANG_HOOKS_PREPROCESS_OPTIONS

#define LANG_HOOKS_PREPROCESS_OPTIONS   NULL

◆ LANG_HOOKS_PREPROCESS_TOKEN

#define LANG_HOOKS_PREPROCESS_TOKEN   NULL

◆ LANG_HOOKS_PREPROCESS_UNDEF

#define LANG_HOOKS_PREPROCESS_UNDEF   NULL

◆ LANG_HOOKS_PRINT_DECL

#define LANG_HOOKS_PRINT_DECL   lhd_print_tree_nothing

◆ LANG_HOOKS_PRINT_ERROR_FUNCTION

#define LANG_HOOKS_PRINT_ERROR_FUNCTION   lhd_print_error_function

◆ LANG_HOOKS_PRINT_IDENTIFIER

#define LANG_HOOKS_PRINT_IDENTIFIER   lhd_print_tree_nothing

◆ LANG_HOOKS_PRINT_STATISTICS

#define LANG_HOOKS_PRINT_STATISTICS   lhd_do_nothing

◆ LANG_HOOKS_PRINT_TYPE

#define LANG_HOOKS_PRINT_TYPE   lhd_print_tree_nothing

◆ LANG_HOOKS_PRINT_XNODE

#define LANG_HOOKS_PRINT_XNODE   lhd_print_tree_nothing

◆ LANG_HOOKS_PUSHDECL

#define LANG_HOOKS_PUSHDECL   pushdecl

◆ LANG_HOOKS_RECONSTRUCT_COMPLEX_TYPE

#define LANG_HOOKS_RECONSTRUCT_COMPLEX_TYPE   reconstruct_complex_type

◆ LANG_HOOKS_REGISTER_BUILTIN_TYPE

#define LANG_HOOKS_REGISTER_BUILTIN_TYPE   lhd_register_builtin_type

◆ LANG_HOOKS_REGISTER_DUMPS

#define LANG_HOOKS_REGISTER_DUMPS   lhd_register_dumps

◆ LANG_HOOKS_RUN_LANG_SELFTESTS

#define LANG_HOOKS_RUN_LANG_SELFTESTS   lhd_do_nothing

◆ LANG_HOOKS_SET_DECL_ASSEMBLER_NAME

#define LANG_HOOKS_SET_DECL_ASSEMBLER_NAME   lhd_set_decl_assembler_name

◆ LANG_HOOKS_SIMULATE_BUILTIN_FUNCTION_DECL

#define LANG_HOOKS_SIMULATE_BUILTIN_FUNCTION_DECL   LANG_HOOKS_BUILTIN_FUNCTION

◆ LANG_HOOKS_SIMULATE_ENUM_DECL

#define LANG_HOOKS_SIMULATE_ENUM_DECL   lhd_simulate_enum_decl

◆ LANG_HOOKS_SIMULATE_RECORD_DECL

#define LANG_HOOKS_SIMULATE_RECORD_DECL   lhd_simulate_record_decl

◆ LANG_HOOKS_TO_TARGET_CHARSET

#define LANG_HOOKS_TO_TARGET_CHARSET   lhd_to_target_charset

◆ LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN

#define LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN   lhd_tree_dump_dump_tree

◆ LANG_HOOKS_TREE_DUMP_INITIALIZER

#define LANG_HOOKS_TREE_DUMP_INITIALIZER
Value:
{ \
}
#define LANG_HOOKS_TREE_DUMP_TYPE_QUALS_FN
Definition langhooks-def.h:176
#define LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN
Definition langhooks-def.h:175

◆ LANG_HOOKS_TREE_DUMP_TYPE_QUALS_FN

#define LANG_HOOKS_TREE_DUMP_TYPE_QUALS_FN   lhd_tree_dump_type_quals

◆ LANG_HOOKS_TREE_INLINING_INITIALIZER

#define LANG_HOOKS_TREE_INLINING_INITIALIZER
Value:
{ \
}
#define LANG_HOOKS_TREE_INLINING_VAR_MOD_TYPE_P
Definition langhooks-def.h:160

◆ LANG_HOOKS_TREE_INLINING_VAR_MOD_TYPE_P

#define LANG_HOOKS_TREE_INLINING_VAR_MOD_TYPE_P    hook_bool_tree_tree_false
Tree inlining hooks.   

◆ LANG_HOOKS_TREE_SIZE

#define LANG_HOOKS_TREE_SIZE   lhd_tree_size

◆ LANG_HOOKS_TYPE_DWARF_ATTRIBUTE

#define LANG_HOOKS_TYPE_DWARF_ATTRIBUTE   lhd_type_dwarf_attribute

◆ LANG_HOOKS_TYPE_FOR_SIZE

#define LANG_HOOKS_TYPE_FOR_SIZE   lhd_type_for_size

◆ LANG_HOOKS_TYPE_HASH_EQ

#define LANG_HOOKS_TYPE_HASH_EQ   NULL

◆ LANG_HOOKS_TYPE_MAX_SIZE

#define LANG_HOOKS_TYPE_MAX_SIZE   lhd_return_null_const_tree

◆ LANG_HOOKS_TYPE_PROMOTES_TO

#define LANG_HOOKS_TYPE_PROMOTES_TO   lhd_type_promotes_to

◆ LANG_HOOKS_TYPES_COMPATIBLE_P

#define LANG_HOOKS_TYPES_COMPATIBLE_P   lhd_types_compatible_p

◆ LANG_HOOKS_UNIT_SIZE_WITHOUT_REUSABLE_PADDING

#define LANG_HOOKS_UNIT_SIZE_WITHOUT_REUSABLE_PADDING   lhd_unit_size_without_reusable_padding

◆ LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL

#define LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL   lhd_warn_unused_global_decl

Function Documentation

◆ lhd_append_data()

void lhd_append_data ( const void * data,
size_t len,
void *  )
extern
Write DATA of length LEN to the current LTO output section.  This default
implementation just calls assemble_string.   

References assemble_string(), ggc_alloc(), timevar_pop(), and timevar_push().

◆ lhd_begin_section()

void lhd_begin_section ( const char * name)
extern
LTO hooks.   
Begin a new LTO output section named NAME.  This default implementation
saves the old section and emits assembly code to switch to the new
section.   

References gcc_assert, get_section(), in_section, NULL, saved_section, SECTION_DEBUG, SECTION_EXCLUDE, switch_to_section(), and text_section.

◆ lhd_builtin_function()

tree lhd_builtin_function ( tree decl)
extern

◆ lhd_complain_wrong_lang_p()

bool lhd_complain_wrong_lang_p ( const struct cl_option * option)
extern
By default, always complain about options for the wrong language.   

◆ lhd_decl_dwarf_attribute()

int lhd_decl_dwarf_attribute ( const_tree ,
int  )
extern
Default implementation of LANG_HOOKS_DECL_DWARF_ATTRIBUTE.  Don't add
any attributes.   

◆ lhd_decl_ok_for_sibcall()

bool lhd_decl_ok_for_sibcall ( const_tree decl)
extern
Return true if decl, which is a function decl, may be called by a
sibcall.   

◆ lhd_decl_printable_name()

const char * lhd_decl_printable_name ( tree ,
int  )
extern

◆ lhd_do_nothing()

void lhd_do_nothing ( void )
extern
Note to creators of new hooks:

The macros in this file should NOT be surrounded by a
#ifdef...#endif pair, since this file declares the defaults.  Each
front end overrides any hooks it wishes to, in the file containing
its struct lang_hooks, AFTER including this file.   
See langhooks.h for the definition and documentation of each hook.   
Default language-specific hooks.
   Copyright (C) 2001-2024 Free Software Foundation, Inc.
   Contributed by Alexandre Oliva  <aoliva@redhat.com>

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later version.

GCC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3.  If not see
<http://www.gnu.org/licenses/>.   
Do nothing; in many cases the default hook.   

◆ lhd_do_nothing_f()

void lhd_do_nothing_f ( struct function * )
extern

◆ lhd_do_nothing_iii_return_null_tree()

tree lhd_do_nothing_iii_return_null_tree ( int ,
int ,
int  )
extern

◆ lhd_do_nothing_t()

void lhd_do_nothing_t ( tree )
extern

◆ lhd_dwarf_name()

const char * lhd_dwarf_name ( tree t,
int verbosity )
extern
This is the default dwarf_name function.   

References DECL_P, lang_hooks::decl_printable_name, gcc_assert, and ggc_alloc().

◆ lhd_end_section()

void lhd_end_section ( void )
extern
Finish the current LTO output section.  This default implementation emits
assembly code to switch to any section previously saved by
lhd_begin_section.   

References NULL, saved_section, and switch_to_section().

◆ lhd_enum_underlying_base_type()

tree lhd_enum_underlying_base_type ( const_tree enum_type)
extern
Default implementation of enum_underlying_base_type using type_for_size.   

References lang_hooks_for_types::type_for_size, TYPE_PRECISION, TYPE_UNSIGNED, and lang_hooks::types.

◆ lhd_expr_to_decl()

tree lhd_expr_to_decl ( tree expr,
bool * tc,
bool * se )
extern

References expr.

◆ lhd_finalize_early_debug()

void lhd_finalize_early_debug ( void )
extern
Default implementation for the finalize_early_debug hook.   

References debug_hooks, gcc_debug_hooks::early_global_decl, FOR_EACH_FUNCTION_WITH_GIMPLE_BODY, and ggc_alloc().

◆ lhd_get_alias_set()

alias_set_type lhd_get_alias_set ( tree )
extern

◆ lhd_get_sarif_source_language()

const char * lhd_get_sarif_source_language ( const char * )
extern
Default implementation of LANG_HOOKS_GET_SARIF_SOURCE_LANGUAGE.   

References NULL.

◆ lhd_get_substring_location()

const char * lhd_get_substring_location ( const substring_loc & ,
location_t * out_loc )
extern
Default implementation of LANG_HOOKS_GET_SUBSTRING_LOCATION.   

◆ lhd_gimplify_expr()

int lhd_gimplify_expr ( tree * expr_p,
gimple_seq * pre_p,
gimple_seq * post_p )
extern
Declarations for tree gimplification hooks.   
lang_hooks.gimplify_expr re-writes *EXPR_P into GIMPLE form.   

References GS_UNHANDLED.

◆ lhd_handle_option()

bool lhd_handle_option ( size_t code,
const char * arg,
HOST_WIDE_INT value,
int kind,
location_t loc,
const struct cl_option_handlers * handlers )
extern
By default, no language-specific options are valid.   

◆ lhd_incomplete_type_error()

void lhd_incomplete_type_error ( location_t ,
const_tree ,
const_tree  )
extern

◆ lhd_init_options()

void lhd_init_options ( unsigned int decoded_options_count,
struct cl_decoded_option * decoded_options )
extern
Called to perform language-specific options initialization.   

◆ lhd_initialize_diagnostics()

void lhd_initialize_diagnostics ( diagnostic_context * ctx)
extern
Declarations of default tree inlining hooks.   
Called to perform language-specific initialization of CTX.   

◆ lhd_make_node()

tree lhd_make_node ( enum tree_code)
extern

References make_node().

◆ lhd_omp_array_size()

tree lhd_omp_array_size ( tree ,
gimple_seq *  )
extern
Return array size; cf. omp_array_data.   

References NULL_TREE.

◆ lhd_omp_assignment()

tree lhd_omp_assignment ( tree clause,
tree dst,
tree src )
extern
Generate code to copy SRC to DST.   

References build2(), ggc_alloc(), and TREE_TYPE.

◆ lhd_omp_finish_clause()

void lhd_omp_finish_clause ( tree ,
gimple_seq * ,
bool  )
extern
Finalize clause C.   

◆ lhd_omp_finish_decl_inits()

void lhd_omp_finish_decl_inits ( void )
extern
Free any extra memory used to hold initializer information for
variable declarations.   

◆ lhd_omp_firstprivatize_type_sizes()

void lhd_omp_firstprivatize_type_sizes ( struct gimplify_omp_ctx * c,
tree t )
extern
Register language specific type size variables as potentially OpenMP
firstprivate variables.   

◆ lhd_omp_get_decl_init()

tree * lhd_omp_get_decl_init ( tree decl)
extern
Return static initializer for DECL.   

References DECL_INITIAL.

◆ lhd_omp_predetermined_mapping()

enum omp_clause_defaultmap_kind lhd_omp_predetermined_mapping ( tree decl)
extern
Return sharing kind if OpenMP mapping attribute of DECL is
predetermined, OMP_CLAUSE_DEFAULTMAP_CATEGORY_UNSPECIFIED otherwise.   

References DECL_ARTIFICIAL, OMP_CLAUSE_DEFAULTMAP_CATEGORY_UNSPECIFIED, and OMP_CLAUSE_DEFAULTMAP_TO.

◆ lhd_omp_predetermined_sharing()

enum omp_clause_default_kind lhd_omp_predetermined_sharing ( tree decl)
extern
Return sharing kind if OpenMP sharing attribute of DECL is
predetermined, OMP_CLAUSE_DEFAULT_UNSPECIFIED otherwise.   

References DECL_ARTIFICIAL, OMP_CLAUSE_DEFAULT_SHARED, and OMP_CLAUSE_DEFAULT_UNSPECIFIED.

◆ lhd_omp_scalar_p()

bool lhd_omp_scalar_p ( tree decl,
bool ptr_ok )
extern
Return true if DECL is a scalar variable (for the purpose of
implicit firstprivatization & mapping). Only if alloc_ptr_ok
are allocatables and pointers accepted.  

References ggc_alloc(), INTEGRAL_TYPE_P, SCALAR_FLOAT_TYPE_P, TREE_CODE, and TREE_TYPE.

◆ lhd_overwrite_decl_assembler_name()

void lhd_overwrite_decl_assembler_name ( tree decl,
tree name )
extern
Forcibly overwrite the DECL_ASSEMBLER_NAME for DECL to NAME.   

References DECL_ASSEMBLER_NAME_RAW.

◆ lhd_pass_through_t()

tree lhd_pass_through_t ( tree t)
extern
Pass through (tree).   

◆ lhd_post_options()

bool lhd_post_options ( const char ** )
extern

◆ lhd_print_error_function()

void lhd_print_error_function ( diagnostic_context * ,
const char * ,
const struct diagnostic_info *  )
extern

◆ lhd_print_tree_nothing()

void lhd_print_tree_nothing ( FILE * ,
tree ,
int  )
extern

◆ lhd_register_builtin_type()

void lhd_register_builtin_type ( tree ,
const char *  )
extern

◆ lhd_register_dumps()

void lhd_register_dumps ( gcc::dump_manager * )
extern
Called to register dumps.   

◆ lhd_return_null_const_tree()

tree lhd_return_null_const_tree ( const_tree )
extern

◆ lhd_return_null_tree()

tree lhd_return_null_tree ( tree )
extern

◆ lhd_set_decl_assembler_name()

◆ lhd_simulate_enum_decl()

tree lhd_simulate_enum_decl ( location_t loc,
const char * name,
vec< string_int_pair > * values_ptr )
extern
Default implementation of LANG_HOOKS_SIMULATE_ENUM_DECL.  Assume a
simple int-based enumerator (which is all the hook can be used for
at present) and push each decl individually without any decoration.

This definition is suitable for LTO and is generic enough that it
might be reusable elsewhere.   

References build_decl(), build_int_cst(), DECL_INITIAL, lang_hooks::decls, FOR_EACH_VEC_ELT, get_identifier(), ggc_alloc(), i, integer_type_node, layout_type(), lang_hooks_for_types::make_type, NULL_TREE, lang_hooks_for_decls::pushdecl, SET_TYPE_ALIGN, tree_cons(), TYPE_ALIGN, TYPE_MAX_VALUE, TYPE_MIN_VALUE, TYPE_PRECISION, TYPE_STUB_DECL, and lang_hooks::types.

◆ lhd_simulate_record_decl()

tree lhd_simulate_record_decl ( location_t loc,
const char * name,
array_slice< const tree > fields )
extern
Default implementation of LANG_HOOKS_SIMULATE_RECORD_DECL.
Just create a normal RECORD_TYPE and a TYPE_DECL for it.   

References build_decl(), DECL_CHAIN, lang_hooks::decls, fields, finish_builtin_struct(), get_identifier(), ggc_alloc(), i, lang_hooks_for_types::make_type, NULL_TREE, lang_hooks_for_decls::pushdecl, type(), and lang_hooks::types.

◆ lhd_to_target_charset()

HOST_WIDE_INT lhd_to_target_charset ( HOST_WIDE_INT c)
extern

◆ lhd_tree_dump_dump_tree()

bool lhd_tree_dump_dump_tree ( void * di,
tree t )
extern
Tree dump hooks.   
lang_hooks.tree_dump.dump_tree:  Dump language-specific parts of tree
nodes.  Returns nonzero if it does not want the usual dumping of the
second argument.   

◆ lhd_tree_dump_type_quals()

int lhd_tree_dump_type_quals ( const_tree t)
extern
lang_hooks.tree_dump.type_qual:  Determine type qualifiers in a
language-specific way.   

References TYPE_QUALS.

◆ lhd_tree_size()

size_t lhd_tree_size ( enum tree_code c)
extern
lang_hooks.tree_size: Determine the size of a tree with code C,
which is a language-specific tree code in category tcc_constant,
tcc_exceptional or tcc_type.  The default expects never to be called.   

References gcc_unreachable.

◆ lhd_type_dwarf_attribute()

int lhd_type_dwarf_attribute ( const_tree ,
int  )
extern
Default implementation of LANG_HOOKS_TYPE_DWARF_ATTRIBUTE.  Don't add
any attributes.   

◆ lhd_type_for_size()

◆ lhd_type_promotes_to()

tree lhd_type_promotes_to ( tree )
extern

◆ lhd_types_compatible_p()

int lhd_types_compatible_p ( tree x,
tree y )
extern
This compares two types for equivalence ("compatible" in C-based languages).
This routine should only return 1 if it is sure.  It should not be used
in contexts where erroneously returning 0 causes problems.   

References TYPE_MAIN_VARIANT, and y.

◆ lhd_unit_size_without_reusable_padding()

tree lhd_unit_size_without_reusable_padding ( tree t)
extern
Types hooks.  There are no reasonable defaults for most of them,
so we create a compile-time error instead.   
Default implementation of LANG_HOOKS_UNIT_SIZE_WITHOUT_REUSABLE_PADDING.
Just return TYPE_SIZE_UNIT unadjusted.   

References TYPE_SIZE_UNIT.

◆ lhd_warn_unused_global_decl()

bool lhd_warn_unused_global_decl ( const_tree decl)
extern
Called from check_global_declaration.   

References DECL_DECLARED_INLINE_P, DECL_IN_SYSTEM_HEADER, ggc_alloc(), TREE_CODE, TREE_READONLY, and VAR_P.