Home
last modified time | relevance | path

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

12345678910>>...15

/freebsd-12.1/contrib/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 …]
/freebsd-12.1/contrib/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 …]
H A Dnetware.c42 gen_stdcall_or_fastcall_decoration (tree decl, char prefix) in gen_stdcall_or_fastcall_decoration() argument
49 tree formal_type = TYPE_ARG_TYPES (TREE_TYPE (decl)); in gen_stdcall_or_fastcall_decoration()
90 gen_regparm_prefix (tree decl, unsigned nregs) in gen_regparm_prefix() argument
97 tree formal_type = TYPE_ARG_TYPES (TREE_TYPE (decl)); in gen_regparm_prefix()
134 i386_nlm_encode_section_info (tree decl, rtx rtl, int first) in i386_nlm_encode_section_info() argument
136 default_encode_section_info (decl, rtl, first); in i386_nlm_encode_section_info()
139 && TREE_CODE (decl) == FUNCTION_DECL in i386_nlm_encode_section_info()
140 && *IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)) != '*' in i386_nlm_encode_section_info()
147 newid = gen_stdcall_or_fastcall_decoration (decl, '_'); in i386_nlm_encode_section_info()
151 newid = gen_regparm_prefix (decl, in i386_nlm_encode_section_info()
[all …]
/freebsd-12.1/contrib/gcc/
H A Dcgraphunit.c326 tree decl = node->decl; in cgraph_varpool_remove_unreferenced_decls() local
488 node->decl = decl; in cgraph_finalize_function()
808 if (e->callee->decl != cgraph_node (decl)->decl in verify_cgraph_node()
871 tree decl = node->decl; in cgraph_varpool_assemble_decl() local
961 tree decl = node->decl; in cgraph_analyze_function() local
1020 tree decl = node->decl; in process_function_and_variable_attributes() local
1043 tree decl = vnode->decl; in process_function_and_variable_attributes() local
1168 tree decl = node->decl; in cgraph_finalize_compilation_unit() local
1204 tree decl = node->decl; in cgraph_mark_functions_to_output() local
1247 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()
1799 if (TREE_PUBLIC (decl) && DECL_NAME (decl)) in assemble_variable()
1955 if (!DECL_P (decl) || !DECL_EXTERNAL (decl) || !TREE_PUBLIC (decl)) in assemble_external()
5034 p->decl = decl; in assemble_alias()
5249 if (decl && DECL_ONE_ONLY (decl)) in default_section_type_flags()
5252 if (decl && TREE_CODE (decl) == VAR_DECL && DECL_THREAD_LOCAL_P (decl)) in default_section_type_flags()
5771 if (DECL_P (decl) && DECL_EXTERNAL (decl) && TREE_PUBLIC (decl)) in default_encode_section_info()
[all …]
H A Dc-decl.c505 b->decl = decl; in bind()
935 for (decl = visible_builtins; decl; decl = TREE_CHAIN (decl)) in push_file_scope()
2416 decl = b->decl; in implicitly_declare()
6897 for (decl = arg_info->parms; decl; decl = TREE_CHAIN (decl)) in store_parm_decls_newstyle()
6915 for (decl = arg_info->others; decl; decl = TREE_CHAIN (decl)) in store_parm_decls_newstyle()
6924 for (decl = arg_info->tags; decl; decl = TREE_CHAIN (decl)) in store_parm_decls_newstyle()
8096 *decl = b->decl; in lookup_name_in_block()
9001 for (decl = globals; decl; decl = TREE_CHAIN (decl)) in c_write_global_declarations_1()
9022 for (decl = globals; decl; decl = TREE_CHAIN (decl)) in c_write_global_declarations_1()
9027 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 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 …]
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-pragma.c266 if (SUPPORTS_WEAK && DECL_EXTERNAL (decl) && TREE_USED (decl) in apply_pragma_weak()
272 declare_weak (decl); in apply_pragma_weak()
287 if (!DECL_EXTERNAL (decl) && !TREE_PUBLIC (decl)) in maybe_apply_pragma_weak()
292 if (TREE_CODE (decl) != FUNCTION_DECL && TREE_CODE (decl) != VAR_DECL) in maybe_apply_pragma_weak()
327 DECL_WEAK (decl) = 1; in maybe_apply_pending_pragma_weaks()
337 tree name, value, x, decl; in handle_pragma_weak() local
355 if (decl && DECL_P (decl)) in handle_pragma_weak()
436 if (decl in handle_pragma_redefine_extname()
437 && (TREE_PUBLIC (decl) || DECL_EXTERNAL (decl)) in handle_pragma_redefine_extname()
513 if ((TREE_CODE (decl) != FUNCTION_DECL && TREE_CODE (decl) != VAR_DECL) in maybe_apply_renaming_pragma()
[all …]
H A Ddbxout.c1317 dbxout_block (DECL_INITIAL (decl), 0, DECL_ARGUMENTS (decl)); in dbxout_function_decl()
1328 if (TREE_CODE (decl) == VAR_DECL && !DECL_EXTERNAL (decl)) in dbxout_global_decl()
1503 if (DECL_VINDEX (decl) && host_integerp (DECL_VINDEX (decl), 0)) in dbxout_type_method_1()
2470 if ((DECL_NAME (decl) == 0 && TREE_CODE (decl) != TYPE_DECL) in dbxout_symbol()
2480 && (TREE_CODE (decl) != VAR_DECL || !DECL_INITIAL (decl)))) in dbxout_symbol()
2594 if (TREE_ASM_WRITTEN (decl) || TYPE_DECL_SUPPRESS_DEBUG (decl)) in dbxout_symbol()
2617 if (DECL_NAME (decl)) in dbxout_symbol()
2748 if (TREE_STATIC (decl) && TREE_READONLY (decl) in dbxout_symbol()
3436 while (decl) in dbxout_block()
3443 decl = TREE_CHAIN (decl); in dbxout_block()
[all …]
H A Dgenautomata.c162 struct decl;
492 struct decl struct
507 } decl; member
1251 decl = create_node (sizeof (struct decl)); in gen_cpu_unit()
1281 decl = create_node (sizeof (struct decl)); in gen_query_cpu_unit()
1315 decl = create_node (sizeof (struct decl)); in gen_bypass()
1410 decl = create_node (sizeof (struct decl)); in gen_presence_absence_set()
1495 decl = create_node (sizeof (struct decl)); in gen_automaton()
1693 decl = create_node (sizeof (struct decl)); in gen_reserv()
1711 decl = create_node (sizeof (struct decl)); in gen_insn_reserv()
[all …]
H A Dtoplev.c718 if (TREE_CODE (decl) == VAR_DECL && DECL_SIZE (decl) == 0) in wrapup_global_declaration_1()
728 if (TREE_ASM_WRITTEN (decl) || DECL_EXTERNAL (decl)) in wrapup_global_declaration_2()
756 if (TREE_CODE (decl) == VAR_DECL && TREE_STATIC (decl)) in wrapup_global_declaration_2()
774 else if (TREE_READONLY (decl) && !TREE_PUBLIC (decl) in wrapup_global_declaration_2()
851 && TREE_CODE (decl) == VAR_DECL && ! TREE_READONLY (decl))) in check_global_declaration_1()
856 && ! (DECL_NAME (decl) && TREE_USED (DECL_NAME (decl))) in check_global_declaration_1()
862 && ! (TREE_CODE (decl) == VAR_DECL && DECL_REGISTER (decl)) in check_global_declaration_1()
926 if (decl) in warn_deprecated_use()
974 if (decl) in error_unavailable_use()
976 DECL_SOURCE_FILE (decl), DECL_SOURCE_LINE (decl)); in error_unavailable_use()
[all …]
H A Dtree-nested.c274 dummy.old = decl; in lookup_field_for_decl()
328 if (!decl) in get_chain_decl()
354 return decl; in get_chain_decl()
475 dummy.old = decl; in lookup_tramp_for_decl()
873 dummy.old = decl; in get_nonlocal_debug_decl()
923 elt->old = decl; in get_nonlocal_debug_decl()
1086 tree c, decl; in convert_nonlocal_reference() local
1204 dummy.old = decl; in get_local_debug_decl()
1231 elt->old = decl; in get_local_debug_decl()
1687 if (!decl) in convert_call_expr()
[all …]
H A Dsdbout.c707 switch (TREE_CODE (decl)) in sdbout_symbol()
772 SET_DECL_RTL (decl, in sdbout_symbol()
778 value = DECL_RTL (decl); in sdbout_symbol()
827 && DECL_INITIAL (decl)) in sdbout_symbol()
845 if (TREE_PUBLIC (decl)) in sdbout_symbol()
935 if (DECL_IGNORED_P (decl)) in sdbout_toplevel_data()
944 if (TREE_PUBLIC (decl)) in sdbout_toplevel_data()
1451 if (!DECL_INITIAL (decl) || !TREE_PUBLIC (decl)) in sdbout_global_decl()
1452 sdbout_symbol (decl, 0); in sdbout_global_decl()
1458 if (DECL_INITIAL (decl) && MEM_P (DECL_RTL (decl))) in sdbout_global_decl()
[all …]
/freebsd-12.1/contrib/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()
2603 #define NEEDS_GUARD_P(decl) (TREE_PUBLIC (decl) && (DECL_COMMON (decl) \ argument
3274 if (DECL_ARTIFICIAL (decl) && ! DECL_INITIAL (decl) in emit_instantiate_pending_templates()
3376 TREE_USED (decl) && DECL_DECLARED_INLINE_P (decl) in emit_deferred()
3567 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.c458 for (decl = scope->names; decl; decl = TREE_CHAIN (decl)) in objc_mark_locals_volatile()
480 for (decl = ent->names_in_scope; decl; decl = TREE_CHAIN (decl)) in poplevel_named_label_1()
613 for (decl = getdecls (); decl; decl = TREE_CHAIN (decl)) in poplevel()
696 decl = TREE_VALUE (decl); in poplevel()
4955 decl, DECL_INITIAL (decl)); in check_initializer()
5683 decl, TREE_TYPE (decl)); in cp_finish_decl()
5910 decl = pushdecl (decl); in declare_global_var()
6429 decl, DECL_CONTEXT (decl)); in check_class_member_definition_namespace()
6771 decl = DECL_TEMPLATE_RESULT (decl); in grokfndecl()
9051 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()
1121 decl = pushdecl (decl); in finish_handler_parms()
1122 decl = push_template_decl (decl); in finish_handler_parms()
2108 decl = DECL_NAME (decl); in finish_fname()
2391 decl = TYPE_STUB_DECL (decl); in finish_template_type()
2499 decl = DECL_CONTEXT (decl); in block_var_ok_for_context()
2534 decl = build_block_byref_decl (name, decl, decl); in get_final_block_variable()
2706 decl = TEMPLATE_PARM_DECL (decl); in finish_id_expression()
2843 decl = convert_from_reference (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()
759 d = decl; in write_encoding()
793 decl = TYPE_NAME (TYPE_MAIN_VARIANT (TREE_TYPE (decl))); in write_name()
954 tree decl; in write_prefix() local
1133 else if (VAR_OR_FUNCTION_DECL_P (decl) && ! TREE_PUBLIC (decl) in write_unqualified_name()
1917 decl); in write_bare_function_type()
[all …]
H A Drepo.c278 repo_emit_p (tree decl) in repo_emit_p() argument
280 gcc_assert (TREE_PUBLIC (decl)); in repo_emit_p()
293 if (TREE_CODE (decl) == VAR_DECL) in repo_emit_p()
296 if (DECL_VTABLE_OR_VTT_P (decl)) in repo_emit_p()
297 type = DECL_CONTEXT (decl); in repo_emit_p()
298 else if (DECL_TINFO_P (decl)) in repo_emit_p()
299 type = TREE_TYPE (DECL_NAME (decl)); in repo_emit_p()
308 && DECL_CLASS_SCOPE_P (decl)) in repo_emit_p()
325 FOR_EACH_CLONE (clone, decl) in repo_emit_p()
334 if (!DECL_REPO_AVAILABLE_P (decl)) in repo_emit_p()
[all …]
H A Dname-lookup.c542 && (TREE_STATIC (decl) || DECL_EXTERNAL (decl))) in add_decl_to_level()
820 if (decl && TREE_CODE (decl) == OVERLOAD) in pushdecl_maybe_friend()
821 decl = OVL_FUNCTION (decl); in pushdecl_maybe_friend()
823 if (decl && decl != error_mark_node in pushdecl_maybe_friend()
1092 decl = build_tree_list (NULL_TREE, decl); in push_local_binding()
1665 type = decl ? TREE_TYPE (decl) : NULL_TREE; in set_identifier_type_value_with_scope()
1821 for (decl = current_binding_level->usings; decl; decl = TREE_CHAIN (decl)) in push_using_decl()
2055 decl = get_first_fn (decl); in validate_nonmember_using_decl()
2658 decl = TREE_VALUE (decl); in push_class_level_binding()
2883 decl = BASELINK_FUNCTIONS (decl); in do_class_using_decl()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DClangASTImporter.cpp145 m_backups[decl] = {decl->getDeclContext(), decl->getLexicalDeclContext()}; in OverrideOne()
147 decl->setDeclContext(decl->getASTContext().getTranslationUnitDecl()); in OverrideOne()
174 return decl; in GetEscapedChild()
203 decl->getDeclKindName(), static_cast<void *>(decl), in Override()
286 decl->getDeclKindName(), static_cast<void *>(decl), in DeportDecl()
313 decl->getDeclKindName(), static_cast<void *>(decl), in DeportDecl()
524 decl->getDeclKindName(), static_cast<void *>(decl)); in CompleteDecl()
560 minion_sp->ImportDefinitionTo(decl, decl_origin.decl); in CompleteTagDecl()
701 return ClangASTContext::GetMetadata(&decl->getASTContext(), decl); in GetDeclMetadata()
756 assert(decl); in BuildNamespaceMap()
[all …]
/freebsd-12.1/contrib/gcc/config/
H A Dsol2.c41 solaris_insert_attributes (tree decl, tree *attributes) in solaris_insert_attributes() argument
50 if (DECL_NAME (decl) == name) in solaris_insert_attributes()
52 if (lookup_attribute ("aligned", DECL_ATTRIBUTES (decl)) in solaris_insert_attributes()
55 "aligned %q+D", decl); in solaris_insert_attributes()
70 if (DECL_NAME (decl) == name) in solaris_insert_attributes()
87 if (DECL_NAME (decl) == name) in solaris_insert_attributes()
104 solaris_output_init_fini (FILE *file, tree decl) in solaris_output_init_fini() argument
106 if (lookup_attribute ("init", DECL_ATTRIBUTES (decl))) in solaris_output_init_fini()
109 ASM_OUTPUT_CALL (file, decl); in solaris_output_init_fini()
113 if (lookup_attribute ("fini", DECL_ATTRIBUTES (decl))) in solaris_output_init_fini()
[all …]

12345678910>>...15