startup.c.048i.remove_symbols 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. Reclaiming functions:
  2. Reclaiming variables:
  3. Clearing address taken flags:
  4. Symbol table:
  5. __ZERO_TABLE/2 (__ZERO_TABLE) @05e10048
  6. Type: variable
  7. Body removed by symtab_remove_unreachable_nodes
  8. Visibility: external public
  9. References:
  10. Referring: init_data_bss/0 (read)init_data_bss/0 (addr)
  11. Availability: not_available
  12. Varpool flags:
  13. __INIT_TABLE/1 (__INIT_TABLE) @05e10000
  14. Type: variable
  15. Body removed by symtab_remove_unreachable_nodes
  16. Visibility: external public
  17. References:
  18. Referring: init_data_bss/0 (read)init_data_bss/0 (addr)
  19. Availability: not_available
  20. Varpool flags:
  21. init_data_bss/0 (init_data_bss) @05df5a80
  22. Type: function definition analyzed
  23. Visibility: externally_visible public
  24. References: __INIT_TABLE/1 (read)__INIT_TABLE/1 (addr)__ZERO_TABLE/2 (read)__ZERO_TABLE/2 (addr)
  25. Referring:
  26. Availability: available
  27. Function flags: count:14598062 (estimated locally) body optimize_size
  28. Called by:
  29. Calls:
  30. init_data_bss ()
  31. {
  32. uint32 j;
  33. uint32 i;
  34. uint32 size;
  35. uint32 len;
  36. uint8 * ram;
  37. const uint8 * rom;
  38. long unsigned int _1;
  39. const struct Sys_CopyLayoutType * _2;
  40. uint8 * _3;
  41. long unsigned int _4;
  42. long unsigned int _5;
  43. const uint8 * _6;
  44. uint8 * _7;
  45. unsigned char _8;
  46. long unsigned int _9;
  47. const struct Sys_ZeroLayoutType * _10;
  48. uint8 * _11;
  49. long unsigned int _12;
  50. long unsigned int _13;
  51. uint8 * _14;
  52. <bb 2> [local count: 14598062]:
  53. # DEBUG BEGIN_STMT
  54. # DEBUG BEGIN_STMT
  55. # DEBUG BEGIN_STMT
  56. # DEBUG BEGIN_STMT
  57. # DEBUG BEGIN_STMT
  58. # DEBUG len => 0
  59. # DEBUG BEGIN_STMT
  60. # DEBUG size => 0
  61. # DEBUG BEGIN_STMT
  62. # DEBUG i => 0
  63. # DEBUG BEGIN_STMT
  64. # DEBUG j => 0
  65. # DEBUG BEGIN_STMT
  66. # DEBUG initTable_Ptr => &__INIT_TABLE
  67. # DEBUG BEGIN_STMT
  68. # DEBUG zeroTable_Ptr => &__ZERO_TABLE
  69. # DEBUG BEGIN_STMT
  70. len_24 = MEM[(const uint32 *)&__INIT_TABLE];
  71. # DEBUG len => len_24
  72. # DEBUG BEGIN_STMT
  73. # DEBUG initTable_Ptr => &MEM[(void *)&__INIT_TABLE + 4B]
  74. # DEBUG BEGIN_STMT
  75. # DEBUG copy_layout => &MEM[(void *)&__INIT_TABLE + 4B]
  76. # DEBUG BEGIN_STMT
  77. # DEBUG i => 0
  78. goto <bb 7>; [100.00%]
  79. <bb 3> [local count: 118111595]:
  80. # DEBUG BEGIN_STMT
  81. _1 = i_15 * 12;
  82. _2 = &MEM[(void *)&__INIT_TABLE + 4B] + _1;
  83. rom_31 = _2->rom_start;
  84. # DEBUG rom => rom_31
  85. # DEBUG BEGIN_STMT
  86. ram_32 = _2->ram_start;
  87. # DEBUG ram => ram_32
  88. # DEBUG BEGIN_STMT
  89. _3 = _2->rom_end;
  90. _4 = (long unsigned int) _3;
  91. _5 = (long unsigned int) rom_31;
  92. size_33 = _4 - _5;
  93. # DEBUG size => size_33
  94. # DEBUG BEGIN_STMT
  95. # DEBUG j => 0
  96. goto <bb 5>; [100.00%]
  97. <bb 4> [local count: 955630185]:
  98. # DEBUG BEGIN_STMT
  99. _6 = rom_31 + j_17;
  100. _7 = ram_32 + j_17;
  101. _8 = *_6;
  102. *_7 = _8;
  103. # DEBUG BEGIN_STMT
  104. j_36 = j_17 + 1;
  105. # DEBUG j => j_36
  106. <bb 5> [local count: 1073741782]:
  107. # j_17 = PHI <0(3), j_36(4)>
  108. # DEBUG j => j_17
  109. # DEBUG BEGIN_STMT
  110. if (j_17 < size_33)
  111. goto <bb 4>; [89.00%]
  112. else
  113. goto <bb 6>; [11.00%]
  114. <bb 6> [local count: 118111596]:
  115. # DEBUG BEGIN_STMT
  116. i_34 = i_15 + 1;
  117. # DEBUG i => i_34
  118. <bb 7> [local count: 132709658]:
  119. # i_15 = PHI <0(2), i_34(6)>
  120. # DEBUG i => i_15
  121. # DEBUG BEGIN_STMT
  122. if (i_15 < len_24)
  123. goto <bb 3>; [89.00%]
  124. else
  125. goto <bb 8>; [11.00%]
  126. <bb 8> [local count: 14598062]:
  127. # DEBUG BEGIN_STMT
  128. len_25 = MEM[(const uint32 *)&__ZERO_TABLE];
  129. # DEBUG len => len_25
  130. # DEBUG BEGIN_STMT
  131. # DEBUG zeroTable_Ptr => &MEM[(void *)&__ZERO_TABLE + 4B]
  132. # DEBUG BEGIN_STMT
  133. # DEBUG zero_layout => &MEM[(void *)&__ZERO_TABLE + 4B]
  134. # DEBUG BEGIN_STMT
  135. # DEBUG i => 0
  136. goto <bb 13>; [100.00%]
  137. <bb 9> [local count: 118111600]:
  138. # DEBUG BEGIN_STMT
  139. _9 = i_16 * 8;
  140. _10 = &MEM[(void *)&__ZERO_TABLE + 4B] + _9;
  141. ram_26 = _10->ram_start;
  142. # DEBUG ram => ram_26
  143. # DEBUG BEGIN_STMT
  144. _11 = _10->ram_end;
  145. _12 = (long unsigned int) _11;
  146. _13 = (long unsigned int) ram_26;
  147. size_27 = _12 - _13;
  148. # DEBUG size => size_27
  149. # DEBUG BEGIN_STMT
  150. # DEBUG j => 0
  151. goto <bb 11>; [100.00%]
  152. <bb 10> [local count: 955630224]:
  153. # DEBUG BEGIN_STMT
  154. _14 = ram_26 + j_18;
  155. *_14 = 0;
  156. # DEBUG BEGIN_STMT
  157. j_30 = j_18 + 1;
  158. # DEBUG j => j_30
  159. <bb 11> [local count: 1073741824]:
  160. # j_18 = PHI <0(9), j_30(10)>
  161. # DEBUG j => j_18
  162. # DEBUG BEGIN_STMT
  163. if (j_18 < size_27)
  164. goto <bb 10>; [89.00%]
  165. else
  166. goto <bb 12>; [11.00%]
  167. <bb 12> [local count: 118111601]:
  168. # DEBUG BEGIN_STMT
  169. i_28 = i_16 + 1;
  170. # DEBUG i => i_28
  171. <bb 13> [local count: 132709663]:
  172. # i_16 = PHI <0(8), i_28(12)>
  173. # DEBUG i => i_16
  174. # DEBUG BEGIN_STMT
  175. if (i_16 < len_25)
  176. goto <bb 9>; [89.00%]
  177. else
  178. goto <bb 14>; [11.00%]
  179. <bb 14> [local count: 14598063]:
  180. return;
  181. }