Searched refs:old_decl (Results 1 - 22 of 22) sorted by relevance

/netbsd-current/external/gpl3/gcc/dist/gcc/
H A Dcgraphclones.cc584 tree old_decl = decl; local
599 new_decl = copy_node (old_decl);
601 new_decl = param_adjustments->adjust_decl (old_decl);
605 gcc_assert (new_decl != old_decl);
614 len = IDENTIFIER_LENGTH (DECL_NAME (old_decl));
616 memcpy (name, IDENTIFIER_POINTER (DECL_NAME (old_decl)), len);
621 clone_function_name (old_decl, suffix, num_suffix));
641 if ((TREE_PUBLIC (old_decl)
642 && !DECL_EXTERNAL (old_decl)
643 && !DECL_WEAK (old_decl)
1015 tree old_decl = decl; local
[all...]
H A Dtree-inline.cc5357 tree old_decl = (is_gimple_call (old_stmt)
5359 if (old_decl && fndecl_built_in_p (old_decl))
5373 old_decl, NULL);
5384 cgraph_update_edges_for_call_stmt (old_stmt, old_decl,
5417 cgraph_update_edges_for_call_stmt (old_stmt, old_decl,
6169 tree_function_versioning (tree old_decl, tree new_decl,
6191 gcc_assert (TREE_CODE (old_decl) == FUNCTION_DECL
6193 DECL_POSSIBLY_INLINED (old_decl) = 1;
6195 old_version_node = cgraph_node::get (old_decl);
5356 tree old_decl = (is_gimple_call (old_stmt) local
6168 tree_function_versioning(tree old_decl, tree new_decl, vec<ipa_replace_map *, va_gc> *tree_map, ipa_param_adjustments *param_adjustments, bool update_clones, bitmap blocks_to_copy, basic_block new_entry) argument
[all...]
H A Dipa-param-manipulation.h333 tree get_replacement_ssa_base (tree old_decl);
H A Dipa-param-manipulation.cc867 tree old_decl = gimple_call_fndecl (stmt); local
868 if (MAY_HAVE_DEBUG_BIND_STMTS && old_decl && callee_decl)
879 for (tree old_parm = DECL_ARGUMENTS (old_decl);
1665 ipa_param_body_adjustments::get_replacement_ssa_base (tree old_decl) argument
1667 unsigned *idx = m_removed_map.get (old_decl);
1674 gcc_assert (m_removed_decls[*idx] == old_decl);
1675 repl = copy_var_decl (old_decl, DECL_NAME (old_decl),
1676 TREE_TYPE (old_decl));
H A Dtrans-mem.cc4928 tree old_decl, new_decl, tm_name;
4934 old_decl = node->decl;
4935 tm_name = tm_mangle (DECL_ASSEMBLER_NAME (old_decl));
4936 new_decl = build_decl (DECL_SOURCE_LOCATION (old_decl),
4937 TREE_CODE (old_decl), tm_name,
4938 TREE_TYPE (old_decl));
4944 TREE_PUBLIC (new_decl) = TREE_PUBLIC (old_decl);
4945 DECL_CONTEXT (new_decl) = DECL_CONTEXT (old_decl);
4946 DECL_LANG_SPECIFIC (new_decl) = DECL_LANG_SPECIFIC (old_decl);
4947 TREE_READONLY (new_decl) = TREE_READONLY (old_decl);
4917 tree old_decl, new_decl, tm_name; local
4971 tree new_decl, old_decl, tm_name; local
[all...]
H A Domp-simd-clone.cc450 tree old_decl = old_node->decl; local
452 DECL_NAME (new_decl) = clone_function_name_numbered (old_decl,
1008 tree old_decl = SSA_NAME_VAR (name); local
1011 tree repl = adjustments->lookup_replacement (old_decl, 0);
1014 set_ssa_default_def (cfun, old_decl, NULL_TREE);
H A Dcgraph.cc1697 cgraph_update_edges_for_call_stmt (gimple *old_stmt, tree old_decl, argument
1704 cgraph_update_edges_for_call_stmt_node (orig, old_stmt, old_decl, new_stmt);
1708 cgraph_update_edges_for_call_stmt_node (node, old_stmt, old_decl,
/netbsd-current/external/gpl3/gcc.old/dist/gcc/
H A Dcgraphclones.c583 tree old_decl = decl; variable
598 new_decl = copy_node (old_decl);
600 new_decl = param_adjustments->adjust_decl (old_decl);
604 gcc_assert (new_decl != old_decl);
613 len = IDENTIFIER_LENGTH (DECL_NAME (old_decl));
615 memcpy (name, IDENTIFIER_POINTER (DECL_NAME (old_decl)), len);
620 clone_function_name (old_decl, suffix, num_suffix));
639 if ((TREE_PUBLIC (old_decl)
640 && !DECL_EXTERNAL (old_decl)
641 && !DECL_WEAK (old_decl)
1000 tree old_decl = decl; variable
[all...]
H A Dtree-inline.c5327 tree old_decl = (is_gimple_call (old_stmt)
5329 if (old_decl && fndecl_built_in_p (old_decl))
5343 old_decl, NULL);
5354 cgraph_update_edges_for_call_stmt (old_stmt, old_decl,
5387 cgraph_update_edges_for_call_stmt (old_stmt, old_decl,
6192 tree_function_versioning (tree old_decl, tree new_decl,
6208 gcc_assert (TREE_CODE (old_decl) == FUNCTION_DECL
6210 DECL_POSSIBLY_INLINED (old_decl) = 1;
6212 old_version_node = cgraph_node::get (old_decl);
5326 tree old_decl = (is_gimple_call (old_stmt) local
6191 tree_function_versioning(tree old_decl, tree new_decl, vec<ipa_replace_map *, va_gc> *tree_map, ipa_param_adjustments *param_adjustments, bool update_clones, bitmap blocks_to_copy, basic_block new_entry) argument
[all...]
H A Dipa-param-manipulation.h354 tree get_replacement_ssa_base (tree old_decl);
H A Dipa-param-manipulation.c577 tree old_decl = gimple_call_fndecl (stmt); local
779 if (MAY_HAVE_DEBUG_BIND_STMTS && old_decl && callee_decl)
783 for (tree old_parm = DECL_ARGUMENTS (old_decl);
1337 ipa_param_body_adjustments::get_replacement_ssa_base (tree old_decl) argument
1339 unsigned *idx = m_removed_map.get (old_decl);
1346 gcc_assert (m_removed_decls[*idx] == old_decl);
1347 repl = copy_var_decl (old_decl, DECL_NAME (old_decl),
1348 TREE_TYPE (old_decl));
H A Dtrans-mem.c4927 tree old_decl, new_decl, tm_name;
4933 old_decl = node->decl;
4934 tm_name = tm_mangle (DECL_ASSEMBLER_NAME (old_decl));
4935 new_decl = build_decl (DECL_SOURCE_LOCATION (old_decl),
4936 TREE_CODE (old_decl), tm_name,
4937 TREE_TYPE (old_decl));
4943 TREE_PUBLIC (new_decl) = TREE_PUBLIC (old_decl);
4944 DECL_CONTEXT (new_decl) = DECL_CONTEXT (old_decl);
4945 DECL_LANG_SPECIFIC (new_decl) = DECL_LANG_SPECIFIC (old_decl);
4946 TREE_READONLY (new_decl) = TREE_READONLY (old_decl);
[all...]
H A Domp-simd-clone.c448 tree old_decl = old_node->decl; local
450 DECL_NAME (new_decl) = clone_function_name_numbered (old_decl,
998 tree old_decl = SSA_NAME_VAR (name); local
1001 tree repl = adjustments->lookup_replacement (old_decl, 0);
1004 set_ssa_default_def (cfun, old_decl, NULL_TREE);
H A Dcgraph.c1694 cgraph_update_edges_for_call_stmt (gimple *old_stmt, tree old_decl, argument
1701 cgraph_update_edges_for_call_stmt_node (orig, old_stmt, old_decl, new_stmt);
1705 cgraph_update_edges_for_call_stmt_node (node, old_stmt, old_decl, new_stmt);
/netbsd-current/external/gpl3/gcc/dist/gcc/c/
H A Dc-decl.cc3040 tree old_decl = b->decl;
3042 if (old_decl == error_mark_node)
3051 if (TREE_CODE (old_decl) == PARM_DECL)
3058 (old_decl) are compatible. */
3061 else if (comptypes (TREE_TYPE (old_decl), TREE_TYPE (new_decl)))
3069 else if (DECL_FILE_SCOPE_P (old_decl))
3073 if (TREE_CODE (old_decl) == FUNCTION_DECL
3083 else if (TREE_CODE (old_decl) == FUNCTION_DECL
3084 && fndecl_built_in_p (old_decl))
3097 (old_decl) ar
3026 tree old_decl = b->decl; local
9490 tree decl1, old_decl; local
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/gcc/c/
H A Dc-decl.c2999 tree old_decl = b->decl;
3001 if (old_decl == error_mark_node)
3010 if (TREE_CODE (old_decl) == PARM_DECL)
3017 (old_decl) are compatible. */
3020 else if (comptypes (TREE_TYPE (old_decl), TREE_TYPE (new_decl)))
3028 else if (DECL_FILE_SCOPE_P (old_decl))
3032 if (TREE_CODE (old_decl) == FUNCTION_DECL
3042 else if (TREE_CODE (old_decl) == FUNCTION_DECL
3043 && fndecl_built_in_p (old_decl))
3056 (old_decl) ar
2985 tree old_decl = b->decl; local
9122 tree decl1, old_decl; local
[all...]
/netbsd-current/external/gpl3/gcc/dist/gcc/cp/
H A Ddecl.cc1228 tree old_decl)
1231 tree old_exceptions = TYPE_RAISES_EXCEPTIONS (TREE_TYPE (old_decl));
1238 if (!type_dependent_expression_p (old_decl))
1241 maybe_instantiate_noexcept (old_decl);
1244 old_exceptions = TYPE_RAISES_EXCEPTIONS (TREE_TYPE (old_decl));
1252 if (!DECL_IS_UNDECLARED_BUILTIN (old_decl)
1261 if (DECL_IN_SYSTEM_HEADER (old_decl))
1270 inform (DECL_SOURCE_LOCATION (old_decl),
1271 "from previous declaration %qF", old_decl);
1279 validate_constexpr_redeclaration (tree old_decl, tre
1222 check_redeclaration_exception_specification(tree new_decl, tree old_decl) argument
1266 "from previous declaration %qF", old_decl); local
1274 validate_constexpr_redeclaration(tree old_decl, tree new_decl) argument
1323 "previous declaration %qD", old_decl); local
10539 tree old_decl = check_classfn (ctype, decl, local
10576 "%q#D explicitly defaulted here", old_decl); local
[all...]
H A Dname-lookup.cc5435 tree old_decl = NULL_TREE;
5450 old_decl = binding->type;
5457 old_decl = bval;
5481 old_decl = bval;
5490 old_decl = bval;
5492 if (old_decl && binding->scope == class_binding_level)
5432 tree old_decl = NULL_TREE; local
H A Dpt.cc11334 tree old_decl;
11362 old_decl = pushdecl_namespace_level (new_friend, /*hiding=*/true);
11365 if (old_decl == error_mark_node)
11368 if (old_decl != new_friend)
11380 old_decl will be the out-of-class template declaration,
11418 DECL_TEMPLATE_INFO (old_decl) = new_friend_template_info;
11420 if (TREE_CODE (old_decl) != TEMPLATE_DECL)
11426 == old_decl);
11429 if (DECL_ODR_USED (old_decl))
11430 instantiate_decl (old_decl, /*defer_o
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/gcc/cp/
H A Ddecl.c1176 tree old_decl)
1179 tree old_exceptions = TYPE_RAISES_EXCEPTIONS (TREE_TYPE (old_decl));
1186 if (!type_dependent_expression_p (old_decl))
1189 maybe_instantiate_noexcept (old_decl);
1192 old_exceptions = TYPE_RAISES_EXCEPTIONS (TREE_TYPE (old_decl));
1200 if (! DECL_IS_BUILTIN (old_decl)
1208 if (DECL_IN_SYSTEM_HEADER (old_decl))
1217 inform (DECL_SOURCE_LOCATION (old_decl),
1218 "from previous declaration %qF", old_decl);
1226 validate_constexpr_redeclaration (tree old_decl, tre
1170 check_redeclaration_exception_specification(tree new_decl, tree old_decl) argument
1213 "from previous declaration %qF", old_decl); local
1221 validate_constexpr_redeclaration(tree old_decl, tree new_decl) argument
1264 "previous declaration %qD", old_decl); local
9911 tree old_decl = check_classfn (ctype, decl, local
9948 "%q#D explicitly defaulted here", old_decl); local
[all...]
H A Dname-lookup.c4516 tree old_decl = NULL_TREE;
4531 old_decl = binding->type;
4538 old_decl = bval;
4560 old_decl = bval;
4566 old_decl = bval;
4568 if (old_decl && binding->scope == class_binding_level)
4512 tree old_decl = NULL_TREE; local
H A Dpt.c10980 tree old_decl;
11010 old_decl = pushdecl_namespace_level (new_friend, /*is_friend=*/true);
11013 if (old_decl == error_mark_node)
11016 if (old_decl != new_friend)
11028 old_decl will be the out-of-class template declaration,
11066 DECL_TEMPLATE_INFO (old_decl) = new_friend_template_info;
11068 if (TREE_CODE (old_decl) != TEMPLATE_DECL)
11074 == old_decl);
11077 if (DECL_ODR_USED (old_decl))
11078 instantiate_decl (old_decl, /*defer_o
10979 tree old_decl; local
[all...]

Completed in 439 milliseconds