| /netbsd-src/external/gpl3/gcc.old/dist/libiberty/ |
| H A D | d-demangle.c | 273 dlang_call_convention (string *decl, const char *mangled) in dlang_call_convention() argument 285 string_append (decl, "extern(C) "); in dlang_call_convention() 289 string_append (decl, "extern(Windows) "); in dlang_call_convention() 293 string_append (decl, "extern(Pascal) "); in dlang_call_convention() 297 string_append (decl, "extern(C++) "); in dlang_call_convention() 301 string_append (decl, "extern(Objective-C) "); in dlang_call_convention() 313 dlang_type_modifiers (string *decl, const char *mangled) in dlang_type_modifiers() argument 322 string_append (decl, " const"); in dlang_type_modifiers() 326 string_append (decl, " immutable"); in dlang_type_modifiers() 330 string_append (decl, " shared"); in dlang_type_modifiers() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libiberty/ |
| H A D | d-demangle.c | 367 dlang_symbol_backref (string *decl, const char *mangled, in dlang_symbol_backref() argument 387 backref = dlang_lname (decl, backref, len); in dlang_symbol_backref() 398 dlang_type_backref (string *decl, const char *mangled, struct dlang_info *info, in dlang_type_backref() argument 422 backref = dlang_function_type (decl, backref, info); in dlang_type_backref() 424 backref = dlang_type (decl, backref, info); in dlang_type_backref() 462 dlang_call_convention (string *decl, const char *mangled) in dlang_call_convention() argument 474 string_append (decl, "extern(C) "); in dlang_call_convention() 478 string_append (decl, "extern(Windows) "); in dlang_call_convention() 482 string_append (decl, "extern(Pascal) "); in dlang_call_convention() 486 string_append (decl, "extern(C++) "); in dlang_call_convention() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/libiberty/ |
| H A D | d-demangle.c | 367 dlang_symbol_backref (string *decl, const char *mangled, in dlang_symbol_backref() argument 387 backref = dlang_lname (decl, backref, len); in dlang_symbol_backref() 398 dlang_type_backref (string *decl, const char *mangled, struct dlang_info *info, in dlang_type_backref() argument 422 backref = dlang_function_type (decl, backref, info); in dlang_type_backref() 424 backref = dlang_type (decl, backref, info); in dlang_type_backref() 462 dlang_call_convention (string *decl, const char *mangled) in dlang_call_convention() argument 474 string_append (decl, "extern(C) "); in dlang_call_convention() 478 string_append (decl, "extern(Windows) "); in dlang_call_convention() 482 string_append (decl, "extern(Pascal) "); in dlang_call_convention() 486 string_append (decl, "extern(C++) "); in dlang_call_convention() [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/libiberty/ |
| H A D | d-demangle.c | 367 dlang_symbol_backref (string *decl, const char *mangled, in dlang_symbol_backref() argument 387 backref = dlang_lname (decl, backref, len); in dlang_symbol_backref() 398 dlang_type_backref (string *decl, const char *mangled, struct dlang_info *info, in dlang_type_backref() argument 422 backref = dlang_function_type (decl, backref, info); in dlang_type_backref() 424 backref = dlang_type (decl, backref, info); in dlang_type_backref() 462 dlang_call_convention (string *decl, const char *mangled) in dlang_call_convention() argument 474 string_append (decl, "extern(C) "); in dlang_call_convention() 478 string_append (decl, "extern(Windows) "); in dlang_call_convention() 482 string_append (decl, "extern(Pascal) "); in dlang_call_convention() 486 string_append (decl, "extern(C++) "); in dlang_call_convention() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/lto/ |
| H A D | lto-symtab.cc | 56 (IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (node->decl))))); in lto_cgraph_replace_node() 70 && DECL_COMDAT (node->decl) && DECL_COMDAT (prevailing_node->decl)) in lto_cgraph_replace_node() 73 && DECL_DECLARED_INLINE_P (node->decl) in lto_cgraph_replace_node() 74 && DECL_EXTERNAL (node->decl) in lto_cgraph_replace_node() 82 = types_compatible_p (TREE_TYPE (TREE_TYPE (prevailing_node->decl)), in lto_cgraph_replace_node() 83 TREE_TYPE (TREE_TYPE (node->decl))); in lto_cgraph_replace_node() 102 if (node->decl != prevailing_node->decl) in lto_cgraph_replace_node() 126 if (DECL_INITIAL (vnode->decl) in lto_varpool_replace_node() 127 && vnode->decl != prevailing_node->decl) in lto_varpool_replace_node() 128 DECL_INITIAL (vnode->decl) = error_mark_node; in lto_varpool_replace_node() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/lto/ |
| H A D | lto-symtab.c | 56 (IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (node->decl))))); in lto_cgraph_replace_node() 70 && DECL_COMDAT (node->decl) && DECL_COMDAT (prevailing_node->decl)) in lto_cgraph_replace_node() 73 && DECL_DECLARED_INLINE_P (node->decl) in lto_cgraph_replace_node() 74 && DECL_EXTERNAL (node->decl) in lto_cgraph_replace_node() 82 = types_compatible_p (TREE_TYPE (TREE_TYPE (prevailing_node->decl)), in lto_cgraph_replace_node() 83 TREE_TYPE (TREE_TYPE (node->decl))); in lto_cgraph_replace_node() 102 if (node->decl != prevailing_node->decl) in lto_cgraph_replace_node() 126 if (DECL_INITIAL (vnode->decl) in lto_varpool_replace_node() 127 && vnode->decl != prevailing_node->decl) in lto_varpool_replace_node() 128 DECL_INITIAL (vnode->decl) = error_mark_node; in lto_varpool_replace_node() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/ |
| H A D | decl2.c | 113 static hashval_t hash (const value_type decl) in hash() 115 return IDENTIFIER_HASH_VALUE (DECL_ASSEMBLER_NAME_RAW (decl)); in hash() 558 tree decl; in check_member_template() local 561 decl = DECL_TEMPLATE_RESULT (tmpl); in check_member_template() 563 if (TREE_CODE (decl) == FUNCTION_DECL in check_member_template() 565 || (TREE_CODE (decl) == TYPE_DECL in check_member_template() 566 && MAYBE_CLASS_TYPE_P (TREE_TYPE (decl)))) in check_member_template() 570 gcc_assert (!current_function_decl || LAMBDA_FUNCTION_P (decl)); in check_member_template() 572 gcc_assert (!(TREE_CODE (decl) == FUNCTION_DECL in check_member_template() 573 && DECL_VIRTUAL_P (decl))); in check_member_template() [all …]
|
| H A D | friend.c | 166 add_friend (tree type, tree decl, bool complain) in add_friend() argument 173 if (decl == error_mark_node) in add_friend() 178 name = DECL_NAME (decl); in add_friend() 188 if (decl == TREE_VALUE (friends)) in add_friend() 193 decl, type); in add_friend() 198 TREE_VALUE (list) = tree_cons (NULL_TREE, decl, in add_friend() 205 ctx = DECL_CONTEXT (decl); in add_friend() 207 perform_or_defer_access_check (TYPE_BINFO (ctx), decl, decl, in add_friend() 210 maybe_add_class_template_decl_list (type, decl, /*friend_p=*/1); in add_friend() 214 = tree_cons (DECL_NAME (decl), build_tree_list (NULL_TREE, decl), in add_friend() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/cp/ |
| H A D | decl2.cc | 111 static hashval_t hash (const value_type decl) in hash() 113 return IDENTIFIER_HASH_VALUE (DECL_ASSEMBLER_NAME_RAW (decl)); in hash() 669 tree decl; in check_member_template() local 672 decl = DECL_TEMPLATE_RESULT (tmpl); in check_member_template() 674 if (TREE_CODE (decl) == FUNCTION_DECL in check_member_template() 676 || (TREE_CODE (decl) == TYPE_DECL in check_member_template() 677 && MAYBE_CLASS_TYPE_P (TREE_TYPE (decl)))) in check_member_template() 681 gcc_assert (!current_function_decl || LAMBDA_FUNCTION_P (decl)); in check_member_template() 683 gcc_assert (!(TREE_CODE (decl) == FUNCTION_DECL in check_member_template() 684 && DECL_VIRTUAL_P (decl))); in check_member_template() [all …]
|
| H A D | friend.cc | 166 add_friend (tree type, tree decl, bool complain) in add_friend() argument 173 if (decl == error_mark_node) in add_friend() 178 name = DECL_NAME (decl); in add_friend() 188 if (decl == TREE_VALUE (friends)) in add_friend() 193 decl, type); in add_friend() 198 TREE_VALUE (list) = tree_cons (NULL_TREE, decl, in add_friend() 205 ctx = DECL_CONTEXT (decl); in add_friend() 207 perform_or_defer_access_check (TYPE_BINFO (ctx), decl, decl, in add_friend() 210 maybe_add_class_template_decl_list (type, decl, /*friend_p=*/1); in add_friend() 214 = tree_cons (DECL_NAME (decl), build_tree_list (NULL_TREE, decl), in add_friend() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/d/ |
| H A D | decl.cc | 68 d_mangle_decl (Dsymbol *decl) in d_mangle_decl() argument 70 if (decl->isFuncDeclaration ()) in d_mangle_decl() 71 return mangleExact ((FuncDeclaration *) decl); in d_mangle_decl() 75 mangleToBuffer (decl, &buf); in d_mangle_decl() 84 mangle_internal_decl (Dsymbol *decl, const char *name, const char *suffix) in mangle_internal_decl() argument 86 const char *prefix = d_mangle_decl (decl); in mangle_internal_decl() 96 snprintf (buf, buflen, "%s.%s", decl->toPrettyChars (), name); in mangle_internal_decl() 105 gcc_attribute_p (Dsymbol *decl) in gcc_attribute_p() argument 107 ModuleDeclaration *md = decl->getModule ()->md; in gcc_attribute_p() 123 get_fndecl_result (FuncDeclaration *decl) in get_fndecl_result() argument [all …]
|
| H A D | modules.cc | 165 tree decl = get_symbol_decl (fd); in build_internal_fn() local 168 rest_of_decl_compilation (decl, 1, 0); in build_internal_fn() 174 TREE_PUBLIC (decl) = 0; in build_internal_fn() 175 TREE_USED (decl) = 1; in build_internal_fn() 176 DECL_ARTIFICIAL (decl) = 1; in build_internal_fn() 178 return decl; in build_internal_fn() 193 tree decl = (*gates)[i]; in build_funcs_gates_fn() local 194 tree value = build2 (PLUS_EXPR, TREE_TYPE (decl), in build_funcs_gates_fn() 195 decl, integer_one_node); in build_funcs_gates_fn() 196 tree var_expr = modify_expr (decl, value); in build_funcs_gates_fn() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | cgraphunit.cc | 227 if (TREE_CODE (decl) != FUNCTION_DECL) in native_rtl_p() 229 if (!DECL_STRUCT_FUNCTION (decl)) in native_rtl_p() 231 return DECL_STRUCT_FUNCTION (decl)->curr_properties & PROP_rtl; in native_rtl_p() 244 (!DECL_ASSEMBLER_NAME_SET_P (decl) in needed_p() 245 || !TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (decl))); in needed_p() 250 if (DECL_EXTERNAL (decl)) in needed_p() 258 if (forced_by_abi && TREE_PUBLIC (decl)) in needed_p() 262 if (TREE_CODE (decl) == FUNCTION_DECL in needed_p() 263 && (DECL_STATIC_CONSTRUCTOR (decl) || DECL_STATIC_DESTRUCTOR (decl))) in needed_p() 268 if (TREE_PUBLIC (decl) && !DECL_COMDAT (decl)) in needed_p() [all …]
|
| H A D | varpool.cc | 143 varpool_node::get_create (tree decl) in get_create() argument 145 varpool_node *node = varpool_node::get (decl); in get_create() 146 gcc_checking_assert (VAR_P (decl)); in get_create() 151 node->decl = decl; in get_create() 154 && lookup_attribute ("omp declare target", DECL_ATTRIBUTES (decl))) in get_create() 157 if (ENABLE_OFFLOADING && !DECL_EXTERNAL (decl)) in get_create() 161 vec_safe_push (offload_vars, decl); in get_create() 186 else if (DECL_INITIAL (decl) && DECL_INITIAL (decl) != error_mark_node in remove() 198 if (DECL_INITIAL (decl) in remove_initializer() 199 && !DECL_IN_CONSTANT_POOL (decl) in remove_initializer() [all …]
|
| H A D | ipa-visibility.cc | 100 && !DECL_EXTERNAL (node->decl) in non_local_p() 101 && !lookup_attribute ("noipa", DECL_ATTRIBUTES (node->decl)) in non_local_p() 145 && TREE_PUBLIC (node->decl) in comdat_can_be_unshared_p_1() 152 && (!TREE_READONLY (node->decl) in comdat_can_be_unshared_p_1() 153 || TREE_THIS_VOLATILE (node->decl))) in comdat_can_be_unshared_p_1() 197 if (!TREE_PUBLIC (node->decl) in cgraph_externally_visible_p() 198 || DECL_EXTERNAL (node->decl)) in cgraph_externally_visible_p() 206 if (fndecl_built_in_p (node->decl)) in cgraph_externally_visible_p() 212 if (DECL_PRESERVE_P (node->decl)) in cgraph_externally_visible_p() 215 DECL_ATTRIBUTES (node->decl))) in cgraph_externally_visible_p() [all …]
|
| H A D | varasm.cc | 292 get_section (const char *name, unsigned int flags, tree decl, in get_section() argument 300 if (decl != nullptr in get_section() 301 && DECL_P (decl) in get_section() 302 && lookup_attribute ("retain", DECL_ATTRIBUTES (decl))) in get_section() 309 sect->named.decl = decl; in get_section() 356 if (sect->named.decl != NULL in get_section() 357 && DECL_P (sect->named.decl) in get_section() 358 && decl != sect->named.decl) in get_section() 360 if (decl != NULL && DECL_P (decl)) in get_section() 362 decl, sect->named.decl); in get_section() [all …]
|
| H A D | symtab.cc | 142 symbol_table::decl_assembler_name_equal (tree decl, const_tree asmname) in decl_assembler_name_equal() argument 144 tree decl_asmname = DECL_ASSEMBLER_NAME (decl); in decl_assembler_name_equal() 165 if (is_a <varpool_node *> (node) && DECL_HARD_REGISTER (node->decl)) in insert_to_assembler_name_hash() 173 tree decl = node->decl; in insert_to_assembler_name_hash() local 175 tree name = DECL_ASSEMBLER_NAME (node->decl); in insert_to_assembler_name_hash() 194 if (cnode->decl == decl) in insert_to_assembler_name_hash() 209 tree decl = node->decl; in unlink_from_assembler_name_hash() local 221 tree name = DECL_ASSEMBLER_NAME (node->decl); in unlink_from_assembler_name_hash() 243 if (cnode->decl == decl) in unlink_from_assembler_name_hash() 274 symbol_table::change_decl_assembler_name (tree decl, tree name) in change_decl_assembler_name() argument [all …]
|
| /netbsd-src/external/mit/isl/dist/ |
| H A D | isl_arg.c | 290 static int print_arg_help(struct isl_arg *decl, struct isl_prefixes *prefixes, in print_arg_help() argument 295 if (!decl->long_name) { in print_arg_help() 296 printf(" -%c", decl->short_name); in print_arg_help() 300 if (decl->short_name) { in print_arg_help() 301 printf(" -%c, --", decl->short_name); in print_arg_help() 303 } else if (decl->flags & ISL_ARG_SINGLE_DASH) { in print_arg_help() 316 printf("%s", decl->long_name); in print_arg_help() 317 len += strlen(decl->long_name); in print_arg_help() 319 while ((++decl)->type == isl_arg_alias) { in print_arg_help() 326 printf("%s", decl->long_name); in print_arg_help() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | varpool.c | 142 varpool_node::get_create (tree decl) in get_create() argument 144 varpool_node *node = varpool_node::get (decl); in get_create() 145 gcc_checking_assert (VAR_P (decl)); in get_create() 150 node->decl = decl; in get_create() 153 && lookup_attribute ("omp declare target", DECL_ATTRIBUTES (decl))) in get_create() 156 if (ENABLE_OFFLOADING && !DECL_EXTERNAL (decl)) in get_create() 160 vec_safe_push (offload_vars, decl); in get_create() 185 else if (DECL_INITIAL (decl) && DECL_INITIAL (decl) != error_mark_node in remove() 197 if (DECL_INITIAL (decl) in remove_initializer() 198 && !DECL_IN_CONSTANT_POOL (decl) in remove_initializer() [all …]
|
| H A D | ipa-visibility.c | 100 && !DECL_EXTERNAL (node->decl) in non_local_p() 101 && !lookup_attribute ("noipa", DECL_ATTRIBUTES (node->decl)) in non_local_p() 145 && TREE_PUBLIC (node->decl) in comdat_can_be_unshared_p_1() 152 && (!TREE_READONLY (node->decl) in comdat_can_be_unshared_p_1() 153 || TREE_THIS_VOLATILE (node->decl))) in comdat_can_be_unshared_p_1() 197 if (!TREE_PUBLIC (node->decl) in cgraph_externally_visible_p() 198 || DECL_EXTERNAL (node->decl)) in cgraph_externally_visible_p() 206 if (fndecl_built_in_p (node->decl)) in cgraph_externally_visible_p() 212 if (DECL_PRESERVE_P (node->decl)) in cgraph_externally_visible_p() 215 DECL_ATTRIBUTES (node->decl))) in cgraph_externally_visible_p() [all …]
|
| H A D | cgraphunit.c | 228 if (TREE_CODE (decl) != FUNCTION_DECL) in native_rtl_p() 230 if (!DECL_STRUCT_FUNCTION (decl)) in native_rtl_p() 232 return DECL_STRUCT_FUNCTION (decl)->curr_properties & PROP_rtl; in native_rtl_p() 245 (!DECL_ASSEMBLER_NAME_SET_P (decl) in needed_p() 246 || !TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (decl))); in needed_p() 251 if (DECL_EXTERNAL (decl)) in needed_p() 259 if (forced_by_abi && TREE_PUBLIC (decl)) in needed_p() 263 if (TREE_CODE (decl) == FUNCTION_DECL in needed_p() 264 && (DECL_STATIC_CONSTRUCTOR (decl) || DECL_STATIC_DESTRUCTOR (decl))) in needed_p() 269 if (TREE_PUBLIC (decl) && !DECL_COMDAT (decl)) in needed_p() [all …]
|
| H A D | varasm.c | 283 get_section (const char *name, unsigned int flags, tree decl, in get_section() argument 296 sect->named.decl = decl; in get_section() 338 if (sect->named.decl != NULL in get_section() 339 && DECL_P (sect->named.decl) in get_section() 340 && decl != sect->named.decl) in get_section() 342 if (decl != NULL && DECL_P (decl)) in get_section() 344 decl, sect->named.decl); in get_section() 346 error ("section type conflict with %qD", sect->named.decl); in get_section() 347 inform (DECL_SOURCE_LOCATION (sect->named.decl), in get_section() 348 "%qD was declared here", sect->named.decl); in get_section() [all …]
|
| H A D | symtab.c | 141 symbol_table::decl_assembler_name_equal (tree decl, const_tree asmname) in decl_assembler_name_equal() argument 143 tree decl_asmname = DECL_ASSEMBLER_NAME (decl); in decl_assembler_name_equal() 164 if (is_a <varpool_node *> (node) && DECL_HARD_REGISTER (node->decl)) in insert_to_assembler_name_hash() 172 tree decl = node->decl; in insert_to_assembler_name_hash() local 174 tree name = DECL_ASSEMBLER_NAME (node->decl); in insert_to_assembler_name_hash() 193 if (cnode->decl == decl) in insert_to_assembler_name_hash() 208 tree decl = node->decl; in unlink_from_assembler_name_hash() local 220 tree name = DECL_ASSEMBLER_NAME (node->decl); in unlink_from_assembler_name_hash() 242 if (cnode->decl == decl) in unlink_from_assembler_name_hash() 273 symbol_table::change_decl_assembler_name (tree decl, tree name) in change_decl_assembler_name() argument [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/ |
| H A D | decl.cc | 63 d_mangle_decl (Dsymbol *decl) in d_mangle_decl() argument 65 if (decl->isFuncDeclaration ()) in d_mangle_decl() 66 return mangleExact ((FuncDeclaration *)decl); in d_mangle_decl() 70 mangleToBuffer (decl, &buf); in d_mangle_decl() 79 mangle_internal_decl (Dsymbol *decl, const char *name, const char *suffix) in mangle_internal_decl() argument 81 const char *prefix = d_mangle_decl (decl); in mangle_internal_decl() 91 snprintf (buf, buflen, "%s.%s", decl->toPrettyChars (), name); in mangle_internal_decl() 100 gcc_attribute_p (Dsymbol *decl) in gcc_attribute_p() argument 102 ModuleDeclaration *md = decl->getModule ()->md; in gcc_attribute_p() 174 tree decl = build_import_decl (aliasdecl); in visit() local [all …]
|
| H A D | modules.cc | 163 tree decl = get_symbol_decl (fd); in build_internal_fn() local 166 rest_of_decl_compilation (decl, 1, 0); in build_internal_fn() 172 TREE_PUBLIC (decl) = 0; in build_internal_fn() 173 TREE_USED (decl) = 1; in build_internal_fn() 174 DECL_ARTIFICIAL (decl) = 1; in build_internal_fn() 176 return decl; in build_internal_fn() 191 tree decl = (*gates)[i]; in build_funcs_gates_fn() local 192 tree value = build2 (PLUS_EXPR, TREE_TYPE (decl), in build_funcs_gates_fn() 193 decl, integer_one_node); in build_funcs_gates_fn() 194 tree var_expr = modify_expr (decl, value); in build_funcs_gates_fn() [all …]
|