LCOV - code coverage report
Current view: top level - gcc/cp - constexpr.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 93.3 % 5169 4822
Test Date: 2025-01-18 13:11:24 Functions: 97.7 % 175 171
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
_Z11fold_simpleP9tree_node 96238895
_Z12is_std_classP9tree_nodePKc 162225
_Z12replace_declPP9tree_nodeS0_S0_ 337546
_Z14fini_constexprv 91268
_Z14literal_type_pP9tree_node 94186273
_Z16cx_error_contextv 205830
_Z16fold_to_constantP9tree_node 475398
_Z16is_std_allocatorP9tree_node 61047
_Z17cxx_constant_dtorP9tree_nodeS0_ 128
_Z17cxx_constant_initP9tree_nodeS0_ 1352
_Z18cxx_constant_valueP9tree_nodeS0_i 114803868
_Z18maybe_constexpr_fnP9tree_node 361434346
_Z19constexpr_fn_retvalP9tree_node 68630
_Z19find_failing_clausePK13constexpr_ctxP9tree_node 1155
_Z19maybe_constant_initP9tree_nodeS0_b 51474041
_Z19unshare_constructorP9tree_node 33331004
_Z19var_in_constexpr_fnP9tree_node 75327108
_Z20maybe_constant_valueP9tree_nodeS0_9mce_value 481653127
_Z21is_valid_constexpr_fnP9tree_nodeb 16477886
_Z22is_constant_expressionP9tree_node 520357551
_Z23fold_non_dependent_exprP9tree_nodeibS0_ 97749917
_Z23fold_non_dependent_initP9tree_nodeibS0_ 20681779
_Z24clear_cv_and_fold_cachesv 22810916
_Z25check_constexpr_ctor_bodyP9tree_nodeS0_b 3053710
_Z25decl_implicit_constexpr_pP9tree_node 112663
_Z25is_static_init_expressionP9tree_node 51475393
_Z25register_constexpr_fundefRK16constexpr_fundef 16030736
_Z25retrieve_constexpr_fundefP9tree_node 52408229
_Z25var_in_maybe_constexpr_fnP9tree_node 61280273
_Z26diagnose_failing_conditionP9tree_nodembPK13constexpr_ctx 1155
_Z27maybe_save_constexpr_fundefP9tree_node 133380824
_Z27require_constant_expressionP9tree_node 4269013
_Z28explain_invalid_constexpr_fnP9tree_node 334
_Z29is_instantiation_of_constexprP9tree_node 48887681
_Z29is_rvalue_constant_expressionP9tree_node 94968647
_Z29maybe_fold_non_dependent_exprP9tree_nodei 1959158
_Z29potential_constant_expressionP9tree_node 329211967
_Z29reduced_constant_expression_pP9tree_node 554775700
_Z31potential_constant_expression_1P9tree_nodebbbbi 1077881403
_Z34require_rvalue_constant_expressionP9tree_node 402
_Z35is_nondependent_constant_expressionP9tree_node 505741631
_Z36potential_rvalue_constant_expressionP9tree_node 18379769
_Z37require_potential_constant_expressionP9tree_node 27402145
_Z38is_nondependent_static_init_expressionP9tree_node 51475393
_Z40ensure_literal_type_for_constexpr_objectP9tree_node 260893599
_Z44require_potential_rvalue_constant_expressionP9tree_node 72292
_Z52require_potential_rvalue_constant_expression_fncheckP9tree_node 186
_ZL12fold_operandP9tree_nodePK13constexpr_ctx 554
_ZL13fold_simple_1P9tree_node 95749997
_ZL13label_matchesPK13constexpr_ctxPP9tree_nodeS3_ 247852
_ZL14clear_cv_cachev 22810916
_ZL14init_subob_ctxPK13constexpr_ctxRS_P9tree_nodeRS4_ 1561852
_ZL14replace_decl_rPP9tree_nodePiPv 2471417
_ZL15array_index_cmpP9tree_nodeS0_ 61415
_ZL15constexpr_errormbPKcz 768
_ZL15cxx_eval_assertPK13constexpr_ctxP9tree_nodePKcmbPbS6_ 224132
_ZL15get_fundef_copyP16constexpr_fundef 38089292
_ZL15verify_constantP9tree_nodebPbS1_ 450717392
_ZL16adjust_temp_typeP9tree_nodeS0_ 50704784
_ZL16free_constructorP9tree_node 682186
_ZL16initialized_typeP9tree_node 345247621
_ZL16raw_data_cst_eltP9tree_nodej 26303
_ZL16save_fundef_copyP9tree_nodeS0_ 38089292
_ZL17cxx_eval_bit_castPK13constexpr_ctxP9tree_nodePbS4_ 1316
_ZL17cxx_eval_vec_initPK13constexpr_ctxP9tree_node9value_catPbS5_ 497
_ZL17mark_non_constantP9tree_node 110196
_ZL18cxx_eval_loop_exprPK13constexpr_ctxP9tree_nodePbS4_PS3_ 473237
_ZL18extract_string_eltP9tree_nodejj 386527
_ZL18find_heap_var_refsPP9tree_nodePiPv 61038
_ZL18lookup_placeholderPK13constexpr_ctx9value_catP9tree_node 16641
_ZL18verify_ctor_sanityPK13constexpr_ctxP9tree_node 1198047
_ZL19check_bit_cast_typePK13constexpr_ctxmP9tree_nodeS3_ 5526
_ZL19cxx_eval_thunk_callPK13constexpr_ctxP9tree_nodeS3_9value_catPbS5_ 26
_ZL19cxx_eval_vec_init_1PK13constexpr_ctxP9tree_nodeS3_b9value_catPbS5_ 609
_ZL19find_array_ctor_eltP9tree_nodeS0_b 1326908
_ZL19instantiate_cx_fn_rPP9tree_nodePiPv 352609030
_ZL19is_std_construct_atP9tree_node 85638
_ZL19is_std_construct_atPK14constexpr_call 55492
_ZL19non_const_var_errormP9tree_nodeb 291
_ZL19pop_cx_call_contextv 49629569
_ZL20cref_has_const_fieldP9tree_node 277
_ZL20cxx_eval_switch_exprPK13constexpr_ctxP9tree_nodePbS4_PS3_ 25769
_ZL20cxx_placement_new_fnP9tree_node 27948154
_ZL20diag_array_subscriptmPK13constexpr_ctxP9tree_nodeS3_ 475
_ZL20push_cx_call_contextP9tree_node 49629569
_ZL21addr_of_non_const_varPP9tree_nodePiPv 8138856
_ZL21cxx_dynamic_cast_fn_pP9tree_node 27902791
_ZL21cxx_eval_indirect_refPK13constexpr_ctxP9tree_node9value_catPbS5_ 36748965
_ZL21cxx_fold_indirect_refPK13constexpr_ctxmP9tree_nodeS3_Pb 77371945
_ZL21destroy_value_checkedPK13constexpr_ctxP9tree_nodePb 88093970
_ZL21find_failing_clause_rPK13constexpr_ctxP9tree_node 360
_ZL21find_immediate_fndeclPP9tree_nodePiPv 140829848
_ZL21maybe_constant_init_1P9tree_nodeS0_bb 51475393
_ZL22clear_no_implicit_zeroP9tree_node 3307393
_ZL22cxx_eval_bit_field_refPK13constexpr_ctxP9tree_node9value_catPbS5_ 49
_ZL22cxx_eval_check_shift_pmPK13constexpr_ctx9tree_codeP9tree_nodeS4_S4_ 32592689
_ZL22massage_constexpr_bodyP9tree_nodeS0_ 15996259
_ZL22outside_lifetime_errormP9tree_node 34
_ZL23cxx_eval_bare_aggregatePK13constexpr_ctxP9tree_node9value_catPbS5_ 1197438
_ZL23cxx_eval_statement_listPK13constexpr_ctxP9tree_nodePbS4_PS3_ 22901270
_ZL23cxx_fold_indirect_ref_1PK13constexpr_ctxmP9tree_nodeS3_mPb 4274236
_ZL23cxx_union_active_memberPK13constexpr_ctxP9tree_node 54
_ZL23get_component_with_typeP9tree_nodeS0_S0_ 1561
_ZL24cxx_eval_array_referencePK13constexpr_ctxP9tree_node9value_catPbS5_ 1801833
_ZL24cxx_eval_call_expressionPK13constexpr_ctxP9tree_node9value_catPbS5_ 78340706
_ZL24cxx_eval_dynamic_cast_fnPK13constexpr_ctxP9tree_nodePbS4_ 1756
_ZL24cxx_set_object_constnessPK13constexpr_ctxP9tree_nodebPbS4_ 4977066
_ZL24get_or_insert_ctor_fieldP9tree_nodeS0_i 8059423
_ZL24modifying_const_object_p9tree_codeP9tree_nodeb 31367253
_ZL25check_for_return_continuePP9tree_nodePiPv 21740146
_ZL25cxx_eval_store_expressionPK13constexpr_ctxP9tree_node9value_catPbS5_ 41923944
_ZL25cxx_eval_unary_expressionPK13constexpr_ctxP9tree_nodebPbS4_ 21392211
_ZL25get_array_or_vector_neltsPK13constexpr_ctxP9tree_nodePbS4_ 2569055
_ZL25instantiate_constexpr_fnsP9tree_node 180456589
_ZL25is_std_allocator_allocateP9tree_node 64439
_ZL25is_std_allocator_allocatePK14constexpr_call 20749
_ZL25verify_constant_explain_rPP9tree_nodePiPv 865
_ZL26base_field_constructor_eltP3vecI15constructor_elt5va_gc8vl_embedEP9tree_node 0
_ZL26cx_check_missing_mem_initsP9tree_nodeS0_b 1522961
_ZL26cxx_eval_binary_expressionPK13constexpr_ctxP9tree_node9value_catPbS5_ 47937795
_ZL26cxx_eval_internal_functionPK13constexpr_ctxP9tree_node9value_catPbS5_ 265818
_ZL26eval_and_check_array_indexPK13constexpr_ctxP9tree_nodebPbS4_ 2572084
_ZL26get_function_named_in_callP9tree_node 278136798
_ZL27check_constexpr_ctor_body_1P9tree_nodeS0_ 4089
_ZL27cxx_bind_parameters_in_callPK13constexpr_ctxP9tree_nodeS3_PbS4_S4_ 67901483
_ZL27cxx_eval_logical_expressionPK13constexpr_ctxP9tree_nodeS3_S3_PbS4_ 9917697
_ZL27cxx_eval_trinary_expressionPK13constexpr_ctxP9tree_node9value_catPbS5_ 16
_ZL27maybe_simplify_trivial_copyRP9tree_nodeS1_ 38095717
_ZL28cxx_eval_component_referencePK13constexpr_ctxP9tree_node9value_catPbS5_ 36267339
_ZL28cxx_eval_constant_expressionPK13constexpr_ctxP9tree_node9value_catPbS5_PS3_ 1198700346
_ZL28extract_obj_from_addr_offsetP9tree_node 3251
_ZL28modifying_const_object_errorP9tree_nodeS0_ 63
_ZL29build_new_constexpr_heap_typePK13constexpr_ctxP9tree_nodeS3_S3_S3_PbS4_ 1397
_ZL29cxx_eval_increment_expressionPK13constexpr_ctxP9tree_node9value_catPbS5_ 1792227
_ZL29inline_asm_in_constexpr_errormb 31
_ZL30check_constexpr_bind_expr_varsP9tree_node 2372
_ZL30cxx_eval_builtin_function_callPK13constexpr_ctxP9tree_nodeS3_9value_catPbS5_ 10003491
_ZL30is_std_source_location_currentP9tree_node 1210
_ZL30is_std_source_location_currentPK14constexpr_call 1823
_ZL31clear_uchar_or_std_byte_in_maskmP9tree_nodePh 659
_ZL31cxx_eval_conditional_expressionPK13constexpr_ctxP9tree_node9value_catPbS5_PS3_ 7202513
_ZL31cxx_replaceable_global_alloc_fnP9tree_node 28104585
_ZL31maybe_warn_about_constant_valuemP9tree_node 49357632
_ZL31potential_constant_expression_1P9tree_nodebbbbiPS0_ 2773877021
_ZL31sort_constexpr_mem_initializersP9tree_nodeP3vecI15constructor_elt5va_gc8vl_embedE 1790289
_ZL32build_anon_member_initializationP9tree_nodeS0_PP3vecI15constructor_elt5va_gc8vl_embedE 840
_ZL32build_data_member_initializationP9tree_nodePP3vecI15constructor_elt5va_gc8vl_embedE 2571767
_ZL32cxx_eval_outermost_constant_exprP9tree_nodebb9mce_valuebS0_ 336000891
_ZL32cxx_fold_pointer_plus_expressionPK13constexpr_ctxP9tree_nodeS3_S3_PbS4_ 2006522
_ZL32cxx_maybe_fold_addr_pointer_plusP9tree_node 1790168
_ZL32fold_non_dependent_expr_templateP9tree_nodeibS0_ 24019504
_ZL35same_type_ignoring_tlq_and_bounds_pP9tree_nodeS0_ 157321047
_ZL36uid_sensitive_constexpr_evaluation_pv 0
_ZL37maybe_initialize_constexpr_call_tablev 17435032
_ZL38cxx_eval_vector_conditional_expressionPK13constexpr_ctxP9tree_nodePbS4_ 833
_ZL47build_constexpr_constructor_member_initializersP9tree_nodeS0_ 1806169
_ZL6breaksPP9tree_node 32235515
_ZL7returnsPP9tree_node 0
_ZL8switchesPP9tree_node 0
_ZL9continuesPP9tree_node 54892378
_ZN18modifiable_trackerC2EP20constexpr_global_ctx 224019
_ZN18modifiable_trackerD2Ev 224019
_ZN20constexpr_global_ctx13destroy_valueEP9tree_node 88101974
_ZN20constexpr_global_ctx13get_value_ptrEP9tree_nodeb 36969672
_ZN20constexpr_global_ctx19is_outside_lifetimeEP9tree_node 188321789
_ZN20constexpr_global_ctx9get_valueEP9tree_node 236783344
_ZN20constexpr_global_ctx9put_valueEP9tree_nodeS1_ 111593882
_ZN20constexpr_global_ctxC2Ev 336000891
_ZN21constexpr_call_hasher5equalEP14constexpr_callS1_ 123806625
_ZN23constexpr_fundef_hasher4hashEPK16constexpr_fundef 478451935
_ZN42uid_sensitive_constexpr_evaluation_checkerC2Ev 1777875914
_ZN43uid_sensitive_constexpr_evaluation_sentinelC2Ev 61757939
_ZNK42uid_sensitive_constexpr_evaluation_checker23evaluation_restricted_pEv 1251576887
_ZZL21cxx_fold_indirect_refPK13constexpr_ctxmP9tree_nodeS3_PbENKUlRS3_S5_E_clES5_S5_ 2958330
_ZZL24cxx_eval_call_expressionPK13constexpr_ctxP9tree_node9value_catPbS5_EN13free_bindingsD2Ev 67901483

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.