list.c.068i.whole-program 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. Marking local functions:
  2. Marking externally visible functions: uxListRemove vListInsert vListInsertEnd vListInitialiseItem vListInitialise
  3. Marking externally visible variables:
  4. Clearing variable flags:
  5. Reclaiming functions:
  6. Reclaiming variables:
  7. Clearing address taken flags:
  8. Symbol table:
  9. uxListRemove/8 (uxListRemove) @05e53ee0
  10. Type: function definition analyzed
  11. Visibility: externally_visible public
  12. References:
  13. Referring:
  14. Availability: available
  15. Function flags: count:1073741824 (estimated locally) body optimize_size
  16. Called by:
  17. Calls:
  18. vListInsert/7 (vListInsert) @05e53c40
  19. Type: function definition analyzed
  20. Visibility: externally_visible public
  21. References:
  22. Referring:
  23. Availability: available
  24. Function flags: count:178956970 (estimated locally) body optimize_size
  25. Called by:
  26. Calls:
  27. vListInsertEnd/6 (vListInsertEnd) @05e539a0
  28. Type: function definition analyzed
  29. Visibility: externally_visible public
  30. References:
  31. Referring:
  32. Availability: available
  33. Function flags: count:1073741824 (estimated locally) body optimize_size
  34. Called by:
  35. Calls:
  36. vListInitialiseItem/5 (vListInitialiseItem) @05e53700
  37. Type: function definition analyzed
  38. Visibility: externally_visible public
  39. References:
  40. Referring:
  41. Availability: available
  42. Function flags: count:1073741824 (estimated locally) body optimize_size
  43. Called by:
  44. Calls:
  45. vListInitialise/4 (vListInitialise) @05e53460
  46. Type: function definition analyzed
  47. Visibility: externally_visible public
  48. References:
  49. Referring:
  50. Availability: available
  51. Function flags: count:1073741824 (estimated locally) body optimize_size
  52. Called by:
  53. Calls:
  54. uxListRemove (struct ListItem_t * const pxItemToRemove)
  55. {
  56. struct List_t * const pxList;
  57. struct xLIST_ITEM * _1;
  58. struct xLIST_ITEM * _2;
  59. struct ListItem_t * _3;
  60. long unsigned int _4;
  61. long unsigned int _5;
  62. UBaseType_t _15;
  63. <bb 2> [local count: 1073741824]:
  64. # DEBUG BEGIN_STMT
  65. pxList_9 = pxItemToRemove_8(D)->pvContainer;
  66. # DEBUG pxList => pxList_9
  67. # DEBUG BEGIN_STMT
  68. _1 = pxItemToRemove_8(D)->pxNext;
  69. _2 = pxItemToRemove_8(D)->pxPrevious;
  70. _1->pxPrevious = _2;
  71. # DEBUG BEGIN_STMT
  72. _2->pxNext = _1;
  73. # DEBUG BEGIN_STMT
  74. # DEBUG BEGIN_STMT
  75. _3 = pxList_9->pxIndex;
  76. if (_3 == pxItemToRemove_8(D))
  77. goto <bb 3>; [30.00%]
  78. else
  79. goto <bb 4>; [70.00%]
  80. <bb 3> [local count: 322122547]:
  81. # DEBUG BEGIN_STMT
  82. pxList_9->pxIndex = _2;
  83. <bb 4> [local count: 1073741824]:
  84. # DEBUG BEGIN_STMT
  85. # DEBUG BEGIN_STMT
  86. pxItemToRemove_8(D)->pvContainer = 0B;
  87. # DEBUG BEGIN_STMT
  88. _4 ={v} pxList_9->uxNumberOfItems;
  89. _5 = _4 + 4294967295;
  90. pxList_9->uxNumberOfItems ={v} _5;
  91. # DEBUG BEGIN_STMT
  92. _15 ={v} pxList_9->uxNumberOfItems;
  93. return _15;
  94. }
  95. vListInsert (struct List_t * const pxList, struct ListItem_t * const pxNewListItem)
  96. {
  97. const TickType_t xValueOfInsertion;
  98. struct ListItem_t * pxIterator;
  99. struct xLIST_ITEM * _1;
  100. long unsigned int _2;
  101. struct xLIST_ITEM * _3;
  102. long unsigned int _4;
  103. long unsigned int _5;
  104. <bb 2> [local count: 178956970]:
  105. # DEBUG BEGIN_STMT
  106. # DEBUG BEGIN_STMT
  107. xValueOfInsertion_10 = pxNewListItem_9(D)->xItemValue;
  108. # DEBUG xValueOfInsertion => xValueOfInsertion_10
  109. # DEBUG BEGIN_STMT
  110. # DEBUG BEGIN_STMT
  111. # DEBUG BEGIN_STMT
  112. if (xValueOfInsertion_10 == 4294967295)
  113. goto <bb 3>; [34.00%]
  114. else
  115. goto <bb 4>; [66.00%]
  116. <bb 3> [local count: 60845370]:
  117. # DEBUG BEGIN_STMT
  118. pxIterator_13 = pxList_11(D)->xListEnd.pxPrevious;
  119. # DEBUG pxIterator => pxIterator_13
  120. goto <bb 6>; [100.00%]
  121. <bb 4> [local count: 118111600]:
  122. # DEBUG BEGIN_STMT
  123. pxIterator_12 = &pxList_11(D)->xListEnd;
  124. # DEBUG pxIterator => pxIterator_12
  125. <bb 5> [local count: 1073741824]:
  126. # pxIterator_6 = PHI <pxIterator_12(4), _1(7)>
  127. # DEBUG pxIterator => pxIterator_6
  128. # DEBUG BEGIN_STMT
  129. _1 = pxIterator_6->pxNext;
  130. _2 = _1->xItemValue;
  131. if (_2 <= xValueOfInsertion_10)
  132. goto <bb 7>; [89.00%]
  133. else
  134. goto <bb 6>; [11.00%]
  135. <bb 7> [local count: 955630223]:
  136. goto <bb 5>; [100.00%]
  137. <bb 6> [local count: 178956970]:
  138. # pxIterator_7 = PHI <pxIterator_13(3), pxIterator_6(5)>
  139. # DEBUG pxIterator => pxIterator_7
  140. # DEBUG BEGIN_STMT
  141. _3 = pxIterator_7->pxNext;
  142. pxNewListItem_9(D)->pxNext = _3;
  143. # DEBUG BEGIN_STMT
  144. _3->pxPrevious = pxNewListItem_9(D);
  145. # DEBUG BEGIN_STMT
  146. pxNewListItem_9(D)->pxPrevious = pxIterator_7;
  147. # DEBUG BEGIN_STMT
  148. pxIterator_7->pxNext = pxNewListItem_9(D);
  149. # DEBUG BEGIN_STMT
  150. pxNewListItem_9(D)->pvContainer = pxList_11(D);
  151. # DEBUG BEGIN_STMT
  152. _4 ={v} pxList_11(D)->uxNumberOfItems;
  153. _5 = _4 + 1;
  154. pxList_11(D)->uxNumberOfItems ={v} _5;
  155. return;
  156. }
  157. vListInsertEnd (struct List_t * const pxList, struct ListItem_t * const pxNewListItem)
  158. {
  159. struct ListItem_t * const pxIndex;
  160. struct xLIST_ITEM * _1;
  161. struct xLIST_ITEM * _2;
  162. long unsigned int _3;
  163. long unsigned int _4;
  164. <bb 2> [local count: 1073741824]:
  165. # DEBUG BEGIN_STMT
  166. pxIndex_7 = pxList_6(D)->pxIndex;
  167. # DEBUG pxIndex => pxIndex_7
  168. # DEBUG BEGIN_STMT
  169. # DEBUG BEGIN_STMT
  170. # DEBUG BEGIN_STMT
  171. pxNewListItem_8(D)->pxNext = pxIndex_7;
  172. # DEBUG BEGIN_STMT
  173. _1 = pxIndex_7->pxPrevious;
  174. pxNewListItem_8(D)->pxPrevious = _1;
  175. # DEBUG BEGIN_STMT
  176. # DEBUG BEGIN_STMT
  177. _2 = pxIndex_7->pxPrevious;
  178. _2->pxNext = pxNewListItem_8(D);
  179. # DEBUG BEGIN_STMT
  180. pxIndex_7->pxPrevious = pxNewListItem_8(D);
  181. # DEBUG BEGIN_STMT
  182. pxNewListItem_8(D)->pvContainer = pxList_6(D);
  183. # DEBUG BEGIN_STMT
  184. _3 ={v} pxList_6(D)->uxNumberOfItems;
  185. _4 = _3 + 1;
  186. pxList_6(D)->uxNumberOfItems ={v} _4;
  187. return;
  188. }
  189. vListInitialiseItem (struct ListItem_t * const pxItem)
  190. {
  191. <bb 2> [local count: 1073741824]:
  192. # DEBUG BEGIN_STMT
  193. pxItem_2(D)->pvContainer = 0B;
  194. # DEBUG BEGIN_STMT
  195. # DEBUG BEGIN_STMT
  196. return;
  197. }
  198. vListInitialise (struct List_t * const pxList)
  199. {
  200. struct MiniListItem_t * _1;
  201. <bb 2> [local count: 1073741824]:
  202. # DEBUG BEGIN_STMT
  203. _1 = &pxList_2(D)->xListEnd;
  204. pxList_2(D)->pxIndex = _1;
  205. # DEBUG BEGIN_STMT
  206. pxList_2(D)->xListEnd.xItemValue = 4294967295;
  207. # DEBUG BEGIN_STMT
  208. pxList_2(D)->xListEnd.pxNext = _1;
  209. # DEBUG BEGIN_STMT
  210. pxList_2(D)->xListEnd.pxPrevious = _1;
  211. # DEBUG BEGIN_STMT
  212. pxList_2(D)->uxNumberOfItems ={v} 0;
  213. # DEBUG BEGIN_STMT
  214. # DEBUG BEGIN_STMT
  215. return;
  216. }