IPA constant propagation start: IPA structures before propagation: Jump functions: Jump functions of caller undefined_handler/10: Jump functions of caller SysTick_Handler/9: Jump functions of caller PendSV_Handler/8: Jump functions of caller DebugMon_Handler/7: Jump functions of caller SVCHandler_main/6: Jump functions of caller SVC_Handler/5: Jump functions of caller UsageFault_Handler/4: Jump functions of caller BusFault_Handler/3: Jump functions of caller MemManage_Handler/2: Jump functions of caller HardFault_Handler/1: Jump functions of caller NMI_Handler/0: Propagating constants: Not considering undefined_handler for cloning; -fipa-cp-clone disabled. Function SysTick_Handler/9 is not versionable, reason: insufficient body availability. Function PendSV_Handler/8 is not versionable, reason: insufficient body availability. Function DebugMon_Handler/7 is not versionable, reason: insufficient body availability. Not considering SVCHandler_main for cloning; -fipa-cp-clone disabled. Function SVC_Handler/5 is not versionable, reason: insufficient body availability. Function UsageFault_Handler/4 is not versionable, reason: insufficient body availability. Function BusFault_Handler/3 is not versionable, reason: insufficient body availability. Function MemManage_Handler/2 is not versionable, reason: insufficient body availability. Function HardFault_Handler/1 is not versionable, reason: insufficient body availability. Function NMI_Handler/0 is not versionable, reason: insufficient body availability. overall_size: 44, max_new_size: 11001 IPA lattices after all propagation: Lattices: Node: undefined_handler/10: Node: SysTick_Handler/9: Node: PendSV_Handler/8: Node: DebugMon_Handler/7: Node: SVCHandler_main/6: param [0]: BOTTOM ctxs: BOTTOM Bits unusable (BOTTOM) VARYING AGGS BOTTOM Node: SVC_Handler/5: Node: UsageFault_Handler/4: Node: BusFault_Handler/3: Node: MemManage_Handler/2: Node: HardFault_Handler/1: Node: NMI_Handler/0: IPA decision stage: IPA constant propagation end Reclaiming functions: Reclaiming variables: Clearing address taken flags: Symbol table: undefined_handler/10 (undefined_handler) @069d5b60 Type: function definition analyzed Visibility: externally_visible public References: Referring: Availability: available Function flags: count:107374 (estimated locally) body executed_once optimize_size Called by: Calls: SysTick_Handler/9 (SysTick_Handler) @069d5620 Type: function definition analyzed Visibility: externally_visible public weak References: Referring: Availability: overwritable Function flags: count:107374 (estimated locally) body optimize_size Called by: Calls: PendSV_Handler/8 (PendSV_Handler) @069d5000 Type: function definition analyzed Visibility: externally_visible public weak References: Referring: Availability: overwritable Function flags: count:107374 (estimated locally) body optimize_size Called by: Calls: DebugMon_Handler/7 (DebugMon_Handler) @069d5d20 Type: function definition analyzed Visibility: externally_visible public weak References: Referring: Availability: overwritable Function flags: count:107374 (estimated locally) body optimize_size Called by: Calls: SVCHandler_main/6 (SVCHandler_main) @069d5a80 Type: function definition analyzed Visibility: externally_visible public References: Referring: Availability: available Function flags: count:1073741823 (estimated locally) body optimize_size Called by: Calls: SVC_Handler/5 (SVC_Handler) @069d57e0 Type: function definition analyzed Visibility: externally_visible public weak References: Referring: Availability: overwritable Function flags: count:107374 (estimated locally) body optimize_size Called by: Calls: UsageFault_Handler/4 (UsageFault_Handler) @069d5460 Type: function definition analyzed Visibility: externally_visible public weak References: Referring: Availability: overwritable Function flags: count:107374 (estimated locally) body optimize_size Called by: Calls: BusFault_Handler/3 (BusFault_Handler) @069d51c0 Type: function definition analyzed Visibility: externally_visible public weak References: Referring: Availability: overwritable Function flags: count:107374 (estimated locally) body optimize_size Called by: Calls: MemManage_Handler/2 (MemManage_Handler) @069ced20 Type: function definition analyzed Visibility: externally_visible public weak References: Referring: Availability: overwritable Function flags: count:107374 (estimated locally) body optimize_size Called by: Calls: HardFault_Handler/1 (HardFault_Handler) @069ceee0 Type: function definition analyzed Visibility: externally_visible public weak References: Referring: Availability: overwritable Function flags: count:107374 (estimated locally) body optimize_size Called by: Calls: NMI_Handler/0 (NMI_Handler) @069cec40 Type: function definition analyzed Visibility: externally_visible public weak References: Referring: Availability: overwritable Function flags: count:107374 (estimated locally) body optimize_size Called by: Calls: ;; Function NMI_Handler (NMI_Handler, funcdef_no=0, decl_uid=4059, cgraph_uid=1, symbol_order=0) Modification phase of node NMI_Handler/0 __attribute__((weak)) NMI_Handler () { [local count: 107374]: [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT [local count: 1073741824]: goto ; [100.00%] } ;; Function HardFault_Handler (HardFault_Handler, funcdef_no=1, decl_uid=4061, cgraph_uid=2, symbol_order=1) Modification phase of node HardFault_Handler/1 __attribute__((weak)) HardFault_Handler () { [local count: 107374]: [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT [local count: 1073741824]: goto ; [100.00%] } ;; Function MemManage_Handler (MemManage_Handler, funcdef_no=2, decl_uid=4063, cgraph_uid=3, symbol_order=2) Modification phase of node MemManage_Handler/2 __attribute__((weak)) MemManage_Handler () { [local count: 107374]: [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT [local count: 1073741824]: goto ; [100.00%] } ;; Function BusFault_Handler (BusFault_Handler, funcdef_no=3, decl_uid=4065, cgraph_uid=4, symbol_order=3) Modification phase of node BusFault_Handler/3 __attribute__((weak)) BusFault_Handler () { [local count: 107374]: [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT [local count: 1073741824]: goto ; [100.00%] } ;; Function UsageFault_Handler (UsageFault_Handler, funcdef_no=4, decl_uid=4067, cgraph_uid=5, symbol_order=4) Modification phase of node UsageFault_Handler/4 __attribute__((weak)) UsageFault_Handler () { [local count: 107374]: [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT [local count: 1073741824]: goto ; [100.00%] } ;; Function SVC_Handler (SVC_Handler, funcdef_no=5, decl_uid=4099, cgraph_uid=6, symbol_order=5) Modification phase of node SVC_Handler/5 __attribute__((weak)) SVC_Handler () { [local count: 107374]: [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT [local count: 1073741824]: goto ; [100.00%] } ;; Function SVCHandler_main (SVCHandler_main, funcdef_no=6, decl_uid=4077, cgraph_uid=7, symbol_order=6) Modification phase of node SVCHandler_main/6 SVCHandler_main (unsigned int * svc_args) { unsigned int _1; sizetype _2; unsigned char * _3; unsigned char _4; [local count: 1073741823]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT _1 = MEM[(unsigned int *)svc_args_6(D) + 24B]; _2 = _1 + 4294967294; _3 = (unsigned char *) _2; _4 = *_3; # DEBUG svc_number => (unsigned int) _4 # DEBUG BEGIN_STMT switch (_4) [20.00%], case 0: [20.00%], case 1: [20.00%], case 2: [20.00%], case 3: [20.00%]> [local count: 214748364]: : # DEBUG BEGIN_STMT __asm__ __volatile__("mov r0, #0x1"); # DEBUG BEGIN_STMT __asm__ __volatile__("msr CONTROL, r0"); # DEBUG BEGIN_STMT goto ; [100.00%] [local count: 214748364]: : # DEBUG BEGIN_STMT __asm__ __volatile__("mov r0, #0x0"); # DEBUG BEGIN_STMT __asm__ __volatile__("msr CONTROL, r0"); # DEBUG BEGIN_STMT goto ; [100.00%] [local count: 214748364]: : # DEBUG BEGIN_STMT __asm__ __volatile__("mov r0, #0x0"); # DEBUG BEGIN_STMT __asm__ __volatile__(" msr BASEPRI, r0"); # DEBUG BEGIN_STMT goto ; [100.00%] [local count: 214748364]: : # DEBUG BEGIN_STMT __asm__ __volatile__("mov r0, #0x10"); # DEBUG BEGIN_STMT __asm__ __volatile__(" msr BASEPRI, r0"); # DEBUG BEGIN_STMT [local count: 1073741824]: : return; } ;; Function DebugMon_Handler (DebugMon_Handler, funcdef_no=7, decl_uid=4069, cgraph_uid=8, symbol_order=7) Modification phase of node DebugMon_Handler/7 __attribute__((weak)) DebugMon_Handler () { [local count: 107374]: [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT [local count: 1073741824]: goto ; [100.00%] } ;; Function PendSV_Handler (PendSV_Handler, funcdef_no=8, decl_uid=4071, cgraph_uid=9, symbol_order=8) Modification phase of node PendSV_Handler/8 __attribute__((weak)) PendSV_Handler () { [local count: 107374]: [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT [local count: 1073741824]: goto ; [100.00%] } ;; Function SysTick_Handler (SysTick_Handler, funcdef_no=9, decl_uid=4073, cgraph_uid=10, symbol_order=9) Modification phase of node SysTick_Handler/9 __attribute__((weak)) SysTick_Handler () { [local count: 107374]: [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT [local count: 1073741824]: goto ; [100.00%] } ;; Function undefined_handler (undefined_handler, funcdef_no=10, decl_uid=4075, cgraph_uid=11, symbol_order=10) (executed once) Modification phase of node undefined_handler/10 undefined_handler () { [local count: 107374]: [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT [local count: 1073741824]: goto ; [100.00%] }