Home
last modified time | relevance | path

Searched refs:decl (Results 1 – 25 of 440) sorted by relevance

12345678910>>...18

/dragonfly/contrib/binutils-2.34/libiberty/
H A Dd-demangle.c455 string_append (decl, "("); in dlang_function_type()
868 string_setlength (decl, string_length (decl) - 1); in dlang_identifier()
876 string_setlength (decl, string_length (decl) - 1); in dlang_identifier()
887 string_setlength (decl, string_length (decl) - 1); in dlang_identifier()
908 string_setlength (decl, string_length (decl) - 1); in dlang_identifier()
919 string_setlength (decl, string_length (decl) - 1); in dlang_identifier()
1630 string decl; in dlang_demangle() local
1639 string_init (&decl); in dlang_demangle()
1648 string_delete (&decl); in dlang_demangle()
1654 *(decl.p) = '\0'; in dlang_demangle()
[all …]
/dragonfly/contrib/gcc-8.0/libiberty/
H A Dd-demangle.c455 string_append (decl, "("); in dlang_function_type()
868 string_setlength (decl, string_length (decl) - 1); in dlang_identifier()
876 string_setlength (decl, string_length (decl) - 1); in dlang_identifier()
887 string_setlength (decl, string_length (decl) - 1); in dlang_identifier()
908 string_setlength (decl, string_length (decl) - 1); in dlang_identifier()
919 string_setlength (decl, string_length (decl) - 1); in dlang_identifier()
1616 string decl; in dlang_demangle() local
1625 string_init (&decl); in dlang_demangle()
1634 string_delete (&decl); in dlang_demangle()
1640 *(decl.p) = '\0'; in dlang_demangle()
[all …]
/dragonfly/contrib/binutils-2.27/libiberty/
H A Dd-demangle.c378 string_append (decl, "("); in dlang_function_type()
416 string_append (decl, ", "); in dlang_function_args()
805 string_setlength (decl, string_length (decl) - 1); in dlang_identifier()
816 string_setlength (decl, string_length (decl) - 1); in dlang_identifier()
837 string_setlength (decl, string_length (decl) - 1); in dlang_identifier()
848 string_setlength (decl, string_length (decl) - 1); in dlang_identifier()
1570 string decl; in dlang_demangle() local
1579 string_init (&decl); in dlang_demangle()
1590 string_delete (&decl); in dlang_demangle()
1596 *(decl.p) = '\0'; in dlang_demangle()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/cp/
H A Ddecl2.c1191 tree type = TYPE_P (decl) ? decl : TREE_TYPE (decl); in is_late_template_attribute()
1538 decl = &DECL_TEMPLATE_RESULT (*decl); in cplus_decl_attributes()
1634 decl = pushdecl (decl); in build_anon_union_vars()
1850 || (VAR_P (decl) && DECL_ARTIFICIAL (decl))) in comdat_linkage()
2099 if (TREE_PUBLIC (decl) && !DECL_COMDAT (decl) && !DECL_REALLY_EXTERN (decl)) in decl_needed_p()
2558 && ((VAR_P (decl) && TREE_STATIC (decl)) in determine_visibility()
2987 else if (VAR_P (decl) && DECL_TINFO_P (decl)) in import_export_decl()
3702 #define NEEDS_GUARD_P(decl) (TREE_PUBLIC (decl) && (DECL_COMMON (decl) \ argument
4194 for (; decl; decl = TREE_CHAIN (decl)) in collect_ada_namespace()
5210 decl = BASELINK_FUNCTIONS (decl); in mark_used()
[all …]
H A Dfriend.c207 perform_or_defer_access_check (TYPE_BINFO (ctx), decl, decl, in add_friend()
351 tree decl; in make_friend_class() local
484 if (DECL_OVERRIDE_P (decl) || DECL_FINAL_P (decl)) in do_friend()
486 decl); in do_friend()
560 decl = check_classfn (ctype, decl, in do_friend()
571 && decl && TREE_CODE (decl) == FUNCTION_DECL) in do_friend()
572 decl = DECL_TI_TEMPLATE (decl); in do_friend()
574 if (decl) in do_friend()
614 decl = pushdecl (decl, /*is_friend=*/true); in do_friend()
649 is_friend_template ? DECL_TI_TEMPLATE (decl) : decl, in do_friend()
[all …]
H A Ddecl.c470 for (decl = scope->names; decl; decl = TREE_CHAIN (decl)) in objc_mark_locals_volatile()
503 for (decl = ent->names_in_scope; decl; decl = (DECL_P (decl) in poplevel_named_label_1()
3143 if (!VAR_P (decl) || TREE_STATIC (decl) in decl_jump_unsafe()
5207 decl = maybe_push_decl (decl); in start_decl()
5210 decl = push_template_decl (decl); in start_decl()
6498 decl, DECL_INITIAL (decl)); in check_initializer()
7881 decl = pushdecl (decl); in declare_global_var()
8605 decl, DECL_CONTEXT (decl)); in check_class_member_definition_namespace()
12317 else if (decl && DECL_NAME (decl)) in grokdeclarator()
13663 decl = strip_using_decl (decl); in lookup_and_check_tag()
[all …]
H A Dmangle.c595 tree decl; in find_substitution() local
613 if (decl in find_substitution()
675 else if (decl && DECL_NAMESPACE_STD_P (decl)) in find_substitution()
844 d = decl; in write_encoding()
866 decl = DECL_TEMPLATE_RESULT (decl); in decl_mangling_context()
903 decl = TYPE_NAME (TYPE_MAIN_VARIANT (TREE_TYPE (decl))); in write_name()
1099 tree decl; in write_prefix() local
1426 decl = res; in write_unqualified_name()
2737 decl); in write_bare_function_type()
2775 if (decl && ctor_omit_inherited_parms (decl)) in write_method_parms()
[all …]
H A Dname-lookup.c131 && (TREE_STATIC (decl) || DECL_EXTERNAL (decl))) in add_decl_to_level()
1181 decl = strip_using_decl (decl); in fields_linear_search()
2089 decl = USING_DECL_DECLS (decl); in strip_using_decl()
2104 decl = TYPE_NAME (decl); in strip_using_decl()
3214 decl = build_tree_list (NULL_TREE, decl); in push_local_binding()
3930 for (decl = current_binding_level->usings; decl; decl = DECL_CHAIN (decl)) in push_using_decl_1()
4047 decl = OVL_FIRST (decl); in validate_nonmember_using_decl()
4617 decl = TREE_VALUE (decl); in push_class_level_binding_1()
4858 decl = BASELINK_FUNCTIONS (decl); in do_class_using_decl()
5125 decl = decl_namespace_context (decl); in push_decl_namespace()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/lto/
H A Dlto-symtab.c109 if (node->decl != prevailing_node->decl) in lto_cgraph_replace_node()
134 && vnode->decl != prevailing_node->decl) in lto_varpool_replace_node()
319 tree decl = entry->decl; in lto_symtab_merge() local
353 DECL_COMMON (decl) || DECL_EXTERNAL (decl))) in lto_symtab_merge()
371 if (!DECL_COMMON (decl) && !DECL_EXTERNAL (decl)) in lto_symtab_merge()
632 tree decl; in lto_symtab_merge_decls_2() local
650 || e->decl == prevailing->decl) in lto_symtab_merge_decls_2()
662 if (this_prevailing->decl != e->decl in lto_symtab_merge_decls_2()
1038 || cnode->clone_of->decl != cnode->decl) in lto_symtab_merge_symbols()
1107 lto_symtab_prevail_decl (n->decl, decl); in lto_symtab_prevailing_virtual_decl()
[all …]
H A Dlto-symtab.h35 gcc_assert (TREE_PUBLIC (decl) || DECL_EXTERNAL (decl)); in lto_symtab_prevail_decl()
36 DECL_CHAIN (decl) = prevailing; in lto_symtab_prevail_decl()
37 DECL_LANG_FLAG_0 (decl) = 1; in lto_symtab_prevail_decl()
43 lto_symtab_prevailing_decl (tree decl) in lto_symtab_prevailing_decl() argument
45 if (DECL_LANG_FLAG_0 (decl)) in lto_symtab_prevailing_decl()
46 return DECL_CHAIN (decl); in lto_symtab_prevailing_decl()
49 if ((TREE_CODE (decl) == VAR_DECL || TREE_CODE (decl) == FUNCTION_DECL) in lto_symtab_prevailing_decl()
50 && DECL_VIRTUAL_P (decl) in lto_symtab_prevailing_decl()
51 && (TREE_PUBLIC (decl) || DECL_EXTERNAL (decl)) in lto_symtab_prevailing_decl()
52 && !symtab_node::get (decl)) in lto_symtab_prevailing_decl()
[all …]
/dragonfly/contrib/gcc-4.7/gcc/cp/
H A Ddecl2.c491 tree decl; in check_member_template() local
1127 tree type = TYPE_P (decl) ? decl : TREE_TYPE (decl); in is_late_template_attribute()
1304 if (*decl == NULL_TREE || *decl == void_type_node in cplus_decl_attributes()
1319 decl = &DECL_TEMPLATE_RESULT (*decl); in cplus_decl_attributes()
1390 decl = pushdecl (decl); in build_anon_union_vars()
1395 decl = 0; in build_anon_union_vars()
1601 make_decl_one_only (decl, cxx_comdat_group (decl)); in comdat_linkage()
1809 if (TREE_PUBLIC (decl) && !DECL_COMDAT (decl)) in decl_needed_p()
3015 #define NEEDS_GUARD_P(decl) (TREE_PUBLIC (decl) && (DECL_COMMON (decl) \ argument
4225 decl = BASELINK_FUNCTIONS (decl); in mark_used()
[all …]
H A Dfriend.c170 perform_or_defer_access_check (TYPE_BINFO (ctx), decl, decl); in add_friend()
295 tree decl; in make_friend_class() local
318 if (!decl) in make_friend_class()
493 decl = push_template_decl_real (decl, /*is_friend=*/true); in do_friend()
495 decl = check_classfn (ctype, decl, in do_friend()
501 decl = DECL_TI_TEMPLATE (decl); in do_friend()
503 if (decl) in do_friend()
540 decl = push_template_decl_real (decl, /*is_friend=*/true); in do_friend()
553 decl = pushdecl_maybe_friend (decl, /*is_friend=*/true); in do_friend()
595 is_friend_template ? DECL_TI_TEMPLATE (decl) : decl, in do_friend()
[all …]
H A Ddecl.c458 for (decl = scope->names; decl; decl = TREE_CHAIN (decl)) in objc_mark_locals_volatile()
482 for (decl = ent->names_in_scope; decl; decl = (DECL_P (decl) in poplevel_named_label_1()
621 for (decl = getdecls (); decl; decl = TREE_CHAIN (decl)) in poplevel()
720 decl = TREE_VALUE (decl); in poplevel()
735 pop_binding (DECL_NAME (decl), decl); in poplevel()
4512 decl = maybe_push_decl (decl); in start_decl()
4515 decl = push_template_decl (decl); in start_decl()
5615 decl, DECL_INITIAL (decl)); in check_initializer()
6422 decl = pushdecl (decl); in declare_global_var()
7084 decl, DECL_CONTEXT (decl)); in check_class_member_definition_namespace()
[all …]
H A Dmangle.c507 tree decl; in find_substitution() local
524 if (decl in find_substitution()
533 if (decl && is_std_substitution (decl, SUBID_BASIC_STRING)) in find_substitution()
604 if (decl && DECL_NAMESPACE_STD_P (decl)) in find_substitution()
733 d = decl; in write_encoding()
792 decl = TYPE_NAME (TYPE_MAIN_VARIANT (TREE_TYPE (decl))); in write_name()
968 tree decl; in write_prefix() local
1242 if (VAR_OR_FUNCTION_DECL_P (decl) && ! TREE_PUBLIC (decl) in write_unqualified_name()
2353 decl); in write_bare_function_type()
2367 tree parm_decl = decl ? DECL_ARGUMENTS (decl) : NULL_TREE; in write_method_parms()
[all …]
/dragonfly/contrib/gcc-4.7/gcc/
H A Dlto-symtab.c42 tree decl; local
144 gcc_assert (decl in lto_symtab_register_decl()
152 || (TREE_STATIC (decl) && TREE_READONLY (decl))); in lto_symtab_register_decl()
159 new_entry->decl = decl; in lto_symtab_register_decl()
195 while (e && e->decl != decl) in lto_symtab_get_resolution()
291 tree decl = entry->decl; in lto_symtab_merge() local
535 tree decl; in lto_symtab_merge_decls_2() local
561 && DECL_ALIGN (prevailing->decl) < DECL_ALIGN (decl)) in lto_symtab_merge_decls_2()
653 if (TREE_CODE (prevailing->decl) == TREE_CODE (e->decl)) in lto_symtab_merge_decls_1()
781 if (!TREE_PUBLIC (decl) || is_builtin_fn (decl)) in lto_symtab_prevailing_decl()
[all …]
H A Dvarpool.c105 return DECL_UID (n1->decl) == DECL_UID (n2->decl); in eq_varpool_node()
115 && (TREE_STATIC (decl) || DECL_EXTERNAL (decl))); in varpool_get_node()
119 key.decl = CONST_CAST2 (tree, const_tree, decl); in varpool_get_node()
139 key.decl = decl; in varpool_node()
145 node->decl = decl; in varpool_node()
360 if (!TREE_READONLY (decl) || TREE_THIS_VOLATILE (decl)) in const_value_known_p()
364 if (!TREE_STATIC (decl) && !DECL_EXTERNAL (decl)) in const_value_known_p()
367 gcc_assert (TREE_STATIC (decl) || DECL_EXTERNAL (decl)); in const_value_known_p()
408 if (TREE_THIS_VOLATILE (decl) || DECL_PRESERVE_P (decl)) in varpool_finalize_decl()
460 tree decl = node->decl; in varpool_analyze_pending_decls() local
[all …]
H A Dvarasm.c287 sect->named.decl = decl; in get_section()
316 decl = sect->named.decl; in get_section()
323 decl, sect->named.decl); in get_section()
324 if (decl != sect->named.decl) in get_section()
410 gcc_assert (!decl || DECL_P (decl)); in get_named_section()
494 if (decl && DECL_SECTION_NAME (decl)) in get_named_text_section()
1111 if (DECL_INITIAL (decl) == decl) in use_blocks_for_decl_p()
2196 if (!DECL_P (decl) || !DECL_EXTERNAL (decl) || !TREE_PUBLIC (decl)) in assemble_external()
5893 p->decl = decl; in assemble_alias()
6817 if (DECL_P (decl) && DECL_EXTERNAL (decl) && TREE_PUBLIC (decl)) in default_encode_section_info()
[all …]
H A Dipa.c285 bool noninline = node->clone_of->decl != node->decl; in cgraph_remove_unreachable_nodes()
492 && (TREE_ADDRESSABLE (vnode->decl) || !TREE_READONLY (vnode->decl))) in ipa_discover_readonly_nonaddressable_vars()
592 && (!TREE_PUBLIC (node->decl) || DECL_EXTERNAL (node->decl))) in cgraph_externally_visible_p()
651 if (!DECL_COMDAT (vnode->decl) && !TREE_PUBLIC (vnode->decl)) in varpool_externally_visible_p()
693 && DECL_COMDAT (vnode->decl) && DECL_VIRTUAL_P (vnode->decl)) in varpool_externally_visible_p()
714 if (DECL_COMDAT (vnode->decl) || DECL_WEAK (vnode->decl)) in varpool_externally_visible_p()
813 if (DECL_COMDAT (node->decl) && !TREE_PUBLIC (node->decl)) in function_and_variable_visibility()
832 gcc_assert ((!DECL_WEAK (node->decl) && !DECL_COMDAT (node->decl)) in function_and_variable_visibility()
833 || TREE_PUBLIC (node->decl) || DECL_EXTERNAL (node->decl)); in function_and_variable_visibility()
884 || TREE_PUBLIC (vnode->decl) || DECL_EXTERNAL (vnode->decl)); in function_and_variable_visibility()
[all …]
H A Dcgraphunit.c205 && !DECL_COMDAT (decl) && !DECL_EXTERNAL (decl)) in cgraph_decide_is_function_needed()
356 if ((TREE_PUBLIC (decl) && !DECL_COMDAT (decl) && !DECL_EXTERNAL (decl)) in cgraph_finalize_function()
840 tree decl = node->decl; in cgraph_analyze_function() local
997 tree decl = node->decl; in process_function_and_variable_attributes() local
1038 tree decl = vnode->decl; in process_function_and_variable_attributes() local
1114 tree decl = cgraph_nodes_queue->decl; in cgraph_analyze_functions() local
1188 tree decl = node->decl; in cgraph_analyze_functions() local
1365 tree decl = node->decl; in cgraph_mark_functions_to_output() local
1436 tree decl = node->decl; in cgraph_mark_functions_to_output() local
1827 tree decl = node->decl; in cgraph_expand_function() local
[all …]
H A Dc-decl.c620 b->decl = decl; in bind()
1299 for (decl = visible_builtins; decl; decl = DECL_CHAIN (decl)) in push_file_scope()
2894 decl = b->decl; in implicitly_declare()
7931 for (decl = arg_info->parms; decl; decl = DECL_CHAIN (decl)) in store_parm_decls_newstyle()
7950 for (decl = arg_info->others; decl; decl = DECL_CHAIN (decl)) in store_parm_decls_newstyle()
7997 decl = b->decl; in store_parm_decls_oldstyle()
9887 for (decl = globals; decl; decl = DECL_CHAIN (decl)) in c_write_global_declarations_1()
9908 for (decl = globals; decl; decl = DECL_CHAIN (decl)) in c_write_global_declarations_1()
9913 for (decl = globals; decl; decl = DECL_CHAIN (decl)) in c_write_global_declarations_1()
9925 for (decl = globals; decl ; decl = DECL_CHAIN (decl)) in c_write_global_declarations_2()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
H A Dvarpool.c152 node->decl = decl; in get_create()
187 else if (DECL_INITIAL (decl) && DECL_INITIAL (decl) != error_mark_node in remove()
359 if (!TREE_READONLY (decl) && !TREE_READONLY (real_node->decl)) in ctor_useable_for_folding_p()
373 || (DECL_WEAK (decl) && !DECL_COMDAT (decl))) in ctor_useable_for_folding_p()
374 && (DECL_EXTERNAL (decl) || decl_replaceable_p (decl))) in ctor_useable_for_folding_p()
400 if (!VAR_P (decl) && TREE_CODE (decl) != CONST_DECL) in ctor_for_folding()
418 if (!TREE_STATIC (decl) && !DECL_EXTERNAL (decl)) in ctor_for_folding()
433 real_decl = decl; in ctor_for_folding()
448 decl = node->decl; in ctor_for_folding()
567 if (DECL_IN_CONSTANT_POOL (decl) && TREE_ASM_WRITTEN (decl)) in assemble_decl()
[all …]
H A Dipa-visibility.c262 if (DECL_EXTERNAL (decl)) in externally_visible_p()
265 if (!TREE_PUBLIC (decl)) in externally_visible_p()
281 if (DECL_PRESERVE_P (decl)) in externally_visible_p()
284 DECL_ATTRIBUTES (decl))) in externally_visible_p()
308 && DECL_COMDAT (decl) in externally_visible_p()
330 if (DECL_COMDAT (decl) || DECL_WEAK (decl)) in externally_visible_p()
398 || (!DECL_WEAK (node->decl) && !DECL_ONE_ONLY (node->decl)) in update_visibility_by_resolution_info()
505 (node->decl)); in optimize_weakref()
527 (node->decl, DECL_ASSEMBLER_NAME (node->get_alias_target ()->decl)); in optimize_weakref()
597 && TREE_PUBLIC (node->decl) in localize_node()
[all …]
H A Dvarasm.c293 sect->named.decl = decl; in get_section()
334 && decl != sect->named.decl) in get_section()
338 decl, sect->named.decl); in get_section()
432 gcc_assert (decl && DECL_P (decl) && DECL_SECTION_NAME (decl)); in get_named_section()
526 if (decl && DECL_SECTION_NAME (decl)) in get_named_text_section()
1144 decl = vnode->decl; in get_variable_section()
1270 if (DECL_INITIAL (decl) == decl) in use_blocks_for_decl_p()
6354 if (decl && DECL_P (decl) && DECL_COMDAT_GROUP (decl)) in default_section_type_flags()
6360 if (decl && VAR_P (decl) && DECL_THREAD_LOCAL_P (decl)) in default_section_type_flags()
6935 if (DECL_P (decl) && DECL_EXTERNAL (decl) && TREE_PUBLIC (decl)) in default_encode_section_info()
[all …]
H A Dsymtab.c172 tree decl = node->decl; in insert_to_assembler_name_hash() local
193 if (cnode->decl == decl) in insert_to_assembler_name_hash()
208 tree decl = node->decl; in unlink_from_assembler_name_hash() local
242 if (cnode->decl == decl) in unlink_from_assembler_name_hash()
279 if ((VAR_P (decl) && (TREE_STATIC (decl) || DECL_EXTERNAL (decl))) in change_decl_assembler_name()
1350 DECL_COMMON (decl) = DECL_COMMON (n->decl); in copy_visibility_from()
1358 DECL_COMDAT (decl) = DECL_COMDAT (n->decl); in copy_visibility_from()
1359 DECL_WEAK (decl) = DECL_WEAK (n->decl); in copy_visibility_from()
1363 TREE_PUBLIC (decl) = TREE_PUBLIC (n->decl); in copy_visibility_from()
1834 if (decl == target->decl) in semantically_equivalent_p()
[all …]
H A Dcgraphunit.c269 if (TREE_PUBLIC (decl) && !DECL_COMDAT (decl)) in needed_p()
615 tree decl = this->decl; in analyze() local
770 tree decl = node->decl; in process_function_and_variable_attributes() local
803 tree decl = vnode->decl; in process_function_and_variable_attributes() local
966 tree decl = snode->decl; in check_global_declaration() local
1014 && ! (VAR_P (decl) && DECL_REGISTER (decl)) in check_global_declaration()
1115 tree decl = cnode->decl; in analyze_functions() local
1264 tree decl = node->decl; in analyze_functions() local
1484 tree decl = node->decl; in mark_functions_to_output() local
1548 tree decl = node->decl; in mark_functions_to_output() local
[all …]

12345678910>>...18