| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | cgraphclones.cc | 205 tree new_decl; in duplicate_thunk_for_node() local 215 new_decl = copy_node (thunk->decl); in duplicate_thunk_for_node() 217 new_decl); in duplicate_thunk_for_node() 222 new_decl = copy_node (thunk->decl); in duplicate_thunk_for_node() 223 for (tree *arg = &DECL_ARGUMENTS (new_decl); in duplicate_thunk_for_node() 228 DECL_CONTEXT (*arg) = new_decl; in duplicate_thunk_for_node() 233 gcc_checking_assert (!DECL_STRUCT_FUNCTION (new_decl)); in duplicate_thunk_for_node() 234 gcc_checking_assert (!DECL_INITIAL (new_decl)); in duplicate_thunk_for_node() 235 gcc_checking_assert (!DECL_RESULT (new_decl)); in duplicate_thunk_for_node() 236 gcc_checking_assert (!DECL_RTL_SET_P (new_decl)); in duplicate_thunk_for_node() [all …]
|
| H A D | symtab.cc | 2044 tree new_decl; in noninterposable_alias() local 2063 new_decl = copy_node (node->decl); in noninterposable_alias() 2064 DECL_DLLIMPORT_P (new_decl) = 0; in noninterposable_alias() 2075 DECL_NAME (new_decl) = name; in noninterposable_alias() 2076 if (TREE_CODE (new_decl) == FUNCTION_DECL) in noninterposable_alias() 2077 DECL_STRUCT_FUNCTION (new_decl) = NULL; in noninterposable_alias() 2078 DECL_INITIAL (new_decl) = NULL; in noninterposable_alias() 2079 SET_DECL_ASSEMBLER_NAME (new_decl, DECL_NAME (new_decl)); in noninterposable_alias() 2080 SET_DECL_RTL (new_decl, NULL); in noninterposable_alias() 2083 DECL_EXTERNAL (new_decl) = 0; in noninterposable_alias() [all …]
|
| H A D | tree-nested.cc | 1047 tree new_decl in get_debug_decl() local 1050 DECL_ARTIFICIAL (new_decl) = DECL_ARTIFICIAL (decl); in get_debug_decl() 1051 DECL_IGNORED_P (new_decl) = DECL_IGNORED_P (decl); in get_debug_decl() 1052 TREE_THIS_VOLATILE (new_decl) = TREE_THIS_VOLATILE (decl); in get_debug_decl() 1053 TREE_SIDE_EFFECTS (new_decl) = TREE_SIDE_EFFECTS (decl); in get_debug_decl() 1054 TREE_READONLY (new_decl) = TREE_READONLY (decl); in get_debug_decl() 1055 TREE_ADDRESSABLE (new_decl) = TREE_ADDRESSABLE (decl); in get_debug_decl() 1056 DECL_SEEN_IN_BIND_EXPR_P (new_decl) = 1; in get_debug_decl() 1061 DECL_BY_REFERENCE (new_decl) = 1; in get_debug_decl() 1064 DECL_LANG_SPECIFIC (new_decl) = DECL_LANG_SPECIFIC (decl); in get_debug_decl() [all …]
|
| H A D | tree-inline.cc | 1044 tree new_decl; in remap_gimple_op_r() local 1047 new_decl = remap_decl (*tp, id); in remap_gimple_op_r() 1048 gcc_assert (new_decl); in remap_gimple_op_r() 1050 STRIP_TYPE_NOPS (new_decl); in remap_gimple_op_r() 1055 if (TREE_CODE (new_decl) == INTEGER_CST in remap_gimple_op_r() 1056 && !useless_type_conversion_p (TREE_TYPE (*tp), TREE_TYPE (new_decl))) in remap_gimple_op_r() 1057 new_decl = fold_convert (TREE_TYPE (*tp), new_decl); in remap_gimple_op_r() 1058 *tp = new_decl; in remap_gimple_op_r() 1240 tree new_decl; in copy_tree_body_r() local 1243 new_decl = remap_decl (*tp, id); in copy_tree_body_r() [all …]
|
| H A D | trans-mem.cc | 4906 tree new_decl; member 4917 tree old_decl, new_decl, tm_name; in ipa_tm_create_version_alias() local 4925 new_decl = build_decl (DECL_SOURCE_LOCATION (old_decl), in ipa_tm_create_version_alias() 4929 SET_DECL_ASSEMBLER_NAME (new_decl, tm_name); in ipa_tm_create_version_alias() 4930 SET_DECL_RTL (new_decl, NULL); in ipa_tm_create_version_alias() 4933 TREE_PUBLIC (new_decl) = TREE_PUBLIC (old_decl); in ipa_tm_create_version_alias() 4934 DECL_CONTEXT (new_decl) = DECL_CONTEXT (old_decl); in ipa_tm_create_version_alias() 4935 DECL_LANG_SPECIFIC (new_decl) = DECL_LANG_SPECIFIC (old_decl); in ipa_tm_create_version_alias() 4936 TREE_READONLY (new_decl) = TREE_READONLY (old_decl); in ipa_tm_create_version_alias() 4937 DECL_EXTERNAL (new_decl) = 0; in ipa_tm_create_version_alias() [all …]
|
| H A D | ipa-param-manipulation.cc | 567 tree new_decl = copy_node (orig_decl); in adjust_decl() local 573 TREE_TYPE (new_decl) = new_type; in adjust_decl() 576 DECL_VINDEX (new_decl) = NULL_TREE; in adjust_decl() 579 if (fndecl_built_in_p (new_decl)) in adjust_decl() 580 set_decl_built_in_function (new_decl, NOT_BUILT_IN, 0); in adjust_decl() 582 DECL_VIRTUAL_P (new_decl) = 0; in adjust_decl() 583 DECL_LANG_SPECIFIC (new_decl) = NULL; in adjust_decl() 587 DECL_IS_MALLOC (new_decl) = 0; in adjust_decl() 589 return new_decl; in adjust_decl() 1584 tree new_decl = m_new_decls[i]; in get_new_param_chain() local [all …]
|
| H A D | multiple_target.cc | 296 tree new_decl = copy_node (node->decl); in create_target_clone() local 297 new_node = cgraph_node::get_create (new_decl); in create_target_clone() 298 DECL_ATTRIBUTES (new_decl) = attributes; in create_target_clone()
|
| H A D | langhooks.cc | 777 tree new_decl = lang_hooks.simulate_builtin_function_decl (decl); in simulate_builtin_function_decl() local 784 if (TREE_CODE (new_decl) == FUNCTION_DECL in simulate_builtin_function_decl() 785 && fndecl_built_in_p (new_decl, function_code, BUILT_IN_MD)) in simulate_builtin_function_decl() 786 return new_decl; in simulate_builtin_function_decl()
|
| H A D | cgraphunit.cc | 787 tree new_decl = copy_node (n->decl); in process_symver_attribute() local 789 DECL_INITIAL (new_decl) = NULL_TREE; in process_symver_attribute() 790 if (TREE_CODE (new_decl) == FUNCTION_DECL) in process_symver_attribute() 791 DECL_STRUCT_FUNCTION (new_decl) = NULL; in process_symver_attribute() 792 SET_DECL_ASSEMBLER_NAME (new_decl, symver); in process_symver_attribute() 793 TREE_PUBLIC (new_decl) = 1; in process_symver_attribute() 794 DECL_ATTRIBUTES (new_decl) = NULL; in process_symver_attribute() 796 symtab_node *symver_node = symtab_node::get_create (new_decl); in process_symver_attribute()
|
| H A D | omp-simd-clone.cc | 451 tree new_decl = copy_node (old_node->decl); in simd_clone_create() local 452 DECL_NAME (new_decl) = clone_function_name_numbered (old_decl, in simd_clone_create() 454 SET_DECL_ASSEMBLER_NAME (new_decl, DECL_NAME (new_decl)); in simd_clone_create() 455 SET_DECL_RTL (new_decl, NULL); in simd_clone_create() 456 DECL_STATIC_CONSTRUCTOR (new_decl) = 0; in simd_clone_create() 457 DECL_STATIC_DESTRUCTOR (new_decl) = 0; in simd_clone_create() 458 new_node = old_node->create_version_clone (new_decl, vNULL, NULL); in simd_clone_create()
|
| H A D | omp-offload.cc | 1859 tree *new_decl = info->adjusted_vars->get (*base); in oacc_rewrite_var_decl() local 1860 if (!new_decl) in oacc_rewrite_var_decl() 1863 int base_quals = TYPE_QUALS (TREE_TYPE (*new_decl)); in oacc_rewrite_var_decl() 1887 *base = *new_decl; in oacc_rewrite_var_decl() 1892 tree *new_decl = info->adjusted_vars->get (*tp); in oacc_rewrite_var_decl() local 1893 if (new_decl) in oacc_rewrite_var_decl() 1895 *tp = *new_decl; in oacc_rewrite_var_decl()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | cgraphclones.c | 202 tree new_decl; in duplicate_thunk_for_node() local 211 new_decl = copy_node (thunk->decl); in duplicate_thunk_for_node() 213 new_decl); in duplicate_thunk_for_node() 218 new_decl = copy_node (thunk->decl); in duplicate_thunk_for_node() 219 for (tree *arg = &DECL_ARGUMENTS (new_decl); in duplicate_thunk_for_node() 224 DECL_CONTEXT (*arg) = new_decl; in duplicate_thunk_for_node() 229 gcc_checking_assert (!DECL_STRUCT_FUNCTION (new_decl)); in duplicate_thunk_for_node() 230 gcc_checking_assert (!DECL_INITIAL (new_decl)); in duplicate_thunk_for_node() 231 gcc_checking_assert (!DECL_RESULT (new_decl)); in duplicate_thunk_for_node() 232 gcc_checking_assert (!DECL_RTL_SET_P (new_decl)); in duplicate_thunk_for_node() [all …]
|
| H A D | symtab.c | 1871 tree new_decl; in noninterposable_alias() local 1888 new_decl = copy_node (node->decl); in noninterposable_alias() 1889 DECL_DLLIMPORT_P (new_decl) = 0; in noninterposable_alias() 1900 DECL_NAME (new_decl) = name; in noninterposable_alias() 1901 if (TREE_CODE (new_decl) == FUNCTION_DECL) in noninterposable_alias() 1902 DECL_STRUCT_FUNCTION (new_decl) = NULL; in noninterposable_alias() 1903 DECL_INITIAL (new_decl) = NULL; in noninterposable_alias() 1904 SET_DECL_ASSEMBLER_NAME (new_decl, DECL_NAME (new_decl)); in noninterposable_alias() 1905 SET_DECL_RTL (new_decl, NULL); in noninterposable_alias() 1908 DECL_EXTERNAL (new_decl) = 0; in noninterposable_alias() [all …]
|
| H A D | tree-nested.c | 952 tree x, field, new_decl; in get_nonlocal_debug_decl() local 989 new_decl = build_decl (DECL_SOURCE_LOCATION (decl), in get_nonlocal_debug_decl() 991 DECL_CONTEXT (new_decl) = info->context; in get_nonlocal_debug_decl() 992 DECL_ARTIFICIAL (new_decl) = DECL_ARTIFICIAL (decl); in get_nonlocal_debug_decl() 993 DECL_IGNORED_P (new_decl) = DECL_IGNORED_P (decl); in get_nonlocal_debug_decl() 994 TREE_THIS_VOLATILE (new_decl) = TREE_THIS_VOLATILE (decl); in get_nonlocal_debug_decl() 995 TREE_SIDE_EFFECTS (new_decl) = TREE_SIDE_EFFECTS (decl); in get_nonlocal_debug_decl() 996 TREE_READONLY (new_decl) = TREE_READONLY (decl); in get_nonlocal_debug_decl() 997 TREE_ADDRESSABLE (new_decl) = TREE_ADDRESSABLE (decl); in get_nonlocal_debug_decl() 998 DECL_SEEN_IN_BIND_EXPR_P (new_decl) = 1; in get_nonlocal_debug_decl() [all …]
|
| H A D | tree-inline.c | 1067 tree new_decl; in remap_gimple_op_r() local 1070 new_decl = remap_decl (*tp, id); in remap_gimple_op_r() 1071 gcc_assert (new_decl); in remap_gimple_op_r() 1073 STRIP_TYPE_NOPS (new_decl); in remap_gimple_op_r() 1078 if (TREE_CODE (new_decl) == INTEGER_CST in remap_gimple_op_r() 1079 && !useless_type_conversion_p (TREE_TYPE (*tp), TREE_TYPE (new_decl))) in remap_gimple_op_r() 1080 new_decl = fold_convert (TREE_TYPE (*tp), new_decl); in remap_gimple_op_r() 1081 *tp = new_decl; in remap_gimple_op_r() 1263 tree new_decl; in copy_tree_body_r() local 1266 new_decl = remap_decl (*tp, id); in copy_tree_body_r() [all …]
|
| H A D | trans-mem.c | 4905 tree new_decl; member 4916 tree old_decl, new_decl, tm_name; in ipa_tm_create_version_alias() local 4924 new_decl = build_decl (DECL_SOURCE_LOCATION (old_decl), in ipa_tm_create_version_alias() 4928 SET_DECL_ASSEMBLER_NAME (new_decl, tm_name); in ipa_tm_create_version_alias() 4929 SET_DECL_RTL (new_decl, NULL); in ipa_tm_create_version_alias() 4932 TREE_PUBLIC (new_decl) = TREE_PUBLIC (old_decl); in ipa_tm_create_version_alias() 4933 DECL_CONTEXT (new_decl) = DECL_CONTEXT (old_decl); in ipa_tm_create_version_alias() 4934 DECL_LANG_SPECIFIC (new_decl) = DECL_LANG_SPECIFIC (old_decl); in ipa_tm_create_version_alias() 4935 TREE_READONLY (new_decl) = TREE_READONLY (old_decl); in ipa_tm_create_version_alias() 4936 DECL_EXTERNAL (new_decl) = 0; in ipa_tm_create_version_alias() [all …]
|
| H A D | ipa-param-manipulation.c | 395 tree new_decl = copy_node (orig_decl); in adjust_decl() local 401 TREE_TYPE (new_decl) = new_type; in adjust_decl() 404 DECL_VINDEX (new_decl) = NULL_TREE; in adjust_decl() 407 if (fndecl_built_in_p (new_decl)) in adjust_decl() 408 set_decl_built_in_function (new_decl, NOT_BUILT_IN, 0); in adjust_decl() 410 DECL_VIRTUAL_P (new_decl) = 0; in adjust_decl() 411 DECL_LANG_SPECIFIC (new_decl) = NULL; in adjust_decl() 415 DECL_IS_MALLOC (new_decl) = 0; in adjust_decl() 417 return new_decl; in adjust_decl() 1219 tree new_decl = m_new_decls[i]; in get_new_param_chain() local [all …]
|
| H A D | langhooks.c | 727 tree new_decl = lang_hooks.simulate_builtin_function_decl (decl); in simulate_builtin_function_decl() local 734 if (TREE_CODE (new_decl) == FUNCTION_DECL in simulate_builtin_function_decl() 735 && fndecl_built_in_p (new_decl, function_code, BUILT_IN_MD)) in simulate_builtin_function_decl() 736 return new_decl; in simulate_builtin_function_decl()
|
| H A D | multiple_target.c | 318 tree new_decl = copy_node (node->decl); in create_target_clone() local 319 new_node = cgraph_node::get_create (new_decl); in create_target_clone() 320 DECL_ATTRIBUTES (new_decl) = attributes; in create_target_clone()
|
| H A D | omp-simd-clone.c | 449 tree new_decl = copy_node (old_node->decl); in simd_clone_create() local 450 DECL_NAME (new_decl) = clone_function_name_numbered (old_decl, in simd_clone_create() 452 SET_DECL_ASSEMBLER_NAME (new_decl, DECL_NAME (new_decl)); in simd_clone_create() 453 SET_DECL_RTL (new_decl, NULL); in simd_clone_create() 454 DECL_STATIC_CONSTRUCTOR (new_decl) = 0; in simd_clone_create() 455 DECL_STATIC_DESTRUCTOR (new_decl) = 0; in simd_clone_create() 456 new_node = old_node->create_version_clone (new_decl, vNULL, NULL); in simd_clone_create()
|
| H A D | cgraphunit.c | 781 tree new_decl = copy_node (n->decl); in process_symver_attribute() local 783 DECL_INITIAL (new_decl) = NULL_TREE; in process_symver_attribute() 784 if (TREE_CODE (new_decl) == FUNCTION_DECL) in process_symver_attribute() 785 DECL_STRUCT_FUNCTION (new_decl) = NULL; in process_symver_attribute() 786 SET_DECL_ASSEMBLER_NAME (new_decl, symver); in process_symver_attribute() 787 TREE_PUBLIC (new_decl) = 1; in process_symver_attribute() 788 DECL_ATTRIBUTES (new_decl) = NULL; in process_symver_attribute() 790 symtab_node *symver_node = symtab_node::get_create (new_decl); in process_symver_attribute()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/i386/ |
| H A D | i386-builtins.cc | 2172 tree new_decl; in make_var_decl() local 2174 new_decl = build_decl (UNKNOWN_LOCATION, in make_var_decl() 2179 DECL_EXTERNAL (new_decl) = 1; in make_var_decl() 2180 TREE_STATIC (new_decl) = 1; in make_var_decl() 2181 TREE_PUBLIC (new_decl) = 1; in make_var_decl() 2182 DECL_INITIAL (new_decl) = 0; in make_var_decl() 2183 DECL_ARTIFICIAL (new_decl) = 0; in make_var_decl() 2184 DECL_PRESERVE_P (new_decl) = 1; in make_var_decl() 2186 make_decl_one_only (new_decl, DECL_ASSEMBLER_NAME (new_decl)); in make_var_decl() 2187 assemble_variable (new_decl, 0, 0, 0); in make_var_decl() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/i386/ |
| H A D | i386-builtins.c | 2168 tree new_decl; in make_var_decl() local 2170 new_decl = build_decl (UNKNOWN_LOCATION, in make_var_decl() 2175 DECL_EXTERNAL (new_decl) = 1; in make_var_decl() 2176 TREE_STATIC (new_decl) = 1; in make_var_decl() 2177 TREE_PUBLIC (new_decl) = 1; in make_var_decl() 2178 DECL_INITIAL (new_decl) = 0; in make_var_decl() 2179 DECL_ARTIFICIAL (new_decl) = 0; in make_var_decl() 2180 DECL_PRESERVE_P (new_decl) = 1; in make_var_decl() 2182 make_decl_one_only (new_decl, DECL_ASSEMBLER_NAME (new_decl)); in make_var_decl() 2183 assemble_variable (new_decl, 0, 0, 0); in make_var_decl() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/rs6000/ |
| H A D | rs6000-builtin.cc | 1106 tree new_decl; in rs6000_gimple_fold_mma_builtin() local 1152 new_decl = rs6000_builtin_decls[RS6000_BIF_XXMFACC_INTERNAL]; in rs6000_gimple_fold_mma_builtin() 1153 new_call = gimple_build_call (new_decl, 1, src); in rs6000_gimple_fold_mma_builtin() 1160 new_decl in rs6000_gimple_fold_mma_builtin() 1171 new_call = gimple_build_call (new_decl, 2, src, in rs6000_gimple_fold_mma_builtin() 1219 new_decl = rs6000_builtin_decls[rs6000_builtin_info[fncode].assoc_bif]; in rs6000_gimple_fold_mma_builtin() 1245 new_call = gimple_build_call (new_decl, 0); in rs6000_gimple_fold_mma_builtin() 1248 new_call = gimple_build_call (new_decl, 1, op[0]); in rs6000_gimple_fold_mma_builtin() 1251 new_call = gimple_build_call (new_decl, 2, op[0], op[1]); in rs6000_gimple_fold_mma_builtin() 1254 new_call = gimple_build_call (new_decl, 3, op[0], op[1], op[2]); in rs6000_gimple_fold_mma_builtin() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/c/ |
| H A D | c-decl.c | 2966 warn_if_shadowing (tree new_decl) in warn_if_shadowing() argument 2975 || DECL_IS_BUILTIN (new_decl)) in warn_if_shadowing() 2979 for (b = I_SYMBOL_BINDING (DECL_NAME (new_decl)); b; b = b->shadowed) in warn_if_shadowing() 2980 if (b->decl && b->decl != new_decl && !b->invisible in warn_if_shadowing() 2990 "non-variable", new_decl); in warn_if_shadowing() 3006 else if (comptypes (TREE_TYPE (old_decl), TREE_TYPE (new_decl))) in warn_if_shadowing() 3010 warned = warning_at (DECL_SOURCE_LOCATION (new_decl), warning_code, in warn_if_shadowing() 3012 new_decl); in warn_if_shadowing() 3019 && TREE_CODE (new_decl) != FUNCTION_DECL in warn_if_shadowing() 3020 && !FUNCTION_POINTER_TYPE_P (TREE_TYPE (new_decl))) in warn_if_shadowing() [all …]
|