system.c.077i.pure-const 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510
  1. local analysis of SystemInit
  2. scanning: _1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].CPACR;
  3. Volatile stmt is not const/pure
  4. Indirect ref read is not const
  5. scanning: _2 = _1 | 15728640;
  6. scanning: MEM[(struct S32_SCB_Type *)3758153728B].CPACR ={v} _2;
  7. Volatile stmt is not const/pure
  8. Indirect ref write is not const/pure
  9. scanning: __asm__ __volatile__("dsb");
  10. memory asm clobber is not const/pure
  11. volatile is not const/pure
  12. scanning: __asm__ __volatile__("isb");
  13. memory asm clobber is not const/pure
  14. volatile is not const/pure
  15. scanning: _3 ={v} MEM[(struct S32_SCB_Type *)3758153728B].CCR;
  16. Volatile stmt is not const/pure
  17. Indirect ref read is not const
  18. scanning: _4 = _3 | 1;
  19. scanning: MEM[(struct S32_SCB_Type *)3758153728B].CCR ={v} _4;
  20. Volatile stmt is not const/pure
  21. Indirect ref write is not const/pure
  22. scanning: _5 ={v} MEM[(struct S32_SCB_Type *)3758153728B].SHPR3;
  23. Volatile stmt is not const/pure
  24. Indirect ref read is not const
  25. scanning: _6 = _5 & 4278255615;
  26. scanning: MEM[(struct S32_SCB_Type *)3758153728B].SHPR3 ={v} _6;
  27. Volatile stmt is not const/pure
  28. Indirect ref write is not const/pure
  29. scanning: MEM[(struct AIPS_Type *)1073741824B].MPRA ={v} 2004318071;
  30. Volatile stmt is not const/pure
  31. Indirect ref write is not const/pure
  32. scanning: MEM[(struct AIPS_Type *)1073741824B].PACRA ={v} 0;
  33. Volatile stmt is not const/pure
  34. Indirect ref write is not const/pure
  35. scanning: MEM[(struct AIPS_Type *)1073741824B].PACRB ={v} 0;
  36. Volatile stmt is not const/pure
  37. Indirect ref write is not const/pure
  38. scanning: MEM[(struct AIPS_Type *)1073741824B].PACRD ={v} 0;
  39. Volatile stmt is not const/pure
  40. Indirect ref write is not const/pure
  41. scanning: MEM[(struct AIPS_Type *)1073741824B].OPACR[0] ={v} 0;
  42. Volatile stmt is not const/pure
  43. Indirect ref write is not const/pure
  44. scanning: MEM[(struct AIPS_Type *)1073741824B].OPACR[1] ={v} 0;
  45. Volatile stmt is not const/pure
  46. Indirect ref write is not const/pure
  47. scanning: MEM[(struct AIPS_Type *)1073741824B].OPACR[2] ={v} 0;
  48. Volatile stmt is not const/pure
  49. Indirect ref write is not const/pure
  50. scanning: MEM[(struct AIPS_Type *)1073741824B].OPACR[3] ={v} 0;
  51. Volatile stmt is not const/pure
  52. Indirect ref write is not const/pure
  53. scanning: MEM[(struct AIPS_Type *)1073741824B].OPACR[4] ={v} 0;
  54. Volatile stmt is not const/pure
  55. Indirect ref write is not const/pure
  56. scanning: MEM[(struct AIPS_Type *)1073741824B].OPACR[5] ={v} 0;
  57. Volatile stmt is not const/pure
  58. Indirect ref write is not const/pure
  59. scanning: MEM[(struct AIPS_Type *)1073741824B].OPACR[6] ={v} 0;
  60. Volatile stmt is not const/pure
  61. Indirect ref write is not const/pure
  62. scanning: MEM[(struct AIPS_Type *)1073741824B].OPACR[7] ={v} 0;
  63. Volatile stmt is not const/pure
  64. Indirect ref write is not const/pure
  65. scanning: MEM[(struct AIPS_Type *)1073741824B].OPACR[8] ={v} 0;
  66. Volatile stmt is not const/pure
  67. Indirect ref write is not const/pure
  68. scanning: MEM[(struct AIPS_Type *)1073741824B].OPACR[9] ={v} 0;
  69. Volatile stmt is not const/pure
  70. Indirect ref write is not const/pure
  71. scanning: MEM[(struct AIPS_Type *)1073741824B].OPACR[10] ={v} 0;
  72. Volatile stmt is not const/pure
  73. Indirect ref write is not const/pure
  74. scanning: MEM[(struct AIPS_Type *)1073741824B].OPACR[11] ={v} 0;
  75. Volatile stmt is not const/pure
  76. Indirect ref write is not const/pure
  77. scanning: __asm__ __volatile__("dsb");
  78. memory asm clobber is not const/pure
  79. volatile is not const/pure
  80. scanning: __asm__ __volatile__("isb");
  81. memory asm clobber is not const/pure
  82. volatile is not const/pure
  83. scanning: sys_m4_cache_init (0);
  84. scanning: return;
  85. Function is locally looping.
  86. Function can locally free.
  87. local analysis of Sys_GetCoreID
  88. scanning: return 0;
  89. Function is locally const.
  90. local analysis of default_interrupt_routine
  91. ;; 2 loops found
  92. ;;
  93. ;; Loop 0
  94. ;; header 0, latch 1
  95. ;; depth 0, outer -1
  96. ;; nodes: 0 1 2 3 4
  97. ;;
  98. ;; Loop 1
  99. ;; header 3, latch 4
  100. ;; depth 1, outer 0
  101. ;; nodes: 3 4
  102. ;; 2 succs { 3 }
  103. ;; 3 succs { 4 }
  104. ;; 4 succs { 3 }
  105. cannot prove finiteness of loop 1
  106. Function is locally looping.
  107. Function is locally const.
  108. local analysis of startup_go_to_user_mode
  109. scanning: return;
  110. Function is locally const.
  111. local analysis of sys_m4_cache_init
  112. scanning: if (cache_9(D) == 0)
  113. scanning: MEM[(struct LMEM_Type *)3758628864B].PCCCR ={v} 83886080;
  114. Volatile stmt is not const/pure
  115. Indirect ref write is not const/pure
  116. scanning: _1 ={v} MEM[(struct LMEM_Type *)3758628864B].PCCCR;
  117. Volatile stmt is not const/pure
  118. Indirect ref read is not const
  119. scanning: _2 = _1 | 2147483648;
  120. scanning: MEM[(struct LMEM_Type *)3758628864B].PCCCR ={v} _2;
  121. Volatile stmt is not const/pure
  122. Indirect ref write is not const/pure
  123. scanning: _3 ={v} MEM[(struct LMEM_Type *)3758628864B].PCCCR;
  124. Volatile stmt is not const/pure
  125. Indirect ref read is not const
  126. scanning: _8 = (signed int) _3;
  127. scanning: if (_8 < 0)
  128. scanning: _4 ={v} MEM[(struct LMEM_Type *)3758628864B].PCCCR;
  129. Volatile stmt is not const/pure
  130. Indirect ref read is not const
  131. scanning: _5 = _4 | 1;
  132. scanning: MEM[(struct LMEM_Type *)3758628864B].PCCCR ={v} _5;
  133. Volatile stmt is not const/pure
  134. Indirect ref write is not const/pure
  135. scanning: return RetValue_6;
  136. callgraph:
  137. sys_m4_cache_init.constprop.0/7 (sys_m4_cache_init.constprop) @06da81c0
  138. Type: function definition analyzed
  139. Visibility:
  140. Aux: @04b24e98
  141. References:
  142. Referring:
  143. Function sys_m4_cache_init.constprop/7 is inline copy in SystemInit/6
  144. Clone of sys_m4_cache_init/1
  145. Availability: local
  146. Function flags: count:1073741824 (estimated locally) local optimize_size
  147. Called by: SystemInit/6 (inlined) (1073741824 (estimated locally),1.00 per call)
  148. Calls:
  149. SystemInit/6 (SystemInit) @06da8700
  150. Type: function definition analyzed
  151. Visibility: externally_visible public section:.systeminit
  152. Aux: @04b24c78
  153. References:
  154. Referring:
  155. Availability: available
  156. Function flags: count:1073741824 (estimated locally) body optimize_size
  157. Called by:
  158. Calls: sys_m4_cache_init.constprop/7 (inlined) (1073741824 (estimated locally),1.00 per call)
  159. Sys_GetCoreID/4 (Sys_GetCoreID) @06da8e00
  160. Type: function definition analyzed
  161. Visibility: externally_visible public
  162. Aux: @04b24d78
  163. References:
  164. Referring:
  165. Availability: available
  166. Function flags: count:1073741824 (estimated locally) body optimize_size
  167. Called by:
  168. Calls:
  169. default_interrupt_routine/3 (default_interrupt_routine) @06da8b60
  170. Type: function definition analyzed
  171. Visibility: externally_visible public
  172. Aux: @04b24eb8
  173. References:
  174. Referring:
  175. Availability: available
  176. Function flags: count:107374 (estimated locally) body executed_once optimize_size
  177. Called by:
  178. Calls:
  179. startup_go_to_user_mode/2 (startup_go_to_user_mode) @06da88c0
  180. Type: function definition analyzed
  181. Visibility: externally_visible public
  182. Aux: @04b24bb8
  183. References:
  184. Referring:
  185. Availability: available
  186. Function flags: count:1073741824 (estimated locally) body optimize_size
  187. Called by:
  188. Calls:
  189. sys_m4_cache_init/1 (sys_m4_cache_init) @06da8540
  190. Type: function
  191. Body removed by symtab_remove_unreachable_nodes
  192. Visibility: prevailing_def_ironly
  193. References:
  194. Referring:
  195. Availability: not_available
  196. Function flags: count:236223200 (estimated locally) body optimize_size
  197. Called by:
  198. Calls:
  199. ordered call graph: reduced for nothrow
  200. sys_m4_cache_init.constprop.0/7 (sys_m4_cache_init.constprop) @06da81c0
  201. Type: function definition analyzed
  202. Visibility:
  203. Aux: @04b24e98
  204. References:
  205. Referring:
  206. Function sys_m4_cache_init.constprop/7 is inline copy in SystemInit/6
  207. Clone of sys_m4_cache_init/1
  208. Availability: local
  209. Function flags: count:1073741824 (estimated locally) local optimize_size
  210. Called by: SystemInit/6 (inlined) (1073741824 (estimated locally),1.00 per call)
  211. Calls:
  212. SystemInit/6 (SystemInit) @06da8700
  213. Type: function definition analyzed
  214. Visibility: externally_visible public section:.systeminit
  215. Aux: @04b24c78
  216. References:
  217. Referring:
  218. Availability: available
  219. Function flags: count:1073741824 (estimated locally) body optimize_size
  220. Called by:
  221. Calls: sys_m4_cache_init.constprop/7 (inlined) (1073741824 (estimated locally),1.00 per call)
  222. Sys_GetCoreID/4 (Sys_GetCoreID) @06da8e00
  223. Type: function definition analyzed
  224. Visibility: externally_visible public
  225. Aux: @04b24d78
  226. References:
  227. Referring:
  228. Availability: available
  229. Function flags: count:1073741824 (estimated locally) body optimize_size
  230. Called by:
  231. Calls:
  232. default_interrupt_routine/3 (default_interrupt_routine) @06da8b60
  233. Type: function definition analyzed
  234. Visibility: externally_visible public
  235. Aux: @04b24eb8
  236. References:
  237. Referring:
  238. Availability: available
  239. Function flags: count:107374 (estimated locally) body executed_once optimize_size
  240. Called by:
  241. Calls:
  242. startup_go_to_user_mode/2 (startup_go_to_user_mode) @06da88c0
  243. Type: function definition analyzed
  244. Visibility: externally_visible public
  245. Aux: @04b24bb8
  246. References:
  247. Referring:
  248. Availability: available
  249. Function flags: count:1073741824 (estimated locally) body optimize_size
  250. Called by:
  251. Calls:
  252. MALLOC LATTICE Initial:
  253. sys_m4_cache_init.constprop: malloc_bottom
  254. SystemInit: malloc_bottom
  255. Sys_GetCoreID: malloc_bottom
  256. default_interrupt_routine: malloc_bottom
  257. startup_go_to_user_mode: malloc_bottom
  258. sys_m4_cache_init: malloc_bottom
  259. MALLOC LATTICE after propagation:
  260. sys_m4_cache_init.constprop: malloc_bottom
  261. SystemInit: malloc_bottom
  262. Sys_GetCoreID: malloc_bottom
  263. default_interrupt_routine: malloc_bottom
  264. startup_go_to_user_mode: malloc_bottom
  265. sys_m4_cache_init: malloc_bottom
  266. callgraph:
  267. sys_m4_cache_init.constprop.0/7 (sys_m4_cache_init.constprop) @06da81c0
  268. Type: function definition analyzed
  269. Visibility:
  270. Aux: @04b24db8
  271. References:
  272. Referring:
  273. Function sys_m4_cache_init.constprop/7 is inline copy in SystemInit/6
  274. Clone of sys_m4_cache_init/1
  275. Availability: local
  276. Function flags: count:1073741824 (estimated locally) local optimize_size
  277. Called by: SystemInit/6 (inlined) (1073741824 (estimated locally),1.00 per call)
  278. Calls:
  279. SystemInit/6 (SystemInit) @06da8700
  280. Type: function definition analyzed
  281. Visibility: externally_visible public section:.systeminit
  282. Aux: @04b24d18
  283. References:
  284. Referring:
  285. Availability: available
  286. Function flags: count:1073741824 (estimated locally) body optimize_size
  287. Called by:
  288. Calls: sys_m4_cache_init.constprop/7 (inlined) (1073741824 (estimated locally),1.00 per call)
  289. Sys_GetCoreID/4 (Sys_GetCoreID) @06da8e00
  290. Type: function definition analyzed
  291. Visibility: externally_visible public
  292. Aux: @04b24cd8
  293. References:
  294. Referring:
  295. Availability: available
  296. Function flags: count:1073741824 (estimated locally) body optimize_size
  297. Called by:
  298. Calls:
  299. default_interrupt_routine/3 (default_interrupt_routine) @06da8b60
  300. Type: function definition analyzed
  301. Visibility: externally_visible public
  302. Aux: @04b24e98
  303. References:
  304. Referring:
  305. Availability: available
  306. Function flags: count:107374 (estimated locally) body executed_once optimize_size
  307. Called by:
  308. Calls:
  309. startup_go_to_user_mode/2 (startup_go_to_user_mode) @06da88c0
  310. Type: function definition analyzed
  311. Visibility: externally_visible public
  312. Aux: @04b24bd8
  313. References:
  314. Referring:
  315. Availability: available
  316. Function flags: count:1073741824 (estimated locally) body optimize_size
  317. Called by:
  318. Calls:
  319. sys_m4_cache_init/1 (sys_m4_cache_init) @06da8540
  320. Type: function
  321. Body removed by symtab_remove_unreachable_nodes
  322. Visibility: prevailing_def_ironly
  323. References:
  324. Referring:
  325. Availability: not_available
  326. Function flags: count:236223200 (estimated locally) body optimize_size
  327. Called by:
  328. Calls:
  329. ordered call graph: reduced
  330. SystemInit/6 (SystemInit) @06da8700
  331. Type: function definition analyzed
  332. Visibility: externally_visible public section:.systeminit
  333. Aux: @04b24d18
  334. References:
  335. Referring:
  336. Availability: available
  337. Function flags: count:1073741824 (estimated locally) body optimize_size
  338. Called by:
  339. Calls: sys_m4_cache_init.constprop/7 (inlined) (1073741824 (estimated locally),1.00 per call)
  340. sys_m4_cache_init.constprop.0/7 (sys_m4_cache_init.constprop) @06da81c0
  341. Type: function definition analyzed
  342. Visibility:
  343. Aux: @04b24db8
  344. References:
  345. Referring:
  346. Function sys_m4_cache_init.constprop/7 is inline copy in SystemInit/6
  347. Clone of sys_m4_cache_init/1
  348. Availability: local
  349. Function flags: count:1073741824 (estimated locally) local optimize_size
  350. Called by: SystemInit/6 (inlined) (1073741824 (estimated locally),1.00 per call)
  351. Calls:
  352. Sys_GetCoreID/4 (Sys_GetCoreID) @06da8e00
  353. Type: function definition analyzed
  354. Visibility: externally_visible public
  355. Aux: @04b24cd8
  356. References:
  357. Referring:
  358. Availability: available
  359. Function flags: count:1073741824 (estimated locally) body optimize_size
  360. Called by:
  361. Calls:
  362. default_interrupt_routine/3 (default_interrupt_routine) @06da8b60
  363. Type: function definition analyzed
  364. Visibility: externally_visible public
  365. Aux: @04b24e98
  366. References:
  367. Referring:
  368. Availability: available
  369. Function flags: count:107374 (estimated locally) body executed_once optimize_size
  370. Called by:
  371. Calls:
  372. startup_go_to_user_mode/2 (startup_go_to_user_mode) @06da88c0
  373. Type: function definition analyzed
  374. Visibility: externally_visible public
  375. Aux: @04b24bd8
  376. References:
  377. Referring:
  378. Availability: available
  379. Function flags: count:1073741824 (estimated locally) body optimize_size
  380. Called by:
  381. Calls:
  382. Function found not to call free: startup_go_to_user_mode
  383. Function found not to call free: default_interrupt_routine
  384. Function found not to call free: Sys_GetCoreID
  385. Function found not to call free: sys_m4_cache_init.constprop
  386. __attribute__((section (".systeminit")))
  387. SystemInit ()
  388. {
  389. long unsigned int _1;
  390. long unsigned int _2;
  391. long unsigned int _3;
  392. long unsigned int _4;
  393. long unsigned int _5;
  394. long unsigned int _6;
  395. <bb 2> [local count: 1073741824]:
  396. # DEBUG BEGIN_STMT
  397. _1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].CPACR;
  398. _2 = _1 | 15728640;
  399. MEM[(struct S32_SCB_Type *)3758153728B].CPACR ={v} _2;
  400. # DEBUG BEGIN_STMT
  401. __asm__ __volatile__("dsb");
  402. # DEBUG BEGIN_STMT
  403. __asm__ __volatile__("isb");
  404. # DEBUG BEGIN_STMT
  405. _3 ={v} MEM[(struct S32_SCB_Type *)3758153728B].CCR;
  406. _4 = _3 | 1;
  407. MEM[(struct S32_SCB_Type *)3758153728B].CCR ={v} _4;
  408. # DEBUG BEGIN_STMT
  409. _5 ={v} MEM[(struct S32_SCB_Type *)3758153728B].SHPR3;
  410. _6 = _5 & 4278255615;
  411. MEM[(struct S32_SCB_Type *)3758153728B].SHPR3 ={v} _6;
  412. # DEBUG BEGIN_STMT
  413. MEM[(struct AIPS_Type *)1073741824B].MPRA ={v} 2004318071;
  414. # DEBUG BEGIN_STMT
  415. MEM[(struct AIPS_Type *)1073741824B].PACRA ={v} 0;
  416. # DEBUG BEGIN_STMT
  417. MEM[(struct AIPS_Type *)1073741824B].PACRB ={v} 0;
  418. # DEBUG BEGIN_STMT
  419. MEM[(struct AIPS_Type *)1073741824B].PACRD ={v} 0;
  420. # DEBUG BEGIN_STMT
  421. MEM[(struct AIPS_Type *)1073741824B].OPACR[0] ={v} 0;
  422. # DEBUG BEGIN_STMT
  423. MEM[(struct AIPS_Type *)1073741824B].OPACR[1] ={v} 0;
  424. # DEBUG BEGIN_STMT
  425. MEM[(struct AIPS_Type *)1073741824B].OPACR[2] ={v} 0;
  426. # DEBUG BEGIN_STMT
  427. MEM[(struct AIPS_Type *)1073741824B].OPACR[3] ={v} 0;
  428. # DEBUG BEGIN_STMT
  429. MEM[(struct AIPS_Type *)1073741824B].OPACR[4] ={v} 0;
  430. # DEBUG BEGIN_STMT
  431. MEM[(struct AIPS_Type *)1073741824B].OPACR[5] ={v} 0;
  432. # DEBUG BEGIN_STMT
  433. MEM[(struct AIPS_Type *)1073741824B].OPACR[6] ={v} 0;
  434. # DEBUG BEGIN_STMT
  435. MEM[(struct AIPS_Type *)1073741824B].OPACR[7] ={v} 0;
  436. # DEBUG BEGIN_STMT
  437. MEM[(struct AIPS_Type *)1073741824B].OPACR[8] ={v} 0;
  438. # DEBUG BEGIN_STMT
  439. MEM[(struct AIPS_Type *)1073741824B].OPACR[9] ={v} 0;
  440. # DEBUG BEGIN_STMT
  441. MEM[(struct AIPS_Type *)1073741824B].OPACR[10] ={v} 0;
  442. # DEBUG BEGIN_STMT
  443. MEM[(struct AIPS_Type *)1073741824B].OPACR[11] ={v} 0;
  444. # DEBUG BEGIN_STMT
  445. __asm__ __volatile__("dsb");
  446. # DEBUG BEGIN_STMT
  447. __asm__ __volatile__("isb");
  448. # DEBUG BEGIN_STMT
  449. sys_m4_cache_init (0);
  450. return;
  451. }
  452. Sys_GetCoreID ()
  453. {
  454. <bb 2> [local count: 1073741824]:
  455. # DEBUG BEGIN_STMT
  456. return 0;
  457. }
  458. default_interrupt_routine ()
  459. {
  460. <bb 2> [local count: 107374]:
  461. <bb 3> [local count: 1073741824]:
  462. # DEBUG BEGIN_STMT
  463. # DEBUG BEGIN_STMT
  464. # DEBUG BEGIN_STMT
  465. <bb 4> [local count: 1073741824]:
  466. goto <bb 3>; [100.00%]
  467. }
  468. startup_go_to_user_mode ()
  469. {
  470. <bb 2> [local count: 1073741824]:
  471. # DEBUG BEGIN_STMT
  472. return;
  473. }