startup.c.079i.static-var 4.6 KB

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