Home
last modified time | relevance | path

Searched refs:resdecl (Results 1 – 19 of 19) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dsymtab-thunks.cc414 tree resdecl; in expand_thunk() local
448 resdecl = build_decl (input_location, RESULT_DECL, 0, restype); in expand_thunk()
449 DECL_ARTIFICIAL (resdecl) = 1; in expand_thunk()
450 DECL_IGNORED_P (resdecl) = 1; in expand_thunk()
451 DECL_CONTEXT (resdecl) = thunk_fndecl; in expand_thunk()
452 DECL_RESULT (thunk_fndecl) = resdecl; in expand_thunk()
455 resdecl = DECL_RESULT (thunk_fndecl); in expand_thunk()
473 if (DECL_BY_REFERENCE (resdecl)) in expand_thunk()
475 restmp = gimple_fold_indirect_ref (resdecl); in expand_thunk()
478 TREE_TYPE (TREE_TYPE (resdecl)), in expand_thunk()
[all …]
H A Dipa.cc847 tree decl, name, resdecl; in cgraph_build_static_cdtor_1() local
869 resdecl = build_decl (input_location, in cgraph_build_static_cdtor_1()
871 DECL_ARTIFICIAL (resdecl) = 1; in cgraph_build_static_cdtor_1()
872 DECL_RESULT (decl) = resdecl; in cgraph_build_static_cdtor_1()
873 DECL_CONTEXT (resdecl) = decl; in cgraph_build_static_cdtor_1()
H A Dread-rtl-function.cc495 tree resdecl = build_decl (UNKNOWN_LOCATION, RESULT_DECL, NULL_TREE, in create_function() local
497 DECL_ARTIFICIAL (resdecl) = 1; in create_function()
498 DECL_IGNORED_P (resdecl) = 1; in create_function()
499 DECL_RESULT (fndecl) = resdecl; in create_function()
H A DChangeLog-201540544 instead of resdecl.
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Ddecl.cc972 tree resdecl = DECL_RESULT (fndecl); in visit() local
975 if (TREE_ADDRESSABLE (TREE_TYPE (resdecl))) in visit()
977 TREE_TYPE (resdecl) = build_reference_type (TREE_TYPE (resdecl)); in visit()
978 DECL_BY_REFERENCE (resdecl) = 1; in visit()
979 TREE_ADDRESSABLE (resdecl) = 0; in visit()
980 relayout_decl (resdecl); in visit()
988 DECL_NAME (resdecl) = DECL_NAME (var); in visit()
992 if (DECL_BY_REFERENCE (resdecl)) in visit()
993 resdecl = build_deref (resdecl); in visit()
995 SET_DECL_VALUE_EXPR (var, resdecl); in visit()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A Ddecl.cc126 tree resdecl = DECL_RESULT (fndecl); in get_fndecl_result() local
128 if (resdecl != NULL_TREE) in get_fndecl_result()
129 return resdecl; in get_fndecl_result()
131 resdecl = build_decl (make_location_t (decl->loc), RESULT_DECL, in get_fndecl_result()
134 DECL_ARTIFICIAL (resdecl) = 1; in get_fndecl_result()
135 DECL_IGNORED_P (resdecl) = 1; in get_fndecl_result()
136 DECL_CONTEXT (resdecl) = fndecl; in get_fndecl_result()
137 DECL_RESULT (fndecl) = resdecl; in get_fndecl_result()
138 return resdecl; in get_fndecl_result()
1015 tree resdecl = DECL_RESULT (fndecl); in visit() local
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dcgraphunit.c1960 tree resdecl; in expand_thunk() local
1994 resdecl = build_decl (input_location, RESULT_DECL, 0, restype); in expand_thunk()
1995 DECL_ARTIFICIAL (resdecl) = 1; in expand_thunk()
1996 DECL_IGNORED_P (resdecl) = 1; in expand_thunk()
1997 DECL_CONTEXT (resdecl) = thunk_fndecl; in expand_thunk()
1998 DECL_RESULT (thunk_fndecl) = resdecl; in expand_thunk()
2001 resdecl = DECL_RESULT (thunk_fndecl); in expand_thunk()
2018 if (DECL_BY_REFERENCE (resdecl)) in expand_thunk()
2020 restmp = gimple_fold_indirect_ref (resdecl); in expand_thunk()
2023 TREE_TYPE (TREE_TYPE (resdecl)), in expand_thunk()
[all …]
H A Dipa.c844 tree decl, name, resdecl; in cgraph_build_static_cdtor_1() local
866 resdecl = build_decl (input_location, in cgraph_build_static_cdtor_1()
868 DECL_ARTIFICIAL (resdecl) = 1; in cgraph_build_static_cdtor_1()
869 DECL_RESULT (decl) = resdecl; in cgraph_build_static_cdtor_1()
870 DECL_CONTEXT (resdecl) = decl; in cgraph_build_static_cdtor_1()
H A Dread-rtl-function.c495 tree resdecl = build_decl (UNKNOWN_LOCATION, RESULT_DECL, NULL_TREE, in create_function() local
497 DECL_ARTIFICIAL (resdecl) = 1; in create_function()
498 DECL_IGNORED_P (resdecl) = 1; in create_function()
499 DECL_RESULT (fndecl) = resdecl; in create_function()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/
H A Dbrig-function-handler.cc137 tree resdecl in operator ()() local
155 DECL_RESULT (fndecl) = resdecl; in operator ()()
156 DECL_CONTEXT (resdecl) = fndecl; in operator ()()
H A Dbrig-function.cc692 tree resdecl in emit_launcher_and_metadata() local
695 DECL_RESULT (launcher) = resdecl; in emit_launcher_and_metadata()
696 DECL_CONTEXT (resdecl) = launcher; in emit_launcher_and_metadata()
/netbsd-src/external/gpl3/gcc/dist/gcc/jit/
H A Djit-playback.cc539 tree resdecl = build_decl (UNKNOWN_LOCATION, RESULT_DECL, in new_function() local
541 DECL_ARTIFICIAL (resdecl) = 1; in new_function()
542 DECL_IGNORED_P (resdecl) = 1; in new_function()
543 DECL_RESULT (fndecl) = resdecl; in new_function()
544 DECL_CONTEXT (resdecl) = fndecl; in new_function()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/jit/
H A Djit-playback.c447 tree resdecl = build_decl (UNKNOWN_LOCATION, RESULT_DECL, in new_function() local
449 DECL_ARTIFICIAL (resdecl) = 1; in new_function()
450 DECL_IGNORED_P (resdecl) = 1; in new_function()
451 DECL_RESULT (fndecl) = resdecl; in new_function()
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dcoroutines.cc4046 tree resdecl = build_decl (loc, RESULT_DECL, 0, void_type_node); in coro_build_actor_or_destroy_function() local
4047 DECL_CONTEXT (resdecl) = fn; in coro_build_actor_or_destroy_function()
4048 DECL_ARTIFICIAL (resdecl) = 1; in coro_build_actor_or_destroy_function()
4049 DECL_IGNORED_P (resdecl) = 1; in coro_build_actor_or_destroy_function()
4050 DECL_RESULT (fn) = resdecl; in coro_build_actor_or_destroy_function()
H A Ddecl.cc17142 tree resdecl; in start_preparsed_function() local
17144 resdecl = build_decl (input_location, RESULT_DECL, 0, restype); in start_preparsed_function()
17145 DECL_ARTIFICIAL (resdecl) = 1; in start_preparsed_function()
17146 DECL_IGNORED_P (resdecl) = 1; in start_preparsed_function()
17147 DECL_RESULT (decl1) = resdecl; in start_preparsed_function()
17149 cp_apply_type_quals_to_decl (cp_type_quals (restype), resdecl); in start_preparsed_function()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dcoroutines.cc4099 tree resdecl = build_decl (loc, RESULT_DECL, 0, void_type_node); in coro_build_actor_or_destroy_function() local
4100 DECL_CONTEXT (resdecl) = fn; in coro_build_actor_or_destroy_function()
4101 DECL_ARTIFICIAL (resdecl) = 1; in coro_build_actor_or_destroy_function()
4102 DECL_IGNORED_P (resdecl) = 1; in coro_build_actor_or_destroy_function()
4103 DECL_RESULT (fn) = resdecl; in coro_build_actor_or_destroy_function()
H A Ddecl.c16305 tree resdecl; in start_preparsed_function() local
16307 resdecl = build_decl (input_location, RESULT_DECL, 0, restype); in start_preparsed_function()
16308 DECL_ARTIFICIAL (resdecl) = 1; in start_preparsed_function()
16309 DECL_IGNORED_P (resdecl) = 1; in start_preparsed_function()
16310 DECL_RESULT (decl1) = resdecl; in start_preparsed_function()
16312 cp_apply_type_quals_to_decl (cp_type_quals (restype), resdecl); in start_preparsed_function()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c/
H A Dc-decl.c9123 tree restype, resdecl; in start_function() local
9339 resdecl = build_decl (loc, RESULT_DECL, NULL_TREE, restype); in start_function()
9340 DECL_ARTIFICIAL (resdecl) = 1; in start_function()
9341 DECL_IGNORED_P (resdecl) = 1; in start_function()
9342 DECL_RESULT (current_function_decl) = resdecl; in start_function()
/netbsd-src/external/gpl3/gcc/dist/gcc/c/
H A Dc-decl.cc9506 tree restype, resdecl; in start_function() local
9734 resdecl = build_decl (loc, RESULT_DECL, NULL_TREE, restype); in start_function()
9735 DECL_ARTIFICIAL (resdecl) = 1; in start_function()
9736 DECL_IGNORED_P (resdecl) = 1; in start_function()
9737 DECL_RESULT (current_function_decl) = resdecl; in start_function()