system.c.072i.cp 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. IPA constant propagation start:
  2. IPA structures before propagation:
  3. Jump functions:
  4. Jump functions of caller SystemInit/6:
  5. callsite SystemInit/6 -> sys_m4_cache_init/1 :
  6. param 0: CONST: 0
  7. value: 0x0, mask: 0x0
  8. Unknown VR
  9. Jump functions of caller Sys_GetCoreID/4:
  10. Jump functions of caller default_interrupt_routine/3:
  11. Jump functions of caller startup_go_to_user_mode/2:
  12. Jump functions of caller sys_m4_cache_init/1:
  13. Propagating constants:
  14. Not considering SystemInit for cloning; -fipa-cp-clone disabled.
  15. Not considering Sys_GetCoreID for cloning; -fipa-cp-clone disabled.
  16. Not considering default_interrupt_routine for cloning; -fipa-cp-clone disabled.
  17. Not considering startup_go_to_user_mode for cloning; -fipa-cp-clone disabled.
  18. overall_size: 57, max_new_size: 11001
  19. - context independent values, size: 12, time_benefit: 3.000000
  20. Decided to specialize for all known contexts, code not going to grow.
  21. IPA lattices after all propagation:
  22. Lattices:
  23. Node: SystemInit/6:
  24. Node: Sys_GetCoreID/4:
  25. Node: default_interrupt_routine/3:
  26. Node: startup_go_to_user_mode/2:
  27. Node: sys_m4_cache_init/1:
  28. param [0]: 0 [loc_time: 0, loc_size: 0, prop_time: 0, prop_size: 0]
  29. ctxs: VARIABLE
  30. Bits: value = 0x0, mask = 0x0
  31. uint8 [0, 0]
  32. AGGS VARIABLE
  33. IPA decision stage:
  34. - Creating a specialized node of sys_m4_cache_init/1 for all known contexts.
  35. replacing param #0 cache with const 0
  36. Propagated bits info for function sys_m4_cache_init.constprop/7:
  37. param 0: value = 0x0, mask = 0x0
  38. Propagated bits info for function sys_m4_cache_init/1:
  39. param 0: value = 0x0, mask = 0x0
  40. IPA constant propagation end
  41. Reclaiming functions: sys_m4_cache_init/1
  42. Reclaiming variables:
  43. Clearing address taken flags:
  44. Symbol table:
  45. sys_m4_cache_init.constprop.0/7 (sys_m4_cache_init.constprop) @06da81c0
  46. Type: function definition analyzed
  47. Visibility:
  48. References:
  49. Referring:
  50. Clone of sys_m4_cache_init/1
  51. Availability: local
  52. Function flags: count:236223200 (estimated locally) local optimize_size
  53. Called by: SystemInit/6 (1073741824 (estimated locally),1.00 per call)
  54. Calls:
  55. SystemInit/6 (SystemInit) @06da8700
  56. Type: function definition analyzed
  57. Visibility: externally_visible public section:.systeminit
  58. References:
  59. Referring:
  60. Availability: available
  61. Function flags: count:1073741824 (estimated locally) body optimize_size
  62. Called by:
  63. Calls: sys_m4_cache_init.constprop/7 (1073741824 (estimated locally),1.00 per call)
  64. Sys_GetCoreID/4 (Sys_GetCoreID) @06da8e00
  65. Type: function definition analyzed
  66. Visibility: externally_visible public
  67. References:
  68. Referring:
  69. Availability: available
  70. Function flags: count:1073741824 (estimated locally) body optimize_size
  71. Called by:
  72. Calls:
  73. default_interrupt_routine/3 (default_interrupt_routine) @06da8b60
  74. Type: function definition analyzed
  75. Visibility: externally_visible public
  76. References:
  77. Referring:
  78. Availability: available
  79. Function flags: count:107374 (estimated locally) body executed_once optimize_size
  80. Called by:
  81. Calls:
  82. startup_go_to_user_mode/2 (startup_go_to_user_mode) @06da88c0
  83. Type: function definition analyzed
  84. Visibility: externally_visible public
  85. References:
  86. Referring:
  87. Availability: available
  88. Function flags: count:1073741824 (estimated locally) body optimize_size
  89. Called by:
  90. Calls:
  91. sys_m4_cache_init/1 (sys_m4_cache_init) @06da8540
  92. Type: function
  93. Body removed by symtab_remove_unreachable_nodes
  94. Visibility: prevailing_def_ironly
  95. References:
  96. Referring:
  97. Availability: not_available
  98. Function flags: count:236223200 (estimated locally) body optimize_size
  99. Called by:
  100. Calls:
  101. RESET_CATCH_CORE/0 (RESET_CATCH_CORE) @06da6a68
  102. Type: variable definition analyzed
  103. Visibility: externally_visible public
  104. References:
  105. Referring:
  106. Availability: available
  107. Varpool flags: initialized
  108. ;; Function startup_go_to_user_mode (startup_go_to_user_mode, funcdef_no=1, decl_uid=6203, cgraph_uid=2, symbol_order=2)
  109. Modification phase of node startup_go_to_user_mode/2
  110. startup_go_to_user_mode ()
  111. {
  112. <bb 2> [local count: 1073741824]:
  113. # DEBUG BEGIN_STMT
  114. return;
  115. }
  116. ;; Function default_interrupt_routine (default_interrupt_routine, funcdef_no=2, decl_uid=5525, cgraph_uid=3, symbol_order=3) (executed once)
  117. Modification phase of node default_interrupt_routine/3
  118. default_interrupt_routine ()
  119. {
  120. <bb 2> [local count: 107374]:
  121. <bb 3> [local count: 1073741824]:
  122. # DEBUG BEGIN_STMT
  123. # DEBUG BEGIN_STMT
  124. # DEBUG BEGIN_STMT
  125. <bb 4> [local count: 1073741824]:
  126. goto <bb 3>; [100.00%]
  127. }
  128. ;; Function Sys_GetCoreID (Sys_GetCoreID, funcdef_no=3, decl_uid=5517, cgraph_uid=4, symbol_order=4)
  129. Modification phase of node Sys_GetCoreID/4
  130. Sys_GetCoreID ()
  131. {
  132. <bb 2> [local count: 1073741824]:
  133. # DEBUG BEGIN_STMT
  134. return 0;
  135. }
  136. ;; Function SystemInit (SystemInit, funcdef_no=4, decl_uid=5523, cgraph_uid=6, symbol_order=6)
  137. Modification phase of node SystemInit/6
  138. __attribute__((section (".systeminit")))
  139. SystemInit ()
  140. {
  141. long unsigned int _1;
  142. long unsigned int _2;
  143. long unsigned int _3;
  144. long unsigned int _4;
  145. long unsigned int _5;
  146. long unsigned int _6;
  147. <bb 2> [local count: 1073741824]:
  148. # DEBUG BEGIN_STMT
  149. _1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].CPACR;
  150. _2 = _1 | 15728640;
  151. MEM[(struct S32_SCB_Type *)3758153728B].CPACR ={v} _2;
  152. # DEBUG BEGIN_STMT
  153. __asm__ __volatile__("dsb");
  154. # DEBUG BEGIN_STMT
  155. __asm__ __volatile__("isb");
  156. # DEBUG BEGIN_STMT
  157. _3 ={v} MEM[(struct S32_SCB_Type *)3758153728B].CCR;
  158. _4 = _3 | 1;
  159. MEM[(struct S32_SCB_Type *)3758153728B].CCR ={v} _4;
  160. # DEBUG BEGIN_STMT
  161. _5 ={v} MEM[(struct S32_SCB_Type *)3758153728B].SHPR3;
  162. _6 = _5 & 4278255615;
  163. MEM[(struct S32_SCB_Type *)3758153728B].SHPR3 ={v} _6;
  164. # DEBUG BEGIN_STMT
  165. MEM[(struct AIPS_Type *)1073741824B].MPRA ={v} 2004318071;
  166. # DEBUG BEGIN_STMT
  167. MEM[(struct AIPS_Type *)1073741824B].PACRA ={v} 0;
  168. # DEBUG BEGIN_STMT
  169. MEM[(struct AIPS_Type *)1073741824B].PACRB ={v} 0;
  170. # DEBUG BEGIN_STMT
  171. MEM[(struct AIPS_Type *)1073741824B].PACRD ={v} 0;
  172. # DEBUG BEGIN_STMT
  173. MEM[(struct AIPS_Type *)1073741824B].OPACR[0] ={v} 0;
  174. # DEBUG BEGIN_STMT
  175. MEM[(struct AIPS_Type *)1073741824B].OPACR[1] ={v} 0;
  176. # DEBUG BEGIN_STMT
  177. MEM[(struct AIPS_Type *)1073741824B].OPACR[2] ={v} 0;
  178. # DEBUG BEGIN_STMT
  179. MEM[(struct AIPS_Type *)1073741824B].OPACR[3] ={v} 0;
  180. # DEBUG BEGIN_STMT
  181. MEM[(struct AIPS_Type *)1073741824B].OPACR[4] ={v} 0;
  182. # DEBUG BEGIN_STMT
  183. MEM[(struct AIPS_Type *)1073741824B].OPACR[5] ={v} 0;
  184. # DEBUG BEGIN_STMT
  185. MEM[(struct AIPS_Type *)1073741824B].OPACR[6] ={v} 0;
  186. # DEBUG BEGIN_STMT
  187. MEM[(struct AIPS_Type *)1073741824B].OPACR[7] ={v} 0;
  188. # DEBUG BEGIN_STMT
  189. MEM[(struct AIPS_Type *)1073741824B].OPACR[8] ={v} 0;
  190. # DEBUG BEGIN_STMT
  191. MEM[(struct AIPS_Type *)1073741824B].OPACR[9] ={v} 0;
  192. # DEBUG BEGIN_STMT
  193. MEM[(struct AIPS_Type *)1073741824B].OPACR[10] ={v} 0;
  194. # DEBUG BEGIN_STMT
  195. MEM[(struct AIPS_Type *)1073741824B].OPACR[11] ={v} 0;
  196. # DEBUG BEGIN_STMT
  197. __asm__ __volatile__("dsb");
  198. # DEBUG BEGIN_STMT
  199. __asm__ __volatile__("isb");
  200. # DEBUG BEGIN_STMT
  201. sys_m4_cache_init (0);
  202. return;
  203. }