list.c.069i.profile_estimate 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. Histogram:
  2. uxListRemove (struct ListItem_t * const pxItemToRemove)
  3. {
  4. struct List_t * const pxList;
  5. struct xLIST_ITEM * _1;
  6. struct xLIST_ITEM * _2;
  7. struct ListItem_t * _3;
  8. long unsigned int _4;
  9. long unsigned int _5;
  10. UBaseType_t _15;
  11. <bb 2> [local count: 1073741824]:
  12. # DEBUG BEGIN_STMT
  13. pxList_9 = pxItemToRemove_8(D)->pvContainer;
  14. # DEBUG pxList => pxList_9
  15. # DEBUG BEGIN_STMT
  16. _1 = pxItemToRemove_8(D)->pxNext;
  17. _2 = pxItemToRemove_8(D)->pxPrevious;
  18. _1->pxPrevious = _2;
  19. # DEBUG BEGIN_STMT
  20. _2->pxNext = _1;
  21. # DEBUG BEGIN_STMT
  22. # DEBUG BEGIN_STMT
  23. _3 = pxList_9->pxIndex;
  24. if (_3 == pxItemToRemove_8(D))
  25. goto <bb 3>; [30.00%]
  26. else
  27. goto <bb 4>; [70.00%]
  28. <bb 3> [local count: 322122547]:
  29. # DEBUG BEGIN_STMT
  30. pxList_9->pxIndex = _2;
  31. <bb 4> [local count: 1073741824]:
  32. # DEBUG BEGIN_STMT
  33. # DEBUG BEGIN_STMT
  34. pxItemToRemove_8(D)->pvContainer = 0B;
  35. # DEBUG BEGIN_STMT
  36. _4 ={v} pxList_9->uxNumberOfItems;
  37. _5 = _4 + 4294967295;
  38. pxList_9->uxNumberOfItems ={v} _5;
  39. # DEBUG BEGIN_STMT
  40. _15 ={v} pxList_9->uxNumberOfItems;
  41. return _15;
  42. }
  43. vListInsert (struct List_t * const pxList, struct ListItem_t * const pxNewListItem)
  44. {
  45. const TickType_t xValueOfInsertion;
  46. struct ListItem_t * pxIterator;
  47. struct xLIST_ITEM * _1;
  48. long unsigned int _2;
  49. struct xLIST_ITEM * _3;
  50. long unsigned int _4;
  51. long unsigned int _5;
  52. <bb 2> [local count: 178956970]:
  53. # DEBUG BEGIN_STMT
  54. # DEBUG BEGIN_STMT
  55. xValueOfInsertion_10 = pxNewListItem_9(D)->xItemValue;
  56. # DEBUG xValueOfInsertion => xValueOfInsertion_10
  57. # DEBUG BEGIN_STMT
  58. # DEBUG BEGIN_STMT
  59. # DEBUG BEGIN_STMT
  60. if (xValueOfInsertion_10 == 4294967295)
  61. goto <bb 3>; [34.00%]
  62. else
  63. goto <bb 4>; [66.00%]
  64. <bb 3> [local count: 60845370]:
  65. # DEBUG BEGIN_STMT
  66. pxIterator_13 = pxList_11(D)->xListEnd.pxPrevious;
  67. # DEBUG pxIterator => pxIterator_13
  68. goto <bb 6>; [100.00%]
  69. <bb 4> [local count: 118111600]:
  70. # DEBUG BEGIN_STMT
  71. pxIterator_12 = &pxList_11(D)->xListEnd;
  72. # DEBUG pxIterator => pxIterator_12
  73. <bb 5> [local count: 1073741824]:
  74. # pxIterator_6 = PHI <pxIterator_12(4), _1(7)>
  75. # DEBUG pxIterator => pxIterator_6
  76. # DEBUG BEGIN_STMT
  77. _1 = pxIterator_6->pxNext;
  78. _2 = _1->xItemValue;
  79. if (_2 <= xValueOfInsertion_10)
  80. goto <bb 7>; [89.00%]
  81. else
  82. goto <bb 6>; [11.00%]
  83. <bb 7> [local count: 955630223]:
  84. goto <bb 5>; [100.00%]
  85. <bb 6> [local count: 178956970]:
  86. # pxIterator_7 = PHI <pxIterator_13(3), pxIterator_6(5)>
  87. # DEBUG pxIterator => pxIterator_7
  88. # DEBUG BEGIN_STMT
  89. _3 = pxIterator_7->pxNext;
  90. pxNewListItem_9(D)->pxNext = _3;
  91. # DEBUG BEGIN_STMT
  92. _3->pxPrevious = pxNewListItem_9(D);
  93. # DEBUG BEGIN_STMT
  94. pxNewListItem_9(D)->pxPrevious = pxIterator_7;
  95. # DEBUG BEGIN_STMT
  96. pxIterator_7->pxNext = pxNewListItem_9(D);
  97. # DEBUG BEGIN_STMT
  98. pxNewListItem_9(D)->pvContainer = pxList_11(D);
  99. # DEBUG BEGIN_STMT
  100. _4 ={v} pxList_11(D)->uxNumberOfItems;
  101. _5 = _4 + 1;
  102. pxList_11(D)->uxNumberOfItems ={v} _5;
  103. return;
  104. }
  105. vListInsertEnd (struct List_t * const pxList, struct ListItem_t * const pxNewListItem)
  106. {
  107. struct ListItem_t * const pxIndex;
  108. struct xLIST_ITEM * _1;
  109. struct xLIST_ITEM * _2;
  110. long unsigned int _3;
  111. long unsigned int _4;
  112. <bb 2> [local count: 1073741824]:
  113. # DEBUG BEGIN_STMT
  114. pxIndex_7 = pxList_6(D)->pxIndex;
  115. # DEBUG pxIndex => pxIndex_7
  116. # DEBUG BEGIN_STMT
  117. # DEBUG BEGIN_STMT
  118. # DEBUG BEGIN_STMT
  119. pxNewListItem_8(D)->pxNext = pxIndex_7;
  120. # DEBUG BEGIN_STMT
  121. _1 = pxIndex_7->pxPrevious;
  122. pxNewListItem_8(D)->pxPrevious = _1;
  123. # DEBUG BEGIN_STMT
  124. # DEBUG BEGIN_STMT
  125. _2 = pxIndex_7->pxPrevious;
  126. _2->pxNext = pxNewListItem_8(D);
  127. # DEBUG BEGIN_STMT
  128. pxIndex_7->pxPrevious = pxNewListItem_8(D);
  129. # DEBUG BEGIN_STMT
  130. pxNewListItem_8(D)->pvContainer = pxList_6(D);
  131. # DEBUG BEGIN_STMT
  132. _3 ={v} pxList_6(D)->uxNumberOfItems;
  133. _4 = _3 + 1;
  134. pxList_6(D)->uxNumberOfItems ={v} _4;
  135. return;
  136. }
  137. vListInitialiseItem (struct ListItem_t * const pxItem)
  138. {
  139. <bb 2> [local count: 1073741824]:
  140. # DEBUG BEGIN_STMT
  141. pxItem_2(D)->pvContainer = 0B;
  142. # DEBUG BEGIN_STMT
  143. # DEBUG BEGIN_STMT
  144. return;
  145. }
  146. vListInitialise (struct List_t * const pxList)
  147. {
  148. struct MiniListItem_t * _1;
  149. <bb 2> [local count: 1073741824]:
  150. # DEBUG BEGIN_STMT
  151. _1 = &pxList_2(D)->xListEnd;
  152. pxList_2(D)->pxIndex = _1;
  153. # DEBUG BEGIN_STMT
  154. pxList_2(D)->xListEnd.xItemValue = 4294967295;
  155. # DEBUG BEGIN_STMT
  156. pxList_2(D)->xListEnd.pxNext = _1;
  157. # DEBUG BEGIN_STMT
  158. pxList_2(D)->xListEnd.pxPrevious = _1;
  159. # DEBUG BEGIN_STMT
  160. pxList_2(D)->uxNumberOfItems ={v} 0;
  161. # DEBUG BEGIN_STMT
  162. # DEBUG BEGIN_STMT
  163. return;
  164. }