Home
last modified time | relevance | path

Searched refs:fn_decl (Results 1 – 25 of 35) sorted by relevance

12

/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dlto-section-out.cc258 lto_record_function_out_decl_state (tree fn_decl, in lto_record_function_out_decl_state() argument
270 state->fn_decl = fn_decl; in lto_record_function_out_decl_state()
H A Dlto-streamer-in.cc1351 input_function (tree fn_decl, class data_in *data_in, in input_function() argument
1364 DECL_RESULT (fn_decl) = stream_read_tree (ib, data_in); in input_function()
1365 DECL_ARGUMENTS (fn_decl) = streamer_read_chain (ib, data_in); in input_function()
1371 vec<tree, va_gc> **debugargs = decl_debug_args_insert (fn_decl); in input_function()
1378 DECL_INITIAL (fn_decl) = stream_read_tree (ib, data_in); in input_function()
1386 push_struct_function (fn_decl); in input_function()
1387 fn = DECL_STRUCT_FUNCTION (fn_decl); in input_function()
1400 gcc_assert (DECL_INITIAL (fn_decl)); in input_function()
1401 DECL_SAVED_TREE (fn_decl) = NULL_TREE; in input_function()
1544 gimple_set_body (fn_decl, bb_seq (ei_edge (ei)->dest)); in input_function()
[all …]
H A Dlto-streamer.h496 tree fn_decl; member
509 return htab_hash_pointer (s->fn_decl); in hash()
515 return a->fn_decl == b->fn_decl; in equal()
532 tree fn_decl; member
H A Dcoverage.cc64 tree fn_decl; /* the function decl */ member
710 item->fn_decl = current_function_decl; in coverage_end_function()
755 build_var (tree fn_decl, tree type, int counter) in build_var() argument
758 const char *fn_name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (fn_decl)); in build_var()
1164 if (DECL_STRUCT_FUNCTION (fn->fn_decl)) in coverage_obj_init()
1378 fn_ctor = coverage_obj_fn (fn_ctor, fn->fn_decl, fn); in coverage_finish()
H A Dlto-section-in.cc415 temp.fn_decl = func; in lto_get_function_in_decl_state()
443 temp.fn_decl = node->decl; in lto_free_function_in_decl_state_for_node()
H A Dlto-cgraph.cc1237 tree fn_decl; in input_node() local
1250 fn_decl = lto_input_fn_decl_ref (ib, file_data); in input_node()
1254 node = dyn_cast<cgraph_node *> (nodes[clone_ref])->create_clone (fn_decl, in input_node()
1264 node->decl = fn_decl; in input_node()
1265 if (lookup_attribute ("ifunc", DECL_ATTRIBUTES (fn_decl))) in input_node()
1793 tree fn_decl in input_offload_tables() local
1795 vec_safe_push (offload_funcs, fn_decl); in input_offload_tables()
1801 cgraph_node::get (fn_decl)->mark_force_output (); in input_offload_tables()
H A Dtrans-mem.cc2487 tree fn_decl; in expand_call_tm() local
2491 fn_decl = gimple_call_fndecl (stmt); in expand_call_tm()
2493 if (fn_decl == builtin_decl_explicit (BUILT_IN_TM_MEMCPY) in expand_call_tm()
2494 || fn_decl == builtin_decl_explicit (BUILT_IN_TM_MEMMOVE)) in expand_call_tm()
2496 if (fn_decl == builtin_decl_explicit (BUILT_IN_TM_MEMSET)) in expand_call_tm()
2502 if (fn_decl) in expand_call_tm()
2503 retval = is_tm_ending_fndecl (fn_decl); in expand_call_tm()
2512 if (!fn_decl) in expand_call_tm()
2526 node = cgraph_node::get (fn_decl); in expand_call_tm()
2535 gcc_assert (DECL_BUILT_IN_CLASS (fn_decl) == BUILT_IN_NORMAL); in expand_call_tm()
[all …]
H A Dipa-utils.cc481 temp.fn_decl = src->decl; in ipa_merge_profiles()
498 state->fn_decl = src->decl; in ipa_merge_profiles()
H A Dlto-streamer-out.cc2650 tree fn_decl; in prune_offload_funcs() local
2651 FOR_EACH_VEC_ELT (*offload_funcs, ix, fn_decl) in prune_offload_funcs()
2652 DECL_PRESERVE_P (fn_decl) = 1; in prune_offload_funcs()
2914 decl = (state->fn_decl) ? state->fn_decl : void_type_node; in lto_output_decl_state_refs()
3300 (DECL_ASSEMBLER_NAME (fn_out_state->fn_decl))); in produce_asm_for_decls()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dlto-section-out.c363 lto_record_function_out_decl_state (tree fn_decl, in lto_record_function_out_decl_state() argument
375 state->fn_decl = fn_decl; in lto_record_function_out_decl_state()
H A Dlto-streamer.h536 tree fn_decl; member
549 return htab_hash_pointer (s->fn_decl); in hash()
555 return a->fn_decl == b->fn_decl; in equal()
572 tree fn_decl; member
1276 DEFINE_DECL_STREAM_FUNCS (FN_DECL, fn_decl)
H A Dlto-streamer-in.c1338 input_function (tree fn_decl, class data_in *data_in,
1351 DECL_RESULT (fn_decl) = stream_read_tree (ib, data_in);
1352 DECL_ARGUMENTS (fn_decl) = streamer_read_chain (ib, data_in);
1358 vec<tree, va_gc> **debugargs = decl_debug_args_insert (fn_decl);
1365 DECL_INITIAL (fn_decl) = stream_read_tree (ib, data_in);
1373 push_struct_function (fn_decl);
1374 fn = DECL_STRUCT_FUNCTION (fn_decl);
1390 gcc_assert (DECL_INITIAL (fn_decl));
1391 DECL_SAVED_TREE (fn_decl) = NULL_TREE;
1534 gimple_set_body (fn_decl, bb_seq (ei_edge (ei)->dest));
[all …]
H A Dcoverage.c62 tree fn_decl; /* the function decl */ member
702 item->fn_decl = current_function_decl; in coverage_end_function()
747 build_var (tree fn_decl, tree type, int counter) in build_var() argument
750 const char *fn_name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (fn_decl)); in build_var()
1124 if (DECL_STRUCT_FUNCTION (fn->fn_decl)) in coverage_obj_init()
1328 fn_ctor = coverage_obj_fn (fn_ctor, fn->fn_decl, fn); in coverage_finish()
H A Dlto-section-in.c415 temp.fn_decl = func; in lto_get_function_in_decl_state()
443 temp.fn_decl = node->decl; in lto_free_function_in_decl_state_for_node()
H A Dlto-cgraph.c1223 tree fn_decl; in input_node() local
1237 fn_decl = lto_file_decl_data_get_fn_decl (file_data, decl_index); in input_node()
1241 node = dyn_cast<cgraph_node *> (nodes[clone_ref])->create_clone (fn_decl, in input_node()
1251 node->decl = fn_decl; in input_node()
1252 if (lookup_attribute ("ifunc", DECL_ATTRIBUTES (fn_decl))) in input_node()
1789 tree fn_decl in input_offload_tables() local
1791 vec_safe_push (offload_funcs, fn_decl); in input_offload_tables()
1797 cgraph_node::get (fn_decl)->mark_force_output (); in input_offload_tables()
H A Dtrans-mem.c2483 tree fn_decl; in expand_call_tm() local
2487 fn_decl = gimple_call_fndecl (stmt); in expand_call_tm()
2489 if (fn_decl == builtin_decl_explicit (BUILT_IN_TM_MEMCPY) in expand_call_tm()
2490 || fn_decl == builtin_decl_explicit (BUILT_IN_TM_MEMMOVE)) in expand_call_tm()
2492 if (fn_decl == builtin_decl_explicit (BUILT_IN_TM_MEMSET)) in expand_call_tm()
2498 if (fn_decl) in expand_call_tm()
2499 retval = is_tm_ending_fndecl (fn_decl); in expand_call_tm()
2508 if (!fn_decl) in expand_call_tm()
2522 node = cgraph_node::get (fn_decl); in expand_call_tm()
2531 gcc_assert (DECL_BUILT_IN_CLASS (fn_decl) == BUILT_IN_NORMAL); in expand_call_tm()
[all …]
H A Dipa-utils.c481 temp.fn_decl = src->decl; in ipa_merge_profiles()
498 state->fn_decl = src->decl; in ipa_merge_profiles()
H A Dlto-streamer-out.c2569 tree fn_decl; in prune_offload_funcs() local
2570 FOR_EACH_VEC_ELT (*offload_funcs, ix, fn_decl) in prune_offload_funcs()
2571 DECL_PRESERVE_P (fn_decl) = 1; in prune_offload_funcs()
2832 decl = (state->fn_decl) ? state->fn_decl : void_type_node; in lto_output_decl_state_refs()
3218 (DECL_ASSEMBLER_NAME (fn_out_state->fn_decl))); in produce_asm_for_decls()
H A Dfunction.c4936 tree fn_decl, fn_type, fn_result_decl; in push_dummy_function() local
4944 fn_decl = build_decl (UNKNOWN_LOCATION, FUNCTION_DECL, NULL_TREE, in push_dummy_function()
4948 DECL_RESULT (fn_decl) = fn_result_decl; in push_dummy_function()
4949 DECL_ARTIFICIAL (fn_decl) = 1; in push_dummy_function()
4951 SET_DECL_ASSEMBLER_NAME (fn_decl, fn_name); in push_dummy_function()
4954 fn_decl = NULL_TREE; in push_dummy_function()
4956 push_struct_function (fn_decl); in push_dummy_function()
/netbsd-src/external/bsd/byacc/dist/test/
H A Dbtyacc_demo.y210 extern Scope * start_fn_def(Scope *scope, Decl *fn_decl);
211 extern void finish_fn_def(Decl *fn_decl, Code *block);
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dmangle.cc4402 mangle_thunk (tree fn_decl, const int this_adjusting, tree fixed_offset, in mangle_thunk() argument
4408 maybe_check_abi_tags (fn_decl, thunk, 11); in mangle_thunk()
4410 start_mangling (fn_decl); in mangle_thunk()
4422 else if (!DECL_THUNK_P (fn_decl)) in mangle_thunk()
4430 fixed_offset = ssize_int (THUNK_FIXED_OFFSET (fn_decl)); in mangle_thunk()
4431 virtual_offset = THUNK_VIRTUAL_OFFSET (fn_decl); in mangle_thunk()
4435 fn_decl = THUNK_TARGET (fn_decl); in mangle_thunk()
4439 write_encoding (fn_decl); in mangle_thunk()
H A Dcoroutines.cc157 get_or_insert_coroutine_info (tree fn_decl) in get_or_insert_coroutine_info() argument
162 (fn_decl, coroutine_info_hasher::hash (fn_decl), INSERT); in get_or_insert_coroutine_info()
167 (*slot)->function_decl = fn_decl; in get_or_insert_coroutine_info()
176 get_coroutine_info (tree fn_decl) in get_coroutine_info() argument
182 (fn_decl, coroutine_info_hasher::hash (fn_decl), NO_INSERT); in get_coroutine_info()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dmangle.c4189 mangle_thunk (tree fn_decl, const int this_adjusting, tree fixed_offset, in mangle_thunk() argument
4195 maybe_check_abi_tags (fn_decl, thunk, 11); in mangle_thunk()
4197 start_mangling (fn_decl); in mangle_thunk()
4209 else if (!DECL_THUNK_P (fn_decl)) in mangle_thunk()
4217 fixed_offset = ssize_int (THUNK_FIXED_OFFSET (fn_decl)); in mangle_thunk()
4218 virtual_offset = THUNK_VIRTUAL_OFFSET (fn_decl); in mangle_thunk()
4222 fn_decl = THUNK_TARGET (fn_decl); in mangle_thunk()
4226 write_encoding (fn_decl); in mangle_thunk()
H A Dcoroutines.cc157 get_or_insert_coroutine_info (tree fn_decl) in get_or_insert_coroutine_info() argument
162 (fn_decl, coroutine_info_hasher::hash (fn_decl), INSERT); in get_or_insert_coroutine_info()
167 (*slot)->function_decl = fn_decl; in get_or_insert_coroutine_info()
176 get_coroutine_info (tree fn_decl) in get_coroutine_info() argument
182 (fn_decl, coroutine_info_hasher::hash (fn_decl), NO_INSERT); in get_coroutine_info()
/netbsd-src/external/gpl3/gcc/dist/gcc/analyzer/
H A Dexploded-graph.h822 tree fn_decl,

12