startup.c.076i.inline 5.6 KB

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