LCOV - code coverage report
Current view: top level - /mnt/build/buildbot/bld/build-lcov/gcc/m2/gm2-compiler-boot - M2GenGCC.c (source / functions) Coverage Total Hit
Test: gcc.info Lines: 82.0 % 3795 3112
Test Date: 2025-08-30 13:27:53 Functions: 83.9 % 261 219
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
M2GenGCC_ConvertQuadsToTree 326995
M2GenGCC_GetHighFromUnbounded 18108
M2GenGCC_LValueToGenericPtr 407666
M2GenGCC_PrepareCopyString 3312
M2GenGCC_ResolveConstantExpressions 53606143
M2GenGCC_StringToChar 979255
M2GenGCC_ZConstToTypedConst 7938
_M2_M2GenGCC_fini 0
_M2_M2GenGCC_init 15928
_ZL10CanConvertjj 0
_ZL10CodeBinary26m2expr_BuildBinProcedure_pj 10118
_ZL10CodeCoercejjjj 556
_ZL10CodeIfLessj 3310
_ZL10CodeInlinej 27
_ZL10CodeSetAndj 60
_ZL10ConvertRHSP9tree_nodejj 26248
_ZL10FoldBinaryj25M2GCCDeclare_WalkAction_p26m2expr_BuildBinProcedure_pjjjj 593084
_ZL10FoldCoercej25M2GCCDeclare_WalkAction_pjjjj 4602
_ZL10FoldIfLessjjjjj 30834
_ZL10FoldNegatej25M2GCCDeclare_WalkAction_pjjj 33326
_ZL10FoldSetAndj25M2GCCDeclare_WalkAction_pjjjj 0
_ZL10GetFieldNojjjPP9tree_node 1406
_ZL10IsConstStrj 376292
_ZL10IsConstantj 736447
_ZL10RemoveQuad25M2GCCDeclare_WalkAction_pjj 0
_ZL10UseBuiltinjj 1068
_ZL11CodeBecomesj 173773
_ZL11CodeConvertjjjj 42588
_ZL11CodeDivCeiljjj 0
_ZL11CodeEndFilev 0
_ZL11CodeIfNotInj 1246
_ZL11CodeInitEndjb 66425
_ZL11CodeMakeAdrjjjj 0
_ZL11CodeModCeiljjj 0
_ZL11FoldBecomes25M2GCCDeclare_WalkAction_pPvj 3658630
_ZL11FoldBuiltinj25M2GCCDeclare_WalkAction_pj 15432
_ZL11FoldConvertj25M2GCCDeclare_WalkAction_pjjjj 297072
_ZL11FoldDivCeilj25M2GCCDeclare_WalkAction_pjjjj 0
_ZL11FoldIfNotInjjjjj 5618
_ZL11FoldMakeAdrj25M2GCCDeclare_WalkAction_pjjjj 12
_ZL11FoldModCeilj25M2GCCDeclare_WalkAction_pjjjj 0
_ZL11MakeCopyUsejj 4448
_ZL11PopKindTreejj 16572
_ZL11ResolveHighjjj 815088
_ZL11SkipToArrayjj 22160
_ZL12CodeAddCheckjjj 20574
_ZL12CodeCatchEndv 2830
_ZL12CodeDivFloorjjj 0
_ZL12CodeDivTruncjjj 430
_ZL12CodeIfGreEquj 5264
_ZL12CodeIfNotEquj 29695
_ZL12CodeIfSetEqujjjj 490
_ZL12CodeIfSetGrejjjj 0
_ZL12CodeModFloorjjj 0
_ZL12CodeModTruncjjj 0
_ZL12CodeSetShiftjjjj 696
_ZL12CodeSubCheckjjj 8878
_ZL12CodeUnarySet30m2expr_BuildUnarySetFunction_p27M2GenGCC_DoUnaryProcedure_pjjj 22
_ZL12FoldArithAddj25M2GCCDeclare_WalkAction_pjjjj 334372
_ZL12FoldDivFloorj25M2GCCDeclare_WalkAction_pjjjj 0
_ZL12FoldDivTruncj25M2GCCDeclare_WalkAction_pjjjj 8296
_ZL12FoldIfGreEqujjjjj 37688
_ZL12FoldIfNotEqujjjjj 267031
_ZL12FoldModFloorj25M2GCCDeclare_WalkAction_pjjjj 0
_ZL12FoldModTruncj25M2GCCDeclare_WalkAction_pjjjj 96
_ZL12FoldSetShiftj25M2GCCDeclare_WalkAction_pjjjj 0
_ZL12FoldTBitsizej25M2GCCDeclare_WalkAction_pjjj 60
_ZL12FoldUnarySetj25M2GCCDeclare_WalkAction_p27M2GenGCC_DoUnaryProcedure_pjjj 4
_ZL12GetParamSizejj 0
_ZL12GetSetLimitsjPjS_ 2794
_ZL12UnaryOperandjj 812
_ZL12checkBecomesjjjjj 172911
_ZL12checkDeclarej 2452
_ZL13CallInnerInitj 408
_ZL13CheckConstantjjj 6
_ZL13CodeBinarySet26m2expr_BuildBinProcedure_p22M2GenGCC_DoProcedure_pj 1024
_ZL13CodeIfLessEquj 5168
_ZL13CodeIfSetLessjjjj 6
_ZL13CodeInitStartjb 66425
_ZL13CodeMultCheckjjj 10120
_ZL13CodeSetRotatejjjj 382
_ZL13CodeStatementj 3754612
_ZL13CodeUnboundedjj 32571
_ZL13FoldBinarySetj25M2GCCDeclare_WalkAction_p22M2GenGCC_DoProcedure_pjjjj 47522
_ZL13FoldIfLessEqujjjjj 28720
_ZL13FoldSetRotatej25M2GCCDeclare_WalkAction_pjjjj 0
_ZL13IsExportedGccj 102778
_ZL14AutoInitializemj 71758
_ZL14BinaryOperandsjjj 646398
_ZL14CodeAddCheckedjjj 30262
_ZL14CodeCatchBeginv 2830
_ZL14CodeDirectCalljj 190748
_ZL14CodeDivM2Checkjjj 1748
_ZL14CodeFinallyEndjb 15507
_ZL14CodeFunctValuemj 48879
_ZL14CodeModM2Checkjjj 1864
_ZL14CodeSubCheckedjjj 8878
_ZL14CodeUnaryCheck33m2expr_BuildUnaryCheckProcedure_pP9tree_nodejjj 806
_ZL14MixTypesBinaryjjjb 53302
_ZL15CheckReferencedj20M2Quads_QuadOperator 3754612
_ZL15CodeBinaryCheck31m2expr_BuildBinCheckProcedure_pj 43184
_ZL15CodeIfSetGreEqujjjj 6
_ZL15CodeIfSetNotEqujjj 588
_ZL15CodeInitAddressjjjj 54
_ZL15CodeModuleScopej 0
_ZL15CodeMultCheckedjjj 10120
_ZL15CodeNewLocalVarjj 71758
_ZL15CodeRecordFieldjjj 130904
_ZL15CodeReturnValuej 19265
_ZL15CreateLabelNamej 200316
_ZL15FoldElementSizej25M2GCCDeclare_WalkAction_pjjj 7940
_ZL15FoldRecordFieldj25M2GCCDeclare_WalkAction_pjjjj 0
_ZL15GetParamAddressmjj 0
_ZL15InitBuiltinSymsj 57409634
_ZL15IsConstStrKnownj 41896
_ZL15NoWalkProcedurej 0
_ZL15PerformCodeIfInj 370
_ZL15TryDeclareConstjj 3658630
_ZL16AutoInitVariablemj 60
_ZL16CallInnerFinallyj 264
_ZL16CodeDivM2Checkedjjj 1748
_ZL16CodeFinallyStartjb 15507
_ZL16CodeIfSetLessEqujjjj 6
_ZL16CodeIndirectCalljj 672
_ZL16CodeKillLocalVarj 71752
_ZL16CodeModM2Checkedjjj 1864
_ZL16CodeSavePriorityjjj 420
_ZL16CodeStartDefFilej 121519
_ZL16CodeStartModFilej 66017
_ZL16DoIsIntersectionjP9tree_nodeS0_S0_S0_PvS1_ 0
_ZL16ErrorMessageDecljPKcjjjb 12
_ZL16FoldBuiltinConstj25M2GCCDeclare_WalkAction_pjjj 29482
_ZL16FoldConstBecomesjjj 172911
_ZL16FoldStringLengthj25M2GCCDeclare_WalkAction_p 72
_ZL16IsConstProcedurej 580
_ZL16IsUnboundedArrayj 1025917
_ZL16PerformCodeIfEquj 19764
_ZL16PerformCodeIfGrej 4360
_ZL16TypeCheckBecomes25M2GCCDeclare_WalkAction_pj 254728
_ZL16checkRecordTypesjjj 172911
_ZL17AreSubrangesKnownj 43190
_ZL17BuildHighFromCharj 43462
_ZL17CheckUnaryOperandjj 812
_ZL17CodeNegateCheckedjjj 834
_ZL17CodeSaveExceptionjj 2830
_ZL17CodeStatementNotej 438614
_ZL17DefaultConvertGM2j 19858
_ZL17DescribeTypeErrorjjj 6
_ZL17FoldStatementNotej 0
_ZL17PerformCodeIfLessj 3310
_ZL18BuildHighFromArrayjjj 22160
_ZL18CheckBinaryOperandjbjb 1292796
_ZL18CodeBinarySetShift26m2expr_BuildSetProcedure_p22M2GenGCC_DoProcedure_pjjjjjjj 1078
_ZL18CodeProcedureScopej 71764
_ZL18ComparisonMixTypesjjjjj 66429
_ZL18IsParameterWrittenjj 77225
_ZL18PerformCodeBecomesmjjj 172911
_ZL18PerformCodeIfNotInj 1240
_ZL18PerformFoldBecomes25M2GCCDeclare_WalkAction_pj 254728
_ZL18checkArrayElementsjjjjj 172911
_ZL18checkIncorrectMetajjj 172911
_ZL19BuildHighFromStringj 743362
_ZL19CodeBuiltinFunctionjjjj 48879
_ZL19CodeLastForIteratorj 0
_ZL19CodeRestorePriorityjjj 412
_ZL19FoldBuiltinFunctionj25M2GCCDeclare_WalkAction_pjjjj 6188789
_ZL19FoldBuiltinTypeInfoj25M2GCCDeclare_WalkAction_pjjjj 360
_ZL19FoldLastForIteratorj25M2GCCDeclare_WalkAction_p 12598
_ZL19PerformCodeIfGreEquj 5258
_ZL19PerformCodeIfNotEquj 29683
_ZL20CheckElementSetTypesj 1610
_ZL20CodeRestoreExceptionjj 2770
_ZL20CodeStandardFunctionjjjj 282
_ZL20FoldStandardFunctionj25M2GCCDeclare_WalkAction_pjjjj 2768
_ZL20IsUnboundedWrittenTojj 4448
_ZL20PerformCodeIfLessEquj 5156
_ZL21ConvertBinaryOperandsmPP9tree_nodeS1_jjj 119955
_ZL21CreateLabelProcedureNjPKcjjj 0
_ZL21FoldStringConvertCnulj25M2GCCDeclare_WalkAction_p 8163
_ZL21GetAddressOfUnboundedmj 4448
_ZL21IsCoerceableParameterj 361978
_ZL21IsCompilingMainModulej 163864
_ZL22BuildIfVarInConstValuemjPvjj 6
_ZL22BuildTreeFromInterfacej 54
_ZL22FoldStringConvertM2nulj25M2GCCDeclare_WalkAction_p 32605
_ZL22IsValidExpressionRelOpjb 69201
_ZL22PerformLastForIteratorj25M2GCCDeclare_WalkAction_pb 2238
_ZL23BinaryOperandRealFamilyj 40850
_ZL23DeclaredOperandsBecomes25M2GCCDeclare_WalkAction_pj 3658630
_ZL23FoldElementSizeForArrayjj25M2GCCDeclare_WalkAction_pjj 0
_ZL23FoldSymmetricDifferencej25M2GCCDeclare_WalkAction_pjjjj 0
_ZL23MaybeDebugBuiltinAllocamjP9tree_node 4448
_ZL23MaybeDebugBuiltinMemcpymP9tree_nodeS0_S0_ 5902
_ZL24BuildCascadedIfThenElsifjPvjj 0
_ZL24BuildHighFromStaticArraymj 22160
_ZL24CodeSetLogicalDifferencej 66
_ZL25BuildIfNotVarInConstValuejPvjj 64
_ZL26CheckBinaryExpressionTypesj25M2GCCDeclare_WalkAction_p 5356
_ZL26CodeSetSymmetricDifferencej 12
_ZL26GetCurrentScopeDescriptionv 736972
_ZL26GetSizeOfHighFromUnboundedjj 4448
_ZL27BuildTrashTreeFromInterfacej 27
_ZL27CheckConvertCoerceParameterjjjj 494250
_ZL27FoldElementSizeForUnboundedjj25M2GCCDeclare_WalkAction_pjj 7940
_ZL27LValueToGenericPtrOrConvertjP9tree_node 19550
_ZL29CheckUnboundedNonVarParameterjPvjj 4448
_ZL29SaveNonVarUnboundedParametersjj 71758
_ZL4stopv 0
_ZL6GetStrjj 41728
_ZL7CodeAddjjj 9688
_ZL7CodeSubjjj 0
_ZL7CodeTryv 2830
_ZL7FoldAddj25M2GCCDeclare_WalkAction_pjjjj 334912
_ZL7FoldSubj25M2GCCDeclare_WalkAction_pjjjj 124562
_ZL7ReplacejP9tree_node 0
_ZL7doParamjjjjj 494250
_ZL8CodeAddrjjjj 186921
_ZL8CodeCalljj 191420
_ZL8CodeCastjjjj 126
_ZL8CodeExcljj 454
_ZL8CodeGotoj 39347
_ZL8CodeHighjjj 37545
_ZL8CodeIfInj 376
_ZL8CodeIncljj 806
_ZL8CodeMultjjj 0
_ZL8CodeSizejj 0
_ZL8FindSizejj 26412
_ZL8FindTypej 177880
_ZL8FoldCastj25M2GCCDeclare_WalkAction_pjjjj 1356
_ZL8FoldExclj25M2GCCDeclare_WalkAction_pjjj 10968
_ZL8FoldHighj25M2GCCDeclare_WalkAction_pjjjj 1025917
_ZL8FoldIfInjjjjj 24580
_ZL8FoldInclj25M2GCCDeclare_WalkAction_pjjj 17490
_ZL8FoldMultj25M2GCCDeclare_WalkAction_pjjjj 89342
_ZL8FoldSizej25M2GCCDeclare_WalkAction_pjjjj 7260
_ZL8PopScopev 71752
_ZL9CheckStopj 0
_ZL9CodeArrayjjj 43190
_ZL9CodeDivM2jjj 0
_ZL9CodeErrorj 813
_ZL9CodeIfEquj 19782
_ZL9CodeIfGrej 4360
_ZL9CodeIndrXj 15205
_ZL9CodeModM2jjj 0
_ZL9CodeParamj 543171
_ZL9CodeRangej 736159
_ZL9CodeRetryj 156
_ZL9CodeSetOrj 886
_ZL9CodeThrowj 324
_ZL9CodeUnary28m2expr_BuildUnaryProcedure_pP9tree_nodejjj 0
_ZL9CodeXIndrj 37572
_ZL9ConvertToP9tree_nodejj 26248
_ZL9FoldDivM2j25M2GCCDeclare_WalkAction_pjjjj 14294
_ZL9FoldIfEqujjjjj 544127
_ZL9FoldIfGrejjjjj 26166
_ZL9FoldModM2j25M2GCCDeclare_WalkAction_pjjjj 22134
_ZL9FoldRangejjj 0
_ZL9FoldSetOrj25M2GCCDeclare_WalkAction_pjjjj 0
_ZL9FoldUnaryj25M2GCCDeclare_WalkAction_p28m2expr_BuildUnaryProcedure_pP9tree_nodejjj 33322
_ZL9MixTypes3jjjj 112
_ZL9PushScopej 0

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.