startup.c.072i.cp 5.1 KB

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