Home
last modified time | relevance | path

Searched refs:fndecl (Results 1 – 25 of 126) sorted by relevance

123456

/openbsd/gnu/gcc/gcc/
H A Dtree-optimize.c400 tree_rest_of_compilation (tree fndecl) in tree_rest_of_compilation() argument
409 node = cgraph_node (fndecl); in tree_rest_of_compilation()
417 current_function_decl = fndecl; in tree_rest_of_compilation()
420 init_function_start (fndecl); in tree_rest_of_compilation()
438 optimize_inline_calls (fndecl); in tree_rest_of_compilation()
470 DECL_SAVED_TREE (fndecl) = NULL; in tree_rest_of_compilation()
476 if (warn_larger_than && !DECL_EXTERNAL (fndecl) && TREE_TYPE (fndecl)) in tree_rest_of_compilation()
490 fndecl, size_as_int); in tree_rest_of_compilation()
499 DECL_SAVED_TREE (fndecl) = NULL; in tree_rest_of_compilation()
501 && !cgraph_node (fndecl)->origin) in tree_rest_of_compilation()
[all …]
H A Dc-gimplify.c78 c_genericize (tree fndecl) in c_genericize() argument
89 lang_hooks.decl_printable_name (fndecl, 2)); in c_genericize()
91 IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (fndecl))); in c_genericize()
96 dump_node (DECL_SAVED_TREE (fndecl), in c_genericize()
99 print_c_tree (dump_orig, DECL_SAVED_TREE (fndecl)); in c_genericize()
106 gimplify_function_tree (fndecl); in c_genericize()
109 dump_function (TDI_generic, fndecl); in c_genericize()
114 cgn = cgraph_node (fndecl); in c_genericize()
H A Dbuiltins.c3432 tree fndecl, fn; in expand_builtin_memset() local
3701 tree fndecl, fn; in expand_builtin_strcmp() local
3860 tree fndecl, fn; in expand_builtin_strncmp() local
5689 && (DECL_IS_PURE (fndecl) || TREE_READONLY (fndecl))) in expand_builtin()
6519 tree fndecl, arglist, parmlist; in builtin_mathfn_code() local
6526 fndecl = get_callee_fndecl (t); in builtin_mathfn_code()
6527 if (fndecl == NULL_TREE in builtin_mathfn_code()
6529 || ! DECL_BUILT_IN (fndecl) in builtin_mathfn_code()
9176 DECL_FUNCTION_CODE (fndecl)); in fold_builtin_1()
10044 &locus, fndecl); in expand_builtin_object_size()
[all …]
H A Dc-aux-info.c229 gen_formal_list_for_func_def (tree fndecl, formals_style style) in gen_formal_list_for_func_def() argument
234 formal_decl = DECL_ARGUMENTS (fndecl); in gen_formal_list_for_func_def()
250 if (!DECL_ARGUMENTS (fndecl)) in gen_formal_list_for_func_def()
252 if (deserves_ellipsis (TREE_TYPE (fndecl))) in gen_formal_list_for_func_def()
551 gen_aux_info_record (tree fndecl, int is_definition, int is_implicit, in gen_aux_info_record() argument
557 expanded_location xloc = expand_location (DECL_SOURCE_LOCATION (fndecl)); in gen_aux_info_record()
576 gen_decl (fndecl, is_definition, ansi)); in gen_aux_info_record()
585 gen_formal_list_for_func_def (fndecl, k_and_r_names), in gen_aux_info_record()
586 gen_formal_list_for_func_def (fndecl, k_and_r_decls)); in gen_aux_info_record()
H A Dcalls.c474 if (fndecl && DECL_NAME (fndecl) in special_function_p()
485 && TREE_PUBLIC (fndecl)) in special_function_p()
546 setjmp_call_p (tree fndecl) in setjmp_call_p() argument
1068 if (targetm.calls.promote_function_args (fndecl ? TREE_TYPE (fndecl) : 0)) in initialize_argument_information()
1459 if (fndecl) in rtx_for_function_call()
1466 TREE_USED (fndecl) = 1; in rtx_for_function_call()
1852 tree fndecl = 0; in expand_call() local
1957 if (fndecl) in expand_call()
2045 if (fndecl) in expand_call()
2223 || (fndecl && decl_function_context (fndecl) == current_function_decl) in expand_call()
[all …]
H A Dc-decl.c6322 fndecl); in store_parm_decls_newstyle()
6372 fndecl); in store_parm_decls_oldstyle()
6594 TREE_TYPE (fndecl) = build_variant_type_copy (TREE_TYPE (fndecl)); in store_parm_decls_oldstyle()
6721 if (DECL_INITIAL (fndecl) && DECL_INITIAL (fndecl) != error_mark_node) in finish_function()
6722 BLOCK_SUPERCONTEXT (DECL_INITIAL (fndecl)) = fndecl; in finish_function()
6726 if (DECL_RESULT (fndecl) && DECL_RESULT (fndecl) != error_mark_node) in finish_function()
6727 DECL_CONTEXT (DECL_RESULT (fndecl)) = fndecl; in finish_function()
6763 DECL_SAVED_TREE (fndecl) = pop_stmt_list (DECL_SAVED_TREE (fndecl)); in finish_function()
6813 if (DECL_INITIAL (fndecl) && DECL_INITIAL (fndecl) != error_mark_node in finish_function()
6818 c_genericize (fndecl); in finish_function()
[all …]
H A Dfunction.c1761 tree fndecl = NULL_TREE; in aggregate_value_p() local
1768 fntype = fndecl ? TREE_TYPE (fndecl) : 0; in aggregate_value_p()
1771 fndecl = fntype; in aggregate_value_p()
1800 if (TREE_CODE (exp) == CALL_EXPR && fndecl && DECL_RESULT (fndecl) in aggregate_value_p()
2027 if (aggregate_value_p (DECL_RESULT (fndecl), fndecl) in assign_parms_augmented_arg_list()
3093 current_function_pops_args = RETURN_POPS_ARGS (fndecl, TREE_TYPE (fndecl), in assign_parms()
3125 fndecl, true); in assign_parms()
3791 tree fntype = fndecl ? TREE_TYPE (fndecl) : NULL_TREE; in allocate_struct_function()
3808 if (fndecl == NULL) in allocate_struct_function()
3812 cfun->decl = fndecl; in allocate_struct_function()
[all …]
H A Dipa-prop.c206 tree fndecl; in ipa_method_compute_tree_map() local
212 fndecl = mt->decl; in ipa_method_compute_tree_map()
213 fnargs = DECL_ARGUMENTS (fndecl); in ipa_method_compute_tree_map()
227 tree fndecl; in ipa_method_formal_compute_count() local
232 fndecl = mt->decl; in ipa_method_formal_compute_count()
233 fnargs = DECL_ARGUMENTS (fndecl); in ipa_method_formal_compute_count()
H A Dtarget.h416 bool (* function_attribute_inlinable_p) (tree fndecl);
446 tree (* fold_builtin) (tree fndecl, tree arglist, bool ignore);
672 rtx (*struct_value_rtx) (tree fndecl, int incoming);
673 bool (*return_in_memory) (tree type, tree fndecl);
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dintegrate.c127 tree fndecl; in function_attribute_inlinable_p()
154 tree fndecl; in function_cannot_inline_p()
287 initialize_for_inline (fndecl) in initialize_for_inline() argument
288 tree fndecl; in initialize_for_inline()
448 save_for_inline (fndecl) in save_for_inline() argument
449 tree fndecl; in save_for_inline()
667 tree fndecl, parms; in expand_inline_function()
707 fndecl = inl_f->decl;
840 map->fndecl = fndecl;
3021 tree fndecl; in output_inline_function()
[all …]
H A Dc-aux-info.c231 gen_formal_list_for_func_def (fndecl, style) in gen_formal_list_for_func_def() argument
232 tree fndecl; in gen_formal_list_for_func_def()
238 formal_decl = DECL_ARGUMENTS (fndecl);
254 if (!DECL_ARGUMENTS (fndecl))
256 if (deserves_ellipsis (TREE_TYPE (fndecl)))
562 tree fndecl; in gen_aux_info_record()
585 DECL_SOURCE_FILE (fndecl),
586 DECL_SOURCE_LINE (fndecl),
589 gen_decl (fndecl, is_definition, ansi));
598 gen_formal_list_for_func_def (fndecl, k_and_r_names),
[all …]
H A Dcalls.c368 tree fndecl;
377 if (fndecl != 0)
712 tree fndecl; in special_function_p()
716 && fndecl && DECL_NAME (fndecl)
721 && DECL_CONTEXT (fndecl) == NULL_TREE && TREE_PUBLIC (fndecl))
807 tree fndecl; in setjmp_call_p()
1151 tree fndecl;
1711 tree fndecl; in rtx_for_function_call()
1717 if (fndecl)
1826 tree fndecl; in try_to_integrate()
[all …]
H A Dc-decl.c6143 DECL_ARGUMENTS (fndecl) = chainon (DECL_ARGUMENTS (fndecl), dummy); in store_parm_decls()
6394 TREE_TYPE (fndecl) = build_type_copy (TREE_TYPE (fndecl)); in store_parm_decls()
6481 BLOCK_SUPERCONTEXT (DECL_INITIAL (fndecl)) = fndecl;
6485 DECL_CONTEXT (DECL_RESULT (fndecl)) = fndecl;
6559 tree fndecl; in c_expand_deferred_function()
6563 if (DECL_INLINE (fndecl) && DECL_RESULT (fndecl))
6597 tree fndecl; in c_expand_body()
6626 && defer_fn (fndecl))
6654 init_function_start (fndecl, input_filename, DECL_SOURCE_LINE (fndecl));
6675 walk_tree (&TREE_TYPE (fndecl), set_save_expr_context, fndecl,
[all …]
H A Dprofile.c1346 tree fnname, fndecl; in output_func_start_profiler() local
1374 fndecl = build_decl (FUNCTION_DECL, fnname, in output_func_start_profiler()
1376 DECL_EXTERNAL (fndecl) = 0; in output_func_start_profiler()
1382 TREE_USED (fndecl) = 1; in output_func_start_profiler()
1386 fndecl = (*lang_hooks.decls.pushdecl) (fndecl); in output_func_start_profiler()
1388 announce_function (fndecl); in output_func_start_profiler()
1389 current_function_decl = fndecl; in output_func_start_profiler()
1390 DECL_INITIAL (fndecl) = error_mark_node; in output_func_start_profiler()
1391 make_decl_rtl (fndecl, NULL); in output_func_start_profiler()
1394 expand_function_start (fndecl, 0); in output_func_start_profiler()
[all …]
H A Ddbxout.c939 tree fndecl; local
972 fndecl = methods;
974 fndecl = TREE_VEC_ELT (methods, 0);
976 fndecl = TREE_VEC_ELT (methods, 1);
978 while (fndecl)
985 fndecl && (last == NULL_TREE || DECL_NAME (fndecl) == DECL_NAME (last));
986 fndecl = TREE_CHAIN (fndecl))
1005 last = fndecl;
1009 if (DECL_IGNORED_P (fndecl) || DECL_ABSTRACT (fndecl))
1016 tree name = DECL_NAME (fndecl);
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/java/
H A Ddecl.c1693 build_result_decl (fndecl) in build_result_decl() argument
1694 tree fndecl; in build_result_decl()
1713 tree fndecl; in complete_start_java_method()
1732 if (METHOD_STATIC (fndecl) && ! METHOD_PRIVATE (fndecl)
1785 start_java_method (fndecl) in start_java_method() argument
1786 tree fndecl; in start_java_method()
1792 announce_function (fndecl);
1794 i = DECL_MAX_LOCALS(fndecl) + DECL_MAX_STACK(fndecl);
1840 build_result_decl (fndecl);
1856 BLOCK_SUPERCONTEXT (DECL_INITIAL (fndecl)) = fndecl; in end_java_method()
[all …]
H A Dclass.c606 tree method_type, fndecl; local
612 DECL_CONTEXT (fndecl) = this_class;
614 DECL_LANG_SPECIFIC (fndecl)
644 METHOD_PRIVATE (fndecl) = DECL_INLINE (fndecl) = 1;
647 METHOD_NATIVE (fndecl) = 1;
648 DECL_EXTERNAL (fndecl) = 1;
651 METHOD_STATIC (fndecl) = DECL_INLINE (fndecl) = 1;
653 METHOD_FINAL (fndecl) = DECL_INLINE (fndecl) = 1;
658 return fndecl;
672 tree function_type, fndecl; local
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/cp/
H A Dmethod.c536 do_build_copy_constructor (fndecl) in do_build_copy_constructor() argument
537 tree fndecl; in do_build_copy_constructor()
640 do_build_assign_ref (fndecl) in do_build_assign_ref() argument
641 tree fndecl; in do_build_assign_ref()
743 synthesize_method (fndecl) in synthesize_method() argument
744 tree fndecl; in synthesize_method()
752 import_export_decl (fndecl);
757 if (DECL_CLONED_FUNCTION_P (fndecl))
774 DECL_SOURCE_LINE (fndecl) = lineno;
784 do_build_assign_ref (fndecl);
[all …]
H A Dsearch.c2095 look_for_overrides (type, fndecl) in look_for_overrides() argument
2096 tree type, fndecl; in look_for_overrides()
2118 look_for_overrides_here (type, fndecl) in look_for_overrides_here() argument
2119 tree type, fndecl; in look_for_overrides_here()
2139 else if (DECL_STATIC_FUNCTION_P (fndecl))
2157 look_for_overrides_r (type, fndecl) in look_for_overrides_r() argument
2158 tree type, fndecl; in look_for_overrides_r()
2163 if (DECL_STATIC_FUNCTION_P (fndecl))
2173 DECL_VIRTUAL_P (fndecl) = 1;
2174 check_final_overrider (fndecl, fn);
[all …]
H A Dtypeck.c2799 if (fndecl)
2825 if (fndecl)
2828 fndecl);
2889 if (fndecl && DECL_BUILT_IN (fndecl)
2929 if (fndecl)
5859 tree fndecl;
5868 if (fndecl)
5879 if (fndecl)
5892 if (fndecl)
5918 tree fndecl;
[all …]
/openbsd/gnu/gcc/gcc/cp/
H A Dmethod.c535 do_build_copy_constructor (tree fndecl) in do_build_copy_constructor() argument
537 tree parm = FUNCTION_FIRST_USER_PARM (fndecl); in do_build_copy_constructor()
634 do_build_assign_ref (tree fndecl) in do_build_assign_ref() argument
742 synthesize_method (tree fndecl) in synthesize_method() argument
754 DECL_SOURCE_LOCATION (fndecl) in synthesize_method()
760 if (DECL_CLONED_FUNCTION_P (fndecl)) in synthesize_method()
761 fndecl = DECL_CLONED_FUNCTION (fndecl); in synthesize_method()
779 do_build_assign_ref (fndecl); in synthesize_method()
782 else if (DECL_CONSTRUCTOR_P (fndecl)) in synthesize_method()
786 do_build_copy_constructor (fndecl); in synthesize_method()
[all …]
H A Ddecl2.c590 tree fndecls, fndecl = 0; in check_classfn() local
599 fndecl = OVL_CURRENT (fndecls); in check_classfn()
620 TREE_TYPE (TREE_TYPE (fndecl))) in check_classfn()
648 fndecl = OVL_CURRENT (fndecls); in check_classfn()
671 error (format, fndecl); in check_classfn()
2302 tree fndecl; in start_objects() local
2837 tree fndecl; in generate_ctor_or_dtor_function() local
2896 fndecl = TREE_VALUE (fns); in generate_ctor_or_dtor_function()
2997 tree fndecl = node->decl; in build_java_method_aliases() local
2999 if (TREE_ASM_WRITTEN (fndecl) in build_java_method_aliases()
[all …]
H A Ddecl.c5587 tree fndecl; in start_cleanup_fn() local
11285 && aggregate_value_p (TREE_TYPE (TREE_TYPE (fndecl)), fndecl) in finish_function()
11302 DECL_CONTEXT (DECL_RESULT (fndecl)) = fndecl; in finish_function()
11306 BLOCK_SUPERCONTEXT (DECL_INITIAL (fndecl)) = fndecl; in finish_function()
11378 return fndecl; in finish_function()
11412 if (fndecl == NULL || TREE_CODE (fndecl) != FUNCTION_DECL) in start_method()
11443 fndecl = push_template_decl (fndecl); in start_method()
11445 return fndecl; in start_method()
11452 fndecl = copy_node (fndecl); in start_method()
11463 return fndecl; in start_method()
[all …]
H A Dsearch.c1916 look_for_overrides (tree type, tree fndecl) in look_for_overrides() argument
1937 look_for_overrides_here (tree type, tree fndecl) in look_for_overrides_here() argument
1947 if (DECL_MAYBE_IN_CHARGE_DESTRUCTOR_P (fndecl)) in look_for_overrides_here()
1963 else if (DECL_STATIC_FUNCTION_P (fndecl)) in look_for_overrides_here()
1970 else if (same_signature_p (fndecl, fn)) in look_for_overrides_here()
1981 look_for_overrides_r (tree type, tree fndecl) in look_for_overrides_r() argument
1986 if (DECL_STATIC_FUNCTION_P (fndecl)) in look_for_overrides_r()
1990 error ("%q+#D cannot be declared", fndecl); in look_for_overrides_r()
1996 DECL_VIRTUAL_P (fndecl) = 1; in look_for_overrides_r()
1997 check_final_overrider (fndecl, fn); in look_for_overrides_r()
[all …]
H A Dcp-gimplify.c713 cp_genericize (tree fndecl) in cp_genericize() argument
719 for (t = DECL_ARGUMENTS (fndecl); t; t = TREE_CHAIN (t)) in cp_genericize()
735 if (TREE_ADDRESSABLE (TREE_TYPE (DECL_RESULT (fndecl)))) in cp_genericize()
737 t = DECL_RESULT (fndecl); in cp_genericize()
745 if (DECL_CLONED_FUNCTION_P (fndecl)) in cp_genericize()
751 walk_tree (&DECL_SAVED_TREE (fndecl), cp_genericize_r, p_set, NULL); in cp_genericize()
755 c_genericize (fndecl); in cp_genericize()

123456