list.c.082i.materialize-all-clones 4.5 KB

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