/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | ipa-split.c | 169 && auto_var_in_fn_p (t, current_function_decl)) in test_nonssa_use() 187 DECL_UID (DECL_RESULT (current_function_decl))); in test_nonssa_use() 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() 795 current_function_decl) in find_return_bb() 881 DECL_UID (DECL_RESULT (current_function_decl))); in mark_nonssa_use() 1249 for (parm = DECL_ARGUMENTS (current_function_decl); in split_function() 1527 TREE_TYPE (current_function_decl)) in split_function() 1677 retval = DECL_RESULT (current_function_decl); in split_function() [all …]
|
H A D | final.c | 1803 if (!DECL_IGNORED_P (current_function_decl)) in final_start_function_1() 1855 number_blocks (current_function_decl); in final_start_function_1() 2294 current_function_decl, in final_scan_insn_1() 2304 current_function_decl); in final_scan_insn_1() 2568 (current_function_decl)); in final_scan_insn_1() 2647 (current_function_decl)); in final_scan_insn_1() 2706 && !DECL_IGNORED_P (current_function_decl)) in final_scan_insn_1() 2713 if (!DECL_IGNORED_P (current_function_decl) in final_scan_insn_1() 4723 (current_function_decl)); in rest_of_handle_final() 4728 (current_function_decl)); in rest_of_handle_final() [all …]
|
H A D | tree-nrv.c | 137 tree result = DECL_RESULT (current_function_decl); in execute() 146 if (!aggregate_value_p (result, current_function_decl)) in execute() 208 || !auto_var_in_fn_p (found, current_function_decl) in execute() 245 && DECL_CONTEXT (DECL_ABSTRACT_ORIGIN (found)) != current_function_decl)) in execute()
|
H A D | ipa-pure-const.c | 2127 node = cgraph_node::get (current_function_decl); in execute() 2138 if (!skip && !TREE_THIS_VOLATILE (current_function_decl) in execute() 2147 TREE_THIS_VOLATILE (current_function_decl) = 1; in execute() 2157 if (!TREE_READONLY (current_function_decl)) in execute() 2183 if (!DECL_PURE_P (current_function_decl)) in execute() 2221 && !DECL_IS_MALLOC (current_function_decl)) in execute() 2275 if (!TREE_THIS_VOLATILE (current_function_decl) in execute() 2277 warn_function_noreturn (current_function_decl); in execute() 2330 if (TREE_NOTHROW (current_function_decl)) in execute() 2333 node = cgraph_node::get (current_function_decl); in execute() [all …]
|
H A D | tree-diagnostic.h | 41 : current_function_decl)) 49 : current_function_decl)
|
H A D | passes.c | 310 && !current_function_decl in rest_of_decl_compilation() 1658 if (current_function_decl) in do_per_function() 1703 if (current_function_decl) in do_per_function_toporder() 2441 gcc_assert (cfun && current_function_decl); in execute_one_pass() 2557 if (!current_function_decl) in execute_one_pass() 2627 gcc_assert (!current_function_decl); in ipa_write_summaries_2() 2750 gcc_assert (!current_function_decl); in ipa_write_optimization_summaries_1() 2831 gcc_assert (!current_function_decl); in ipa_read_summaries_1() 2882 gcc_assert (!current_function_decl); in ipa_read_optimization_summaries_1() 2929 gcc_assert (!current_function_decl); in execute_ipa_pass_list() [all …]
|
H A D | coverage.c | 371 elt.ident = cgraph_node::get (current_function_decl)->profile_id; in get_coverage_counts() 386 tree id = DECL_ASSEMBLER_NAME (current_function_decl); in get_coverage_counts() 421 DECL_ASSEMBLER_NAME (current_function_decl)); in get_coverage_counts() 447 = build_var (current_function_decl, array_type, counter); in coverage_counter_alloc() 557 = expand_location (DECL_SOURCE_LOCATION (current_function_decl)); in coverage_compute_lineno_checksum() 649 xloc = expand_location (DECL_SOURCE_LOCATION (current_function_decl)); in coverage_begin_function() 659 cgraph_node::get (current_function_decl)->profile_id); in coverage_begin_function() 665 (DECL_ASSEMBLER_NAME (current_function_decl))); in coverage_begin_function() 666 gcov_write_unsigned (DECL_ARTIFICIAL (current_function_decl) in coverage_begin_function() 667 && !DECL_LAMBDA_FUNCTION (current_function_decl)); in coverage_begin_function() [all …]
|
H A D | tree-tailcall.c | 171 for (param = DECL_ARGUMENTS (current_function_decl); in suitable_for_tail_call_opt_p() 319 if (FLOAT_TYPE_P (TREE_TYPE (DECL_RESULT (current_function_decl)))) in process_assignment() 480 && recursive_call_p (current_function_decl, func)) in find_tail_calls() 484 for (param = DECL_ARGUMENTS (current_function_decl), idx = 0; in find_tail_calls() 628 if (m && POINTER_TYPE_P (TREE_TYPE (DECL_RESULT (current_function_decl)))) in find_tail_calls() 680 tree ret_type = TREE_TYPE (DECL_RESULT (current_function_decl)); in adjust_return_value_with_ops() 913 for (param = DECL_ARGUMENTS (current_function_decl), in eliminate_tail_call() 983 tree ret_type = TREE_TYPE (DECL_RESULT (current_function_decl)); in create_tailcall_accumulator() 1045 for (param = DECL_ARGUMENTS (current_function_decl); in tree_optimize_tail_calls_1()
|
H A D | gimple-low.c | 87 gimple_seq body = gimple_body (current_function_decl); in lower_function_body() 99 data.block = DECL_INITIAL (current_function_decl); in lower_function_body() 135 gimple_set_block (x, DECL_INITIAL (current_function_decl)); in lower_function_body() 160 gimple_set_body (current_function_decl, lowered_body); in lower_function_body() 162 gcc_assert (data.block == DECL_INITIAL (current_function_decl)); in lower_function_body() 424 gcc_assert (new_block == DECL_INITIAL (current_function_decl)); in lower_gimple_bind() 940 record_vars_into (vars, current_function_decl); in record_vars()
|
H A D | auto-profile.c | 398 std::make_pair (current_function_decl, in get_inline_stack() 418 return get_combined_location (locus, current_function_decl); in get_relative_location_for_stmt() 1029 = cgraph_node::get (current_function_decl)->get_edge (stmt); in afdo_indirect_call() 1460 current_function_decl) == NULL) in afdo_vpt_for_early_inline() 1463 compute_fn_summary (cgraph_node::get (current_function_decl), true); in afdo_vpt_for_early_inline() 1507 unsigned todo = optimize_inline_calls (current_function_decl); in afdo_vpt_for_early_inline() 1527 current_function_decl); in afdo_annotate_cfg() 1531 cgraph_node::get (current_function_decl)->count in afdo_annotate_cfg() 1568 DECL_SOURCE_LOCATION (current_function_decl)); in afdo_annotate_cfg() 1591 compute_fn_summary (cgraph_node::get (current_function_decl), true); in early_inline() [all …]
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | ipa-split.c | 153 && auto_var_in_fn_p (t, current_function_decl)) in test_nonssa_use() 166 DECL_UID (DECL_RESULT (current_function_decl))); in test_nonssa_use() 453 if (!VOID_TYPE_P (TREE_TYPE (current_function_decl))) in consider_split() 635 current_function_decl) in find_return_bb() 691 && auto_var_in_fn_p (t, current_function_decl)) in mark_nonssa_use() 704 DECL_UID (DECL_RESULT (current_function_decl))); in mark_nonssa_use() 1075 for (parm = DECL_ARGUMENTS (current_function_decl); in split_function() 1248 TREE_TYPE (current_function_decl))) in split_function() 1349 retval = DECL_RESULT (current_function_decl); in split_function() 1406 if (flags_from_decl_or_type (current_function_decl) in execute_split_functions() [all …]
|
H A D | ipa-pure-const.c | 547 if (!ipa && callee_t == current_function_decl) in check_call() 728 tree old_decl = current_function_decl; in analyze_function() 756 current_function_decl = decl; in analyze_function() 824 current_function_decl = old_decl; in analyze_function() 1557 node = cgraph_get_node (current_function_decl); in local_pure_const() 1567 if (!skip && !TREE_THIS_VOLATILE (current_function_decl) in local_pure_const() 1576 TREE_THIS_VOLATILE (current_function_decl) = 1; in local_pure_const() 1586 if (!TREE_READONLY (current_function_decl)) in local_pure_const() 1616 if (!DECL_PURE_P (current_function_decl)) in local_pure_const() 1623 warn_function_pure (current_function_decl, !l->looping); in local_pure_const() [all …]
|
H A D | gimple-low.c | 91 gimple_seq body = gimple_body (current_function_decl); in lower_function_body() 104 data.block = DECL_INITIAL (current_function_decl); in lower_function_body() 118 gimple_set_body (current_function_decl, lowered_body); in lower_function_body() 132 gimple_set_block (x, DECL_INITIAL (current_function_decl)); in lower_function_body() 172 arg = build_addr (disp_label, current_function_decl); in lower_function_body() 183 gcc_assert (data.block == DECL_INITIAL (current_function_decl)); in lower_function_body() 888 arg = build_addr (next_label, current_function_decl); in lower_builtin_setjmp() 913 arg = build_addr (next_label, current_function_decl); in lower_builtin_setjmp() 944 if (fn != current_function_decl) in record_vars_into() 966 if (fn != current_function_decl) in record_vars_into() [all …]
|
H A D | tree-optimize.c | 251 count_scale = ((cgraph_get_node (current_function_decl)->count in execute_fixup_cfg() 257 ENTRY_BLOCK_PTR->count = cgraph_get_node (current_function_decl)->count; in execute_fixup_cfg() 373 tree saved_current_function_decl = current_function_decl; in tree_lowering_passes() 375 current_function_decl = fn; in tree_lowering_passes() 385 current_function_decl = saved_current_function_decl; in tree_lowering_passes() 406 current_function_decl = fndecl; in tree_rest_of_compilation()
|
H A D | xcoffout.c | 392 tree decl = current_function_decl; in xcoffout_begin_block() 453 dbxout_parms (DECL_ARGUMENTS (current_function_decl)); in xcoffout_begin_prologue() 459 do_block = BLOCK_NUMBER (DECL_INITIAL (current_function_decl)); in xcoffout_begin_prologue() 460 xcoffout_block (DECL_INITIAL (current_function_decl), 0, in xcoffout_begin_prologue() 461 DECL_ARGUMENTS (current_function_decl)); in xcoffout_begin_prologue() 487 const char *fname = XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0); in xcoffout_end_epilogue()
|
H A D | passes.c | 601 tree save_fndecl = current_function_decl; in dump_passes() 620 current_function_decl = node->decl; in dump_passes() 630 current_function_decl = save_fndecl; in dump_passes() 1564 if (current_function_decl) in do_per_function() 1574 current_function_decl = node->decl; in do_per_function() 1581 current_function_decl = NULL; in do_per_function() 1603 if (current_function_decl) in do_per_function_toporder() 1622 current_function_decl = node->decl; in do_per_function_toporder() 1626 current_function_decl = NULL; in do_per_function_toporder() 1642 if (dump_file && current_function_decl) in execute_function_dump() [all …]
|
H A D | tree-mudflap.c | 133 sourcefile = DECL_SOURCE_FILE (current_function_decl); in mf_varname_tree() 152 if (current_function_decl != NULL_TREE) in mf_varname_tree() 158 if (DECL_NAME (current_function_decl)) in mf_varname_tree() 214 if (file == NULL && current_function_decl != NULL_TREE) in mf_file_function_line_tree() 215 file = DECL_SOURCE_FILE (current_function_decl); in mf_file_function_line_tree() 422 if (mf_marked_p (current_function_decl) in execute_mudflap_function_ops() 423 || mf_artificial (current_function_decl)) in execute_mudflap_function_ops() 1004 if (mf_marked_p (current_function_decl) in execute_mudflap_function_decls() 1005 || mf_artificial (current_function_decl)) in execute_mudflap_function_decls() 1010 mf_xform_decls (gimple_body (current_function_decl), in execute_mudflap_function_decls() [all …]
|
H A D | final.c | 1542 if (!DECL_IGNORED_P (current_function_decl)) in final_start_function() 1563 number_blocks (current_function_decl); in final_start_function() 1650 if (!DECL_IGNORED_P (current_function_decl)) in final_end_function() 1658 if (!DECL_IGNORED_P (current_function_decl)) in final_end_function() 1931 current_function_decl, in final_scan_insn() 2151 (current_function_decl)); in final_scan_insn() 2222 (current_function_decl)); in final_scan_insn() 2284 if (!DECL_IGNORED_P (current_function_decl) in final_scan_insn() 4311 x = DECL_RTL (current_function_decl); in rest_of_handle_final() 4360 (current_function_decl)); in rest_of_handle_final() [all …]
|
H A D | tree-profile.c | 269 build_addr (ref, current_function_decl), in gimple_gen_interval_profiler() 368 struct cgraph_node * c_node = cgraph_get_node (current_function_decl); in gimple_gen_ic_func_profiler() 381 build_addr (current_function_decl, in gimple_gen_ic_func_profiler() 382 current_function_decl), in gimple_gen_ic_func_profiler() 494 current_function_decl = node->decl; in tree_profiling() 519 current_function_decl = NULL; in tree_profiling() 556 current_function_decl = node->decl; in tree_profiling() 574 current_function_decl = NULL; in tree_profiling()
|
H A D | tree-nrv.c | 113 tree result = DECL_RESULT (current_function_decl); in tree_nrv() 122 if (!aggregate_value_p (result, current_function_decl)) in tree_nrv() 184 || DECL_CONTEXT (found) != current_function_decl in tree_nrv() 222 && DECL_CONTEXT (DECL_ABSTRACT_ORIGIN (found)) != current_function_decl)) in tree_nrv()
|
H A D | matrix-reorg.c | 2114 oldfn = current_function_decl; in transform_allocation_sites() 2232 current_function_decl = oldfn; in transform_allocation_sites() 2281 temp_fn = current_function_decl; in matrix_reorg() 2282 current_function_decl = node->decl; in matrix_reorg() 2292 current_function_decl = temp_fn; in matrix_reorg() 2307 current_function_decl = temp_fn; in matrix_reorg() 2338 current_function_decl = temp_fn; in matrix_reorg() 2349 temp_fn = current_function_decl; in matrix_reorg() 2350 current_function_decl = node->decl; in matrix_reorg() 2360 current_function_decl = temp_fn; in matrix_reorg() [all …]
|
H A D | cgraphbuild.c | 331 struct cgraph_node *node = cgraph_get_node (current_function_decl); in build_cgraph_edges() 348 int freq = compute_call_stmt_bb_frequency (current_function_decl, in build_cgraph_edges() 440 struct cgraph_node *node = cgraph_get_node (current_function_decl); in rebuild_cgraph_edges() 457 int freq = compute_call_stmt_bb_frequency (current_function_decl, in rebuild_cgraph_edges() 489 struct cgraph_node *node = cgraph_get_node (current_function_decl); in cgraph_rebuild_references() 536 cgraph_node_remove_callees (cgraph_get_node (current_function_decl)); in remove_cgraph_callee_edges()
|
H A D | tree-diagnostic.h | 42 : current_function_decl)) 50 : current_function_decl)
|
H A D | tree-vectorizer.c | 149 if (!current_function_decl || !vect_dump) in vect_print_dump_info() 154 DECL_SOURCE_FILE (current_function_decl), in vect_print_dump_info() 155 DECL_SOURCE_LINE (current_function_decl)); in vect_print_dump_info()
|
H A D | tree-tailcall.c | 168 for (param = DECL_ARGUMENTS (current_function_decl); in suitable_for_tail_call_opt_p() 303 if (FLOAT_TYPE_P (TREE_TYPE (DECL_RESULT (current_function_decl)))) in process_assignment() 455 if (func == current_function_decl) in find_tail_calls() 581 && POINTER_TYPE_P (TREE_TYPE (DECL_RESULT (current_function_decl)))) in find_tail_calls() 622 tree ret_type = TREE_TYPE (DECL_RESULT (current_function_decl)); in adjust_return_value_with_ops() 853 for (param = DECL_ARGUMENTS (current_function_decl), in eliminate_tail_call() 952 tree ret_type = TREE_TYPE (DECL_RESULT (current_function_decl)); in create_tailcall_accumulator() 1011 for (param = DECL_ARGUMENTS (current_function_decl); in tree_optimize_tail_calls_1()
|