Home
last modified time | relevance | path

Searched refs:current_function_decl (Results 1 – 25 of 114) sorted by relevance

12345

/freebsd-12.1/contrib/gcc/
H A Dgimple-low.c69 tree *body_p = &DECL_SAVED_TREE (current_function_decl); in lower_function_body()
77 data.block = DECL_INITIAL (current_function_decl); in lower_function_body()
137 t = build_addr (disp_label, current_function_decl); in lower_function_body()
149 gcc_assert (data.block == DECL_INITIAL (current_function_decl)); in lower_function_body()
305 gcc_assert (new_block == DECL_INITIAL (current_function_decl)); in lower_bind_expr()
666 t = build_addr (next_label, current_function_decl); in lower_builtin_setjmp()
692 t = build_addr (next_label, current_function_decl); in lower_builtin_setjmp()
723 if (fn != current_function_decl) in record_vars_into()
744 if (fn != current_function_decl) in record_vars_into()
754 record_vars_into (vars, current_function_decl); in record_vars()
[all …]
H A Dxcoffout.c382 tree decl = current_function_decl; in xcoffout_begin_block()
443 dbxout_parms (DECL_ARGUMENTS (current_function_decl)); in xcoffout_begin_prologue()
449 do_block = BLOCK_NUMBER (DECL_INITIAL (current_function_decl)); in xcoffout_begin_prologue()
450 xcoffout_block (DECL_INITIAL (current_function_decl), 0, in xcoffout_begin_prologue()
451 DECL_ARGUMENTS (current_function_decl)); in xcoffout_begin_prologue()
477 const char *fname = XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0); in xcoffout_end_epilogue()
H A Dtree-mudflap.c129 sourcefile = DECL_SOURCE_FILE (current_function_decl); in mf_varname_tree()
148 if (current_function_decl != NULL_TREE) in mf_varname_tree()
154 if (DECL_NAME (current_function_decl)) in mf_varname_tree()
210 if (file == NULL && current_function_decl != NULL_TREE) in mf_file_function_line_tree()
211 file = DECL_SOURCE_FILE (current_function_decl); in mf_file_function_line_tree()
421 if (mf_marked_p (current_function_decl) || in execute_mudflap_function_ops()
422 DECL_ARTIFICIAL (current_function_decl)) in execute_mudflap_function_ops()
957 if (mf_marked_p (current_function_decl) || in execute_mudflap_function_decls()
958 DECL_ARTIFICIAL (current_function_decl)) in execute_mudflap_function_decls()
963 mf_xform_decls (DECL_SAVED_TREE (current_function_decl), in execute_mudflap_function_decls()
[all …]
H A Dtree-tailcall.c184 for (param = DECL_ARGUMENTS (current_function_decl); in suitable_for_tail_call_opt_p()
301 if (FLOAT_TYPE_P (TREE_TYPE (DECL_RESULT (current_function_decl)))) in process_assignment()
434 if (func == current_function_decl) in find_tail_calls()
550 tree ret_type = TREE_TYPE (DECL_RESULT (current_function_decl)); in adjust_accumulator_values()
619 tree ret_type = TREE_TYPE (DECL_RESULT (current_function_decl)); in adjust_return_value()
772 for (param = DECL_ARGUMENTS (current_function_decl), in eliminate_tail_call()
909 for (param = DECL_ARGUMENTS (current_function_decl); in tree_optimize_tail_calls_1()
928 ret_type = TREE_TYPE (DECL_RESULT (current_function_decl)); in tree_optimize_tail_calls_1()
944 ret_type = TREE_TYPE (DECL_RESULT (current_function_decl)); in tree_optimize_tail_calls_1()
H A Dtree-optimize.c364 tree saved_current_function_decl = current_function_decl; in tree_lowering_passes()
366 current_function_decl = fn; in tree_lowering_passes()
373 current_function_decl = saved_current_function_decl; in tree_lowering_passes()
417 current_function_decl = fndecl; in tree_rest_of_compilation()
H A Dpasses.c762 && dump_file && current_function_decl) in execute_todo()
765 dump_function_to_file (current_function_decl, in execute_todo()
787 && dump_file && !current_function_decl) in execute_todo()
857 if (dump_file && current_function_decl) in execute_one_pass()
860 dname = lang_hooks.decl_printable_name (current_function_decl, 2); in execute_one_pass()
862 (DECL_ASSEMBLER_NAME (current_function_decl))); in execute_one_pass()
953 current_function_decl = node->decl; in execute_ipa_pass_list()
957 current_function_decl = NULL; in execute_ipa_pass_list()
H A Dtree-nrv.c107 tree result = DECL_RESULT (current_function_decl); in tree_nrv()
116 if (!aggregate_value_p (result, current_function_decl)) in tree_nrv()
158 || DECL_CONTEXT (found) != current_function_decl in tree_nrv()
H A Dlanghooks.c516 if (current_function_decl == NULL) in lhd_print_error_function()
520 if (TREE_CODE (TREE_TYPE (current_function_decl)) == METHOD_TYPE) in lhd_print_error_function()
523 lang_hooks.decl_printable_name (current_function_decl, 2)); in lhd_print_error_function()
527 lang_hooks.decl_printable_name (current_function_decl, 2)); in lhd_print_error_function()
H A Dtree-profile.c146 build_addr (ref, current_function_decl), in tree_gen_interval_profiler()
171 build_addr (ref, current_function_decl), in tree_gen_pow2_profiler()
194 build_addr (ref, current_function_decl), in tree_gen_one_value_profiler()
H A Dcfgexpand.c985 tree t, outer_block = DECL_INITIAL (current_function_decl); in expand_used_vars()
1547 record_block_change (DECL_INITIAL (current_function_decl)); in construct_exit_block()
1692 expand_function_start (current_function_decl); in tree_expand_cfg()
1696 if (DECL_NAME (current_function_decl) in tree_expand_cfg()
1697 && MAIN_NAME_P (DECL_NAME (current_function_decl)) in tree_expand_cfg()
1698 && DECL_FILE_SCOPE_P (current_function_decl)) in tree_expand_cfg()
1744 DECL_DEFER_OUTPUT (current_function_decl) = 0; in tree_expand_cfg()
1763 for (parent = DECL_CONTEXT (current_function_decl); in tree_expand_cfg()
1773 if (cgraph_function_possibly_inlined_p (current_function_decl)) in tree_expand_cfg()
1774 (*debug_hooks->outlining_inline_function) (current_function_decl); in tree_expand_cfg()
[all …]
H A Dsdbout.c110 extern tree current_function_decl;
716 if (context == current_function_decl) in sdbout_symbol()
1049 if (current_function_decl != NULL_TREE in sdbout_one_type()
1050 && DECL_SECTION_NAME (current_function_decl) != NULL_TREE) in sdbout_one_type()
1486 tree decl = current_function_decl; in sdbout_begin_block()
1557 sdbout_symbol (current_function_decl, 0); in sdbout_begin_function()
1579 sdbout_parms (DECL_ARGUMENTS (current_function_decl)); in sdbout_end_prologue()
1580 sdbout_reg_parms (DECL_ARGUMENTS (current_function_decl)); in sdbout_end_prologue()
1608 = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (current_function_decl)); in sdbout_end_epilogue()
H A Dcoverage.c349 (DECL_ASSEMBLER_NAME (current_function_decl))); in get_coverage_counts()
357 IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (current_function_decl)), in get_coverage_counts()
365 IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (current_function_decl)), in get_coverage_counts()
511 = expand_location (DECL_SOURCE_LOCATION (current_function_decl)); in compute_checksum()
516 (chksum, IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (current_function_decl))); in compute_checksum()
535 = expand_location (DECL_SOURCE_LOCATION (current_function_decl)); in coverage_begin_output()
556 (DECL_ASSEMBLER_NAME (current_function_decl))); in coverage_begin_output()
H A Ddiagnostic.h142 ((DC)->last_function != current_function_decl)
147 (DC)->last_function = current_function_decl
H A Dfunction.c268 push_function_context_to (current_function_decl); in push_function_context()
282 current_function_decl = p->decl; in pop_function_context_from()
294 pop_function_context_from (current_function_decl); in pop_function_context()
1727 instantiate_decls (current_function_decl); in instantiate_virtual_regs()
1945 fntype = TREE_TYPE (current_function_decl); in assign_parms_initialize_all()
1951 current_function_decl, -1); in assign_parms_initialize_all()
2030 tree fndecl = current_function_decl; in assign_parms_augmented_arg_list()
3563 for (decl = DECL_ARGUMENTS (current_function_decl); in setjmp_args_warning()
3582 tree block = DECL_INITIAL (current_function_decl); in reorder_blocks()
4347 do_warn_unused_parameter (current_function_decl); in expand_function_end()
[all …]
H A Dc-decl.c748 context = current_function_decl; in pop_scope()
2122 if (current_function_decl in pushdecl()
2518 if (current_function_decl == 0) in undeclared_variable()
2566 if (current_function_decl == 0) in lookup_label()
2794 current_function_decl = 0; in c_init_decl_processing()
2864 if (current_function_decl in c_make_fname_decl()
6768 if (current_function_decl != 0) in start_function()
7191 tree fndecl = current_function_decl; in store_parm_decls()
7418 current_function_decl = NULL; in finish_function()
7555 if (current_function_decl in c_pop_function_context()
[all …]
H A Dipa-pure-const.c559 tree old_decl = current_function_decl; in analyze_function()
564 current_function_decl = fn->decl; in analyze_function()
576 current_function_decl = old_decl; in analyze_function()
H A Dtree-nested.c182 save_context = current_function_decl; in build_addr()
183 current_function_decl = context; in build_addr()
185 current_function_decl = save_context;; in build_addr()
1030 save_context = current_function_decl; in convert_nonlocal_reference()
1031 current_function_decl = info->context; in convert_nonlocal_reference()
1033 current_function_decl = save_context; in convert_nonlocal_reference()
1316 save_context = current_function_decl; in convert_local_reference()
1317 current_function_decl = info->context; in convert_local_reference()
1319 current_function_decl = save_context; in convert_local_reference()
H A Dtree-inline.c1152 gcc_assert (fn != current_function_decl); in initialize_inlined_parameters()
2233 if (current_function_decl) in optimize_inline_calls()
2235 id.dst_fn = current_function_decl; in optimize_inline_calls()
2236 prev_fn = current_function_decl; in optimize_inline_calls()
2518 id.src_fn = current_function_decl; in unsave_expr_now()
2519 id.dst_fn = current_function_decl; in unsave_expr_now()
2814 current_function_decl = new_decl; in tree_function_versioning()
2881 current_function_decl = NULL; in tree_function_versioning()
2899 id.src_fn = current_function_decl; in build_duplicate_type()
2900 id.dst_fn = current_function_decl; in build_duplicate_type()
/freebsd-12.1/contrib/gcc/config/i386/
H A Dfreebsd.h229 XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0)); \
240 XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0)); \
/freebsd-12.1/contrib/gcc/cp/
H A Dsemantics.c566 DECL_UNINLINABLE (current_function_decl) = 1; in finish_goto_stmt()
791 if (DECL_DESTRUCTOR_P (current_function_decl) in finish_return_stmt()
792 || (DECL_CONSTRUCTOR_P (current_function_decl) in finish_return_stmt()
1419 if (current_function_decl in finish_non_static_data_member()
1940 else if (current_function_decl in finish_this_expr()
1947 else if (cur_block && current_function_decl in finish_this_expr()
1960 if (current_function_decl) in finish_this_expr()
2074 if (!current_function_decl) in finish_compound_literal()
2491 tree decl = current_function_decl; in block_var_ok_for_context()
3242 saved_function = current_function_decl; in expand_body()
[all …]
H A Ddecl2.c449 gcc_assert (!current_function_decl); in check_member_template()
2374 DECL_ARTIFICIAL (current_function_decl) = 1; in start_objects()
2377 TREE_USED (current_function_decl) = 1; in start_objects()
2381 DECL_GLOBAL_CTOR_P (current_function_decl) = 1; in start_objects()
2383 DECL_GLOBAL_DTOR_P (current_function_decl) = 1; in start_objects()
2392 DECL_INLINE (current_function_decl) = 0; in start_objects()
2393 DECL_UNINLINABLE (current_function_decl) = 1; in start_objects()
2644 DECL_STATIC_FUNCTION_P (current_function_decl) = 1; in one_static_initialization_or_destruction()
2723 DECL_CONTEXT (current_function_decl) = NULL_TREE; in one_static_initialization_or_destruction()
2724 DECL_STATIC_FUNCTION_P (current_function_decl) = 0; in one_static_initialization_or_destruction()
[all …]
H A Dinit.c334 "list", current_function_decl, member); in perform_member_init()
383 current_function_decl, member); in perform_member_init()
388 current_function_decl, member); in perform_member_init()
391 current_function_decl, member, type); in perform_member_init()
559 current_function_decl, subobject); in sort_mem_initializers()
562 current_function_decl, subobject); in sort_mem_initializers()
629 current_function_decl, last_field_type); in sort_mem_initializers()
688 && DECL_COPY_CONSTRUCTOR_P (current_function_decl) in emit_mem_initializers()
692 current_function_decl, BINFO_TYPE (subobject)); in emit_mem_initializers()
868 flag = TREE_CHAIN (DECL_ARGUMENTS (current_function_decl)); in construct_virtual_base()
[all …]
H A Ddecl.c3154 current_function_decl = NULL_TREE; in cxx_init_decl_processing()
3381 if (current_function_decl) in cp_make_fname_decl()
6069 return current_function_decl; in start_cleanup_fn()
8623 if (!current_function_decl) in grokdeclarator()
8627 (current_function_decl))) in grokdeclarator()
9224 else if (current_function_decl) in grokdeclarator()
11147 current_function_decl = decl1; in start_preparsed_function()
11221 current_function_decl = decl1; in start_preparsed_function()
11531 tree fndecl = current_function_decl; in store_parm_decls()
11808 tree fndecl = current_function_decl; in finish_function()
[all …]
H A Dlex.c382 current_function_decl = NULL; in cxx_init()
607 if (current_function_decl) in unqualified_name_lookup_error()
611 DECL_CONTEXT (decl) = current_function_decl; in unqualified_name_lookup_error()
H A Dname-lookup.c578 if (current_function_decl && x != current_function_decl in pushdecl_maybe_friend()
587 DECL_CONTEXT (x) = current_function_decl; in pushdecl_maybe_friend()
594 && current_function_decl in pushdecl_maybe_friend()
595 && x != current_function_decl) in pushdecl_maybe_friend()
619 if (! t && current_function_decl && x != current_function_decl in pushdecl_maybe_friend()
1844 current_function_decl = NULL_TREE; in pushdecl_with_scope()
1859 current_function_decl = function_decl; in pushdecl_with_scope()
3011 else if (current_function_decl) in current_decl_namespace()
5113 s->function_decl = current_function_decl; in push_to_top_level()
5117 current_function_decl = NULL_TREE; in push_to_top_level()
[all …]

12345