123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510 |
- local analysis of SystemInit
- scanning: _1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].CPACR;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: _2 = _1 | 15728640;
- scanning: MEM[(struct S32_SCB_Type *)3758153728B].CPACR ={v} _2;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: __asm__ __volatile__("dsb");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: __asm__ __volatile__("isb");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: _3 ={v} MEM[(struct S32_SCB_Type *)3758153728B].CCR;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: _4 = _3 | 1;
- scanning: MEM[(struct S32_SCB_Type *)3758153728B].CCR ={v} _4;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: _5 ={v} MEM[(struct S32_SCB_Type *)3758153728B].SHPR3;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: _6 = _5 & 4278255615;
- scanning: MEM[(struct S32_SCB_Type *)3758153728B].SHPR3 ={v} _6;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: MEM[(struct AIPS_Type *)1073741824B].MPRA ={v} 2004318071;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: MEM[(struct AIPS_Type *)1073741824B].PACRA ={v} 0;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: MEM[(struct AIPS_Type *)1073741824B].PACRB ={v} 0;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: MEM[(struct AIPS_Type *)1073741824B].PACRD ={v} 0;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: MEM[(struct AIPS_Type *)1073741824B].OPACR[0] ={v} 0;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: MEM[(struct AIPS_Type *)1073741824B].OPACR[1] ={v} 0;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: MEM[(struct AIPS_Type *)1073741824B].OPACR[2] ={v} 0;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: MEM[(struct AIPS_Type *)1073741824B].OPACR[3] ={v} 0;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: MEM[(struct AIPS_Type *)1073741824B].OPACR[4] ={v} 0;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: MEM[(struct AIPS_Type *)1073741824B].OPACR[5] ={v} 0;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: MEM[(struct AIPS_Type *)1073741824B].OPACR[6] ={v} 0;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: MEM[(struct AIPS_Type *)1073741824B].OPACR[7] ={v} 0;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: MEM[(struct AIPS_Type *)1073741824B].OPACR[8] ={v} 0;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: MEM[(struct AIPS_Type *)1073741824B].OPACR[9] ={v} 0;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: MEM[(struct AIPS_Type *)1073741824B].OPACR[10] ={v} 0;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: MEM[(struct AIPS_Type *)1073741824B].OPACR[11] ={v} 0;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: __asm__ __volatile__("dsb");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: __asm__ __volatile__("isb");
- memory asm clobber is not const/pure
- volatile is not const/pure
- scanning: sys_m4_cache_init (0);
- scanning: return;
- Function is locally looping.
- Function can locally free.
- local analysis of Sys_GetCoreID
- scanning: return 0;
- Function is locally const.
- local analysis of default_interrupt_routine
- ;; 2 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2 3 4
- ;;
- ;; Loop 1
- ;; header 3, latch 4
- ;; depth 1, outer 0
- ;; nodes: 3 4
- ;; 2 succs { 3 }
- ;; 3 succs { 4 }
- ;; 4 succs { 3 }
- cannot prove finiteness of loop 1
- Function is locally looping.
- Function is locally const.
- local analysis of startup_go_to_user_mode
- scanning: return;
- Function is locally const.
- local analysis of sys_m4_cache_init
- scanning: if (cache_9(D) == 0)
- scanning: MEM[(struct LMEM_Type *)3758628864B].PCCCR ={v} 83886080;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: _1 ={v} MEM[(struct LMEM_Type *)3758628864B].PCCCR;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: _2 = _1 | 2147483648;
- scanning: MEM[(struct LMEM_Type *)3758628864B].PCCCR ={v} _2;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: _3 ={v} MEM[(struct LMEM_Type *)3758628864B].PCCCR;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: _8 = (signed int) _3;
- scanning: if (_8 < 0)
- scanning: _4 ={v} MEM[(struct LMEM_Type *)3758628864B].PCCCR;
- Volatile stmt is not const/pure
- Indirect ref read is not const
- scanning: _5 = _4 | 1;
- scanning: MEM[(struct LMEM_Type *)3758628864B].PCCCR ={v} _5;
- Volatile stmt is not const/pure
- Indirect ref write is not const/pure
- scanning: return RetValue_6;
- callgraph:
- sys_m4_cache_init.constprop.0/7 (sys_m4_cache_init.constprop) @062ce1c0
- Type: function definition analyzed
- Visibility:
- Aux: @05b648b0
- References:
- Referring:
- Function sys_m4_cache_init.constprop/7 is inline copy in SystemInit/6
- Clone of sys_m4_cache_init/1
- Availability: local
- Function flags: count:1073741824 (estimated locally) local optimize_size
- Called by: SystemInit/6 (inlined) (1073741824 (estimated locally),1.00 per call)
- Calls:
- SystemInit/6 (SystemInit) @062ce700
- Type: function definition analyzed
- Visibility: externally_visible public section:.systeminit
- Aux: @05b647b0
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls: sys_m4_cache_init.constprop/7 (inlined) (1073741824 (estimated locally),1.00 per call)
- Sys_GetCoreID/4 (Sys_GetCoreID) @062cee00
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05b64b30
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- default_interrupt_routine/3 (default_interrupt_routine) @062ceb60
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05b648d0
- References:
- Referring:
- Availability: available
- Function flags: count:107374 (estimated locally) body executed_once optimize_size
- Called by:
- Calls:
- startup_go_to_user_mode/2 (startup_go_to_user_mode) @062ce8c0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05b647f0
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- sys_m4_cache_init/1 (sys_m4_cache_init) @062ce540
- Type: function
- Body removed by symtab_remove_unreachable_nodes
- Visibility: prevailing_def_ironly
- References:
- Referring:
- Availability: not_available
- Function flags: count:236223200 (estimated locally) body optimize_size
- Called by:
- Calls:
- ordered call graph: reduced for nothrow
- sys_m4_cache_init.constprop.0/7 (sys_m4_cache_init.constprop) @062ce1c0
- Type: function definition analyzed
- Visibility:
- Aux: @05b648b0
- References:
- Referring:
- Function sys_m4_cache_init.constprop/7 is inline copy in SystemInit/6
- Clone of sys_m4_cache_init/1
- Availability: local
- Function flags: count:1073741824 (estimated locally) local optimize_size
- Called by: SystemInit/6 (inlined) (1073741824 (estimated locally),1.00 per call)
- Calls:
- SystemInit/6 (SystemInit) @062ce700
- Type: function definition analyzed
- Visibility: externally_visible public section:.systeminit
- Aux: @05b647b0
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls: sys_m4_cache_init.constprop/7 (inlined) (1073741824 (estimated locally),1.00 per call)
- Sys_GetCoreID/4 (Sys_GetCoreID) @062cee00
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05b64b30
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- default_interrupt_routine/3 (default_interrupt_routine) @062ceb60
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05b648d0
- References:
- Referring:
- Availability: available
- Function flags: count:107374 (estimated locally) body executed_once optimize_size
- Called by:
- Calls:
- startup_go_to_user_mode/2 (startup_go_to_user_mode) @062ce8c0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05b647f0
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- MALLOC LATTICE Initial:
- sys_m4_cache_init.constprop: malloc_bottom
- SystemInit: malloc_bottom
- Sys_GetCoreID: malloc_bottom
- default_interrupt_routine: malloc_bottom
- startup_go_to_user_mode: malloc_bottom
- sys_m4_cache_init: malloc_bottom
- MALLOC LATTICE after propagation:
- sys_m4_cache_init.constprop: malloc_bottom
- SystemInit: malloc_bottom
- Sys_GetCoreID: malloc_bottom
- default_interrupt_routine: malloc_bottom
- startup_go_to_user_mode: malloc_bottom
- sys_m4_cache_init: malloc_bottom
- callgraph:
- sys_m4_cache_init.constprop.0/7 (sys_m4_cache_init.constprop) @062ce1c0
- Type: function definition analyzed
- Visibility:
- Aux: @05b647b0
- References:
- Referring:
- Function sys_m4_cache_init.constprop/7 is inline copy in SystemInit/6
- Clone of sys_m4_cache_init/1
- Availability: local
- Function flags: count:1073741824 (estimated locally) local optimize_size
- Called by: SystemInit/6 (inlined) (1073741824 (estimated locally),1.00 per call)
- Calls:
- SystemInit/6 (SystemInit) @062ce700
- Type: function definition analyzed
- Visibility: externally_visible public section:.systeminit
- Aux: @05b648d0
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls: sys_m4_cache_init.constprop/7 (inlined) (1073741824 (estimated locally),1.00 per call)
- Sys_GetCoreID/4 (Sys_GetCoreID) @062cee00
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05b64870
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- default_interrupt_routine/3 (default_interrupt_routine) @062ceb60
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05b64990
- References:
- Referring:
- Availability: available
- Function flags: count:107374 (estimated locally) body executed_once optimize_size
- Called by:
- Calls:
- startup_go_to_user_mode/2 (startup_go_to_user_mode) @062ce8c0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05b64a10
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- sys_m4_cache_init/1 (sys_m4_cache_init) @062ce540
- Type: function
- Body removed by symtab_remove_unreachable_nodes
- Visibility: prevailing_def_ironly
- References:
- Referring:
- Availability: not_available
- Function flags: count:236223200 (estimated locally) body optimize_size
- Called by:
- Calls:
- ordered call graph: reduced
- SystemInit/6 (SystemInit) @062ce700
- Type: function definition analyzed
- Visibility: externally_visible public section:.systeminit
- Aux: @05b648d0
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls: sys_m4_cache_init.constprop/7 (inlined) (1073741824 (estimated locally),1.00 per call)
- sys_m4_cache_init.constprop.0/7 (sys_m4_cache_init.constprop) @062ce1c0
- Type: function definition analyzed
- Visibility:
- Aux: @05b647b0
- References:
- Referring:
- Function sys_m4_cache_init.constprop/7 is inline copy in SystemInit/6
- Clone of sys_m4_cache_init/1
- Availability: local
- Function flags: count:1073741824 (estimated locally) local optimize_size
- Called by: SystemInit/6 (inlined) (1073741824 (estimated locally),1.00 per call)
- Calls:
- Sys_GetCoreID/4 (Sys_GetCoreID) @062cee00
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05b64870
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- default_interrupt_routine/3 (default_interrupt_routine) @062ceb60
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05b64990
- References:
- Referring:
- Availability: available
- Function flags: count:107374 (estimated locally) body executed_once optimize_size
- Called by:
- Calls:
- startup_go_to_user_mode/2 (startup_go_to_user_mode) @062ce8c0
- Type: function definition analyzed
- Visibility: externally_visible public
- Aux: @05b64a10
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- Function found not to call free: startup_go_to_user_mode
- Function found not to call free: default_interrupt_routine
- Function found not to call free: Sys_GetCoreID
- Function found not to call free: sys_m4_cache_init.constprop
- __attribute__((section (".systeminit")))
- SystemInit ()
- {
- long unsigned int _1;
- long unsigned int _2;
- long unsigned int _3;
- long unsigned int _4;
- long unsigned int _5;
- long unsigned int _6;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- _1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].CPACR;
- _2 = _1 | 15728640;
- MEM[(struct S32_SCB_Type *)3758153728B].CPACR ={v} _2;
- # DEBUG BEGIN_STMT
- __asm__ __volatile__("dsb");
- # DEBUG BEGIN_STMT
- __asm__ __volatile__("isb");
- # DEBUG BEGIN_STMT
- _3 ={v} MEM[(struct S32_SCB_Type *)3758153728B].CCR;
- _4 = _3 | 1;
- MEM[(struct S32_SCB_Type *)3758153728B].CCR ={v} _4;
- # DEBUG BEGIN_STMT
- _5 ={v} MEM[(struct S32_SCB_Type *)3758153728B].SHPR3;
- _6 = _5 & 4278255615;
- MEM[(struct S32_SCB_Type *)3758153728B].SHPR3 ={v} _6;
- # DEBUG BEGIN_STMT
- MEM[(struct AIPS_Type *)1073741824B].MPRA ={v} 2004318071;
- # DEBUG BEGIN_STMT
- MEM[(struct AIPS_Type *)1073741824B].PACRA ={v} 0;
- # DEBUG BEGIN_STMT
- MEM[(struct AIPS_Type *)1073741824B].PACRB ={v} 0;
- # DEBUG BEGIN_STMT
- MEM[(struct AIPS_Type *)1073741824B].PACRD ={v} 0;
- # DEBUG BEGIN_STMT
- MEM[(struct AIPS_Type *)1073741824B].OPACR[0] ={v} 0;
- # DEBUG BEGIN_STMT
- MEM[(struct AIPS_Type *)1073741824B].OPACR[1] ={v} 0;
- # DEBUG BEGIN_STMT
- MEM[(struct AIPS_Type *)1073741824B].OPACR[2] ={v} 0;
- # DEBUG BEGIN_STMT
- MEM[(struct AIPS_Type *)1073741824B].OPACR[3] ={v} 0;
- # DEBUG BEGIN_STMT
- MEM[(struct AIPS_Type *)1073741824B].OPACR[4] ={v} 0;
- # DEBUG BEGIN_STMT
- MEM[(struct AIPS_Type *)1073741824B].OPACR[5] ={v} 0;
- # DEBUG BEGIN_STMT
- MEM[(struct AIPS_Type *)1073741824B].OPACR[6] ={v} 0;
- # DEBUG BEGIN_STMT
- MEM[(struct AIPS_Type *)1073741824B].OPACR[7] ={v} 0;
- # DEBUG BEGIN_STMT
- MEM[(struct AIPS_Type *)1073741824B].OPACR[8] ={v} 0;
- # DEBUG BEGIN_STMT
- MEM[(struct AIPS_Type *)1073741824B].OPACR[9] ={v} 0;
- # DEBUG BEGIN_STMT
- MEM[(struct AIPS_Type *)1073741824B].OPACR[10] ={v} 0;
- # DEBUG BEGIN_STMT
- MEM[(struct AIPS_Type *)1073741824B].OPACR[11] ={v} 0;
- # DEBUG BEGIN_STMT
- __asm__ __volatile__("dsb");
- # DEBUG BEGIN_STMT
- __asm__ __volatile__("isb");
- # DEBUG BEGIN_STMT
- sys_m4_cache_init (0);
- return;
- }
- Sys_GetCoreID ()
- {
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- return 0;
- }
- default_interrupt_routine ()
- {
- <bb 2> [local count: 107374]:
- <bb 3> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 4> [local count: 1073741824]:
- goto <bb 3>; [100.00%]
- }
- startup_go_to_user_mode ()
- {
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- return;
- }
|