Home
last modified time | relevance | path

Searched refs:old_decl (Results 1 – 21 of 21) sorted by relevance

/dragonfly/contrib/gcc-8.0/gcc/
H A Dcgraphclones.c555 tree old_decl = decl; in create_virtual_clone() local
567 new_decl = copy_node (old_decl); in create_virtual_clone()
605 if ((TREE_PUBLIC (old_decl) in create_virtual_clone()
606 && !DECL_EXTERNAL (old_decl) in create_virtual_clone()
607 && !DECL_WEAK (old_decl) in create_virtual_clone()
608 && !DECL_COMDAT (old_decl)) in create_virtual_clone()
955 tree old_decl = decl; in create_version_clone_with_body() local
1018 if ((TREE_PUBLIC (old_decl) in create_version_clone_with_body()
1019 && !DECL_EXTERNAL (old_decl) in create_version_clone_with_body()
1020 && !DECL_WEAK (old_decl) in create_version_clone_with_body()
[all …]
H A Dtree-inline.c4998 if (old_decl && DECL_BUILT_IN (old_decl)) in fold_marked_statements()
5012 old_decl, NULL); in fold_marked_statements()
5869 DECL_POSSIBLY_INLINED (old_decl) = 1; in tree_function_versioning()
5877 if (DECL_HAS_DEBUG_ARGS_P (old_decl)) in tree_function_versioning()
5898 if (DECL_ORIGIN (old_decl) == old_decl) in tree_function_versioning()
5910 id.src_fn = old_decl; in tree_function_versioning()
5926 (DECL_STRUCT_FUNCTION (old_decl)); in tree_function_versioning()
5929 initialize_cfun (new_decl, old_decl, in tree_function_versioning()
5956 for (parm = DECL_ARGUMENTS (old_decl); p; in tree_function_versioning()
6027 if (DECL_ARGUMENTS (old_decl) != NULL_TREE) in tree_function_versioning()
[all …]
H A Dtrans-mem.c4930 tree old_decl, new_decl, tm_name; in ipa_tm_create_version_alias() local
4936 old_decl = node->decl; in ipa_tm_create_version_alias()
4939 TREE_CODE (old_decl), tm_name, in ipa_tm_create_version_alias()
4940 TREE_TYPE (old_decl)); in ipa_tm_create_version_alias()
4946 TREE_PUBLIC (new_decl) = TREE_PUBLIC (old_decl); in ipa_tm_create_version_alias()
4968 record_tm_clone_pair (old_decl, new_decl); in ipa_tm_create_version_alias()
4984 tree new_decl, old_decl, tm_name; in ipa_tm_create_version() local
4987 old_decl = old_node->decl; in ipa_tm_create_version()
4988 new_decl = copy_node (old_decl); in ipa_tm_create_version()
5001 (tm_mangle (DECL_COMDAT_GROUP (old_decl))); in ipa_tm_create_version()
[all …]
H A Dcgraph.c1445 tree old_decl = gimple_call_fndecl (e->call_stmt); in redirect_call_stmt_to_callee() local
1446 if (debug_args && old_decl) in redirect_call_stmt_to_callee()
1452 for (parm = DECL_ARGUMENTS (old_decl), num = 0; in redirect_call_stmt_to_callee()
1655 cgraph_update_edges_for_call_stmt (gimple *old_stmt, tree old_decl, in cgraph_update_edges_for_call_stmt() argument
1662 cgraph_update_edges_for_call_stmt_node (orig, old_stmt, old_decl, new_stmt); in cgraph_update_edges_for_call_stmt()
1666 cgraph_update_edges_for_call_stmt_node (node, old_stmt, old_decl, new_stmt); in cgraph_update_edges_for_call_stmt()
H A Domp-simd-clone.c449 tree old_decl = old_node->decl; in simd_clone_create() local
451 DECL_NAME (new_decl) = clone_function_name (old_decl, "simdclone"); in simd_clone_create()
H A Dtree-sra.c5297 convert_callers (struct cgraph_node *node, tree old_decl, in convert_callers() argument
5320 if (call_fndecl == old_decl) in convert_callers()
/dragonfly/contrib/gcc-4.7/gcc/
H A Dtree-inline.c4156 if (old_decl && DECL_BUILT_IN (old_decl)) in fold_marked_statements()
4170 old_decl, NULL); in fold_marked_statements()
5100 DECL_POSSIBLY_INLINED (old_decl) = 1; in tree_function_versioning()
5102 old_version_node = cgraph_get_node (old_decl); in tree_function_versioning()
5108 if (DECL_HAS_DEBUG_ARGS_P (old_decl)) in tree_function_versioning()
5139 id.src_fn = old_decl; in tree_function_versioning()
5143 id.src_cfun = DECL_STRUCT_FUNCTION (old_decl); in tree_function_versioning()
5167 (DECL_STRUCT_FUNCTION (old_decl)); in tree_function_versioning()
5168 initialize_cfun (new_decl, old_decl, in tree_function_versioning()
5223 if (DECL_ARGUMENTS (old_decl) != NULL_TREE) in tree_function_versioning()
[all …]
H A Dtrans-mem.c4285 tree old_decl, new_decl, tm_name; in ipa_tm_create_version_alias() local
4291 old_decl = node->decl; in ipa_tm_create_version_alias()
4294 TREE_CODE (old_decl), tm_name, in ipa_tm_create_version_alias()
4295 TREE_TYPE (old_decl)); in ipa_tm_create_version_alias()
4301 TREE_PUBLIC (new_decl) = TREE_PUBLIC (old_decl); in ipa_tm_create_version_alias()
4302 DECL_CONTEXT (new_decl) = DECL_CONTEXT (old_decl); in ipa_tm_create_version_alias()
4321 record_tm_clone_pair (old_decl, new_decl); in ipa_tm_create_version_alias()
4335 tree new_decl, old_decl, tm_name; in ipa_tm_create_version() local
4338 old_decl = old_node->decl; in ipa_tm_create_version()
4339 new_decl = copy_node (old_decl); in ipa_tm_create_version()
[all …]
H A Dcgraph.c1276 cgraph_update_edges_for_call_stmt (gimple old_stmt, tree old_decl, gimple new_stmt) in cgraph_update_edges_for_call_stmt() argument
1282 cgraph_update_edges_for_call_stmt_node (orig, old_stmt, old_decl, new_stmt); in cgraph_update_edges_for_call_stmt()
1286 cgraph_update_edges_for_call_stmt_node (node, old_stmt, old_decl, new_stmt); in cgraph_update_edges_for_call_stmt()
1364 tree old_decl = current_function_decl; in cgraph_release_function_body() local
1372 current_function_decl = old_decl; in cgraph_release_function_body()
2234 tree old_decl = old_node->decl; in cgraph_create_virtual_clone() local
2241 gcc_checking_assert (tree_versionable_function_p (old_decl)); in cgraph_create_virtual_clone()
2247 new_decl = copy_node (old_decl); in cgraph_create_virtual_clone()
2249 new_decl = build_function_decl_skip_args (old_decl, args_to_skip, false); in cgraph_create_virtual_clone()
2253 DECL_NAME (new_decl) = clone_function_name (old_decl, suffix); in cgraph_create_virtual_clone()
[all …]
H A Dc-decl.c2542 tree old_decl = b->decl; in warn_if_shadowing() local
2557 && DECL_BUILT_IN (old_decl)) in warn_if_shadowing()
7687 tree decl1, old_decl; in start_function() local
7760 if (old_decl && TREE_CODE (old_decl) != FUNCTION_DECL) in start_function()
7761 old_decl = 0; in start_function()
7767 if (old_decl != 0 && TREE_CODE (TREE_TYPE (old_decl)) == FUNCTION_TYPE in start_function()
7829 && old_decl != 0 in start_function()
7831 && TREE_USED (old_decl) in start_function()
7838 && old_decl == 0 in start_function()
7846 && old_decl != 0 in start_function()
[all …]
H A Dcgraphunit.c2374 tree old_decl = old_version_node->decl; in cgraph_function_versioning() local
2378 if (!tree_versionable_function_p (old_decl)) in cgraph_function_versioning()
2385 new_decl = copy_node (old_decl); in cgraph_function_versioning()
2388 = build_function_decl_skip_args (old_decl, args_to_skip, skip_return); in cgraph_function_versioning()
2391 DECL_NAME (new_decl) = clone_function_name (old_decl, clone_name); in cgraph_function_versioning()
2406 tree_function_versioning (old_decl, new_decl, tree_map, false, args_to_skip, in cgraph_function_versioning()
H A Dipa-pure-const.c728 tree old_decl = current_function_decl; in analyze_function() local
824 current_function_decl = old_decl; in analyze_function()
H A Dipa-inline-analysis.c2072 tree old_decl = current_function_decl; in compute_inline_parameters() local
2141 current_function_decl = old_decl; in compute_inline_parameters()
H A Dtree-sra.c4729 convert_callers (struct cgraph_node *node, tree old_decl, in convert_callers() argument
4754 if (call_fndecl == old_decl) in convert_callers()
/dragonfly/contrib/gcc-8.0/gcc/c/
H A Dc-decl.c2770 tree old_decl = b->decl; in warn_if_shadowing() local
2812 && DECL_BUILT_IN (old_decl)) in warn_if_shadowing()
8703 tree decl1, old_decl; in start_function() local
8778 if (old_decl && TREE_CODE (old_decl) != FUNCTION_DECL) in start_function()
8779 old_decl = NULL_TREE; in start_function()
8785 if (old_decl != NULL_TREE in start_function()
8855 && old_decl != NULL_TREE in start_function()
8857 && TREE_USED (old_decl) in start_function()
8864 && old_decl == NULL_TREE in start_function()
8873 && old_decl != NULL_TREE in start_function()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/cp/
H A Ddecl.c1225 tree old_decl) in check_redeclaration_exception_specification() argument
1249 if (! DECL_IS_BUILTIN (old_decl) in check_redeclaration_exception_specification()
1276 old_decl = STRIP_TEMPLATE (old_decl); in validate_constexpr_redeclaration()
1278 if (!VAR_OR_FUNCTION_DECL_P (old_decl) in validate_constexpr_redeclaration()
1286 if (DECL_BUILT_IN (old_decl)) in validate_constexpr_redeclaration()
1289 DECL_DECLARED_CONSTEXPR_P (old_decl) in validate_constexpr_redeclaration()
9122 if (old_decl == error_mark_node) in grokfndecl()
9125 if (old_decl) in grokfndecl()
9135 old_decl = DECL_TEMPLATE_RESULT (old_decl); in grokfndecl()
9144 if (DECL_ARTIFICIAL (old_decl)) in grokfndecl()
[all …]
H A Dname-lookup.c4677 tree old_decl = NULL_TREE; in push_class_level_binding_1() local
4692 old_decl = binding->type; in push_class_level_binding_1()
4699 old_decl = bval; in push_class_level_binding_1()
4709 old_decl = bval; in push_class_level_binding_1()
4724 old_decl = bval; in push_class_level_binding_1()
4729 if (old_decl && binding->scope == class_binding_level) in push_class_level_binding_1()
H A Dpt.c10341 tree old_decl; in tsubst_friend_function() local
10374 if (old_decl == error_mark_node) in tsubst_friend_function()
10377 if (old_decl != new_friend) in tsubst_friend_function()
10429 if (TREE_CODE (old_decl) != TEMPLATE_DECL) in tsubst_friend_function()
10435 == old_decl); in tsubst_friend_function()
10438 if (DECL_ODR_USED (old_decl)) in tsubst_friend_function()
10439 instantiate_decl (old_decl, /*defer_ok=*/true, in tsubst_friend_function()
10453 gcc_assert (new_template != old_decl); in tsubst_friend_function()
10458 for (t = DECL_TEMPLATE_INSTANTIATIONS (old_decl); in tsubst_friend_function()
10465 elt.tmpl = old_decl; in tsubst_friend_function()
[all …]
/dragonfly/contrib/gcc-4.7/gcc/cp/
H A Ddecl.c1118 tree old_decl) in check_redeclaration_exception_specification() argument
1127 old_type = TREE_TYPE (old_decl); in check_redeclaration_exception_specification()
1137 && ! DECL_IS_BUILTIN (old_decl) in check_redeclaration_exception_specification()
1153 old_decl = STRIP_TEMPLATE (old_decl); in validate_constexpr_redeclaration()
1155 if (!VAR_OR_FUNCTION_DECL_P (old_decl) in validate_constexpr_redeclaration()
1161 if (TREE_CODE (old_decl) == FUNCTION_DECL && DECL_BUILT_IN (old_decl)) in validate_constexpr_redeclaration()
7484 if (old_decl == error_mark_node) in grokfndecl()
7487 if (old_decl) in grokfndecl()
7497 old_decl = DECL_TEMPLATE_RESULT (old_decl); in grokfndecl()
7506 if (DECL_ARTIFICIAL (old_decl)) in grokfndecl()
[all …]
H A Dname-lookup.c3105 tree old_decl = NULL_TREE; in push_class_level_binding_1() local
3120 old_decl = binding->type; in push_class_level_binding_1()
3127 old_decl = bval; in push_class_level_binding_1()
3137 old_decl = bval; in push_class_level_binding_1()
3152 old_decl = bval; in push_class_level_binding_1()
3157 if (old_decl && binding->scope == class_binding_level) in push_class_level_binding_1()
H A Dpt.c7975 tree old_decl; in tsubst_friend_function() local
8012 if (old_decl == error_mark_node) in tsubst_friend_function()
8015 if (old_decl != new_friend) in tsubst_friend_function()
8067 if (TREE_CODE (old_decl) != TEMPLATE_DECL) in tsubst_friend_function()
8073 == old_decl); in tsubst_friend_function()
8076 if (DECL_ODR_USED (old_decl)) in tsubst_friend_function()
8077 instantiate_decl (old_decl, /*defer_ok=*/true, in tsubst_friend_function()
8091 gcc_assert (new_template != old_decl); in tsubst_friend_function()
8096 for (t = DECL_TEMPLATE_INSTANTIATIONS (old_decl); in tsubst_friend_function()
8103 elt.tmpl = old_decl; in tsubst_friend_function()
[all …]