startup.c.068i.whole-program 4.7 KB

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