LCOV - code coverage report
Current view: top level - gcc - cgraph.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 80.7 % 2317 1870
Test Date: 2025-10-18 14:39:06 Functions: 92.5 % 134 124
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 260181
_Z21release_function_bodyP9tree_node 104310839
_Z25cgraph_inline_failed_type22cgraph_inline_failed_t 72904496
_Z27cgraph_inline_failed_string22cgraph_inline_failed_t 9831
_Z33cgraph_update_edges_for_call_stmtP6gimpleP9tree_nodeS0_ 95786
_Z34cgraph_allocate_init_indirect_infov 855675
_Z34cgraph_function_possibly_inlined_pP9tree_node 84605721
_ZL10clone_of_pP11cgraph_nodeS0_ 34291
_ZL14nonremovable_pP11cgraph_nodePv 829383
_ZL15set_pure_flag_1P11cgraph_nodePv 361501
_ZL16set_const_flag_1P11cgraph_nodebbPb 1078789
_ZL17set_malloc_flag_1P11cgraph_nodebPb 23196
_ZL18set_nothrow_flag_1P11cgraph_nodebbPb 924835
_ZL19set_noreturn_flag_1P11cgraph_nodebPb 28108
_ZL23verify_speculative_callP11cgraph_nodeP6gimplejP11cgraph_edge 453443
_ZL24add_detected_attribute_1P11cgraph_nodePKcPb 230403
_ZL24cgraph_debug_gimple_stmtP8functionP6gimple 0
_ZL25collect_callers_of_node_1P11cgraph_nodePv 128024
_ZL31cgraph_node_cannot_be_local_p_1P11cgraph_nodePv 853079
_ZL33cgraph_add_edge_to_call_site_hashP11cgraph_edge 8084443
_ZL35cgraph_not_only_called_directly_p_1P11cgraph_nodePv 15860487
_ZL36cgraph_update_edge_in_call_site_hashP11cgraph_edge 3576
_ZL38cgraph_update_edges_for_call_stmt_nodeP11cgraph_nodeP6gimpleP9tree_nodeS2_ 117426
_ZL46update_call_stmt_hash_for_removing_direct_edgeP11cgraph_edgeS0_ 39423
_ZN11cgraph_edge11make_directEPS_P11cgraph_node 4900
_ZN11cgraph_edge11maybe_hot_pE5sreal 5367078
_ZN11cgraph_edge11maybe_hot_pEv 2178910
_ZN11cgraph_edge12verify_countEv 196836038
_ZN11cgraph_edge13make_callbackEP11cgraph_nodej 16
_ZN11cgraph_edge13remove_callerEv 4597635
_ZN11cgraph_edge13set_call_stmtEPS_P5gcallb 2638097
_ZN11cgraph_edge15dump_edge_flagsEP8_IO_FILE 22634
_ZN11cgraph_edge15redirect_calleeEP11cgraph_node 4328888
_ZN11cgraph_edge15sreal_frequencyEv 201344717
_ZN11cgraph_edge16make_speculativeEP11cgraph_node13profile_countj 19644
_ZN11cgraph_edge18next_callback_edgeEv 25
_ZN11cgraph_edge19first_callback_edgeEv 35
_ZN11cgraph_edge19resolve_speculationEPS_P9tree_node 8842
_ZN11cgraph_edge20purge_callback_edgesEv 0
_ZN11cgraph_edge23cannot_lead_to_return_pEv 2979729
_ZN11cgraph_edge24combined_sreal_frequencyEv 920
_ZN11cgraph_edge26get_callback_carrying_edgeEv 42
_ZN11cgraph_edge27speculative_call_for_targetEP11cgraph_node 0
_ZN11cgraph_edge28redirect_call_stmt_to_calleeEPS_P8hash_setIP9tree_nodeLb0E19default_hash_traitsIS3_EE 9607940
_ZN11cgraph_edge28verify_corresponds_to_fndeclEP9tree_node 97554442
_ZN11cgraph_edge29first_speculative_call_targetEv 46487
_ZN11cgraph_edge30num_speculative_call_targets_pEv 181493
_ZN11cgraph_edge35possibly_call_in_translation_unit_pEv 477888
_ZN11cgraph_edge5debugEv 0
_ZN11cgraph_edge6removeEPS_ 102293
_ZN11cgraph_node10get_createEP9tree_node 519376220
_ZN11cgraph_node10make_localEPS_Pv 0
_ZN11cgraph_node10make_localEv 0
_ZN11cgraph_node11apply_scaleE13profile_countS0_ 1622539
_ZN11cgraph_node11create_edgeEPS_P5gcall13profile_countb 43905698
_ZN11cgraph_node11dump_cgraphEP8_IO_FILE 77
_ZN11cgraph_node11has_thunk_pEPS_Pv 39111
_ZN11cgraph_node11verify_nodeEv 52238114
_ZN11cgraph_node12create_aliasEP9tree_nodeS1_ 6831948
_ZN11cgraph_node12create_thunkEP9tree_nodeS1_blllS1_S1_ 4402
_ZN11cgraph_node12release_bodyEb 104299301
_ZN11cgraph_node13dump_graphvizEP8_IO_FILE 0
_ZN11cgraph_node13set_pure_flagEbb 372143
_ZN11cgraph_node14can_be_local_pEv 1161016
_ZN11cgraph_node14former_thunk_pEv 5043320
_ZN11cgraph_node14remove_calleesEv 211083344
_ZN11cgraph_node14remove_callersEv 94225015
_ZN11cgraph_node14set_const_flagEbb 964315
_ZN11cgraph_node15cannot_return_pEv 14228251
_ZN11cgraph_node15collect_callersEv 126045
_ZN11cgraph_node15function_symbolEP12availabilityP11symtab_node 131140303
_ZN11cgraph_node15get_for_asmnameEP9tree_node 0
_ZN11cgraph_node15local_info_nodeEP9tree_node 12597648
_ZN11cgraph_node15set_malloc_flagEb 23195
_ZN11cgraph_node16function_versionEv 114241159
_ZN11cgraph_node16get_availabilityEP11symtab_node 806985841
_ZN11cgraph_node16scale_profile_toE13profile_count 30
_ZN11cgraph_node16set_nothrow_flagEb 882139
_ZN11cgraph_node17set_noreturn_flagEb 27579
_ZN11cgraph_node18make_profile_localEv 0
_ZN11cgraph_node18mark_address_takenEv 4769150
_ZN11cgraph_node19verify_cgraph_nodesEv 884
_ZN11cgraph_node20add_function_versionEP28cgraph_function_version_infoP9tree_node 8827
_ZN11cgraph_node20create_indirect_edgeEP5gcalli13profile_countb 855675
_ZN11cgraph_node20make_profile_global0E15profile_quality 5
_ZN11cgraph_node22add_detected_attributeEPKc 234081
_ZN11cgraph_node22create_same_body_aliasEP9tree_nodeS1_ 6812777
_ZN11cgraph_node22get_untransformed_bodyEv 6215323
_ZN11cgraph_node22only_called_directly_pEv 15793701
_ZN11cgraph_node23delete_function_versionEP28cgraph_function_version_info 94225219
_ZN11cgraph_node26check_calls_comdat_local_pEv 49040402
_ZN11cgraph_node27insert_new_function_versionEv 1520
_ZN11cgraph_node29call_for_symbol_and_aliases_1EPFbPS_PvES1_b 731969
_ZN11cgraph_node31can_remove_if_no_direct_calls_pEb 1047873
_ZN11cgraph_node31delete_function_version_by_declEP9tree_node 258
_ZN11cgraph_node32function_or_virtual_thunk_symbolEP12availabilityP11symtab_node 33008036
_ZN11cgraph_node34call_for_symbol_thunks_and_aliasesEPFbPS_PvES1_bb 126580793
_ZN11cgraph_node49will_be_removed_from_program_if_no_direct_calls_pEb 3213860
_ZN11cgraph_node4dumpEP8_IO_FILE 5835
_ZN11cgraph_node5debugEv 0
_ZN11cgraph_node6createEP9tree_node 94610461
_ZN11cgraph_node6removeEv 94225015
_ZN11cgraph_node8get_bodyEv 28493
_ZN11cgraph_node8get_edgeEP6gimple 207046589
_ZN11cgraph_node8rtl_infoEPK9tree_node 59053531
_ZN11symtab_node25address_can_be_compared_pEv 5002493
_ZN12symbol_table10initializeEv 304510
_ZN12symbol_table11create_edgeEP11cgraph_nodeS1_P5gcall13profile_countbb 44761373
_ZN12symbol_table12create_emptyEv 97950467
_ZN12symbol_table21add_edge_removal_hookEPFvP11cgraph_edgePvES2_ 1896541
_ZN12symbol_table23add_cgraph_removal_hookEPFvP11cgraph_nodePvES2_ 8051871
_ZN12symbol_table23call_edge_removal_hooksEP11cgraph_edge 44323012
_ZN12symbol_table24remove_edge_removal_hookEP21cgraph_edge_hook_list 1896527
_ZN12symbol_table25add_cgraph_insertion_hookEPFvP11cgraph_nodePvES2_ 8536865
_ZN12symbol_table25add_edge_duplication_hookEPFvP11cgraph_edgeS1_PvES2_ 1665741
_ZN12symbol_table25call_cgraph_removal_hooksEP11cgraph_node 94257529
_ZN12symbol_table26remove_cgraph_removal_hookEP21cgraph_node_hook_list 7944651
_ZN12symbol_table27add_cgraph_duplication_hookEPFvP11cgraph_nodeS1_PvES2_ 7910969
_ZN12symbol_table27call_cgraph_insertion_hooksEP11cgraph_node 118573
_ZN12symbol_table27call_edge_duplication_hooksEP11cgraph_edgeS1_ 6824868
_ZN12symbol_table28remove_cgraph_insertion_hookEP21cgraph_node_hook_list 8390409
_ZN12symbol_table28remove_edge_duplication_hookEP22cgraph_2edge_hook_list 1665727
_ZN12symbol_table29call_cgraph_duplication_hooksEP11cgraph_nodeS1_ 3138815
_ZN12symbol_table30remove_cgraph_duplication_hookEP22cgraph_2node_hook_list 7816615
_ZN12symbol_table9free_edgeEP11cgraph_edge 44323012
_ZN18cgraph_edge_hasher4hashEP11cgraph_edge 215683236
_ZN18cgraph_edge_hasher4hashEP6gimple 42773829
_ZN23function_version_hasher4hashEP28cgraph_function_version_info 287132
_ZN23function_version_hasher5equalEP28cgraph_function_version_infoS1_ 260208
_ZN8selftest15cgraph_cc_testsEv 4
_ZN8selftest17symbol_table_testC2Ev 64
_ZN8selftest17symbol_table_testD2Ev 64
_ZN8selftestL22test_symbol_table_testEv 4
_ZNK11cgraph_node7get_funEv 219352

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.