LCOV - code coverage report
Current view: top level - gcc/cp - constexpr.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 92.9 % 6633 6162
Test Date: 2026-10-03 16:17:38 Functions: 99.5 % 201 200
Legend: Lines:     hit not hit

Function Name Sort by function name Hit count Sort by function hit count
_Z11fold_simpleP9tree_node 172193275
_Z12is_std_classP9tree_nodePKc 12390607
_Z12replace_declPP9tree_nodeS0_S0_ 2264936
_Z14fini_constexprv 99773
_Z14literal_type_pP9tree_node 195505138
_Z16cx_error_contextv 259229
_Z16fold_to_constantP9tree_node 1684465
_Z16is_std_allocatorP9tree_node 715169
_Z17cxx_constant_dtorP9tree_nodeS0_ 202
_Z17cxx_constant_initP9tree_nodeS0_ 2229
_Z18cxx_constant_valueP9tree_nodeS0_i 159613361
_Z18maybe_constexpr_fnP9tree_node 738812979
_Z19constexpr_fn_retvalP9tree_node 70613
_Z19find_failing_clausePK13constexpr_ctxP9tree_node 1984
_Z19maybe_constant_initP9tree_nodeS0_9mce_value 79686026
_Z19maybe_constant_initP9tree_nodeS0_b 96668619
_Z19unshare_constructorP9tree_node 124120749
_Z19var_in_constexpr_fnP9tree_node 89997604
_Z20cxx_constexpr_callerPK13constexpr_ctx 2120
_Z20maybe_constant_valueP9tree_nodeS0_9mce_value 874381819
_Z21cxx_constexpr_quiet_pPK13constexpr_ctx 1376
_Z21is_valid_constexpr_fnP9tree_nodeb 32077018
_Z22is_constant_expressionP9tree_node 938711146
_Z23fold_non_dependent_exprP9tree_nodeibS0_ 267309345
_Z23fold_non_dependent_initP9tree_nodeibS0_ 63272688
_Z24clear_cv_and_fold_cachesv 41399344
_Z25check_constexpr_ctor_bodyP9tree_nodeS0_b 6110265
_Z25decl_implicit_constexpr_pP9tree_node 466289
_Z25is_static_init_expressionP9tree_node 176356874
_Z25register_constexpr_fundefRK16constexpr_fundef 31399949
_Z25retrieve_constexpr_fundefP9tree_node 111254409
_Z25var_in_maybe_constexpr_fnP9tree_node 66983501
_Z26diagnose_failing_conditionP9tree_nodembPK13constexpr_ctx 1984
_Z27maybe_save_constexpr_fundefP9tree_node 169405511
_Z27require_constant_expressionP9tree_node 11161874
_Z28cxx_eval_constant_expressionPK13constexpr_ctxP9tree_node9value_catPbS5_PS3_ 3034099408
_Z28explain_invalid_constexpr_fnP9tree_node 1063
_Z29cxx_constexpr_consteval_blockPK13constexpr_ctx 158
_Z29is_instantiation_of_constexprP9tree_node 196430166
_Z29is_rvalue_constant_expressionP9tree_node 158169236
_Z29maybe_fold_non_dependent_exprP9tree_nodei 2389885
_Z29potential_constant_expressionP9tree_node 450134614
_Z29reduced_constant_expression_pP9tree_nodeS0_b 1252273314
_Z31potential_constant_expression_1P9tree_nodebbbbi 1781799763
_Z32cxa_allocate_and_throw_exceptionmPK13constexpr_ctxP9tree_node 3164
_Z34require_rvalue_constant_expressionP9tree_node 1143
_Z35cxx_constexpr_manifestly_const_evalPK13constexpr_ctx 388
_Z35is_nondependent_constant_expressionP9tree_node 906619803
_Z36potential_rvalue_constant_expressionP9tree_node 35834489
_Z37require_potential_constant_expressionP9tree_node 88
_Z38is_nondependent_static_init_expressionP9tree_node 176356874
_Z40ensure_literal_type_for_constexpr_objectP9tree_node 341409774
_Z44require_potential_rvalue_constant_expressionP9tree_node 133301
_Z52require_potential_rvalue_constant_expression_fncheckP9tree_node 296
_ZL12fold_operandP9tree_nodePK13constexpr_ctx 829
_ZL13fold_simple_1P9tree_node 171379990
_ZL13label_matchesPK13constexpr_ctxPP9tree_nodeS3_ 504244
_ZL14clear_cv_cachev 41399344
_ZL14init_subob_ctxPK13constexpr_ctxRS_P9tree_nodeRS4_ 4197380
_ZL14p2280_active_pPK13constexpr_ctx 271634400
_ZL14replace_decl_rPP9tree_nodePiPv 16997430
_ZL15array_index_cmpP9tree_nodeS0_ 440195
_ZL15constexpr_errormbPKcz 1060
_ZL15cxx_eval_assertPK13constexpr_ctxP9tree_nodePKcmbPbS6_ 173602
_ZL15get_fundef_copyP16constexpr_fundef 87300997
_ZL15verify_constantP9tree_nodebPbS1_ 677635200
_ZL16adjust_temp_typeP9tree_nodeS0_ 137068002
_ZL16free_constructorP9tree_node 883018
_ZL16initialized_typeP9tree_node 612760456
_ZL16raw_data_cst_eltP9tree_nodej 29559
_ZL16save_fundef_copyP9tree_nodeS0_ 87300984
_ZL17cxx_eval_bit_castPK13constexpr_ctxP9tree_nodePbS4_PS3_ 4047
_ZL17cxx_eval_vec_initPK13constexpr_ctxP9tree_node9value_catPbS5_PS3_ 792
_ZL17mark_non_constantP9tree_node 147654
_ZL17merge_jump_targetmPK13constexpr_ctxP9tree_nodePbPS3_S3_ 1743141
_ZL18callee_might_throwP9tree_node 232561354
_ZL18cxx_eval_loop_exprPK13constexpr_ctxP9tree_nodePbS4_PS3_ 6658406
_ZL18exception_what_strPK13constexpr_ctxP9tree_node 396
_ZL18extract_string_eltP9tree_nodejj 1996691
_ZL18find_heap_var_refsPP9tree_nodePiPv 379000
_ZL18is_within_lifetimemPK13constexpr_ctxP9tree_nodeS3_S3_PbS4_PS3_ 5078
_ZL18lookup_placeholderPK13constexpr_ctx9value_catP9tree_node 16716
_ZL18verify_ctor_sanityPK13constexpr_ctxP9tree_node 3391762
_ZL19check_bit_cast_typePK13constexpr_ctxmP9tree_nodeS3_ 56312
_ZL19cxa_check_throw_argP9tree_nodeb 1916
_ZL19cxx_eval_thunk_callPK13constexpr_ctxP9tree_nodeS3_9value_catPbS5_PS3_ 44
_ZL19cxx_eval_vec_init_1PK13constexpr_ctxP9tree_nodeS3_b9value_catPbS5_PS3_ 906
_ZL19find_array_ctor_eltP9tree_nodeS0_b 12546346
_ZL19instantiate_cx_fn_rPP9tree_nodePiPv 597589125
_ZL19is_std_construct_atP9tree_node 2332676
_ZL19is_std_construct_atPK14constexpr_call 2091160
_ZL19non_const_var_errormP9tree_nodeb 354
_ZL19pop_cx_call_contextv 110077930
_ZL20cref_has_const_fieldP9tree_node 419
_ZL20cxx_cxa_builtin_fn_pP9tree_node 37025039
_ZL20cxx_eval_switch_exprPK13constexpr_ctxP9tree_nodePbS4_PS3_ 50125
_ZL20cxx_placement_new_fnP9tree_node 37343033
_ZL20diag_array_subscriptmPK13constexpr_ctxP9tree_nodeS3_ 601
_ZL20push_cx_call_contextP9tree_node 110077934
_ZL21addr_of_non_const_varPP9tree_nodePiPv 49002825
_ZL21cxx_dynamic_cast_fn_pP9tree_node 37031823
_ZL21cxx_eval_indirect_refPK13constexpr_ctxP9tree_node9value_catPbS5_PS3_ 104458535
_ZL21cxx_fold_indirect_refPK13constexpr_ctxmP9tree_nodeS3_PbPS3_ 197748195
_ZL21destroy_value_checkedPK13constexpr_ctxP9tree_nodePb 243235121
_ZL21find_failing_clause_rPK13constexpr_ctxP9tree_node 332
_ZL21find_immediate_fndeclPP9tree_nodePiPv 626800672
_ZL21maybe_constant_init_1P9tree_nodeS0_b9mce_value 176356874
_ZL22clear_no_implicit_zeroP9tree_node 5994927
_ZL22cxa_allocate_exceptionmPK13constexpr_ctxP9tree_nodeS3_ 17917
_ZL22cxx_eval_bit_field_refPK13constexpr_ctxP9tree_node9value_catPbS5_PS3_ 40745
_ZL22cxx_eval_check_shift_pmPK13constexpr_ctx9tree_codeP9tree_nodeS4_S4_ 80623823
_ZL22diagnose_std_terminatemPK13constexpr_ctxP9tree_node 22
_ZL22massage_constexpr_bodyP9tree_nodeS0_ 31361908
_ZL22outside_lifetime_errormP9tree_node 45
_ZL23cxx_eval_bare_aggregatePK13constexpr_ctxP9tree_node9value_catPbS5_PS3_ 3390856
_ZL23cxx_eval_constexpr_diagPK13constexpr_ctxP9tree_nodePbS4_PS3_ 210
_ZL23cxx_eval_cxa_builtin_fnPK13constexpr_ctxP9tree_node11cxa_builtinS3_PbS5_PS3_ 30389
_ZL23cxx_eval_start_lifetimePK13constexpr_ctxP9tree_nodeS3_PbS4_PS3_ 1593
_ZL23cxx_eval_statement_listPK13constexpr_ctxP9tree_nodePbS4_PS3_ 48416820
_ZL23cxx_fold_indirect_ref_1PK13constexpr_ctxmP9tree_nodeS3_mPbPS3_ 15373785
_ZL23cxx_union_active_memberPK13constexpr_ctxP9tree_nodePS3_ 86
_ZL23get_component_with_typeP9tree_nodeS0_S0_ 2831
_ZL24cxx_eval_array_referencePK13constexpr_ctxP9tree_node9value_catPbS5_PS3_ 15683020
_ZL24cxx_eval_call_expressionPK13constexpr_ctxP9tree_node9value_catPbS5_PS3_ 207676478
_ZL24cxx_eval_dynamic_cast_fnPK13constexpr_ctxP9tree_nodePbS4_PS3_ 3173
_ZL24cxx_set_object_constnessPK13constexpr_ctxP9tree_nodebPbS4_PS3_ 11180778
_ZL24get_or_insert_ctor_fieldP9tree_nodeS0_i 42602890
_ZL24modifying_const_object_p9tree_codeP9tree_nodeb 107860976
_ZL25check_for_return_continuePP9tree_nodePiPv 51818948
_ZL25cxx_eval_store_expressionPK13constexpr_ctxP9tree_node9value_catPbS5_PS3_ 104160819
_ZL25cxx_eval_unary_expressionPK13constexpr_ctxP9tree_nodebPbS4_PS3_ 26018126
_ZL25get_array_or_vector_neltsPK13constexpr_ctxP9tree_nodePbS4_PS3_ 21104987
_ZL25instantiate_constexpr_fnsP9tree_node 291651064
_ZL25is_std_allocator_allocateP9tree_node 107439
_ZL25is_std_allocator_allocatePK14constexpr_call 118067
_ZL25verify_constant_explain_rPP9tree_nodePiPv 1608
_ZL26base_field_constructor_eltP3vecI15constructor_elt5va_gc8vl_embedEP9tree_node 0
_ZL26check_for_failed_contractsP13constexpr_ctx 570712333
_ZL26cx_check_missing_mem_initsP9tree_nodeS0_b 3378999
_ZL26cxx_eval_binary_expressionPK13constexpr_ctxP9tree_node9value_catPbS5_PS3_ 112842931
_ZL26cxx_eval_internal_functionPK13constexpr_ctxP9tree_node9value_catPbS5_PS3_ 388641
_ZL26eval_and_check_array_indexPK13constexpr_ctxP9tree_nodebPbS4_PS3_ 21306019
_ZL26get_function_named_in_callP9tree_node 569002258
_ZL27check_constexpr_ctor_body_1P9tree_nodeS0_ 8607
_ZL27cxx_bind_parameters_in_callPK13constexpr_ctxP9tree_nodeS3_S3_PbS4_S4_PS3_ 185184767
_ZL27cxx_eval_is_within_lifetimePK13constexpr_ctxP9tree_nodeS3_PbS4_PS3_ 3952
_ZL27cxx_eval_logical_expressionPK13constexpr_ctxP9tree_nodeS3_S3_PbS4_PS3_ 18669489
_ZL27cxx_eval_trinary_expressionPK13constexpr_ctxP9tree_node9value_catPbS5_PS3_ 43640
_ZL27diagnose_uncaught_exceptionmPK13constexpr_ctxP9tree_node 374
_ZL27maybe_simplify_trivial_copyRP9tree_nodeS1_ 104160819
_ZL28cxx_eval_component_referencePK13constexpr_ctxP9tree_node9value_catPbS5_PS3_ 116311108
_ZL28extract_obj_from_addr_offsetP9tree_node 5840
_ZL28modifying_const_object_errorP9tree_nodeS0_ 65
_ZL29build_new_constexpr_heap_typePK13constexpr_ctxP9tree_nodeS3_S3_S3_PbS4_PS3_ 118067
_ZL29cxx_eval_increment_expressionPK13constexpr_ctxP9tree_node9value_catPbS5_PS3_ 8840345
_ZL29inline_asm_in_constexpr_errormb 35
_ZL30check_constexpr_bind_expr_varsP9tree_node 3762
_ZL30cxx_eval_builtin_function_callPK13constexpr_ctxP9tree_nodeS3_9value_catPbS5_PS3_ 20768459
_ZL30is_std_source_location_currentP9tree_node 58794
_ZL30is_std_source_location_currentPK14constexpr_call 86016
_ZL31clear_uchar_or_std_byte_in_maskmP9tree_nodePh 9631
_ZL31cxx_eval_conditional_expressionPK13constexpr_ctxP9tree_node9value_catPbS5_PS3_ 39508619
_ZL31cxx_replaceable_global_alloc_fnP9tree_node 38825223
_ZL31maybe_warn_about_constant_valuemP9tree_node 93522871
_ZL31potential_constant_expression_1P9tree_nodebbbbiPS0_ 4991608149
_ZL31sort_constexpr_mem_initializersP9tree_nodeP3vecI15constructor_elt5va_gc8vl_embedE 3650153
_ZL32build_anon_member_initializationP9tree_nodeS0_PP3vecI15constructor_elt5va_gc8vl_embedE 4575
_ZL32build_data_member_initializationP9tree_nodePP3vecI15constructor_elt5va_gc8vl_embedE 6152443
_ZL32cxx_eval_outermost_constant_exprP9tree_nodebb9mce_valuebS0_ 580835290
_ZL32cxx_fold_pointer_plus_expressionPK13constexpr_ctxP9tree_nodeS3_S3_PbS4_PS3_ 10973329
_ZL32cxx_maybe_fold_addr_pointer_plusP9tree_node 12312308
_ZL32fold_non_dependent_expr_templateP9tree_nodeibS0_ 31852580
_ZL35same_type_ignoring_tlq_and_bounds_pP9tree_nodeS0_ 451151610
_ZL36is_std_allocator_allocate_deallocateP9tree_node 661493
_ZL36is_std_allocator_allocate_deallocatePK14constexpr_call 495532
_ZL36uid_sensitive_constexpr_evaluation_pv 9108785
_ZL37maybe_initialize_constexpr_call_tablev 37138139
_ZL38cxx_eval_vector_conditional_expressionPK13constexpr_ctxP9tree_nodePbS4_PS3_ 11755
_ZL47build_constexpr_constructor_member_initializersP9tree_nodeS0_ 3728091
_ZL6breaksPP9tree_node 105529948
_ZL6throwsPP9tree_node 1929408073
_ZL7returnsPP9tree_node 110979997
_ZL8switchesPP9tree_node 12972816
_ZL9continuesPP9tree_node 142479884
_ZN18modifiable_trackerC2EP20constexpr_global_ctx 173612
_ZN18modifiable_trackerD2Ev 173612
_ZN20constexpr_global_ctx13destroy_valueEP9tree_nodeb 243618173
_ZN20constexpr_global_ctx13get_value_ptrEP9tree_nodeb 126066637
_ZN20constexpr_global_ctx19is_outside_lifetimeEP9tree_node 467417409
_ZN20constexpr_global_ctx9get_valueEP9tree_node 591723983
_ZN20constexpr_global_ctx9put_valueEP9tree_nodeS1_ 303858421
_ZN20constexpr_global_ctxC2Ev 580835290
_ZN21constexpr_call_hasher5equalEP14constexpr_callS1_ 242619910
_ZN23constexpr_fundef_hasher4hashEPK16constexpr_fundef 910416812
_ZN42uid_sensitive_constexpr_evaluation_checkerC2Ev 3887163765
_ZN43uid_sensitive_constexpr_evaluation_sentinelC2Ev 81652970
_ZNK42uid_sensitive_constexpr_evaluation_checker23evaluation_restricted_pEv 2578379431
_ZZL18cxx_eval_loop_exprPK13constexpr_ctxP9tree_nodePbS4_PS3_ENKUlvE_clEv 24882363
_ZZL21cxx_fold_indirect_refPK13constexpr_ctxmP9tree_nodeS3_PbPS3_ENKUlRS3_S6_E_clES6_S6_ 12255923
_ZZL24cxx_eval_call_expressionPK13constexpr_ctxP9tree_node9value_catPbS5_PS3_EN13free_bindingsD2Ev 185184763
_ZZL25cxx_eval_store_expressionPK13constexpr_ctxP9tree_node9value_catPbS5_PS3_ENKUlRK13releasing_vecE_clES9_ 52333

Generated by: LCOV version 2.4-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.