Functions |
void | lhd_do_nothing () |
void | lhd_do_nothing_t (tree ARG_UNUSED(t)) |
tree | lhd_pass_through_t () |
tree | lhd_do_nothing_iii_return_null_tree (int ARG_UNUSED(i), int ARG_UNUSED(j), int ARG_UNUSED(k)) |
void | lhd_do_nothing_f (struct function *ARG_UNUSED(f)) |
tree | lhd_return_null_tree_v () |
tree | lhd_return_null_tree (tree ARG_UNUSED(t)) |
tree | lhd_return_null_const_tree (const_tree ARG_UNUSED(t)) |
bool | lhd_post_options (const char **ARG_UNUSED(pfilename)) |
void | lhd_print_tree_nothing (FILE *ARG_UNUSED(file), tree ARG_UNUSED(node), int ARG_UNUSED(indent)) |
bool | lhd_warn_unused_global_decl () |
void | lhd_set_decl_assembler_name () |
tree | lhd_type_promotes_to (tree ARG_UNUSED(type)) |
void | lhd_register_builtin_type (tree ARG_UNUSED(type), const char *ARG_UNUSED(name)) |
void | lhd_incomplete_type_error (const_tree ARG_UNUSED(value), const_tree type) |
alias_set_type | lhd_get_alias_set (tree ARG_UNUSED(t)) |
const char * | lhd_decl_printable_name (tree decl, int ARG_UNUSED(verbosity)) |
const char * | lhd_dwarf_name () |
int | lhd_types_compatible_p () |
bool | lhd_tree_dump_dump_tree () |
int | lhd_tree_dump_type_quals () |
int | lhd_gimplify_expr (tree *expr_p, gimple_seq *pre_p, gimple_seq *post_p) |
size_t | lhd_tree_size () |
bool | lhd_decl_ok_for_sibcall () |
void | write_global_declarations () |
void | lhd_initialize_diagnostics () |
void | lhd_init_options (unsigned int decoded_options_count, struct cl_decoded_option *decoded_options) |
bool | lhd_complain_wrong_lang_p () |
bool | lhd_handle_option (size_t code, const char *arg, int value, int kind, location_t loc, const struct cl_option_handlers *handlers) |
void | lhd_print_error_function (diagnostic_context *context, const char *file, diagnostic_info *diagnostic) |
tree | lhd_make_node () |
HOST_WIDE_INT | lhd_to_target_charset () |
tree | lhd_expr_to_decl () |
enum omp_clause_default_kind | lhd_omp_predetermined_sharing () |
tree | lhd_omp_assignment () |
void | lhd_omp_firstprivatize_type_sizes (struct gimplify_omp_ctx *c, tree t) |
bool | lhd_omp_mappable_type () |
static tree | add_builtin_function_common (const char *name, tree type, int function_code, enum built_in_class cl, const char *library_name, tree attrs, tree(*hook)(tree)) |
tree | add_builtin_function (const char *name, tree type, int function_code, enum built_in_class cl, const char *library_name, tree attrs) |
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) |
tree | lhd_builtin_function () |
tree | add_builtin_type () |
void | lhd_begin_section () |
void | lhd_append_data () |
void | lhd_end_section () |
void | lhd_install_body_with_frame_cleanup () |
bool | lhd_cilk_detect_spawn () |
void lhd_do_nothing |
( |
void |
| ) |
|
@verbatim
Default language-specific hooks. Copyright (C) 2001-2013 Free Software Foundation, Inc. Contributed by Alexandre Oliva aoliv.nosp@m.a@re.nosp@m.dhat..nosp@m.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.
void lhd_set_decl_assembler_name |
( |
| ) |
|
Set the DECL_ASSEMBLER_NAME for DECL.
The language-independent code should never use the
DECL_ASSEMBLER_NAME for lots of DECLs. Only FUNCTION_DECLs and
VAR_DECLs for variables with static storage duration need a real
DECL_ASSEMBLER_NAME.
By default, assume the name to use in assembly code is the same
as that used in the source language. (That's correct for C, and
GCC used to set DECL_ASSEMBLER_NAME to the same value as
DECL_NAME in build_decl, so this choice provides backwards
compatibility with existing front-ends. This assumption is wrapped
in a target hook, to allow for target-specific modification of the
identifier.
Can't use just the variable's own name for a variable whose scope
is less than the whole compilation. Concatenate a distinguishing
number - we use the DECL_UID.
References get_identifier(), and targetm.
void write_global_declarations |
( |
void |
| ) |
|
lang_hooks.decls.final_write_globals: perform final processing on
global variables.
Really define vars that have had only a tentative definition.
Really output inline functions that must actually be callable
and have not been output so far.
Process the decls in reverse order--earliest first.
Put them into VEC from back to front, then take out from front.
This lang hook is dual-purposed, and also finalizes the
compilation unit.
Clean up.