Home
last modified time | relevance | path

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

12345678910>>...25

/openbsd/gnu/usr.bin/gcc/gcc/config/i386/
H A Dwinnt.c156 tree decl; in associated_type()
166 if (! DECL_ARTIFICIAL (decl) || DECL_VINDEX (decl))
180 tree decl; in i386_pe_dllexport_p()
207 tree decl; in i386_pe_dllimport_p()
259 && TREE_STATIC (decl) && TREE_PUBLIC (decl)
371 if (!DECL_EXTERNAL (decl) || !TREE_PUBLIC (decl))
403 tree decl; in gen_stdcall_suffix()
585 if (decl && TREE_CODE (decl) == FUNCTION_DECL)
587 else if (decl && decl_readonly_section (decl, reloc))
593 if (decl && TREE_CODE (decl) == VAR_DECL
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/config/arm/
H A Dpe.c40 arm_dllexport_p (decl) in arm_dllexport_p() argument
41 tree decl; in arm_dllexport_p()
58 arm_dllimport_p (decl) in arm_dllimport_p() argument
59 tree decl; in arm_dllimport_p()
99 arm_mark_dllexport (decl) in arm_mark_dllexport() argument
100 tree decl; in arm_mark_dllexport()
137 arm_mark_dllimport (decl) in arm_mark_dllimport() argument
138 tree decl; in arm_mark_dllimport()
209 tree decl; in arm_pe_encode_section_info()
217 ? TREE_CST_RTL (decl) : DECL_RTL (decl));
[all …]
/openbsd/gnu/gcc/gcc/config/arm/
H A Dpe.c43 arm_dllexport_p (decl) in arm_dllexport_p() argument
44 tree decl; in arm_dllexport_p()
61 arm_dllimport_p (decl) in arm_dllimport_p() argument
62 tree decl; in arm_dllimport_p()
102 arm_mark_dllexport (decl) in arm_mark_dllexport() argument
103 tree decl; in arm_mark_dllexport()
131 XEXP (DECL_RTL (decl), 0) =
138 arm_mark_dllimport (decl) in arm_mark_dllimport() argument
139 tree decl; in arm_mark_dllimport()
206 tree decl; in arm_pe_encode_section_info()
[all …]
/openbsd/gnu/gcc/gcc/config/i386/
H A Dwinnt.c111 return (DECL_CONTEXT (decl) && TYPE_P (DECL_CONTEXT (decl))) in associated_type()
218 decl); in i386_pe_mark_dllexport()
265 gcc_assert (DECL_EXTERNAL (decl) && TREE_PUBLIC (decl) in i386_pe_mark_dllimport()
381 decl); in i386_pe_encode_section_info()
542 if (decl && TREE_CODE (decl) == FUNCTION_DECL) in i386_pe_section_type_flags()
544 else if (decl && decl_readonly_section (decl, reloc)) in i386_pe_section_type_flags()
550 if (decl && TREE_CODE (decl) == VAR_DECL in i386_pe_section_type_flags()
555 if (decl && DECL_ONE_ONLY (decl)) in i386_pe_section_type_flags()
643 tree decl; member
662 p->decl = decl; in i386_pe_record_external_function()
[all …]
H A Dwinnt-cxx.c54 || DECL_ARTIFICIAL (decl))) in i386_pe_type_dllimport_p()
61 && DECL_VIRTUAL_P (decl)) in i386_pe_type_dllimport_p()
68 if (DECL_INITIAL (decl)) in i386_pe_type_dllimport_p()
73 if (decl == CLASSTYPE_KEY_METHOD (DECL_CONTEXT (decl))) in i386_pe_type_dllimport_p()
75 decl); in i386_pe_type_dllimport_p()
84 && (DECL_INITIAL (decl))) in i386_pe_type_dllimport_p()
91 && TREE_STATIC (decl) && TREE_PUBLIC (decl) in i386_pe_type_dllimport_p()
92 && !DECL_EXTERNAL (decl)) in i386_pe_type_dllimport_p()
94 if (!DECL_VIRTUAL_P (decl)) in i386_pe_type_dllimport_p()
96 "dllimport'd class", decl); in i386_pe_type_dllimport_p()
[all …]
/openbsd/gnu/gcc/gcc/
H A Dcgraphunit.c326 tree decl = node->decl; in cgraph_varpool_remove_unreferenced_decls() local
475 node->decl = decl; in cgraph_finalize_function()
794 if (e->callee->decl != cgraph_node (decl)->decl in verify_cgraph_node()
857 tree decl = node->decl; in cgraph_varpool_assemble_decl() local
947 tree decl = node->decl; in cgraph_analyze_function() local
1006 tree decl = node->decl; in process_function_and_variable_attributes() local
1029 tree decl = vnode->decl; in process_function_and_variable_attributes() local
1154 tree decl = node->decl; in cgraph_finalize_compilation_unit() local
1190 tree decl = node->decl; in cgraph_mark_functions_to_output() local
1233 tree decl = node->decl; in cgraph_expand_function() local
[all …]
H A Dvarasm.c297 sect->named.decl = decl; in get_section()
308 decl = sect->named.decl; in get_section()
455 gcc_assert (!decl || DECL_P (decl)); in get_named_section()
980 if (DECL_INITIAL (decl) == decl) in use_blocks_for_decl_p()
1800 if (TREE_PUBLIC (decl) && DECL_NAME (decl)) in assemble_variable()
1956 if (!DECL_P (decl) || !DECL_EXTERNAL (decl) || !TREE_PUBLIC (decl)) in assemble_external()
5033 p->decl = decl; in assemble_alias()
5248 if (decl && DECL_ONE_ONLY (decl)) in default_section_type_flags()
5251 if (decl && TREE_CODE (decl) == VAR_DECL && DECL_THREAD_LOCAL_P (decl)) in default_section_type_flags()
5770 if (DECL_P (decl) && DECL_EXTERNAL (decl) && TREE_PUBLIC (decl)) in default_encode_section_info()
[all …]
H A Dc-decl.c495 b->decl = decl; in bind()
914 for (decl = visible_builtins; decl; decl = TREE_CHAIN (decl)) in push_file_scope()
2362 decl = b->decl; in implicitly_declare()
6326 for (decl = arg_info->parms; decl; decl = TREE_CHAIN (decl)) in store_parm_decls_newstyle()
6344 for (decl = arg_info->others; decl; decl = TREE_CHAIN (decl)) in store_parm_decls_newstyle()
6353 for (decl = arg_info->tags; decl; decl = TREE_CHAIN (decl)) in store_parm_decls_newstyle()
6388 decl = b->decl; in store_parm_decls_oldstyle()
7885 for (decl = globals; decl; decl = TREE_CHAIN (decl)) in c_write_global_declarations_1()
7906 for (decl = globals; decl; decl = TREE_CHAIN (decl)) in c_write_global_declarations_1()
7911 for (decl = globals; decl; decl = TREE_CHAIN (decl)) in c_write_global_declarations_1()
[all …]
H A Dcgraph.c175 return DECL_UID (n1->decl) == DECL_UID (n2->decl); in eq_node()
208 key.decl = decl; in cgraph_node()
221 node->decl = decl; in cgraph_node()
594 && (TREE_ASM_WRITTEN (n->decl) || DECL_EXTERNAL (n->decl)))) in cgraph_remove_node()
838 return DECL_UID (n1->decl) == DECL_UID (n2->decl); in eq_varpool_node()
847 gcc_assert (DECL_P (decl) && TREE_CODE (decl) != FUNCTION_DECL); in cgraph_varpool_node()
852 key.decl = decl; in cgraph_varpool_node()
858 node->decl = decl; in cgraph_varpool_node()
1001 else if (TREE_PUBLIC (decl) && !DECL_COMDAT (decl) && !DECL_EXTERNAL (decl)) in cgraph_varpool_finalize_decl()
1071 new->decl = n->decl; in cgraph_clone_node()
[all …]
H A Dlanghooks.c143 if (TREE_CODE (decl) == FUNCTION_DECL && DECL_INLINE (decl)) in lhd_warn_unused_global_decl()
145 if (TREE_CODE (decl) == VAR_DECL && TREE_READONLY (decl)) in lhd_warn_unused_global_decl()
163 && (TREE_STATIC (decl) in lhd_set_decl_assembler_name()
164 || DECL_EXTERNAL (decl) in lhd_set_decl_assembler_name()
176 if (TREE_PUBLIC (decl) || DECL_CONTEXT (decl) == NULL_TREE) in lhd_set_decl_assembler_name()
177 SET_DECL_ASSEMBLER_NAME (decl, DECL_NAME (decl)); in lhd_set_decl_assembler_name()
263 gcc_assert (decl && DECL_NAME (decl)); in lhd_decl_printable_name()
464 lhd_comdat_group (tree decl) in lhd_comdat_group() argument
482 tree decl; in write_global_declarations() local
487 for (i = 0, decl = globals; i < len; i++, decl = TREE_CHAIN (decl)) in write_global_declarations()
[all …]
H A Dc-omp.c170 if (exp == decl) in check_omp_for_incr_expr()
222 if (TYPE_UNSIGNED (TREE_TYPE (decl))) in c_finish_omp_for()
227 if (init == decl) in c_finish_omp_for()
231 init = DECL_INITIAL (decl); in c_finish_omp_for()
285 && decl == TREE_OPERAND (op1, 0)) in c_finish_omp_for()
292 if (decl == TREE_OPERAND (cond, 0)) in c_finish_omp_for()
298 TREE_OPERAND (cond, 0) = decl; in c_finish_omp_for()
334 if (TREE_OPERAND (incr, 0) != decl) in c_finish_omp_for()
336 if (TREE_OPERAND (incr, 1) == decl) in c_finish_omp_for()
351 t = build2 (PLUS_EXPR, TREE_TYPE (decl), decl, t); in c_finish_omp_for()
[all …]
/openbsd/gnu/gcc/gcc/cp/
H A Ddecl2.c439 tree decl; in check_member_template() local
998 if (*decl == NULL_TREE || *decl == void_type_node in cplus_decl_attributes()
1003 decl = &DECL_TEMPLATE_RESULT (*decl); in cplus_decl_attributes()
1069 decl = pushdecl (decl); in build_anon_union_vars()
1074 decl = 0; in build_anon_union_vars()
1448 if (TREE_PUBLIC (decl) && !DECL_COMDAT (decl)) in decl_needed_p()
2559 #define NEEDS_GUARD_P(decl) (TREE_PUBLIC (decl) && (DECL_COMMON (decl) \ argument
3040 tree decl; in cp_finish_file() local
3297 TREE_USED (decl) && DECL_DECLARED_INLINE_P (decl) in cp_finish_file()
3484 decl = BASELINK_FUNCTIONS (decl); in mark_used()
[all …]
H A Dfriend.c174 perform_or_defer_access_check (TYPE_BINFO (ctx), decl, decl); in add_friend()
290 tree decl; in make_friend_class() local
313 if (!decl) in make_friend_class()
481 decl = push_template_decl_real (decl, /*is_friend=*/true); in do_friend()
483 decl = check_classfn (ctype, decl, in do_friend()
489 decl = DECL_TI_TEMPLATE (decl); in do_friend()
491 if (decl) in do_friend()
528 decl = push_template_decl_real (decl, /*is_friend=*/true); in do_friend()
534 decl = pushdecl_maybe_friend (decl, /*is_friend=*/true); in do_friend()
568 is_friend_template ? DECL_TI_TEMPLATE (decl) : decl, in do_friend()
[all …]
H A Ddecl.c450 for (decl = scope->names; decl; decl = TREE_CHAIN (decl)) in objc_mark_locals_volatile()
472 for (decl = ent->names_in_scope; decl; decl = TREE_CHAIN (decl)) in poplevel_named_label_1()
605 for (decl = getdecls (); decl; decl = TREE_CHAIN (decl)) in poplevel()
688 decl = TREE_VALUE (decl); in poplevel()
4898 decl, DECL_INITIAL (decl)); in check_initializer()
5260 decl, TREE_TYPE (decl)); in cp_finish_decl()
5476 decl = pushdecl (decl); in declare_global_var()
5985 decl, DECL_CONTEXT (decl)); in check_class_member_definition_namespace()
6319 decl = DECL_TEMPLATE_RESULT (decl); in grokfndecl()
8516 else if (decl && DECL_NAME (decl)) in grokdeclarator()
[all …]
H A Dsemantics.c249 probe->decl == chk->decl && in pop_to_parent_deferring_access_checks()
346 new_access->decl = decl; in perform_or_defer_access_check()
1097 decl = pushdecl (decl); in finish_handler_parms()
1098 decl = push_template_decl (decl); in finish_handler_parms()
2065 decl = DECL_NAME (decl); in finish_fname()
2348 decl = TYPE_STUB_DECL (decl); in finish_template_type()
2583 decl = TEMPLATE_PARM_DECL (decl); in finish_id_expression()
2720 decl = convert_from_reference (decl); in finish_id_expression()
2853 decl = baselink_for_fns (decl); in finish_id_expression()
2857 if (DECL_P (decl) && DECL_NONLOCAL (decl) in finish_id_expression()
[all …]
H A Dmangle.c447 decl = node; in is_std_substitution()
531 tree decl; in find_substitution() local
548 if (decl in find_substitution()
557 if (decl && is_std_substitution (decl, SUBID_BASIC_STRING)) in find_substitution()
628 if (decl && DECL_NAMESPACE_STD_P (decl)) in find_substitution()
758 d = decl; in write_encoding()
792 decl = TYPE_NAME (TYPE_MAIN_VARIANT (TREE_TYPE (decl))); in write_name()
953 tree decl; in write_prefix() local
976 decl = node; in write_prefix()
1896 decl); in write_bare_function_type()
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/cp/
H A Dfriend.c136 tree type, decl; in add_friend()
354 decl = DECL_TI_TEMPLATE (push_template_decl (decl));
358 decl = push_template_decl_real (decl, /*is_friend=*/1);
370 decl = check_classfn (ctype, decl);
372 if (decl)
377 decl, ctype);
408 decl = push_template_decl_real (decl, /*is_friend=*/1);
414 decl = pushdecl (decl);
424 decl = pushdecl_namespace_level (decl);
441 is_friend_template ? DECL_TI_TEMPLATE (decl) : decl);
[all …]
H A Ddecl2.c1358 decl = pushdecl (decl);
3113 decl = TREE_OPERAND (decl, 0);
3131 decl = TREE_OPERAND (decl, 0);
3621 decl = build_expr_from_tree (decl);
4032 decl = TYPE_STUB_DECL (decl);
4035 decl = DECL_CONTEXT (decl);
4039 decl = TYPE_STUB_DECL (decl);
4072 decl = decl_namespace (decl);
4937 decl = TYPE_MAIN_DECL (decl);
4960 decl = TYPE_MAIN_DECL (decl);
[all …]
H A Ddecl.c1581 for (decl = labels->names_in_scope; decl;
1582 decl = TREE_CHAIN (decl))
1611 for (decl = decls; decl; decl = TREE_CHAIN (decl))
1736 decl = TREE_VALUE (decl);
1738 pop_binding (DECL_NAME (decl), decl);
2058 for (; decl ; decl = TREE_CHAIN (decl))
4349 decl = OVL_FUNCTION (decl);
4351 if (decl && decl != error_mark_node
4824 for (decl = current_binding_level->usings; decl; decl = TREE_CHAIN (decl))
8968 decl, TREE_TYPE (decl));
[all …]
H A Dmangle.c246 tree decl; in decl_is_template_id()
481 tree decl; local
498 if (decl
578 if (decl && DECL_NAMESPACE_STD_P (decl))
610 tree decl; in write_mangled_name()
636 tree decl; in write_encoding()
666 decl);
683 tree decl; in write_name()
767 tree decl; in write_unscoped_name()
857 tree decl; local
[all …]
/openbsd/gnu/gcc/gcc/config/sh/
H A Dsymbian.c68 if (DECL_CONTEXT (decl) && TYPE_P (DECL_CONTEXT (decl))) in sh_symbian_associated_type()
149 decl); in sh_symbian_dllimport_p()
156 else if (TREE_CODE (decl) == FUNCTION_DECL && DECL_INLINE (decl)) in sh_symbian_dllimport_p()
161 decl); in sh_symbian_dllimport_p()
168 && TREE_STATIC (decl) in sh_symbian_dllimport_p()
169 && TREE_PUBLIC (decl) in sh_symbian_dllimport_p()
174 decl); in sh_symbian_dllimport_p()
184 && (DECL_VIRTUAL_P (decl) || DECL_ARTIFICIAL (decl))) in sh_symbian_dllimport_p()
279 if (!DECL_EXTERNAL (decl) || !TREE_PUBLIC (decl)) in sh_symbian_mark_dllimport()
281 decl); in sh_symbian_mark_dllimport()
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dvarasm.c439 if (decl != NULL_TREE && !DECL_P (decl))
855 if (DECL_INITIAL (decl) != 0 && TREE_STATIC (decl))
905 if (TREE_CODE (decl) == VAR_DECL && DECL_WEAK (decl))
935 && (TREE_PUBLIC (decl) || TREE_STATIC (decl)))))
1198 if (! DECL_WEAK (decl) && ! DECL_ONE_ONLY (decl))
1508 if (TREE_PUBLIC (decl) && DECL_NAME (decl)
1624 if (TREE_PUBLIC (decl) && DECL_NAME (decl))
1716 if (DECL_P (decl) && DECL_EXTERNAL (decl) && TREE_PUBLIC (decl))
4876 if (decl && TREE_CODE (decl) == FUNCTION_DECL)
4883 if (decl && DECL_ONE_ONLY (decl))
[all …]
H A Ddwarfout.c633 && decl == TYPE_STUB_DECL (TREE_TYPE (decl))))
4053 TREE_READONLY (decl), TREE_THIS_VOLATILE (decl));
5076 for (decl = BLOCK_VARS (stmt); decl; decl = TREE_CHAIN (decl))
5129 for (decl = BLOCK_VARS (stmt); decl; decl = TREE_CHAIN (decl))
5232 if (DECL_INLINE (decl) && ! DECL_ABSTRACT (decl)
5255 decl);
5452 if (DECL_EXTERNAL (decl) && ! TREE_PUBLIC (decl))
5480 if (TREE_PUBLIC (decl) && ! DECL_ABSTRACT (decl))
5501 if (TREE_PUBLIC (decl) || DECL_EXTERNAL (decl))
5571 if ((DECL_INLINE (decl) || DECL_ABSTRACT (decl))
[all …]
H A Dc-pragma.c267 tree decl, value; in apply_pragma_weak()
278 if (SUPPORTS_WEAK && DECL_EXTERNAL (decl) && TREE_USED (decl)
282 declare_weak (decl);
286 maybe_apply_pragma_weak (decl) in maybe_apply_pragma_weak() argument
287 tree decl; in maybe_apply_pragma_weak()
298 if (!DECL_EXTERNAL (decl) && !TREE_PUBLIC (decl))
303 if (TREE_CODE (decl) != FUNCTION_DECL && TREE_CODE (decl) != VAR_DECL)
322 tree name, value, x, decl; local
340 if (decl && TREE_CODE_CLASS (TREE_CODE (decl)) == 'd')
385 if (decl && TREE_CODE_CLASS (TREE_CODE (decl)) == 'd')
[all …]
H A Dc-decl.c506 tree decl; local
551 for (decl = decls; decl; decl = TREE_CHAIN (decl))
564 && DECL_ABSTRACT_ORIGIN (decl) != decl)
2053 tree decl; local
3164 TREE_ADDRESSABLE (decl) = TREE_USED (decl);
3251 decl = pushdecl (decl);
3517 decl = TREE_OPERAND (decl, 0);
3521 decl = TREE_VALUE (decl);
4850 for (decl = parms; decl;)
4885 for (decl = new_parms; decl; decl = TREE_CHAIN (decl))
[all …]

12345678910>>...25