LCOV - code coverage report
Current view: top level - gcc - fold-const.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 86.1 % 8292 7142
Test Date: 2025-01-11 13:11:20 Functions: 86.8 % 228 198
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
_Z21div_if_zero_remainderPK9tree_nodeS1_ 0
_Z22fold_unary_to_constant9tree_codeP9tree_nodeS1_ 0
_Z30fold_unary_ignore_overflow_locm9tree_codeP9tree_nodeS1_ 0
_Z9can_min_pPK9tree_nodeS1_R8poly_intILj1E16generic_wide_intI16wide_int_storageEE 0
_ZL16expr_location_orP9tree_nodem 0
_ZL19native_encode_fixedPK9tree_nodePhii 0
_ZL22native_interpret_fixedP9tree_nodePKhi 0
_ZL27distributes_over_addition_p9tree_codei 0
_ZL29integer_valued_real_invalid_pP9tree_nodei 0
_ZL33fold_convert_const_fixed_from_intP9tree_nodePKS_ 0
_ZL33fold_convert_const_int_from_fixedP9tree_nodePKS_ 0
_ZL34fold_convert_const_fixed_from_realP9tree_nodePKS_ 0
_ZL34fold_convert_const_real_from_fixedP9tree_nodePKS_ 0
_ZL35fold_convert_const_fixed_from_fixedP9tree_nodePKS_ 0
_ZN8selftest22test_fold_vec_perm_cstL12validate_resEjjP9tree_nodePS2_ 0
_ZN8selftest22test_fold_vec_perm_cstL15test_all_nunitsE12machine_mode 0
_ZN8selftest22test_fold_vec_perm_cstL16test_v4si_vnx4siE12machine_modeS1_ 0
_ZN8selftest22test_fold_vec_perm_cstL16test_vnx4si_v4siE12machine_modeS1_ 0
_ZN8selftest22test_fold_vec_perm_cstL16validate_res_vlsEP9tree_nodePS2_j 0
_ZN8selftest22test_fold_vec_perm_cstL17test_nunits_max_4E12machine_mode 0
_ZN8selftest22test_fold_vec_perm_cstL17test_nunits_min_2E12machine_mode 0
_ZN8selftest22test_fold_vec_perm_cstL17test_nunits_min_4E12machine_mode 0
_ZN8selftest22test_fold_vec_perm_cstL17test_nunits_min_8E12machine_mode 0
_ZN8selftest22test_fold_vec_perm_cstL18build_vec_cst_randE12machine_modejjibi 0
_ZN8selftest22test_fold_vec_perm_cstL18builder_push_elemsILj2EEEvR18int_vector_builderI8poly_intILj1ElEERAT__S3_ILj1EmE 0
_ZN8selftest22test_fold_vec_perm_cstL18builder_push_elemsILj12EEEvR18int_vector_builderI8poly_intILj1ElEERAT__S3_ILj1EmE 0
_ZN8selftest22test_fold_vec_perm_cstL18builder_push_elemsILj2EEEvR18int_vector_builderI8poly_intILj1ElEERAT__S3_ILj1EmE 0
_ZN8selftest22test_fold_vec_perm_cstL18builder_push_elemsILj3EEEvR18int_vector_builderI8poly_intILj1ElEERAT__S3_ILj1EmE 0
_ZN8selftest22test_fold_vec_perm_cstL18builder_push_elemsILj4EEEvR18int_vector_builderI8poly_intILj1ElEERAT__S3_ILj1EmE 0
_ZN8selftest22test_fold_vec_perm_cstL18builder_push_elemsILj6EEEvR18int_vector_builderI8poly_intILj1ElEERAT__S3_ILj1EmE 0
_ZN8selftest22test_fold_vec_perm_cstL18is_simple_vla_sizeE8poly_intILj1EmE 0
_ZL16fold_mult_zconjzmP9tree_nodeS0_ 2
_ZN8selftest19fold_const_cc_testsEv 4
_ZN8selftest21test_operand_equalityL4testEv 4
_ZN8selftest22test_fold_vec_perm_cstL4testEv 4
_ZN8selftestL19test_vector_foldingEv 4
_ZN8selftestL23test_arithmetic_foldingEv 4
_ZN8selftestL26test_vec_duplicate_foldingEv 4
_Z26shift_bytes_in_array_rightPhjj 8
_ZN8selftestL31assert_binop_folds_to_nonlvalueEP9tree_node9tree_codeS1_S1_ 12
_ZN8selftestL27assert_binop_folds_to_constEP9tree_node9tree_codeS1_S1_ 16
_ZL33fold_addr_of_array_ref_differencemP9tree_nodeS0_S0_b 39
_Z27ctor_single_nonzero_elementPK9tree_node 51
_ZL16maskable_range_pPK9tree_nodeS1_PS_PS2_S3_ 131
_Z25tree_expr_signaling_nan_pPK9tree_node 391
_Z23find_bitfield_repr_typeii 541
_Z26native_interpret_aggregateP9tree_nodePKhii 659
_ZL10eval_substmP9tree_nodeS0_S0_S0_S0_ 690
_Z26integer_valued_real_call_p11combined_fnP9tree_nodeS1_i 924
_ZL24native_interpret_complexP9tree_nodePKhi 1295
_Z10sign_bit_pP9tree_nodePKS_ 2163
_Z37fold_build_call_array_initializer_locmP9tree_nodeS0_iPS0_ 3486
_Z21fold_read_from_vectorP9tree_node8poly_intILj1EmE 4902
_Z21omit_two_operands_locmP9tree_nodeS0_S0_S0_ 6949
_ZL17fold_vec_perm_cstP9tree_nodeS0_S0_RK16vec_perm_indicesPPKc 6967
_ZL34valid_mask_for_fold_vec_perm_cst_pP9tree_nodeS0_RK16vec_perm_indicesPPKc 6967
_ZL21vec_cst_ctor_to_arrayP9tree_nodejPS0_ 9802
_ZL22compcode_to_comparison15comparison_code 13198
_Z28integer_valued_real_binary_p9tree_codeP9tree_nodeS1_i 13783
_Z27integer_valued_real_unary_p9tree_codeP9tree_nodei 14667
_ZL17build_zero_vectorP9tree_node 16776
_ZL18pointer_may_wrap_pP9tree_nodeS0_8poly_intILj1ElE 18028
_Z13fold_vec_permP9tree_nodeS0_S0_RK16vec_perm_indices 19049
_ZL21native_encode_complexPK9tree_nodePhii 20134
_Z25shift_bytes_in_array_leftPhjj 20577
_Z19combine_comparisonsm9tree_codeS_S_P9tree_nodeS1_S1_ 26837
_Z21native_interpret_realP9tree_nodePKhi 31345
_Z14fold_abs_constP9tree_nodeS0_ 32740
_ZL32fold_convert_const_int_from_real9tree_codeP9tree_nodePKS0_ 35178
_ZL25native_encode_constructorPK9tree_nodePhii 46507
_Z27fold_build2_initializer_locm9tree_codeP9tree_nodeS1_S1_ 50445
_ZL22comparison_to_compcode9tree_code 53674
_ZL23native_interpret_vectorP9tree_nodePKhj 73060
_Z21integer_valued_real_pP9tree_nodei 87497
_ZL12mask_with_tzP9tree_nodeRK16generic_wide_intI16wide_int_storageES5_ 105518
_Z28integer_valued_real_single_pP9tree_nodei 111462
_ZL33fold_view_convert_vector_encodingP9tree_nodeS0_ 122369
_ZL20native_encode_stringPK9tree_nodePhii 123808
_ZL31merge_truthop_with_opposite_armmP9tree_nodeS0_b 131872
_Z19fold_ignored_resultP9tree_node 132797
_Z22minmax_from_comparison9tree_codeP9tree_nodeS1_S1_S1_ 133745
_ZL17range_predecessorP9tree_node 150494
_Z31fold_build_pointer_plus_hwi_locmP9tree_nodel 159149
_Z18fold_convertible_pPK9tree_nodeS1_ 165828
_ZL28native_interpret_vector_partP9tree_nodePKhjjj 188346
_ZL16contains_label_pP9tree_node 197775
_Z18vector_const_binop9tree_codeP9tree_nodeS1_PFS1_S_S1_S1_E 232951
_Z20omit_one_operand_locmP9tree_nodeS0_S0_ 273672
_Z26tree_expr_maybe_infinite_pPK9tree_node 357532
_Z27can_native_interpret_type_pP9tree_node 372658
_ZL20simplify_const_binop9tree_codeP9tree_nodeS1_i 398866
_ZL30fold_cond_expr_with_comparisonmP9tree_node9tree_codeS0_S0_S0_S0_ 430414
_Z16range_check_typeP9tree_node 515803
_Z18tree_expr_finite_pPK9tree_node 531963
_ZL18native_encode_realPK9tree_nodePhii 542222
_Z9fold_initP9tree_node 543248
_Z33tree_expr_maybe_real_minus_zero_pPK9tree_node 600746
_Z20ptr_difference_constP9tree_nodeS0_P8poly_intILj1ElE 612131
_Z18make_bit_field_refmP9tree_nodeS0_S0_l8poly_intILj1ElEii 637677
_Z25fold_real_zero_addition_pPK9tree_nodeS1_S1_i 642812
_Z31get_array_ctor_element_at_indexP9tree_node16generic_wide_intI22fixed_wide_int_storageILi128EEEPj 681504
_ZL20native_encode_vectorPK9tree_nodePhii 718811
_Z31tree_expr_maybe_signaling_nan_pPK9tree_node 724454
_Z20tree_expr_infinite_pPK9tree_node 767693
_ZL25native_encode_vector_partPK9tree_nodePhiim 834097
_ZL32tree_invalid_nonnegative_warnv_pP9tree_nodePbi 874761
_ZL35fold_binary_op_with_conditional_argm9tree_codeP9tree_nodeS1_S1_S1_S1_i 905908
_Z15address_compare9tree_codeP9tree_nodeS1_S1_RS1_S2_R8poly_intILj1ElES5_b 1000052
_Z13exact_inverseP9tree_nodeS0_ 1092713
_Z17fold_bit_and_maskP9tree_nodeS0_9tree_codeS0_S1_S0_S0_S0_S1_S0_S0_PS0_ 1150011
_Z26tree_unary_nonzero_warnv_p9tree_codeP9tree_nodeS1_Pb 1193792
_Z20inverse_conditions_pPK9tree_nodeS1_ 1221933
_ZL32split_address_to_core_and_offsetP9tree_nodeP8poly_intILj1ElEPS0_ 1224262
_Z17build_range_checkmP9tree_nodeS0_iS0_S0_ 1368681
_Z13multiple_of_pP9tree_nodePKS_S2_b 1406151
_ZL15range_successorP9tree_node 1408238
_ZL22fold_invert_truthvaluemP9tree_node 1570365
_Z16fold_div_compare9tree_codeP9tree_nodeS1_PS1_S2_Pb 1610488
_Z21fold_overflow_warningPKc25warn_strict_overflow_code 1701064
_Z15negate_mathfn_p11combined_fn 1869110
_ZL33fold_convert_const_real_from_realP9tree_nodePKS_ 1972086
_ZL14fold_not_constPK9tree_nodePS_ 2227480
_ZL16contains_label_1PP9tree_nodePiPv 2276029
_Z27tree_binary_nonzero_warnv_p9tree_codeP9tree_nodeS1_S1_Pb 2576149
_Z29may_negate_without_overflow_pPK9tree_node 2915000
_Z27fold_build1_initializer_locm9tree_codeP9tree_nodeS1_ 2988104
_Z12merge_rangesPiPP9tree_nodeS2_iS1_S1_iS1_S1_ 3074104
_ZL11negate_exprP9tree_node 3149332
_ZL26optimize_bit_field_comparem9tree_codeP9tree_nodeS1_S1_ 3748697
_Z35protected_set_expr_location_unshareP9tree_nodem 3822237
_Z15tree_expr_nan_pPK9tree_node 3860462
_ZL20native_interpret_intP9tree_nodePKhi 4061477
_Z21native_interpret_exprP9tree_nodePKhi 4220118
_Z21tree_expr_maybe_nan_pPK9tree_node 4682313
_Z18simple_condition_pP9tree_node 5466882
_Z27build_fold_indirect_ref_locmP9tree_node 6332226
_Z8c_getstrP9tree_node 7306633
_Z25native_encode_initializerP9tree_nodePhiiS1_ 7992539
_ZL24fold_plusminus_mult_exprm9tree_codeP9tree_nodeS1_S1_ 8544282
_Z21fold_indirect_ref_locmP9tree_node 9765844
_ZL21maybe_nonzero_addressP9tree_node 10107717
_Z30tree_unary_nonnegative_warnv_p9tree_codeP9tree_nodeS1_Pbi 11924517
_ZL22fold_view_convert_exprP9tree_nodeS0_ 12122835
_Z10getbyterepP9tree_nodePm 12133873
_Z23fold_binary_to_constant9tree_codeP9tree_nodeS1_S1_ 14091401
_Z23tree_expr_nonnegative_pP9tree_node 14495809
_Z27fold_build_pointer_plus_locmP9tree_nodeS0_ 14865487
_ZL30operand_equal_for_comparison_pP9tree_nodeS0_ 15767414
_Z14round_down_locmP9tree_nodei 15774099
_Z19fold_indirect_ref_1mP9tree_nodeS0_ 16350377
_Z25convert_to_ptrofftype_locmP9tree_node 16727858
_ZL17native_encode_intPK9tree_nodePhii 16864460
_Z27fold_binary_initializer_locm9tree_codeP9tree_nodeS1_S1_ 16979581
_ZL15associate_treesmP9tree_nodeS0_9tree_codeS0_ 17850873
_Z29tree_call_nonnegative_warnv_pP9tree_node11combined_fnS0_S0_Pbi 19846163
_ZL11range_binop9tree_codeP9tree_nodeS1_iS1_i 19883152
_Z29tree_expr_nonnegative_warnv_pP9tree_nodePbi 21428165
_ZL33fold_to_nonsharp_ineq_using_boundmP9tree_nodeS0_ 21502294
_ZL18fold_truth_andor_1m9tree_codeP9tree_nodeS1_S1_ 22178803
_ZL15fold_range_testm9tree_codeP9tree_nodeS1_S1_ 22453179
_ZL16fold_truth_andorm9tree_codeP9tree_nodeS1_S1_S1_S1_ 22709388
_Z15fold_build3_locm9tree_codeP9tree_nodeS1_S1_S1_ 22790417
_ZL13negate_expr_pP9tree_node 25080132
_Z16fold_ternary_locm9tree_codeP9tree_nodeS1_S1_S1_ 28365256
_ZL17fold_negate_constP9tree_nodeS0_ 29398222
_Z18native_encode_exprPK9tree_nodePhii 30021508
_Z15size_diffop_locmP9tree_nodeS0_ 31141842
_Z31tree_binary_nonnegative_warnv_p9tree_codeP9tree_nodeS1_S1_Pbi 33568451
_ZL31tree_simple_nonnegative_warnv_p9tree_codeP9tree_node 34166039
_ZL16fold_negate_exprmP9tree_node 35273195
_ZL18fold_negate_expr_1mP9tree_node 35273195
_Z21invert_truthvalue_locmP9tree_node 38067402
_Z14non_lvalue_locmP9tree_node 39384537
_Z31tree_single_nonnegative_warnv_pP9tree_nodePbi 41768302
_ZL19fold_truth_not_exprmP9tree_node 44736183
_Z10make_rangeP9tree_nodePiPS0_S2_Pb 44907368
_ZL14maybe_lvalue_pPK9tree_node 47691196
_Z25fold_build_call_array_locmP9tree_nodeS0_iPS0_ 49453522
_ZL19twoval_comparison_pP9tree_nodePS0_S1_ 50162292
_ZL21fold_relational_const9tree_codeP9tree_nodeS1_S1_ 52396845
_Z15make_range_stepm9tree_codeP9tree_nodeS1_S1_PS1_S2_PiPb 53614472
_ZL16simple_operand_pPK9tree_node 59260163
_ZL29maybe_canonicalize_comparisonm9tree_codeP9tree_nodeS1_S1_ 76277540
_ZL15fold_comparisonm9tree_codeP9tree_nodeS1_S1_ 76336881
_Z21constant_boolean_nodebP9tree_node 78656158
_ZL16extract_muldiv_1P9tree_nodeS0_9tree_codeS0_Pb 81424027
_ZL14extract_muldivP9tree_nodeS0_9tree_codeS0_Pb 84670208
_Z17expr_not_equal_toP9tree_nodeRK16generic_wide_intI16wide_int_storageE 93106773
_Z22invert_tree_comparison9tree_codeb 106740951
_Z29fold_build_cleanup_point_exprP9tree_nodeS0_ 108737689
_Z19tree_expr_nonzero_pP9tree_node 134698926
_ZL25tree_expr_nonzero_warnv_pP9tree_nodePb 135631863
_Z20swap_tree_comparison9tree_code 135825381
_Z27tree_single_nonzero_warnv_pP9tree_nodePb 138620135
_Z30fold_read_from_constant_stringP9tree_node 149450944
_ZL31maybe_canonicalize_comparison_1m9tree_codeP9tree_nodeS1_S1_Pb 151803273
_ZL11const_binop9tree_codeP9tree_nodeS1_ 162286508
_Z41fold_undefer_and_ignore_overflow_warningsv 173355414
_ZL10split_treeP9tree_nodeS0_9tree_codePS0_S2_S2_S2_S2_i 200535562
_Z11const_binop9tree_codeP9tree_nodeS1_S1_ 208292753
_Z17tree_nonzero_bitsPK9tree_node 220460026
_Z10const_unop9tree_codeP9tree_nodeS1_ 265638229
_Z34fold_deferring_overflow_warnings_pv 301787729
_Z24build_fold_addr_expr_locmP9tree_node 345271359
_Z34build_fold_addr_expr_with_type_locmP9tree_nodeS0_ 377930420
_Z15fold_build2_locm9tree_codeP9tree_nodeS1_S1_ 519832546
_Z15fold_binary_locm9tree_codeP9tree_nodeS1_S1_ 729987401
_Z15fold_build1_locm9tree_codeP9tree_nodeS1_ 740785470
_Z28fold_defer_overflow_warningsv 1066188932
_Z30fold_undefer_overflow_warningsbPK6gimplei 1066188932
_ZL31fold_convert_const_int_from_intP9tree_nodePKS_ 1082976964
_ZL18fold_convert_const9tree_codeP9tree_nodeS1_ 1140575035
_Z4foldP9tree_node 1246858398
_Z14poly_int_binopR8poly_intILj1E16generic_wide_intI16wide_int_storageEE9tree_codePK9tree_nodeS8_6signopPN2wi13overflow_typeE 1276082401
_Z14wide_int_binopR16generic_wide_intI16wide_int_storageE9tree_codeRKS1_S5_6signopPN2wi13overflow_typeE 1276082401
_Z15int_const_binop9tree_codePK9tree_nodeS2_i 1276082401
_Z20tree_swap_operands_pPK9tree_nodeS1_ 1413852074
_Z14fold_unary_locm9tree_codeP9tree_nodeS1_ 1653594589
_ZN7inchash8add_exprEPK9tree_nodeRNS_4hashEj 1719426109
_Z16fold_convert_locmP9tree_nodeS0_ 1773383707
_Z14size_binop_locm9tree_codeP9tree_nodeS1_ 1983862944
_ZL23int_binop_types_match_p9tree_codePK9tree_nodeS2_ 2015004786
_Z15operand_equal_pPK9tree_nodeS1_j 2539000201
_ZN15operand_compare12hash_operandEPK9tree_nodeRN7inchash4hashEj 2546270142
_Z12round_up_locmP9tree_nodej 2556882430
_Z13size_int_kind8poly_intILj1ElE14size_type_kind 2953477290
_ZN15operand_compare15operand_equal_pEPK9tree_nodeS2_j 6174214570
_ZN15operand_compare15operand_equal_pEP9tree_nodePKS0_S1_S3_j 6174902641
_ZN15operand_compare17verify_hash_valueEPK9tree_nodeS2_jPb 6179472314

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.