Home
last modified time | relevance | path

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

1234567891011

/openbsd-src/gnu/gcc/gcc/
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 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 Dtree-mudflap.c128 if (sourcefile == NULL && current_function_decl != NULL_TREE) in mf_varname_tree()
129 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()
155 funcname = lang_hooks.decl_printable_name (current_function_decl, 1); 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()
230 name = lang_hooks.decl_printable_name (current_function_decl, 1); 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()
[all …]
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 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 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.c1003 tree t, outer_block = DECL_INITIAL (current_function_decl); in expand_used_vars()
1566 record_block_change (DECL_INITIAL (current_function_decl)); in construct_exit_block()
1711 expand_function_start (current_function_decl); in tree_expand_cfg()
1715 if (DECL_NAME (current_function_decl) in tree_expand_cfg()
1716 && MAIN_NAME_P (DECL_NAME (current_function_decl)) in tree_expand_cfg()
1717 && DECL_FILE_SCOPE_P (current_function_decl)) in tree_expand_cfg()
1763 DECL_DEFER_OUTPUT (current_function_decl) = 0; in tree_expand_cfg()
1782 for (parent = DECL_CONTEXT (current_function_decl); in tree_expand_cfg()
1792 if (cgraph_function_possibly_inlined_p (current_function_decl)) in tree_expand_cfg()
1793 (*debug_hooks->outlining_inline_function) (current_function_decl); in tree_expand_cfg()
[all …]
H A Ddiagnostic.h142 ((DC)->last_function != current_function_decl)
147 (DC)->last_function = current_function_decl
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()
493 = expand_location (DECL_SOURCE_LOCATION (current_function_decl)); in compute_checksum()
498 (chksum, IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (current_function_decl))); in compute_checksum()
517 = expand_location (DECL_SOURCE_LOCATION (current_function_decl)); in coverage_begin_output()
538 (DECL_ASSEMBLER_NAME (current_function_decl))); in coverage_begin_output()
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dxcoffout.c381 tree decl = current_function_decl;
452 dbxout_parms (DECL_ARGUMENTS (current_function_decl));
458 do_block = BLOCK_NUMBER (DECL_INITIAL (current_function_decl));
459 xcoffout_block (DECL_INITIAL (current_function_decl), 0,
460 DECL_ARGUMENTS (current_function_decl));
488 const char *fname = XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0);
H A Dprotector.c138 tree blocks = DECL_INITIAL (current_function_decl);
261 if (__latest_search_decl == current_function_decl)
264 __latest_search_decl = current_function_decl;
274 blocks = DECL_INITIAL (current_function_decl);
289 parms = DECL_ARGUMENTS (current_function_decl);
856 if (DECL_NAME (current_function_decl)
857 && MAIN_NAME_P (DECL_NAME (current_function_decl))
858 && DECL_CONTEXT (current_function_decl) == NULL_TREE)
941 if (DECL_RTL_SET_P (DECL_RESULT (current_function_decl)))
1034 tree parms = DECL_ARGUMENTS (current_function_decl); in copy_args_for_protection()
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/java/
H A Dlang.c771 if (current_function_decl != NULL
772 && DECL_CONTEXT (current_function_decl) != last_error_function_context)
777 last_error_function_context = DECL_CONTEXT (current_function_decl);
781 if (last_error_function != current_function_decl)
786 if (current_function_decl == NULL)
790 const char *name = lang_printable_name (current_function_decl, 2);
792 (DECL_CONSTRUCTOR_P (current_function_decl) ? "constructor"
797 last_error_function = current_function_decl;
863 current_function_decl != 0
993 (DECL_FUNCTION_INIT_TEST_TABLE (current_function_decl), ite->key);
[all …]
H A Ddecl.c112 DECL_CONTEXT (decl) = current_function_decl;
130 if (index >= DECL_MAX_LOCALS (current_function_decl))
140 DECL_LOCAL_END_PC (decl) = DECL_CODE_LENGTH (current_function_decl);
258 return find_local_variable (index + DECL_MAX_LOCALS (current_function_decl),
417 current_function_decl = NULL; in java_init_decl_processing()
1044 DECL_CONTEXT (x) = current_function_decl;
1432 DECL_INITIAL (current_function_decl) = block;
1540 warning_with_decl (current_function_decl,
1597 int i, n = DECL_LOCALVARIABLES_OFFSET (current_function_decl);
1598 int code_offset = DECL_CODE_OFFSET (current_function_decl);
[all …]
H A Dverify.c248 int nlocals = DECL_MAX_LOCALS (current_function_decl);
437 tree return_type = TREE_TYPE (TREE_TYPE (current_function_decl));
447 JCF_SEEK (jcf, DECL_CODE_OFFSET (current_function_decl) + length);
522 int size = DECL_MAX_LOCALS(current_function_decl)+stack_pointer;
660 >= DECL_MAX_LOCALS (current_function_decl)))
711 >= DECL_MAX_LOCALS (current_function_decl)))
803 if (index < 0 || index >= DECL_MAX_LOCALS (current_function_decl))
1281 int nlocals = DECL_MAX_LOCALS (current_function_decl);
1282 index = nlocals + DECL_MAX_STACK (current_function_decl);
1322 stack_pointer = len - DECL_MAX_LOCALS (current_function_decl);
[all …]
H A Dparse.c3851 current_function_decl = yyvsp[0].node; in yyparse()
3852 if (current_function_decl in yyparse()
3853 && TREE_CODE (current_function_decl) == FUNCTION_DECL) in yyparse()
3854 source_start_java_method (current_function_decl); in yyparse()
3856 current_function_decl = NULL_TREE; in yyparse()
4088 current_function_decl = yyvsp[0].node; in yyparse()
4089 source_start_java_method (current_function_decl); in yyparse()
4149 yyval.node = java_method_add_stmt (current_function_decl, yyval.node); in yyparse()
4158 yyval.node = java_method_add_stmt (current_function_decl, yyval.node); in yyparse()
4290 current_function_decl = NULL_TREE; /* FIXME ? */ in yyparse()
[all …]
H A Dparse.y1013 current_function_decl = $1;
1014 if (current_function_decl
1015 && TREE_CODE (current_function_decl) == FUNCTION_DECL)
1016 source_start_java_method (current_function_decl);
1018 current_function_decl = NULL_TREE;
1182 current_function_decl = $1;
1183 source_start_java_method (current_function_decl);
1233 $$ = java_method_add_stmt (current_function_decl, $$);
1239 $$ = java_method_add_stmt (current_function_decl, $$);
1335 current_function_decl = NULL_TREE; /* FIXME ? */
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/cp/
H A Dsemantics.c172 DECL_UNINLINABLE (current_function_decl) = 1;
402 if (DECL_DESTRUCTOR_P (current_function_decl))
1017 tree decl = DECL_RESULT (current_function_decl); in genrtl_named_return_value()
1045 tree decl = DECL_RESULT (current_function_decl);
1066 if (DECL_CONSTRUCTOR_P (current_function_decl))
1091 DECL_UNINLINABLE (current_function_decl) = 1;
1099 if (! DECL_CONSTRUCTOR_P (current_function_decl)) in begin_mem_initializers()
1340 else if (current_function_decl in finish_this_expr()
1341 && DECL_STATIC_FUNCTION_P (current_function_decl)) in finish_this_expr()
1348 if (current_function_decl) in finish_this_expr()
[all …]
/openbsd-src/gnu/gcc/gcc/treelang/
H A Dtreetree.c436 current_function_decl = fn_decl; in tree_code_create_function_initial()
465 fn_decl = current_function_decl; in tree_code_create_function_wrapup()
488 current_function_decl = NULL_TREE; in tree_code_create_function_wrapup()
534 DECL_CONTEXT (var_decl) = current_function_decl; in tree_code_create_variable()
578 for (param = DECL_ARGUMENTS (current_function_decl); in tree_code_generate_return()
581 gcc_assert (DECL_CONTEXT (param) == current_function_decl); in tree_code_generate_return()
584 if (exp && TREE_TYPE (TREE_TYPE (current_function_decl)) != void_type_node) in tree_code_generate_return()
587 DECL_RESULT (current_function_decl), in tree_code_generate_return()
1050 DECL_INITIAL (current_function_decl) = block_node; in poplevel()
1092 if ((DECL_EXTERNAL (decl)) || (decl==current_function_decl)) in pushdecl()
[all …]
/openbsd-src/gnu/gcc/gcc/config/sh/
H A Dsh-c.c41 if (current_function_decl) in sh_add_function_attribute()
42 decl_attributes (&current_function_decl, in sh_add_function_attribute()
/openbsd-src/gnu/usr.bin/gcc/gcc/treelang/
H A Dtreetree.c342 current_function_decl = fn_decl; in tree_code_create_function_initial()
427 if (DECL_CONTEXT (param_decl) != current_function_decl) in tree_code_create_function_initial()
459 fn_decl = current_function_decl; in tree_code_create_function_wrapup()
493 current_function_decl = NULL_TREE; in tree_code_create_function_wrapup()
542 DECL_CONTEXT (var_decl) = current_function_decl; in tree_code_create_variable()
602 for (param = DECL_ARGUMENTS (current_function_decl); in tree_code_generate_return()
606 if (DECL_CONTEXT (param) != current_function_decl) in tree_code_generate_return()
612 setret = build (MODIFY_EXPR, type, DECL_RESULT (current_function_decl), in tree_code_generate_return()
618 expand_return (DECL_RESULT (current_function_decl)); in tree_code_generate_return()
/openbsd-src/gnu/usr.bin/gcc/gcc/config/pa/
H A Dsom.h36 if (current_function_decl == last_function_decl) \
39 XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0) + 1, \
43 last_function_decl = current_function_decl; \

1234567891011