Home
last modified time | relevance | path

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

12345678910>>...21

/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dipa-split.cc169 && auto_var_in_fn_p (t, current_function_decl)) in test_nonssa_use()
184 && DECL_BY_REFERENCE (DECL_RESULT (current_function_decl))) in test_nonssa_use()
187 DECL_UID (DECL_RESULT (current_function_decl))); in test_nonssa_use()
523 for (parm = DECL_ARGUMENTS (current_function_decl); parm; in consider_split()
549 if (!VOID_TYPE_P (TREE_TYPE (TREE_TYPE (current_function_decl)))) in consider_split()
551 (current_function_decl)), in consider_split()
565 >= (unsigned int)(DECL_DECLARED_INLINE_P (current_function_decl) in consider_split()
579 if (DECL_ONE_ONLY (current_function_decl) in consider_split()
590 if (DECL_ONE_ONLY (current_function_decl) in consider_split()
653 && DECL_RESULT (current_function_decl) in consider_split()
[all …]
H A Dfinal.cc1667 return (!DECL_IGNORED_P (current_function_decl) in in_initial_view_p()
1721 if (!DECL_IGNORED_P (current_function_decl)) in final_start_function_1()
1725 if (!dwarf2_debug_info_emitted_p (current_function_decl)) in final_start_function_1()
1728 if (DECL_IGNORED_P (current_function_decl) && last_linenum && last_filename) in final_start_function_1()
1776 number_blocks (current_function_decl); in final_start_function_1()
1780 TREE_ASM_WRITTEN (DECL_INITIAL (current_function_decl)) = 1; in final_start_function_1()
1830 sval = targetm.calls.struct_value_rtx (TREE_TYPE (current_function_decl), in profile_function()
1833 chain = targetm.calls.static_chain (current_function_decl, true); in profile_function()
1873 if (!DECL_IGNORED_P (current_function_decl)) in final_end_function()
1881 if (!DECL_IGNORED_P (current_function_decl)) in final_end_function()
[all …]
H A Dcoverage.cc331 elt.ident = cgraph_node::get (current_function_decl)->profile_id; in get_coverage_counts()
338 warning_at (DECL_SOURCE_LOCATION (current_function_decl), in get_coverage_counts()
341 current_function_decl); in get_coverage_counts()
358 warning_at (DECL_SOURCE_LOCATION (current_function_decl), in get_coverage_counts()
363 current_function_decl, in get_coverage_counts()
367 warning_at (DECL_SOURCE_LOCATION (current_function_decl), in get_coverage_counts()
370 "its profile data (counter %qs)", current_function_decl, in get_coverage_counts()
375 = dump_user_location_t::from_function_decl (current_function_decl); in get_coverage_counts()
400 warning_at (DECL_SOURCE_LOCATION (current_function_decl), in get_coverage_counts()
404 current_function_decl); in get_coverage_counts()
[all …]
H A Dxcoffout.cc392 tree decl = current_function_decl; in xcoffout_begin_block()
454 dbxout_parms (DECL_ARGUMENTS (current_function_decl)); in xcoffout_begin_prologue()
460 do_block = BLOCK_NUMBER (DECL_INITIAL (current_function_decl)); in xcoffout_begin_prologue()
461 xcoffout_block (DECL_INITIAL (current_function_decl), 0, in xcoffout_begin_prologue()
462 DECL_ARGUMENTS (current_function_decl)); in xcoffout_begin_prologue()
488 const char *fname = XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0); in xcoffout_end_epilogue()
H A Dipa-modref.cc758 (&avail, current_function_decl ? in get_modref_function_summary()
759 cgraph_node::get (current_function_decl) : NULL); in get_modref_function_summary()
852 for (tree t = DECL_ARGUMENTS (current_function_decl); in parm_map_for_ptr()
912 if (ignore_stores_p (current_function_decl, callee_ecf_flags)) in may_access_nonescaping_parm_p()
1076 tt->insert (current_function_decl, base_set, ref_set, a, false); in record_access()
1142 tt->insert (current_function_decl, base_type, ref_type, a, false); in record_access_lto()
1224 changed |= m_summary->loads->insert (current_function_decl, 0, 0, a, false); in record_global_memory_load()
1226 changed |= m_summary_lto->loads->insert (current_function_decl, in record_global_memory_load()
1241 changed |= m_summary->stores->insert (current_function_decl, in record_global_memory_store()
1244 changed |= m_summary_lto->stores->insert (current_function_decl, in record_global_memory_store()
[all …]
H A Dgimple-warn-recursion.cc120 = IDENTIFIER_POINTER (DECL_NAME (current_function_decl)); in find_function_exit()
125 if (!(DECL_DECLARED_INLINE_P (current_function_decl) in find_function_exit()
126 && DECL_EXTERNAL (current_function_decl)) in find_function_exit()
H A Dtree-tailcall.cc181 for (param = DECL_ARGUMENTS (current_function_decl); in suitable_for_tail_call_opt_p()
329 if (FLOAT_TYPE_P (TREE_TYPE (DECL_RESULT (current_function_decl)))) in process_assignment()
531 && recursive_call_p (current_function_decl, func)) in find_tail_calls()
535 for (param = DECL_ARGUMENTS (current_function_decl), idx = 0; in find_tail_calls()
723 if (m && POINTER_TYPE_P (TREE_TYPE (DECL_RESULT (current_function_decl)))) in find_tail_calls()
737 for (param = DECL_ARGUMENTS (current_function_decl), idx = 0; in find_tail_calls()
787 tree ret_type = TREE_TYPE (DECL_RESULT (current_function_decl)); in adjust_return_value_with_ops()
1012 for (param = DECL_ARGUMENTS (current_function_decl), in eliminate_tail_call()
1083 tree ret_type = TREE_TYPE (DECL_RESULT (current_function_decl)); in create_tailcall_accumulator()
1152 for (param = DECL_ARGUMENTS (current_function_decl), idx = 0; in tree_optimize_tail_calls_1()
[all …]
H A Dtree-diagnostic.h41 : current_function_decl))
49 : current_function_decl)
H A Dpasses.cc308 && !current_function_decl in rest_of_decl_compilation()
959 is_really_on = override_gate_status (pass, current_function_decl, is_on); in dump_one_pass()
1000 cgraph_node *node = cgraph_node::get_create (current_function_decl); in dump_passes()
1687 if (current_function_decl) in do_per_function()
1741 if (current_function_decl) in do_per_function_toporder()
2156 if ((flags & TODO_dump_symtab) && dump_file && !current_function_decl) in execute_todo()
2226 if (dump_file && current_function_decl && ! (dump_flags & TDF_GIMPLE)) in pass_init_dump_file()
2227 dump_function_header (dump_file, current_function_decl, dump_flags); in pass_init_dump_file()
2358 node = cgraph_node::get (current_function_decl); in execute_all_ipa_transforms()
2576 gcc_assert (!cfun && !current_function_decl); in execute_one_pass()
[all …]
H A Dgimple-low.cc88 gimple_seq body = gimple_body (current_function_decl); in lower_function_body()
100 data.block = DECL_INITIAL (current_function_decl); in lower_function_body()
136 gimple_set_block (x, DECL_INITIAL (current_function_decl)); in lower_function_body()
161 gimple_set_body (current_function_decl, lowered_body); in lower_function_body()
163 gcc_assert (data.block == DECL_INITIAL (current_function_decl)); in lower_function_body()
433 gcc_assert (new_block == DECL_INITIAL (current_function_decl)); in lower_gimple_bind()
946 record_vars_into (vars, current_function_decl); in record_vars()
H A Dauto-profile.cc408 std::make_pair (current_function_decl, in get_inline_stack()
409 get_combined_location (locus, current_function_decl))); in get_inline_stack()
428 return get_combined_location (locus, current_function_decl); in get_relative_location_for_stmt()
1028 cgraph_node* current_function_node = cgraph_node::get (current_function_decl); in afdo_indirect_call()
1470 current_function_decl) == NULL) in afdo_vpt_for_early_inline()
1473 compute_fn_summary (cgraph_node::get (current_function_decl), true); in afdo_vpt_for_early_inline()
1517 unsigned todo = optimize_inline_calls (current_function_decl); in afdo_vpt_for_early_inline()
1536 current_function_decl); in afdo_annotate_cfg()
1540 cgraph_node::get (current_function_decl)->count in afdo_annotate_cfg()
1572 DECL_SOURCE_LOCATION (current_function_decl)); in afdo_annotate_cfg()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dipa-split.c169 && auto_var_in_fn_p (t, current_function_decl)) in test_nonssa_use()
184 && DECL_BY_REFERENCE (DECL_RESULT (current_function_decl))) in test_nonssa_use()
187 DECL_UID (DECL_RESULT (current_function_decl))); in test_nonssa_use()
523 for (parm = DECL_ARGUMENTS (current_function_decl); parm; in consider_split()
549 if (!VOID_TYPE_P (TREE_TYPE (current_function_decl))) in consider_split()
550 call_overhead += estimate_move_cost (TREE_TYPE (current_function_decl), in consider_split()
564 >= (unsigned int)(DECL_DECLARED_INLINE_P (current_function_decl) in consider_split()
578 if (DECL_ONE_ONLY (current_function_decl) in consider_split()
589 if (DECL_ONE_ONLY (current_function_decl) in consider_split()
652 && DECL_RESULT (current_function_decl) in consider_split()
[all …]
H A Dcoverage.c332 elt.ident = cgraph_node::get (current_function_decl)->profile_id; in get_coverage_counts()
339 warning_at (DECL_SOURCE_LOCATION (current_function_decl), in get_coverage_counts()
342 current_function_decl); in get_coverage_counts()
356 warning_at (DECL_SOURCE_LOCATION (current_function_decl), in get_coverage_counts()
361 current_function_decl, in get_coverage_counts()
365 warning_at (DECL_SOURCE_LOCATION (current_function_decl), in get_coverage_counts()
368 "its profile data (counter %qs)", current_function_decl, in get_coverage_counts()
373 = dump_user_location_t::from_function_decl (current_function_decl); in get_coverage_counts()
398 warning_at (DECL_SOURCE_LOCATION (current_function_decl), in get_coverage_counts()
402 current_function_decl); in get_coverage_counts()
[all …]
H A Dxcoffout.c393 tree decl = current_function_decl; in xcoffout_begin_block()
455 dbxout_parms (DECL_ARGUMENTS (current_function_decl)); in xcoffout_begin_prologue()
461 do_block = BLOCK_NUMBER (DECL_INITIAL (current_function_decl)); in xcoffout_begin_prologue()
462 xcoffout_block (DECL_INITIAL (current_function_decl), 0, in xcoffout_begin_prologue()
463 DECL_ARGUMENTS (current_function_decl)); in xcoffout_begin_prologue()
489 const char *fname = XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0); in xcoffout_end_epilogue()
H A Dfinal.c1679 return (!DECL_IGNORED_P (current_function_decl) in in_initial_view_p()
1732 if (!DECL_IGNORED_P (current_function_decl)) in final_start_function_1()
1736 if (!dwarf2_debug_info_emitted_p (current_function_decl)) in final_start_function_1()
1784 number_blocks (current_function_decl); in final_start_function_1()
1788 TREE_ASM_WRITTEN (DECL_INITIAL (current_function_decl)) = 1; in final_start_function_1()
1838 sval = targetm.calls.struct_value_rtx (TREE_TYPE (current_function_decl), in profile_function()
1841 chain = targetm.calls.static_chain (current_function_decl, true); in profile_function()
1881 if (!DECL_IGNORED_P (current_function_decl)) in final_end_function()
1889 if (!DECL_IGNORED_P (current_function_decl)) in final_end_function()
1892 if (!dwarf2_debug_info_emitted_p (current_function_decl) in final_end_function()
[all …]
H A Dipa-pure-const.c640 && recursive_call_p (current_function_decl, callee_t)) in check_call()
2103 node = cgraph_node::get (current_function_decl); in execute()
2114 if (!skip && !TREE_THIS_VOLATILE (current_function_decl) in execute()
2123 TREE_THIS_VOLATILE (current_function_decl) = 1; in execute()
2133 if (!TREE_READONLY (current_function_decl)) in execute()
2135 warn_function_const (current_function_decl, !l->looping); in execute()
2141 else if (DECL_LOOPING_CONST_OR_PURE_P (current_function_decl) in execute()
2159 if (!DECL_PURE_P (current_function_decl)) in execute()
2161 warn_function_pure (current_function_decl, !l->looping); in execute()
2167 else if (DECL_LOOPING_CONST_OR_PURE_P (current_function_decl) in execute()
[all …]
H A Dpasses.c308 && !current_function_decl in rest_of_decl_compilation()
912 is_really_on = override_gate_status (pass, current_function_decl, is_on); in dump_one_pass()
953 cgraph_node *node = cgraph_node::get_create (current_function_decl); in dump_passes()
1639 if (current_function_decl) in do_per_function()
1693 if (current_function_decl) in do_per_function_toporder()
2056 if ((flags & TODO_dump_symtab) && dump_file && !current_function_decl) in execute_todo()
2126 if (dump_file && current_function_decl && ! (dump_flags & TDF_GIMPLE)) in pass_init_dump_file()
2127 dump_function_header (dump_file, current_function_decl, dump_flags); in pass_init_dump_file()
2265 node = cgraph_node::get (current_function_decl); in execute_all_ipa_transforms()
2441 gcc_assert (!cfun && !current_function_decl); in execute_one_pass()
[all …]
H A Dtree-diagnostic.h41 : current_function_decl))
49 : current_function_decl)
H A Dtree-tailcall.c184 for (param = DECL_ARGUMENTS (current_function_decl); in suitable_for_tail_call_opt_p()
332 if (FLOAT_TYPE_P (TREE_TYPE (DECL_RESULT (current_function_decl)))) in process_assignment()
534 && recursive_call_p (current_function_decl, func)) in find_tail_calls()
538 for (param = DECL_ARGUMENTS (current_function_decl), idx = 0; in find_tail_calls()
724 if (m && POINTER_TYPE_P (TREE_TYPE (DECL_RESULT (current_function_decl)))) in find_tail_calls()
738 for (param = DECL_ARGUMENTS (current_function_decl), idx = 0; in find_tail_calls()
788 tree ret_type = TREE_TYPE (DECL_RESULT (current_function_decl)); in adjust_return_value_with_ops()
1002 for (param = DECL_ARGUMENTS (current_function_decl), in eliminate_tail_call()
1072 tree ret_type = TREE_TYPE (DECL_RESULT (current_function_decl)); in create_tailcall_accumulator()
1142 for (param = DECL_ARGUMENTS (current_function_decl), idx = 0; in tree_optimize_tail_calls_1()
H A Dgimple-low.c88 gimple_seq body = gimple_body (current_function_decl); in lower_function_body()
100 data.block = DECL_INITIAL (current_function_decl); in lower_function_body()
136 gimple_set_block (x, DECL_INITIAL (current_function_decl)); in lower_function_body()
161 gimple_set_body (current_function_decl, lowered_body); in lower_function_body()
163 gcc_assert (data.block == DECL_INITIAL (current_function_decl)); in lower_function_body()
432 gcc_assert (new_block == DECL_INITIAL (current_function_decl)); in lower_gimple_bind()
945 record_vars_into (vars, current_function_decl); in record_vars()
H A Dauto-profile.c408 std::make_pair (current_function_decl, in get_inline_stack()
409 get_combined_location (locus, current_function_decl))); in get_inline_stack()
428 return get_combined_location (locus, current_function_decl); in get_relative_location_for_stmt()
1024 = cgraph_node::get (current_function_decl)->get_edge (stmt); in afdo_indirect_call()
1446 current_function_decl) == NULL) in afdo_vpt_for_early_inline()
1449 compute_fn_summary (cgraph_node::get (current_function_decl), true); in afdo_vpt_for_early_inline()
1493 unsigned todo = optimize_inline_calls (current_function_decl); in afdo_vpt_for_early_inline()
1512 current_function_decl); in afdo_annotate_cfg()
1516 cgraph_node::get (current_function_decl)->count in afdo_annotate_cfg()
1548 DECL_SOURCE_LOCATION (current_function_decl)); in afdo_annotate_cfg()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libcc1/
H A Dcontext.cc68 if (current_function_decl != NULL_TREE in plugin_print_error_function()
69 && DECL_NAME (current_function_decl) != NULL_TREE in plugin_print_error_function()
70 && strcmp (IDENTIFIER_POINTER (DECL_NAME (current_function_decl)), in plugin_print_error_function()
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dexcept.cc482 && (DECL_CONSTRUCTOR_P (current_function_decl) in expand_end_catch_block()
483 || DECL_DESTRUCTOR_P (current_function_decl)) in expand_end_catch_block()
497 location_t spec_location = DECL_SOURCE_LOCATION (current_function_decl); in begin_eh_spec_block()
501 if (TYPE_NOEXCEPT_P (TREE_TYPE (current_function_decl))) in begin_eh_spec_block()
1296 tree retval = DECL_RESULT (current_function_decl); in maybe_set_retval_sentinel()
1323 if (!current_function_decl || !cfun in maybe_splice_retval_cleanup()
1324 || DECL_CONSTRUCTOR_P (current_function_decl) in maybe_splice_retval_cleanup()
1325 || DECL_DESTRUCTOR_P (current_function_decl) in maybe_splice_retval_cleanup()
1336 location_t loc = DECL_SOURCE_LOCATION (current_function_decl); in maybe_splice_retval_cleanup()
1338 tree retval = DECL_RESULT (current_function_decl); in maybe_splice_retval_cleanup()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/sh/
H A Dsh-c.cc44 if (current_function_decl) in sh_add_function_attribute()
45 decl_attributes (&current_function_decl, in sh_add_function_attribute()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/sh/
H A Dsh-c.c44 if (current_function_decl) in sh_add_function_attribute()
45 decl_attributes (&current_function_decl, in sh_add_function_attribute()

12345678910>>...21