C++: Add stats for 'constexpr if'

This commit is contained in:
Ian Lynagh 2019-07-30 01:34:49 +01:00
Родитель 6cce7ef2b7
Коммит 5d9d289eb7
1 изменённых файлов: 203 добавлений и 103 удалений

Просмотреть файл

@ -200,6 +200,22 @@
<v>1685056</v>
</e>
<e>
<k>@preincrexpr</k>
<v>63965</v>
</e>
<e>
<k>@predecrexpr</k>
<v>26590</v>
</e>
<e>
<k>@assignexpr</k>
<v>551713</v>
</e>
<e>
<k>@varaccess</k>
<v>5376523</v>
</e>
<e>
<k>@literal</k>
<v>4374193</v>
</e>
@ -276,14 +292,6 @@
<v>5401</v>
</e>
<e>
<k>@preincrexpr</k>
<v>63965</v>
</e>
<e>
<k>@predecrexpr</k>
<v>26590</v>
</e>
<e>
<k>@conditionalexpr</k>
<v>154429</v>
</e>
@ -396,10 +404,6 @@
<v>1</v>
</e>
<e>
<k>@assignexpr</k>
<v>551713</v>
</e>
<e>
<k>@assignaddexpr</k>
<v>68305</v>
</e>
@ -488,10 +492,6 @@
<v>30</v>
</e>
<e>
<k>@varaccess</k>
<v>5376523</v>
</e>
<e>
<k>@thisaccess</k>
<v>1181367</v>
</e>
@ -844,6 +844,14 @@
<v>1284491</v>
</e>
<e>
<k>@stmt_return</k>
<v>1197363</v>
</e>
<e>
<k>@stmt_block</k>
<v>1398476</v>
</e>
<e>
<k>@stmt_if</k>
<v>524558</v>
</e>
@ -860,14 +868,6 @@
<v>85508</v>
</e>
<e>
<k>@stmt_return</k>
<v>1197363</v>
</e>
<e>
<k>@stmt_block</k>
<v>1398476</v>
</e>
<e>
<k>@stmt_end_test_while</k>
<v>149900</v>
</e>
@ -932,12 +932,8 @@
<v>21888</v>
</e>
<e>
<k>@ppd_plain_include</k>
<v>321760</v>
</e>
<e>
<k>@ppd_define</k>
<v>350005</v>
<k>@stmt_constexpr_if</k>
<v>2</v>
</e>
<e>
<k>@ppd_if</k>
@ -964,6 +960,14 @@
<v>329749</v>
</e>
<e>
<k>@ppd_plain_include</k>
<v>321760</v>
</e>
<e>
<k>@ppd_define</k>
<v>350005</v>
</e>
<e>
<k>@ppd_undef</k>
<v>21155</v>
</e>
@ -1532,14 +1536,19 @@
<budget>12</budget>
<bs>
<b>
<a>2</a>
<b>3</b>
<v>36</v>
</b>
<b>
<a>3</a>
<b>4</b>
<v>3282</v>
<v>3197</v>
</b>
<b>
<a>4</a>
<b>5</b>
<v>7282</v>
<v>7331</v>
</b>
</bs>
</hist>
@ -1638,18 +1647,18 @@
<v>12</v>
</b>
<b>
<a>10</a>
<b>11</b>
<a>9</a>
<b>10</b>
<v>12</v>
</b>
<b>
<a>545</a>
<b>546</b>
<a>558</a>
<b>559</b>
<v>12</v>
</b>
<b>
<a>595</a>
<b>596</b>
<a>582</a>
<b>583</b>
<v>12</v>
</b>
</bs>
@ -1666,22 +1675,27 @@
<b>
<a>1</a>
<b>2</b>
<v>7586</v>
<v>7817</v>
</b>
<b>
<a>2</a>
<b>3</b>
<v>2687</v>
<v>2504</v>
</b>
<b>
<a>3</a>
<b>4</b>
<v>1118</v>
<v>984</v>
</b>
<b>
<a>4</a>
<b>598</b>
<v>911</v>
<b>17</b>
<v>924</v>
</b>
<b>
<a>17</a>
<b>602</b>
<v>72</v>
</b>
</bs>
</hist>
@ -1713,12 +1727,17 @@
<b>
<a>1</a>
<b>2</b>
<v>10553</v>
<v>10590</v>
</b>
<b>
<a>2</a>
<b>3</b>
<v>1750</v>
<v>1690</v>
</b>
<b>
<a>3</a>
<b>4</b>
<v>24</v>
</b>
</bs>
</hist>
@ -2097,11 +2116,11 @@
</e>
<e>
<k>cpu_seconds</k>
<v>8437</v>
<v>8340</v>
</e>
<e>
<k>elapsed_seconds</k>
<v>182</v>
<v>170</v>
</e>
</columnsizes>
<dependencies>
@ -2147,17 +2166,17 @@
<b>
<a>1</a>
<b>2</b>
<v>7149</v>
<v>6954</v>
</b>
<b>
<a>2</a>
<b>3</b>
<v>875</v>
<v>948</v>
</b>
<b>
<a>3</a>
<b>10</b>
<v>413</v>
<b>7</b>
<v>437</v>
</b>
</bs>
</hist>
@ -2173,12 +2192,12 @@
<b>
<a>1</a>
<b>2</b>
<v>7975</v>
<v>7793</v>
</b>
<b>
<a>2</a>
<b>3</b>
<v>462</v>
<v>547</v>
</b>
</bs>
</hist>
@ -2194,12 +2213,12 @@
<b>
<a>1</a>
<b>2</b>
<v>36</v>
<v>12</v>
</b>
<b>
<a>2</a>
<b>3</b>
<v>12</v>
<v>36</v>
</b>
<b>
<a>3</a>
@ -2207,28 +2226,28 @@
<v>24</v>
</b>
<b>
<a>5</a>
<b>6</b>
<a>10</a>
<b>11</b>
<v>12</v>
</b>
<b>
<a>12</a>
<b>13</b>
<a>23</a>
<b>24</b>
<v>12</v>
</b>
<b>
<a>20</a>
<b>21</b>
<a>25</a>
<b>26</b>
<v>12</v>
</b>
<b>
<a>27</a>
<b>28</b>
<a>44</a>
<b>45</b>
<v>12</v>
</b>
<b>
<a>42</a>
<b>43</b>
<a>131</a>
<b>132</b>
<v>12</v>
</b>
<b>
@ -2237,18 +2256,13 @@
<v>12</v>
</b>
<b>
<a>141</a>
<b>142</b>
<a>239</a>
<b>240</b>
<v>12</v>
</b>
<b>
<a>233</a>
<b>234</b>
<v>12</v>
</b>
<b>
<a>246</a>
<b>247</b>
<a>252</a>
<b>253</b>
<v>12</v>
</b>
</bs>
@ -2265,12 +2279,12 @@
<b>
<a>1</a>
<b>2</b>
<v>36</v>
<v>12</v>
</b>
<b>
<a>2</a>
<b>3</b>
<v>12</v>
<v>36</v>
</b>
<b>
<a>3</a>
@ -2278,48 +2292,38 @@
<v>24</v>
</b>
<b>
<a>5</a>
<b>6</b>
<a>10</a>
<b>11</b>
<v>12</v>
</b>
<b>
<a>12</a>
<b>13</b>
<a>23</a>
<b>24</b>
<v>24</v>
</b>
<b>
<a>44</a>
<b>45</b>
<v>12</v>
</b>
<b>
<a>20</a>
<b>21</b>
<a>106</a>
<b>107</b>
<v>12</v>
</b>
<b>
<a>27</a>
<b>28</b>
<a>119</a>
<b>120</b>
<v>12</v>
</b>
<b>
<a>42</a>
<b>43</b>
<a>167</a>
<b>168</b>
<v>12</v>
</b>
<b>
<a>111</a>
<b>112</b>
<v>12</v>
</b>
<b>
<a>126</a>
<b>127</b>
<v>12</v>
</b>
<b>
<a>166</a>
<b>167</b>
<v>12</v>
</b>
<b>
<a>212</a>
<b>213</b>
<a>226</a>
<b>227</b>
<v>12</v>
</b>
</bs>
@ -35553,6 +35557,102 @@
</dependencies>
</relation>
<relation>
<name>constexpr_if_then</name>
<cardinality>2</cardinality>
<columnsizes>
<e>
<k>constexpr_if_stmt</k>
<v>2</v>
</e>
<e>
<k>then_id</k>
<v>2</v>
</e>
</columnsizes>
<dependencies>
<dep>
<src>constexpr_if_stmt</src>
<trg>then_id</trg>
<val>
<hist>
<budget>12</budget>
<bs>
<b>
<a>1</a>
<b>2</b>
<v>2</v>
</b>
</bs>
</hist>
</val>
</dep>
<dep>
<src>then_id</src>
<trg>constexpr_if_stmt</trg>
<val>
<hist>
<budget>12</budget>
<bs>
<b>
<a>1</a>
<b>2</b>
<v>2</v>
</b>
</bs>
</hist>
</val>
</dep>
</dependencies>
</relation>
<relation>
<name>constexpr_if_else</name>
<cardinality>1</cardinality>
<columnsizes>
<e>
<k>constexpr_if_stmt</k>
<v>1</v>
</e>
<e>
<k>else_id</k>
<v>1</v>
</e>
</columnsizes>
<dependencies>
<dep>
<src>constexpr_if_stmt</src>
<trg>else_id</trg>
<val>
<hist>
<budget>12</budget>
<bs>
<b>
<a>1</a>
<b>2</b>
<v>1</v>
</b>
</bs>
</hist>
</val>
</dep>
<dep>
<src>else_id</src>
<trg>constexpr_if_stmt</trg>
<val>
<hist>
<budget>12</budget>
<bs>
<b>
<a>1</a>
<b>2</b>
<v>1</v>
</b>
</bs>
</hist>
</val>
</dep>
</dependencies>
</relation>
<relation>
<name>while_body</name>
<cardinality>32912</cardinality>
<columnsizes>