LCOV - code coverage report
Current view: top level - gcc - cgraph.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 82.2 % 2315 1902
Test Date: 2025-12-13 14:10:19 Functions: 93.3 % 134 125
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: - 0 0

Function Name Sort by function name Hit count Sort by function hit count
_Z18cgraph_cc_finalizev 261196
_Z21release_function_bodyP9tree_node 108057781
_Z25cgraph_inline_failed_type22cgraph_inline_failed_t 74196872
_Z27cgraph_inline_failed_string22cgraph_inline_failed_t 9831
_Z33cgraph_update_edges_for_call_stmtP6gimpleP9tree_nodeS0_ 96123
_Z34cgraph_allocate_init_indirect_infov 863354
_Z34cgraph_function_possibly_inlined_pP9tree_node 87830562
_ZL10clone_of_pP11cgraph_nodeS0_ 34255
_ZL14nonremovable_pP11cgraph_nodePv 839579
_ZL15set_pure_flag_1P11cgraph_nodePv 371371
_ZL16set_const_flag_1P11cgraph_nodebbPb 1102977
_ZL17set_malloc_flag_1P11cgraph_nodebPb 26597
_ZL18set_nothrow_flag_1P11cgraph_nodebbPb 942970
_ZL19set_noreturn_flag_1P11cgraph_nodebPb 28245
_ZL23verify_speculative_callP11cgraph_nodeP6gimplejP11cgraph_edge 454430
_ZL24add_detected_attribute_1P11cgraph_nodePKcPb 241860
_ZL24cgraph_debug_gimple_stmtP8functionP6gimple 0
_ZL25collect_callers_of_node_1P11cgraph_nodePv 132843
_ZL31cgraph_node_cannot_be_local_p_1P11cgraph_nodePv 871898
_ZL33cgraph_add_edge_to_call_site_hashP11cgraph_edge 8190716
_ZL35cgraph_not_only_called_directly_p_1P11cgraph_nodePv 16068197
_ZL36cgraph_update_edge_in_call_site_hashP11cgraph_edge 4026
_ZL38cgraph_update_edges_for_call_stmt_nodeP11cgraph_nodeP6gimpleP9tree_nodeS2_ 117768
_ZL46update_call_stmt_hash_for_removing_direct_edgeP11cgraph_edgeS0_ 40336
_ZN11cgraph_edge11make_directEPS_P11cgraph_node 4960
_ZN11cgraph_edge11maybe_hot_pE5sreal 5487743
_ZN11cgraph_edge11maybe_hot_pEv 2201906
_ZN11cgraph_edge12verify_countEv 199185623
_ZN11cgraph_edge13make_callbackEP11cgraph_nodej 15052
_ZN11cgraph_edge13remove_callerEv 4721756
_ZN11cgraph_edge13set_call_stmtEPS_P5gcallb 2766590
_ZN11cgraph_edge15dump_edge_flagsEP8_IO_FILE 22672
_ZN11cgraph_edge15redirect_calleeEP11cgraph_node 4448896
_ZN11cgraph_edge15sreal_frequencyEv 205791294
_ZN11cgraph_edge16make_speculativeEP11cgraph_node13profile_countj 19747
_ZN11cgraph_edge18next_callback_edgeEv 31214
_ZN11cgraph_edge19first_callback_edgeEv 47425
_ZN11cgraph_edge19resolve_speculationEPS_P9tree_node 8839
_ZN11cgraph_edge20purge_callback_edgesEv 2
_ZN11cgraph_edge23cannot_lead_to_return_pEv 3052999
_ZN11cgraph_edge24combined_sreal_frequencyEv 934
_ZN11cgraph_edge26get_callback_carrying_edgeEv 82876
_ZN11cgraph_edge27speculative_call_for_targetEP11cgraph_node 0
_ZN11cgraph_edge28redirect_call_stmt_to_calleeEPS_P8hash_setIP9tree_nodeLb0E19default_hash_traitsIS3_EE 9770833
_ZN11cgraph_edge28verify_corresponds_to_fndeclEP9tree_node 98849926
_ZN11cgraph_edge29first_speculative_call_targetEv 47492
_ZN11cgraph_edge30num_speculative_call_targets_pEv 184098
_ZN11cgraph_edge35possibly_call_in_translation_unit_pEv 478240
_ZN11cgraph_edge5debugEv 0
_ZN11cgraph_edge6removeEPS_ 115832
_ZN11cgraph_node10get_createEP9tree_node 539212326
_ZN11cgraph_node10make_localEPS_Pv 0
_ZN11cgraph_node10make_localEv 0
_ZN11cgraph_node11apply_scaleE13profile_countS0_ 1672137
_ZN11cgraph_node11create_edgeEPS_P5gcall13profile_countb 44603634
_ZN11cgraph_node11dump_cgraphEP8_IO_FILE 77
_ZN11cgraph_node11has_thunk_pEPS_Pv 39111
_ZN11cgraph_node11verify_nodeEv 52799287
_ZN11cgraph_node12create_aliasEP9tree_nodeS1_ 7133510
_ZN11cgraph_node12create_thunkEP9tree_nodeS1_blllS1_S1_ 4398
_ZN11cgraph_node12release_bodyEb 108046475
_ZN11cgraph_node13dump_graphvizEP8_IO_FILE 0
_ZN11cgraph_node13set_pure_flagEbb 382085
_ZN11cgraph_node14can_be_local_pEv 1181877
_ZN11cgraph_node14former_thunk_pEv 5052085
_ZN11cgraph_node14remove_calleesEv 218816118
_ZN11cgraph_node14remove_callersEv 97997526
_ZN11cgraph_node14set_const_flagEbb 987905
_ZN11cgraph_node15cannot_return_pEv 14510430
_ZN11cgraph_node15collect_callersEv 131015
_ZN11cgraph_node15function_symbolEP12availabilityP11symtab_node 132717584
_ZN11cgraph_node15get_for_asmnameEP9tree_node 0
_ZN11cgraph_node15local_info_nodeEP9tree_node 12713870
_ZN11cgraph_node15set_malloc_flagEb 26596
_ZN11cgraph_node16function_versionEv 118230218
_ZN11cgraph_node16get_availabilityEP11symtab_node 817434174
_ZN11cgraph_node16scale_profile_toE13profile_count 30
_ZN11cgraph_node16set_nothrow_flagEb 899613
_ZN11cgraph_node17set_noreturn_flagEb 27719
_ZN11cgraph_node18make_profile_localEv 0
_ZN11cgraph_node18mark_address_takenEv 4843345
_ZN11cgraph_node19verify_cgraph_nodesEv 872
_ZN11cgraph_node20add_function_versionEP28cgraph_function_version_infoP9tree_node 8908
_ZN11cgraph_node20create_indirect_edgeEP5gcalli13profile_countb 863354
_ZN11cgraph_node20make_profile_global0E15profile_quality 5
_ZN11cgraph_node22add_detected_attributeEPKc 245482
_ZN11cgraph_node22create_same_body_aliasEP9tree_nodeS1_ 7113603
_ZN11cgraph_node22get_untransformed_bodyEv 6345409
_ZN11cgraph_node22only_called_directly_pEv 15971043
_ZN11cgraph_node23delete_function_versionEP28cgraph_function_version_info 97997730
_ZN11cgraph_node26check_calls_comdat_local_pEv 49524902
_ZN11cgraph_node27insert_new_function_versionEv 1523
_ZN11cgraph_node29call_for_symbol_and_aliases_1EPFbPS_PvES1_b 756419
_ZN11cgraph_node31can_remove_if_no_direct_calls_pEb 1070733
_ZN11cgraph_node31delete_function_version_by_declEP9tree_node 258
_ZN11cgraph_node32function_or_virtual_thunk_symbolEP12availabilityP11symtab_node 33497361
_ZN11cgraph_node34call_for_symbol_thunks_and_aliasesEPFbPS_PvES1_bb 132873583
_ZN11cgraph_node49will_be_removed_from_program_if_no_direct_calls_pEb 3256585
_ZN11cgraph_node4dumpEP8_IO_FILE 5860
_ZN11cgraph_node5debugEv 0
_ZN11cgraph_node6createEP9tree_node 98335997
_ZN11cgraph_node6removeEv 97997526
_ZN11cgraph_node8get_bodyEv 28865
_ZN11cgraph_node8get_edgeEP6gimple 210180503
_ZN11cgraph_node8rtl_infoEPK9tree_node 59882652
_ZN11symtab_node25address_can_be_compared_pEv 5029494
_ZN12symbol_table10initializeEv 305575
_ZN12symbol_table11create_edgeEP11cgraph_nodeS1_P5gcall13profile_countbb 45466988
_ZN12symbol_table12create_emptyEv 101753419
_ZN12symbol_table21add_edge_removal_hookEPFvP11cgraph_edgePvES2_ 1907696
_ZN12symbol_table23add_cgraph_removal_hookEPFvP11cgraph_nodePvES2_ 8168983
_ZN12symbol_table23call_edge_removal_hooksEP11cgraph_edge 45027747
_ZN12symbol_table24remove_edge_removal_hookEP21cgraph_edge_hook_list 1907682
_ZN12symbol_table25add_cgraph_insertion_hookEPFvP11cgraph_nodePvES2_ 8656091
_ZN12symbol_table25add_edge_duplication_hookEPFvP11cgraph_edgeS1_PvES2_ 1675638
_ZN12symbol_table25call_cgraph_removal_hooksEP11cgraph_node 98030532
_ZN12symbol_table26remove_cgraph_removal_hookEP21cgraph_node_hook_list 8060768
_ZN12symbol_table27add_cgraph_duplication_hookEPFvP11cgraph_nodeS1_PvES2_ 8027023
_ZN12symbol_table27call_cgraph_insertion_hooksEP11cgraph_node 121177
_ZN12symbol_table27call_edge_duplication_hooksEP11cgraph_edgeS1_ 7043447
_ZN12symbol_table28remove_cgraph_insertion_hookEP21cgraph_node_hook_list 8508624
_ZN12symbol_table28remove_edge_duplication_hookEP22cgraph_2edge_hook_list 1675624
_ZN12symbol_table29call_cgraph_duplication_hooksEP11cgraph_nodeS1_ 3216276
_ZN12symbol_table30remove_cgraph_duplication_hookEP22cgraph_2node_hook_list 7931818
_ZN12symbol_table9free_edgeEP11cgraph_edge 45027747
_ZN18cgraph_edge_hasher4hashEP11cgraph_edge 218003483
_ZN18cgraph_edge_hasher4hashEP6gimple 43288451
_ZN23function_version_hasher4hashEP28cgraph_function_version_info 289052
_ZN23function_version_hasher5equalEP28cgraph_function_version_infoS1_ 262095
_ZN8selftest15cgraph_cc_testsEv 4
_ZN8selftest17symbol_table_testC2Ev 64
_ZN8selftest17symbol_table_testD2Ev 64
_ZN8selftestL22test_symbol_table_testEv 4
_ZNK11cgraph_node7get_funEv 103839

Generated by: LCOV version 2.1-beta

LCOV profile is generated on x86_64 machine using following configure options: configure --disable-bootstrap --enable-coverage=opt --enable-languages=c,c++,fortran,go,jit,lto,rust,m2 --enable-host-shared. GCC test suite is run with the built compiler.