Home
last modified time | relevance | path

Searched refs:DECL_COMDAT (Results 1 – 25 of 58) sorted by relevance

123

/dflybsd-src/contrib/gcc-8.0/gcc/
H A Dipa-visibility.c230 && DECL_COMDAT (node->decl) in cgraph_externally_visible_p()
308 && DECL_COMDAT (decl) in externally_visible_p()
330 if (DECL_COMDAT (decl) || DECL_WEAK (decl)) in externally_visible_p()
602 if (DECL_COMDAT (node->decl) && !node->alias) in localize_node()
685 if (DECL_COMDAT (node->decl) && !TREE_PUBLIC (node->decl)) in function_and_variable_visibility()
686 DECL_COMDAT (node->decl) = 0; in function_and_variable_visibility()
708 && !DECL_COMDAT (node->decl)) in function_and_variable_visibility()
739 gcc_checking_assert (DECL_COMDAT (node->decl) in function_and_variable_visibility()
740 == DECL_COMDAT (decl_node->decl)); in function_and_variable_visibility()
H A Dsymtab.c872 if (DECL_COMDAT (decl)) in dump_base()
1308 DECL_COMDAT (decl) = 0; in make_decl_local()
1358 DECL_COMDAT (decl) = DECL_COMDAT (n->decl); in copy_visibility_from()
1476 DECL_COMDAT (decl) = DECL_COMDAT (target->decl); in fixup_same_cpp_alias_visibility()
1800 DECL_COMDAT (new_decl) = 0; in noninterposable_alias()
1966 if (definition && (!DECL_EXTERNAL (decl) || DECL_COMDAT (decl)) in nonzero_address()
H A Dipa-inline-analysis.c371 else if (DECL_COMDAT (node->decl) in estimate_growth()
450 if (DECL_COMDAT (node->decl)) in growth_likely_positive()
H A Dcgraphclones.c246 DECL_COMDAT (new_node->decl) = 0; in set_new_clone_decl_and_node_flags()
608 && !DECL_COMDAT (old_decl)) in create_virtual_clone()
1021 && !DECL_COMDAT (old_decl)) in create_version_clone_with_body()
H A Dcgraphunit.c269 if (TREE_PUBLIC (decl) && !DECL_COMDAT (decl)) in needed_p()
485 && !DECL_COMDAT (decl) && !DECL_EXTERNAL (decl)) in finalize_function()
853 || (node->no_reorder && !DECL_COMDAT (node->decl) in finalize_decl()
H A Dvarpool.c373 || (DECL_WEAK (decl) && !DECL_COMDAT (decl))) in ctor_useable_for_folding_p()
H A Dipa-inline-transform.c593 DECL_COMDAT (first_clone->decl) = 0; in save_inline_function_body()
H A Dcgraph.h2943 && (!DECL_COMDAT (decl) in can_remove_if_no_direct_calls_and_refs_p()
2968 && ((DECL_COMDAT (decl) in can_remove_if_no_refs_p()
/dflybsd-src/contrib/gcc-4.7/gcc/
H A Dipa.c591 if (!DECL_COMDAT (node->decl) in cgraph_externally_visible_p()
625 && DECL_COMDAT (node->decl) in cgraph_externally_visible_p()
651 if (!DECL_COMDAT (vnode->decl) && !TREE_PUBLIC (vnode->decl)) in varpool_externally_visible_p()
693 && DECL_COMDAT (vnode->decl) && DECL_VIRTUAL_P (vnode->decl)) in varpool_externally_visible_p()
714 if (DECL_COMDAT (vnode->decl) || DECL_WEAK (vnode->decl)) in varpool_externally_visible_p()
813 if (DECL_COMDAT (node->decl) && !TREE_PUBLIC (node->decl)) in function_and_variable_visibility()
814 DECL_COMDAT (node->decl) = 0; in function_and_variable_visibility()
832 gcc_assert ((!DECL_WEAK (node->decl) && !DECL_COMDAT (node->decl)) in function_and_variable_visibility()
868 gcc_checking_assert (DECL_COMDAT (node->decl) in function_and_variable_visibility()
869 == DECL_COMDAT (decl_node->decl)); in function_and_variable_visibility()
[all …]
H A Dvarpool.c333 && !DECL_COMDAT (decl) in decide_is_variable_needed()
501 DECL_COMDAT (node->decl) = DECL_COMDAT (node->alias_of); in varpool_analyze_pending_decls()
H A Dcgraph.c562 if ((TREE_PUBLIC (alias) && !DECL_COMDAT (alias) && !DECL_EXTERNAL (alias)) in cgraph_create_function_alias()
564 && (DECL_COMDAT (alias) || DECL_EXTERNAL (alias)))) in cgraph_create_function_alias()
634 if ((TREE_PUBLIC (decl) && !DECL_COMDAT (decl) && !DECL_EXTERNAL (decl)) in cgraph_add_thunk()
636 && (DECL_COMDAT (decl) || DECL_EXTERNAL (decl)))) in cgraph_add_thunk()
2270 DECL_COMDAT (new_node->decl) = 0; in cgraph_create_virtual_clone()
2476 && ((DECL_COMDAT (node->decl) && !node->same_comdat_group) in cgraph_node_cannot_be_local_p_1()
2504 if (DECL_ONE_ONLY (decl) || DECL_COMDAT (decl)) in cgraph_make_decl_local()
2541 DECL_COMDAT (decl) = 0; in cgraph_make_decl_local()
2634 if (DECL_COMDAT (node->decl) || DECL_EXTERNAL (node->decl)) in cgraph_make_node_local_1()
2917 && (!DECL_COMDAT (node->decl) in cgraph_can_remove_if_no_direct_calls_and_refs_p()
H A Dlto-streamer-out.c1422 if (DECL_COMDAT (node->decl) in produce_symtab()
1439 if (DECL_COMDAT (node->decl) in produce_symtab()
1456 if (DECL_COMDAT (vnode->decl) in produce_symtab()
1470 if (DECL_COMDAT (vnode->decl) in produce_symtab()
H A Dcgraphunit.c205 && !DECL_COMDAT (decl) && !DECL_EXTERNAL (decl)) in cgraph_decide_is_function_needed()
356 if ((TREE_PUBLIC (decl) && !DECL_COMDAT (decl) && !DECL_EXTERNAL (decl)) in cgraph_finalize_function()
365 && optimize && (DECL_COMDAT (decl) || DECL_EXTERNAL (decl)))) in cgraph_finalize_function()
872 DECL_COMDAT (node->decl) = DECL_COMDAT (node->thunk.alias); in cgraph_analyze_function()
H A Dipa-inline-transform.c332 DECL_COMDAT (first_clone->decl) = 0; in save_inline_function_body()
H A Dlto-symtab.c391 || DECL_COMDAT (e->decl) in lto_symtab_resolve_replaceable_p()
H A Dlto-cgraph.c510 && !DECL_COMDAT (node->decl) in lto_output_node()
577 && !DECL_COMDAT (node->decl)) in lto_output_varpool_node()
/dflybsd-src/contrib/gcc-8.0/gcc/cp/
H A Doptimize.c326 DECL_COMDAT (fn) = false; in maybe_thunk_body()
493 DECL_COMDAT (clone) = DECL_COMDAT (fn); in maybe_clone_body()
H A Ddecl2.c1890 DECL_COMDAT (decl) = 1; in comdat_linkage()
1925 DECL_COMDAT (decl) = 1; in maybe_make_one_only()
1953 gcc_checking_assert (!DECL_COMDAT (decl)); in vague_linkage_p()
1959 if (DECL_COMDAT (decl) in vague_linkage_p()
2099 if (TREE_PUBLIC (decl) && !DECL_COMDAT (decl) && !DECL_REALLY_EXTERN (decl)) in decl_needed_p()
2171 if (DECL_COMDAT (primary_vtbl) in maybe_emit_vtables()
2273 DECL_COMDAT (decl) = false; in constrain_visibility()
3124 DECL_COMDAT (guard) = DECL_COMDAT (decl); in get_guard()
3324 DECL_COMDAT (fn) = DECL_COMDAT (var); in get_tls_init_fn()
H A Dmethod.c120 DECL_COMDAT (thunk) = DECL_COMDAT (function); in make_thunk()
321 DECL_COMDAT (thunk_fndecl) = DECL_COMDAT (function); in use_thunk()
2140 DECL_COMDAT (fn) = 1; in implicitly_declare_fn()
/dflybsd-src/contrib/gcc-4.7/gcc/cp/
H A Doptimize.c260 DECL_COMDAT (clone) = DECL_COMDAT (fn); in maybe_clone_body()
H A Ddecl2.c1642 DECL_COMDAT (decl) = 1; in comdat_linkage()
1676 DECL_COMDAT (decl) = 1; in maybe_make_one_only()
1693 return (DECL_COMDAT (decl) in vague_linkage_p()
1809 if (TREE_PUBLIC (decl) && !DECL_COMDAT (decl)) in decl_needed_p()
1865 if (DECL_COMDAT (primary_vtbl) in maybe_emit_vtables()
1896 else if (DECL_COMDAT (vtbl)) in maybe_emit_vtables()
2684 DECL_COMDAT (guard) = DECL_COMDAT (decl); in get_guard()
H A Dmethod.c145 DECL_COMDAT (thunk) = DECL_COMDAT (function); in make_thunk()
347 DECL_COMDAT (thunk_fndecl) = DECL_COMDAT (function); in use_thunk()
/dflybsd-src/contrib/gcc-8.0/gcc/lto/
H A Dlto-symtab.c69 && DECL_COMDAT (node->decl) && DECL_COMDAT (prevailing_node->decl)) in lto_cgraph_replace_node()
406 || DECL_COMDAT (e->decl) in lto_symtab_resolve_replaceable_p()
711 DECL_COMDAT (decl)); in lto_symtab_merge_decls_2()
H A Dlto-partition.c148 if (c == SYMBOL_PARTITION && !DECL_COMDAT (node->decl) in add_symbol_to_partition_1()
274 || DECL_COMDAT (node->decl) in add_symbol_to_partition()
/dflybsd-src/contrib/gcc-4.7/gcc/lto/
H A Dlto.c1434 && DECL_COMDAT (cgraph_function_node (ipa_ref_node (ref), NULL)->decl) in add_references_to_partition()
1439 && DECL_COMDAT (ipa_ref_varpool_node (ref)->decl) in add_references_to_partition()
1453 if (!DECL_COMDAT (node->decl) in add_cgraph_node_to_partition_1()
1499 || DECL_COMDAT (cgraph_function_node (e->callee, NULL)->decl)) in add_cgraph_node_to_partition()
1586 || (DECL_COMDAT (node->decl) in partition_cgraph_node_p()
1604 || (DECL_COMDAT (vnode->decl) in partition_varpool_node_p()
2146 if ((!DECL_EXTERNAL (node->decl) && !DECL_COMDAT (node->decl)) in lto_promote_cross_file_statics()
2157 if (!DECL_IN_CONSTANT_POOL (vnode->decl) && !DECL_COMDAT (vnode->decl) in lto_promote_cross_file_statics()

123