LCOV - code coverage report
Current view: top level - gcc - tree-ssa-strlen.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 90.7 % 2847 2581
Test Date: 2025-11-22 14:42:49 Functions: 98.7 % 79 78
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
_Z16dump_strlen_infoP8_IO_FILEP6gimpleP11range_query 0
_ZL21set_endptr_and_lengthmP7strinfoP9tree_node 30
_ZL27maybe_warn_pointless_strcmpP6gimplelPmm 209
_ZL19last_stmt_ptr_checkP9tree_nodeP15basic_block_def 233
_ZL29allow_memset_malloc_to_callocP9tree_nodeP15basic_block_defS2_ 388
_ZN11strlen_pass21handle_builtin_strchrEv 588
_ZN11strlen_pass22handle_builtin_strncatE17built_in_function 805
_ZN11strlen_pass21handle_builtin_strcatE17built_in_function 825
_Z19is_strlen_related_pP9tree_nodeS0_ 883
_ZL12get_maxboundP9tree_nodeP6gimple16generic_wide_intI22fixed_wide_int_storageILi128EEEP13pointer_query 1834
_ZL18zero_length_stringP9tree_nodeP7strinfo 2207
_ZL24get_stridx_plus_constantP7strinfomP9tree_node 2695
_ZN11strlen_pass21handle_builtin_strcpyE17built_in_function 2808
_ZL20get_range_strlen_phiP9tree_nodeP4gphiP13c_strlen_dataP11bitmap_headP13pointer_queryPj 3058
_ZL20zero_length_string_pP7strinfo 3122
_ZN11strlen_pass30handle_builtin_stxncpy_strncatEb 3292
_Z24maybe_diag_stxncpy_trunc20gimple_stmt_iteratorP9tree_nodeS1_P13pointer_query 3621
_ZL21compare_nonzero_charsP7strinfom 4931
_ZN11strlen_pass16adjust_last_stmtEP7strinfoP6gimpleb 5819
_ZL17get_string_lengthP7strinfo 6046
_ZL16get_next_strinfoP7strinfo 8536
_ZL22maybe_set_strlen_rangeP9tree_nodeS0_S0_ 11734
_ZN11strlen_pass21handle_builtin_strlenEv 13763
_ZL23adjust_related_strinfosmP7strinfoP9tree_node 22539
_ZL23verify_related_strinfosP7strinfo 25735
_ZN11strlen_pass21handle_builtin_memsetEPb 26906
_ZL15unshare_strinfoP7strinfo 35220
_ZL15find_equal_ptrsP9tree_nodei 39408
_ZN12_GLOBAL__N_116pass_warn_printf7executeEP8function 61161
_ZN11strlen_pass21handle_builtin_memcpyE17built_in_function 68074
_ZN11strlen_pass17handle_alloc_callE17built_in_function 71402
_ZL22nonzero_bytes_for_typeP9tree_nodePjPbS2_S2_ 83816
_ZL21compare_nonzero_charsP7strinfoP6gimplemP11range_query 88647
_ZN11strlen_pass18strxcmp_eqz_resultEP6gimpleP9tree_nodeiS3_imPmS4_ 129078
_ZN11strlen_pass25handle_builtin_string_cmpEv 129592
_Z16set_strlen_rangeP9tree_node16generic_wide_intI16wide_int_storageES3_S0_ 151697
_ZL15new_addr_stridxP9tree_node 164484
_ZL14addr_stridxptrP9tree_node 184859
_Z16make_pass_strlenPN3gcc7contextE 289302
_Z21make_pass_warn_printfPN3gcc7contextE 289302
_ZN12_GLOBAL__N_111pass_strlen5cloneEv 289302
_ZL11get_strinfoi 315553
_ZL19unshare_strinfo_vecv 318821
_ZN11strlen_pass19maybe_warn_overflowEP6gimplebmP7strinfobb 375185
_ZN11strlen_pass19maybe_warn_overflowEP6gimplebP9tree_nodeP7strinfobb 388246
_ZN11strlen_pass12handle_storeEPb 412159
_Z20use_in_zero_equalityP9tree_nodeb 468018
_ZN11strlen_pass15get_len_or_sizeEP6gimpleP9tree_nodeiPmS4_Pb 513335
_Z24get_range_strlen_dynamicP9tree_nodeP6gimpleP13c_strlen_dataR13pointer_query 545272
_ZL24get_range_strlen_dynamicP9tree_nodeP6gimpleP13c_strlen_dataP11bitmap_headP13pointer_queryPj 554948
_ZL13do_invalidateP15basic_block_defP6gimpleP11bitmap_headPi 704500
_ZN11strlen_pass19handle_pointer_plusEv 756409
_ZL10new_stridxP9tree_node 836375
_ZN11strlen_pass24count_nonzero_bytes_addrEP9tree_nodeS1_P6gimplemmPjPbS5_S5_R16ssa_name_limit_t 847463
_ZL11new_strinfoP9tree_nodeiS0_b 935554
_ZN12_GLOBAL__N_111pass_strlen7executeEP8function 1044027
_ZN12_GLOBAL__N_111pass_strlen4gateEP8function 1044060
_ZN11strlen_pass19count_nonzero_bytesEP9tree_nodeP6gimplePjPbS5_S5_ 1064311
_ZN11strlen_passC2EP8function13cdi_direction 1105188
_ZN11strlen_passD2Ev 1105188
_ZN12_GLOBAL__N_1L21printf_strlen_executeEP8functionb 1105188
_ZL11set_strinfoiP7strinfo 1303549
_ZN11strlen_pass19count_nonzero_bytesEP9tree_nodeS1_P6gimplemmPjPbS5_S5_R16ssa_name_limit_t 1461940
_ZL15get_addr_stridxP9tree_nodeP6gimpleS0_PmP11range_query 1937167
_ZN12_GLOBAL__N_116pass_warn_printf4gateEP8function 2922527
_ZL14strinfo_sharedv 3468399
_ZL22fold_strstr_to_strncmpP9tree_nodeS0_P6gimple 3485811
_ZL18valid_builtin_callP6gimple 4459542
_Z9get_rangeP9tree_nodeP6gimpleP16generic_wide_intI16wide_int_storageEP11range_query 5094373
_ZN11strlen_pass23check_and_optimize_callEPb 5431097
_ZN11strlen_pass13handle_assignEP9tree_nodeS1_Pb 6465512
_ZL10get_stridxP9tree_nodeP6gimpleP16generic_wide_intI16wide_int_storageEP11range_query 6626595
_ZN11strlen_pass22handle_integral_assignEPb 9334889
_ZL12is_char_typeP9tree_node 9345041
_ZL16maybe_invalidateP6gimpleb 11905185
_ZN11strlen_pass18after_dom_childrenEP15basic_block_def 12213809
_ZN11strlen_pass19before_dom_childrenEP15basic_block_def 12213809
_ZL12free_strinfoP7strinfo 13151074
_ZN11strlen_pass23check_and_optimize_stmtEPb 89335490

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.