IPA function summary for LPI2C_Init/76 inlinable global time: 12.000000 self size: 13 global size: 13 min size: 0 self stack: 0 global stack: 0 size:4.500000, time:4.500000 size:5.500000, time:4.500000, executed if:(not inlined) size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 128] changed) && (not inlined) size:2.500000, time:2.500000, nonconst if:(op0[ref offset: 128] changed) calls: Flattening functions: Overall time estimate: 12.000000 weighted by profile: 0.000000 Deciding on inlining of small functions. Starting with size 0. Enqueueing calls in LPI2C_Init/76. Reclaiming functions: Reclaiming variables: Clearing address taken flags: Deciding on functions to be inlined into all callers and removing useless speculations: Overall time estimate: 12.000000 weighted by profile: 0.000000 Why inlining failed? IPA function summary for LPI2C_Init/76 inlinable global time: 12.000000 self size: 13 global size: 13 min size: 0 self stack: 0 global stack: 0 size:4.500000, time:4.500000 size:5.500000, time:4.500000, executed if:(not inlined) size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 128] changed) && (not inlined) size:2.500000, time:2.500000, nonconst if:(op0[ref offset: 128] changed) calls: Symbol table: LPI2C_Init/76 (LPI2C_Init) @05d918c0 Type: function definition analyzed Visibility: externally_visible public References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: ;; Function LPI2C_Init (LPI2C_Init, funcdef_no=76, decl_uid=4880, cgraph_uid=77, symbol_order=76) LPI2C_Init (struct LPI2C_Type * baseAddr) { uint32 regValue; uint32 regValue; [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG baseAddr => baseAddr_2(D) # DEBUG enable => 1 # DEBUG INLINE_ENTRY LPI2C_Set_MasterSoftwareReset # DEBUG BEGIN_STMT regValue_8 ={v} baseAddr_2(D)->MCR; # DEBUG regValue => regValue_8 # DEBUG BEGIN_STMT regValue_9 = regValue_8 & 4294967293; # DEBUG regValue => regValue_9 # DEBUG BEGIN_STMT regValue_10 = regValue_9 | 2; # DEBUG regValue => regValue_10 # DEBUG BEGIN_STMT baseAddr_2(D)->MCR ={v} regValue_10; # DEBUG baseAddr => NULL # DEBUG enable => NULL # DEBUG regValue => NULL # DEBUG BEGIN_STMT # DEBUG baseAddr => baseAddr_2(D) # DEBUG enable => 1 # DEBUG INLINE_ENTRY LPI2C_Set_SlaveSoftwareReset # DEBUG BEGIN_STMT regValue_5 ={v} baseAddr_2(D)->SCR; # DEBUG regValue => regValue_5 # DEBUG BEGIN_STMT regValue_6 = regValue_5 & 4294967293; # DEBUG regValue => regValue_6 # DEBUG BEGIN_STMT regValue_7 = regValue_6 | 2; # DEBUG regValue => regValue_7 # DEBUG BEGIN_STMT baseAddr_2(D)->SCR ={v} regValue_7; # DEBUG baseAddr => NULL # DEBUG enable => NULL # DEBUG regValue => NULL # DEBUG BEGIN_STMT baseAddr_2(D)->MCR ={v} 0; # DEBUG BEGIN_STMT baseAddr_2(D)->SCR ={v} 0; return; }