system.c.076i.inline 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378
  1. IPA function summary for sys_m4_cache_init.constprop/7 inlinable
  2. global time: 19.136364
  3. self size: 15
  4. global size: 13
  5. min size: 0
  6. self stack: 0
  7. global stack: 0
  8. size:0.000000, time:0.000000
  9. size:3.000000, time:2.000000, executed if:(not inlined)
  10. size:10.000000, time:17.136364, executed if:(op0 == 0)
  11. calls:
  12. IPA function summary for SystemInit/6 inlinable
  13. global time: 42.000000
  14. self size: 34
  15. global size: 34
  16. min size: 4
  17. self stack: 0
  18. global stack: 0
  19. size:29.000000, time:29.000000
  20. size:3.000000, time:2.000000, executed if:(not inlined)
  21. calls:
  22. sys_m4_cache_init.constprop/7 function not considered for inlining
  23. loop depth: 0 freq:1.00 size: 2 time: 11callee size: 6 stack: 0
  24. op0 is compile time invariant
  25. IPA function summary for Sys_GetCoreID/4 inlinable
  26. global time: 2.000000
  27. self size: 3
  28. global size: 3
  29. min size: 0
  30. self stack: 0
  31. global stack: 0
  32. size:0.000000, time:0.000000
  33. size:3.000000, time:2.000000, executed if:(not inlined)
  34. calls:
  35. IPA function summary for default_interrupt_routine/3 inlinable
  36. global time: 0.000000
  37. self size: 2
  38. global size: 2
  39. min size: 0
  40. self stack: 0
  41. global stack: 0
  42. size:0.000000, time:0.000000
  43. size:2.000000, time:0.000000, executed if:(not inlined)
  44. calls:
  45. IPA function summary for startup_go_to_user_mode/2 inlinable
  46. global time: 2.000000
  47. self size: 3
  48. global size: 3
  49. min size: 0
  50. self stack: 0
  51. global stack: 0
  52. size:0.000000, time:0.000000
  53. size:3.000000, time:2.000000, executed if:(not inlined)
  54. calls:
  55. Flattening functions:
  56. Overall time estimate: 65.136364 weighted by profile: 0.000000
  57. Deciding on inlining of small functions. Starting with size 0.
  58. Enqueueing calls in sys_m4_cache_init.constprop/7.
  59. Enqueueing calls in SystemInit/6.
  60. Enqueueing calls in Sys_GetCoreID/4.
  61. Enqueueing calls in default_interrupt_routine/3.
  62. Enqueueing calls in startup_go_to_user_mode/2.
  63. Considering sys_m4_cache_init.constprop/7 with 13 size
  64. to be inlined into SystemInit/6 in ../Project_Settings/Startup_Code/system.c:387
  65. Estimated badness is -0.154762, frequency 1.00.
  66. Reclaiming functions:
  67. Reclaiming variables:
  68. Clearing address taken flags:
  69. Deciding on functions to be inlined into all callers and removing useless speculations:
  70. Overall time estimate: 52.136364 weighted by profile: 0.000000
  71. Why inlining failed?
  72. IPA function summary for SystemInit/6 inlinable
  73. global time: 48.136364
  74. self size: 34
  75. global size: 42
  76. min size: 4
  77. self stack: 0
  78. global stack: 0
  79. size:39.000000, time:46.136364
  80. size:3.000000, time:2.000000, executed if:(not inlined)
  81. calls:
  82. sys_m4_cache_init.constprop/7 inlined
  83. loop depth: 0 freq:1.00 size: 2 time: 11callee size: 6 stack: 0
  84. Stack frame offset 0, callee self size 0, callee size 0
  85. IPA function summary for Sys_GetCoreID/4 inlinable
  86. global time: 2.000000
  87. self size: 3
  88. global size: 3
  89. min size: 0
  90. self stack: 0
  91. global stack: 0
  92. size:0.000000, time:0.000000
  93. size:3.000000, time:2.000000, executed if:(not inlined)
  94. calls:
  95. IPA function summary for default_interrupt_routine/3 inlinable
  96. global time: 0.000000
  97. self size: 2
  98. global size: 2
  99. min size: 0
  100. self stack: 0
  101. global stack: 0
  102. size:0.000000, time:0.000000
  103. size:2.000000, time:0.000000, executed if:(not inlined)
  104. calls:
  105. IPA function summary for startup_go_to_user_mode/2 inlinable
  106. global time: 2.000000
  107. self size: 3
  108. global size: 3
  109. min size: 0
  110. self stack: 0
  111. global stack: 0
  112. size:0.000000, time:0.000000
  113. size:3.000000, time:2.000000, executed if:(not inlined)
  114. calls:
  115. Symbol table:
  116. sys_m4_cache_init.constprop.0/7 (sys_m4_cache_init.constprop) @06da81c0
  117. Type: function definition analyzed
  118. Visibility:
  119. References:
  120. Referring:
  121. Function sys_m4_cache_init.constprop/7 is inline copy in SystemInit/6
  122. Clone of sys_m4_cache_init/1
  123. Availability: local
  124. Function flags: count:1073741824 (estimated locally) local optimize_size
  125. Called by: SystemInit/6 (inlined) (1073741824 (estimated locally),1.00 per call)
  126. Calls:
  127. SystemInit/6 (SystemInit) @06da8700
  128. Type: function definition analyzed
  129. Visibility: externally_visible public section:.systeminit
  130. References:
  131. Referring:
  132. Availability: available
  133. Function flags: count:1073741824 (estimated locally) body optimize_size
  134. Called by:
  135. Calls: sys_m4_cache_init.constprop/7 (inlined) (1073741824 (estimated locally),1.00 per call)
  136. Sys_GetCoreID/4 (Sys_GetCoreID) @06da8e00
  137. Type: function definition analyzed
  138. Visibility: externally_visible public
  139. References:
  140. Referring:
  141. Availability: available
  142. Function flags: count:1073741824 (estimated locally) body optimize_size
  143. Called by:
  144. Calls:
  145. default_interrupt_routine/3 (default_interrupt_routine) @06da8b60
  146. Type: function definition analyzed
  147. Visibility: externally_visible public
  148. References:
  149. Referring:
  150. Availability: available
  151. Function flags: count:107374 (estimated locally) body executed_once optimize_size
  152. Called by:
  153. Calls:
  154. startup_go_to_user_mode/2 (startup_go_to_user_mode) @06da88c0
  155. Type: function definition analyzed
  156. Visibility: externally_visible public
  157. References:
  158. Referring:
  159. Availability: available
  160. Function flags: count:1073741824 (estimated locally) body optimize_size
  161. Called by:
  162. Calls:
  163. sys_m4_cache_init/1 (sys_m4_cache_init) @06da8540
  164. Type: function
  165. Body removed by symtab_remove_unreachable_nodes
  166. Visibility: prevailing_def_ironly
  167. References:
  168. Referring:
  169. Availability: not_available
  170. Function flags: count:236223200 (estimated locally) body optimize_size
  171. Called by:
  172. Calls:
  173. RESET_CATCH_CORE/0 (RESET_CATCH_CORE) @06da6a68
  174. Type: variable definition analyzed
  175. Visibility: externally_visible public
  176. References:
  177. Referring:
  178. Availability: available
  179. Varpool flags: initialized
  180. ;; Function startup_go_to_user_mode (startup_go_to_user_mode, funcdef_no=1, decl_uid=6203, cgraph_uid=2, symbol_order=2)
  181. startup_go_to_user_mode ()
  182. {
  183. <bb 2> [local count: 1073741824]:
  184. # DEBUG BEGIN_STMT
  185. return;
  186. }
  187. ;; Function default_interrupt_routine (default_interrupt_routine, funcdef_no=2, decl_uid=5525, cgraph_uid=3, symbol_order=3) (executed once)
  188. default_interrupt_routine ()
  189. {
  190. <bb 2> [local count: 107374]:
  191. <bb 3> [local count: 1073741824]:
  192. # DEBUG BEGIN_STMT
  193. # DEBUG BEGIN_STMT
  194. # DEBUG BEGIN_STMT
  195. <bb 4> [local count: 1073741824]:
  196. goto <bb 3>; [100.00%]
  197. }
  198. ;; Function Sys_GetCoreID (Sys_GetCoreID, funcdef_no=3, decl_uid=5517, cgraph_uid=4, symbol_order=4)
  199. Sys_GetCoreID ()
  200. {
  201. <bb 2> [local count: 1073741824]:
  202. # DEBUG BEGIN_STMT
  203. return 0;
  204. }
  205. ;; Function SystemInit (SystemInit, funcdef_no=4, decl_uid=5523, cgraph_uid=6, symbol_order=6)
  206. Symbols to be put in SSA form
  207. { D.6232 D.6251 }
  208. Incremental SSA update started at block: 0
  209. Number of blocks in CFG: 11
  210. Number of blocks to update: 10 ( 91%)
  211. Merging blocks 2 and 4
  212. Removing basic block 5
  213. Removing basic block 8
  214. Merging blocks 9 and 10
  215. Merging blocks 2 and 6
  216. Merging blocks 9 and 3
  217. ;; 2 loops found
  218. ;;
  219. ;; Loop 0
  220. ;; header 0, latch 1
  221. ;; depth 0, outer -1
  222. ;; nodes: 0 1 2 3 4
  223. ;;
  224. ;; Loop 1
  225. ;; header 3, latch 3
  226. ;; depth 1, outer 0
  227. ;; nodes: 3
  228. ;; 2 succs { 3 }
  229. ;; 3 succs { 3 4 }
  230. ;; 4 succs { 1 }
  231. __attribute__((section (".systeminit")))
  232. SystemInit ()
  233. {
  234. uint8 D.6251;
  235. long unsigned int _1;
  236. long unsigned int _2;
  237. long unsigned int _3;
  238. long unsigned int _4;
  239. long unsigned int _5;
  240. long unsigned int _6;
  241. long unsigned int _32;
  242. long unsigned int _33;
  243. long unsigned int _34;
  244. signed int _35;
  245. long unsigned int _36;
  246. long unsigned int _37;
  247. <bb 2> [local count: 118111600]:
  248. # DEBUG BEGIN_STMT
  249. _1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].CPACR;
  250. _2 = _1 | 15728640;
  251. MEM[(struct S32_SCB_Type *)3758153728B].CPACR ={v} _2;
  252. # DEBUG BEGIN_STMT
  253. __asm__ __volatile__("dsb");
  254. # DEBUG BEGIN_STMT
  255. __asm__ __volatile__("isb");
  256. # DEBUG BEGIN_STMT
  257. _3 ={v} MEM[(struct S32_SCB_Type *)3758153728B].CCR;
  258. _4 = _3 | 1;
  259. MEM[(struct S32_SCB_Type *)3758153728B].CCR ={v} _4;
  260. # DEBUG BEGIN_STMT
  261. _5 ={v} MEM[(struct S32_SCB_Type *)3758153728B].SHPR3;
  262. _6 = _5 & 4278255615;
  263. MEM[(struct S32_SCB_Type *)3758153728B].SHPR3 ={v} _6;
  264. # DEBUG BEGIN_STMT
  265. MEM[(struct AIPS_Type *)1073741824B].MPRA ={v} 2004318071;
  266. # DEBUG BEGIN_STMT
  267. MEM[(struct AIPS_Type *)1073741824B].PACRA ={v} 0;
  268. # DEBUG BEGIN_STMT
  269. MEM[(struct AIPS_Type *)1073741824B].PACRB ={v} 0;
  270. # DEBUG BEGIN_STMT
  271. MEM[(struct AIPS_Type *)1073741824B].PACRD ={v} 0;
  272. # DEBUG BEGIN_STMT
  273. MEM[(struct AIPS_Type *)1073741824B].OPACR[0] ={v} 0;
  274. # DEBUG BEGIN_STMT
  275. MEM[(struct AIPS_Type *)1073741824B].OPACR[1] ={v} 0;
  276. # DEBUG BEGIN_STMT
  277. MEM[(struct AIPS_Type *)1073741824B].OPACR[2] ={v} 0;
  278. # DEBUG BEGIN_STMT
  279. MEM[(struct AIPS_Type *)1073741824B].OPACR[3] ={v} 0;
  280. # DEBUG BEGIN_STMT
  281. MEM[(struct AIPS_Type *)1073741824B].OPACR[4] ={v} 0;
  282. # DEBUG BEGIN_STMT
  283. MEM[(struct AIPS_Type *)1073741824B].OPACR[5] ={v} 0;
  284. # DEBUG BEGIN_STMT
  285. MEM[(struct AIPS_Type *)1073741824B].OPACR[6] ={v} 0;
  286. # DEBUG BEGIN_STMT
  287. MEM[(struct AIPS_Type *)1073741824B].OPACR[7] ={v} 0;
  288. # DEBUG BEGIN_STMT
  289. MEM[(struct AIPS_Type *)1073741824B].OPACR[8] ={v} 0;
  290. # DEBUG BEGIN_STMT
  291. MEM[(struct AIPS_Type *)1073741824B].OPACR[9] ={v} 0;
  292. # DEBUG BEGIN_STMT
  293. MEM[(struct AIPS_Type *)1073741824B].OPACR[10] ={v} 0;
  294. # DEBUG BEGIN_STMT
  295. MEM[(struct AIPS_Type *)1073741824B].OPACR[11] ={v} 0;
  296. # DEBUG BEGIN_STMT
  297. __asm__ __volatile__("dsb");
  298. # DEBUG BEGIN_STMT
  299. __asm__ __volatile__("isb");
  300. # DEBUG BEGIN_STMT
  301. # DEBUG INLINE_ENTRY sys_m4_cache_init
  302. # DEBUG cache => 0
  303. # DEBUG BEGIN_STMT
  304. # DEBUG RetValue => 0
  305. # DEBUG BEGIN_STMT
  306. # DEBUG BEGIN_STMT
  307. MEM[(struct LMEM_Type *)3758628864B].PCCCR ={v} 83886080;
  308. # DEBUG BEGIN_STMT
  309. _32 ={v} MEM[(struct LMEM_Type *)3758628864B].PCCCR;
  310. _33 = _32 | 2147483648;
  311. MEM[(struct LMEM_Type *)3758628864B].PCCCR ={v} _33;
  312. # DEBUG BEGIN_STMT
  313. <bb 3> [local count: 1073741824]:
  314. # DEBUG BEGIN_STMT
  315. # DEBUG BEGIN_STMT
  316. _34 ={v} MEM[(struct LMEM_Type *)3758628864B].PCCCR;
  317. _35 = (signed int) _34;
  318. if (_35 < 0)
  319. goto <bb 3>; [89.00%]
  320. else
  321. goto <bb 4>; [11.00%]
  322. <bb 4> [local count: 118111601]:
  323. # DEBUG BEGIN_STMT
  324. # DEBUG BEGIN_STMT
  325. _36 ={v} MEM[(struct LMEM_Type *)3758628864B].PCCCR;
  326. _37 = _36 | 1;
  327. MEM[(struct LMEM_Type *)3758628864B].PCCCR ={v} _37;
  328. # DEBUG RetValue => 0
  329. # DEBUG BEGIN_STMT
  330. _42 = 0;
  331. # DEBUG RetValue => NULL
  332. # DEBUG cache => NULL
  333. return;
  334. }