IPA function summary for Power_Ip_ConfigPartCoreCofbReset.isra.0/25 inlinable
  global time:     26.000000
  self size:       9
  global size:     9
  min size:       8
  self stack:      0
  global stack:    0
    size:0.500000, time:0.500000
    size:3.500000, time:2.500000,  executed if:(not inlined)
    size:0.500000, time:0.500000,  executed if:(not inlined),  nonconst if:(op0[ref offset: 0] changed) && (not inlined)
    size:0.500000, time:0.500000,  nonconst if:(op0[ref offset: 0] changed)
  calls:
    Power_Ip_MC_RGM_CheckModeConfig/20 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11
    Power_Ip_MC_RGM_ModeConfig/19 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11

IPA function summary for Power_Ip_InstallNotificationsCallback/7 inlinable
  global time:     3.000000
  self size:       4
  global size:     4
  min size:       0
  self stack:      0
  global stack:    0
    size:1.000000, time:1.000000
    size:3.000000, time:2.000000,  executed if:(not inlined)
  calls:

IPA function summary for Power_Ip_Init/6 inlinable
  global time:     26.000000
  self size:       9
  global size:     9
  min size:       8
  self stack:      0
  global stack:    0
    size:0.500000, time:0.500000
    size:3.500000, time:2.500000,  executed if:(not inlined)
    size:0.500000, time:0.500000,  executed if:(not inlined),  nonconst if:(op0[ref offset: 0] changed) && (not inlined)
    size:0.500000, time:0.500000,  nonconst if:(op0[ref offset: 0] changed)
  calls:
    Power_Ip_PMC_PowerInit/24 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11
    Power_Ip_MC_RGM_ResetInit/23 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11

IPA function summary for Power_Ip_GetResetRawValue/5 inlinable
  global time:     13.000000
  self size:       5
  global size:     5
  min size:       4
  self stack:      0
  global stack:    0
    size:0.000000, time:0.000000
    size:3.000000, time:2.000000,  executed if:(not inlined)
  calls:
    Power_Ip_MC_RGM_GetResetRawValue/22 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11

IPA function summary for Power_Ip_GetResetReason/4 inlinable
  global time:     13.000000
  self size:       5
  global size:     5
  min size:       4
  self stack:      0
  global stack:    0
    size:0.000000, time:0.000000
    size:3.000000, time:2.000000,  executed if:(not inlined)
  calls:
    Power_Ip_MC_RGM_GetResetReason/21 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11

IPA function summary for Power_Ip_SetMode/3 inlinable
  global time:     22.560439
  self size:       17
  global size:     17
  min size:       4
  self stack:      0
  global stack:    0
    size:0.000000, time:0.000000
    size:3.000000, time:2.000000,  executed if:(not inlined)
    size:0.500000, time:0.500000,  executed if:(not inlined),  nonconst if:(op0[ref offset: 32] changed) && (not inlined)
    size:2.500000, time:2.500000,  nonconst if:(op0[ref offset: 32] changed)
    size:2.000000, time:1.490000,  executed if:(op0[ref offset: 32] > 1),  nonconst if:(op0[ref offset: 32] changed) && (op0[ref offset: 32] > 1)
    size:2.000000, time:0.301576,  executed if:(op0[ref offset: 32] == 3) && (op0[ref offset: 32] > 1)
  calls:
    Power_Ip_CortexM_WarmReset/11 function body not available
      loop depth: 0 freq:0.03 size: 1 time: 10 predicate: (op0[ref offset: 32] == 3) && (op0[ref offset: 32] > 1)
    Power_Ip_MSCM_GetPersonality/10 function body not available
      loop depth: 0 freq:0.15 size: 2 time: 11 predicate: (op0[ref offset: 32] == 3) && (op0[ref offset: 32] > 1)
    Power_Ip_MC_ME_SocTriggerResetEvent/9 function body not available
      loop depth: 0 freq:0.25 size: 2 time: 11 predicate: (op0[ref offset: 32] <= 1)
    Power_Ip_OnOffPartCoreCofb/2 function not considered for inlining
      loop depth: 0 freq:1.00 size: 2 time: 11callee size:13 stack: 0

IPA function summary for Power_Ip_OnOffPartCoreCofb/2 inlinable
  global time:     97.000000
  self size:       26
  global size:     26
  min size:       32
  self stack:      0
  global stack:    0
    size:3.000000, time:3.000000
    size:6.000000, time:5.000000,  executed if:(not inlined)
    size:0.500000, time:0.500000,  executed if:(not inlined),  nonconst if:(op0[ref offset: 64] changed) && (not inlined)
    size:0.500000, time:0.500000,  nonconst if:(op0[ref offset: 64] changed)
  calls:
    Power_Ip_MC_ME_EnablePartitionOutputSafe/18 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11
    Power_Ip_MC_ME_DisablePartitionClock/17 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11
    Power_Ip_MC_RGM_DisableResetDomain/16 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11
    Power_Ip_ConfigPartCoreCofbReset.isra.0/25 function not considered for inlining
      loop depth: 0 freq:1.00 size: 2 time: 11callee size: 4 stack: 0
    Power_Ip_MC_ME_ConfigCoreCOFBClock/15 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11
    Power_Ip_MC_ME_DisablePartitionOutputSafe/14 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11
    Power_Ip_MC_RGM_EnableResetDomain/13 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11
    Power_Ip_MC_ME_EnablePartitionClock/12 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11


Flattening functions:
Overall time estimate: 200.560439 weighted by profile: 0.000000

Deciding on inlining of small functions.  Starting with size 0.
Enqueueing calls in Power_Ip_ConfigPartCoreCofbReset.isra.0/25.
Enqueueing calls in Power_Ip_InstallNotificationsCallback/7.
Enqueueing calls in Power_Ip_Init/6.
Enqueueing calls in Power_Ip_GetResetRawValue/5.
Enqueueing calls in Power_Ip_GetResetReason/4.
Enqueueing calls in Power_Ip_SetMode/3.
Enqueueing calls in Power_Ip_OnOffPartCoreCofb/2.

Considering Power_Ip_ConfigPartCoreCofbReset.isra.0/25 with 9 size
 to be inlined into Power_Ip_OnOffPartCoreCofb/2 in C:/NXP/SW32_RTD_4.4_4.0.0/eclipse/plugins/Mcu_TS_T40D11M40I0R0/src/Power_Ip.c:340
 Estimated badness is -0.643678, frequency 1.00.

Considering Power_Ip_OnOffPartCoreCofb/2 with 29 size
 to be inlined into Power_Ip_SetMode/3 in C:/NXP/SW32_RTD_4.4_4.0.0/eclipse/plugins/Mcu_TS_T40D11M40I0R0/src/Power_Ip.c:379
 Estimated badness is -0.082707, frequency 1.00.

Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:

Deciding on functions to be inlined into all callers and removing useless speculations:
Overall time estimate: 170.060439 weighted by profile: 0.000000

Why inlining failed?
function body not available                       :       16 calls, 13.436308 freq, 0 count
IPA function summary for Power_Ip_InstallNotificationsCallback/7 inlinable
  global time:     3.000000
  self size:       4
  global size:     4
  min size:       0
  self stack:      0
  global stack:    0
    size:1.000000, time:1.000000
    size:3.000000, time:2.000000,  executed if:(not inlined)
  calls:

IPA function summary for Power_Ip_Init/6 inlinable
  global time:     26.000000
  self size:       9
  global size:     9
  min size:       8
  self stack:      0
  global stack:    0
    size:0.500000, time:0.500000
    size:3.500000, time:2.500000,  executed if:(not inlined)
    size:0.500000, time:0.500000,  executed if:(not inlined),  nonconst if:(op0[ref offset: 0] changed) && (not inlined)
    size:0.500000, time:0.500000,  nonconst if:(op0[ref offset: 0] changed)
  calls:
    Power_Ip_PMC_PowerInit/24 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11
    Power_Ip_MC_RGM_ResetInit/23 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11

IPA function summary for Power_Ip_GetResetRawValue/5 inlinable
  global time:     13.000000
  self size:       5
  global size:     5
  min size:       4
  self stack:      0
  global stack:    0
    size:0.000000, time:0.000000
    size:3.000000, time:2.000000,  executed if:(not inlined)
  calls:
    Power_Ip_MC_RGM_GetResetRawValue/22 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11

IPA function summary for Power_Ip_GetResetReason/4 inlinable
  global time:     13.000000
  self size:       5
  global size:     5
  min size:       4
  self stack:      0
  global stack:    0
    size:0.000000, time:0.000000
    size:3.000000, time:2.000000,  executed if:(not inlined)
  calls:
    Power_Ip_MC_RGM_GetResetReason/21 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11

IPA function summary for Power_Ip_SetMode/3 inlinable
  global time:     115.060439
  self size:       17
  global size:     38
  min size:       40
  self stack:      0
  global stack:    0
    size:4.000000, time:4.000000
    size:3.000000, time:2.000000,  executed if:(not inlined)
    size:0.500000, time:0.500000,  executed if:(not inlined),  nonconst if:(op0[ref offset: 32] changed) && (not inlined)
    size:2.500000, time:2.500000,  nonconst if:(op0[ref offset: 32] changed)
    size:2.000000, time:1.490000,  executed if:(op0[ref offset: 32] > 1),  nonconst if:(op0[ref offset: 32] changed) && (op0[ref offset: 32] > 1)
    size:2.000000, time:0.301576,  executed if:(op0[ref offset: 32] == 3) && (op0[ref offset: 32] > 1)
    size:0.500000, time:0.500000,  nonconst if:(op0[ref offset: 64] changed)
  calls:
    Power_Ip_CortexM_WarmReset/11 function body not available
      loop depth: 0 freq:0.03 size: 1 time: 10 predicate: (op0[ref offset: 32] == 3) && (op0[ref offset: 32] > 1)
    Power_Ip_MSCM_GetPersonality/10 function body not available
      loop depth: 0 freq:0.15 size: 2 time: 11 predicate: (op0[ref offset: 32] == 3) && (op0[ref offset: 32] > 1)
    Power_Ip_MC_ME_SocTriggerResetEvent/9 function body not available
      loop depth: 0 freq:0.25 size: 2 time: 11 predicate: (op0[ref offset: 32] <= 1)
    Power_Ip_OnOffPartCoreCofb/2 inlined
      loop depth: 0 freq:1.00 size: 2 time: 11callee size:14 stack: 0
      Stack frame offset 0, callee self size 0, callee size 0
      Power_Ip_MC_ME_EnablePartitionOutputSafe/18 function body not available
        loop depth: 0 freq:1.00 size: 2 time: 11
      Power_Ip_MC_ME_DisablePartitionClock/17 function body not available
        loop depth: 0 freq:1.00 size: 2 time: 11
      Power_Ip_MC_RGM_DisableResetDomain/16 function body not available
        loop depth: 0 freq:1.00 size: 2 time: 11
      Power_Ip_ConfigPartCoreCofbReset.isra.0/25 inlined
        loop depth: 0 freq:1.00 size: 2 time: 11callee size: 4 stack: 0
        Stack frame offset 0, callee self size 0, callee size 0
        Power_Ip_MC_RGM_CheckModeConfig/20 function body not available
          loop depth: 0 freq:1.00 size: 2 time: 11
        Power_Ip_MC_RGM_ModeConfig/19 function body not available
          loop depth: 0 freq:1.00 size: 2 time: 11
      Power_Ip_MC_ME_ConfigCoreCOFBClock/15 function body not available
        loop depth: 0 freq:1.00 size: 2 time: 11
      Power_Ip_MC_ME_DisablePartitionOutputSafe/14 function body not available
        loop depth: 0 freq:1.00 size: 2 time: 11
      Power_Ip_MC_RGM_EnableResetDomain/13 function body not available
        loop depth: 0 freq:1.00 size: 2 time: 11
      Power_Ip_MC_ME_EnablePartitionClock/12 function body not available
        loop depth: 0 freq:1.00 size: 2 time: 11

Symbol table:

Power_Ip_ConfigPartCoreCofbReset.isra.0/25 (Power_Ip_ConfigPartCoreCofbReset.isra.0) @07533540
  Type: function definition analyzed
  Visibility: prevailing_def_ironly artificial
  References: 
  Referring: 
  Function Power_Ip_ConfigPartCoreCofbReset.isra.0/25 is inline copy in Power_Ip_SetMode/3
  Availability: local
  Function flags: count:1073741824 (estimated locally) body local optimize_size
  Called by: Power_Ip_OnOffPartCoreCofb/2 (inlined) (1073741824 (estimated locally),1.00 per call) 
  Calls: Power_Ip_MC_RGM_CheckModeConfig/20 (1073741824 (estimated locally),1.00 per call) Power_Ip_MC_RGM_ModeConfig/19 (1073741824 (estimated locally),1.00 per call) 
Power_Ip_PMC_PowerInit/24 (Power_Ip_PMC_PowerInit) @0743a380
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_Init/6 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
Power_Ip_MC_RGM_ResetInit/23 (Power_Ip_MC_RGM_ResetInit) @0743a2a0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_Init/6 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
Power_Ip_MC_RGM_GetResetRawValue/22 (Power_Ip_MC_RGM_GetResetRawValue) @0743a0e0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_GetResetRawValue/5 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
Power_Ip_MC_RGM_GetResetReason/21 (Power_Ip_MC_RGM_GetResetReason) @07437ee0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_GetResetReason/4 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
Power_Ip_MC_RGM_CheckModeConfig/20 (Power_Ip_MC_RGM_CheckModeConfig) @07437d20
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_ConfigPartCoreCofbReset.isra.0/25 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
Power_Ip_MC_RGM_ModeConfig/19 (Power_Ip_MC_RGM_ModeConfig) @07437c40
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_ConfigPartCoreCofbReset.isra.0/25 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
Power_Ip_MC_ME_EnablePartitionOutputSafe/18 (Power_Ip_MC_ME_EnablePartitionOutputSafe) @07437a80
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_OnOffPartCoreCofb/2 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
Power_Ip_MC_ME_DisablePartitionClock/17 (Power_Ip_MC_ME_DisablePartitionClock) @074379a0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_OnOffPartCoreCofb/2 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
Power_Ip_MC_RGM_DisableResetDomain/16 (Power_Ip_MC_RGM_DisableResetDomain) @074378c0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_OnOffPartCoreCofb/2 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
Power_Ip_MC_ME_ConfigCoreCOFBClock/15 (Power_Ip_MC_ME_ConfigCoreCOFBClock) @074377e0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_OnOffPartCoreCofb/2 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
Power_Ip_MC_ME_DisablePartitionOutputSafe/14 (Power_Ip_MC_ME_DisablePartitionOutputSafe) @07437700
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_OnOffPartCoreCofb/2 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
Power_Ip_MC_RGM_EnableResetDomain/13 (Power_Ip_MC_RGM_EnableResetDomain) @07437620
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_OnOffPartCoreCofb/2 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
Power_Ip_MC_ME_EnablePartitionClock/12 (Power_Ip_MC_ME_EnablePartitionClock) @07437540
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_OnOffPartCoreCofb/2 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
Power_Ip_CortexM_WarmReset/11 (Power_Ip_CortexM_WarmReset) @07437380
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_SetMode/3 (32770054 (estimated locally),0.03 per call) 
  Calls: 
Power_Ip_MSCM_GetPersonality/10 (Power_Ip_MSCM_GetPersonality) @074372a0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_SetMode/3 (161907382 (estimated locally),0.15 per call) 
  Calls: 
Power_Ip_MC_ME_SocTriggerResetEvent/9 (Power_Ip_MC_ME_SocTriggerResetEvent) @074371c0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_SetMode/3 (273804165 (estimated locally),0.25 per call) 
  Calls: 
Power_Ip_ReportPowerErrorsEmptyCallback/8 (Power_Ip_ReportPowerErrorsEmptyCallback) @074c88c0
  Type: function
  Visibility: external public
  Address is taken.
  References: 
  Referring: Power_Ip_pfReportErrorsCallback/0 (addr)
  Availability: not_available
  Function flags: optimize_size
  Called by: 
  Calls: 
Power_Ip_InstallNotificationsCallback/7 (Power_Ip_InstallNotificationsCallback) @074c8620
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Power_Ip_pfReportErrorsCallback/0 (write)
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
Power_Ip_Init/6 (Power_Ip_Init) @074c80e0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: Power_Ip_PMC_PowerInit/24 (1073741824 (estimated locally),1.00 per call) Power_Ip_MC_RGM_ResetInit/23 (1073741824 (estimated locally),1.00 per call) 
Power_Ip_GetResetRawValue/5 (Power_Ip_GetResetRawValue) @074c8d20
  Type: function definition analyzed
  Visibility: externally_visible public
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: Power_Ip_MC_RGM_GetResetRawValue/22 (1073741824 (estimated locally),1.00 per call) 
Power_Ip_GetResetReason/4 (Power_Ip_GetResetReason) @074c8a80
  Type: function definition analyzed
  Visibility: externally_visible public
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: Power_Ip_MC_RGM_GetResetReason/21 (1073741824 (estimated locally),1.00 per call) 
Power_Ip_SetMode/3 (Power_Ip_SetMode) @074c87e0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: Power_Ip_CortexM_WarmReset/11 (32770054 (estimated locally),0.03 per call) Power_Ip_MSCM_GetPersonality/10 (161907382 (estimated locally),0.15 per call) Power_Ip_MC_ME_SocTriggerResetEvent/9 (273804165 (estimated locally),0.25 per call) Power_Ip_OnOffPartCoreCofb/2 (inlined) (1073741824 (estimated locally),1.00 per call) 
Power_Ip_OnOffPartCoreCofb/2 (Power_Ip_OnOffPartCoreCofb) @074c8540
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  References: 
  Referring: 
  Function Power_Ip_OnOffPartCoreCofb/2 is inline copy in Power_Ip_SetMode/3
  Availability: local
  Function flags: count:1073741824 (estimated locally) body local optimize_size
  Called by: Power_Ip_SetMode/3 (inlined) (1073741824 (estimated locally),1.00 per call) 
  Calls: Power_Ip_MC_ME_EnablePartitionOutputSafe/18 (1073741824 (estimated locally),1.00 per call) Power_Ip_MC_ME_DisablePartitionClock/17 (1073741824 (estimated locally),1.00 per call) Power_Ip_MC_RGM_DisableResetDomain/16 (1073741824 (estimated locally),1.00 per call) Power_Ip_ConfigPartCoreCofbReset.isra.0/25 (inlined) (1073741824 (estimated locally),1.00 per call) Power_Ip_MC_ME_ConfigCoreCOFBClock/15 (1073741824 (estimated locally),1.00 per call) Power_Ip_MC_ME_DisablePartitionOutputSafe/14 (1073741824 (estimated locally),1.00 per call) Power_Ip_MC_RGM_EnableResetDomain/13 (1073741824 (estimated locally),1.00 per call) Power_Ip_MC_ME_EnablePartitionClock/12 (1073741824 (estimated locally),1.00 per call) 
Power_Ip_pfReportErrorsCallback/0 (Power_Ip_pfReportErrorsCallback) @074c59d8
  Type: variable definition analyzed
  Visibility: externally_visible public
  References: Power_Ip_ReportPowerErrorsEmptyCallback/8 (addr)
  Referring: Power_Ip_InstallNotificationsCallback/7 (write)
  Availability: available
  Varpool flags: initialized

;; Function Power_Ip_SetMode (Power_Ip_SetMode, funcdef_no=2, decl_uid=6496, cgraph_uid=3, symbol_order=3)


Symbols to be put in SSA form
{ D.6603 }
Incremental SSA update started at block: 0
Number of blocks in CFG: 13
Number of blocks to update: 12 ( 92%)


Merging blocks 2 and 9
Removing basic block 11
Merging blocks 2 and 12
Merging blocks 2 and 10
Merging blocks 2 and 8
;; 1 loops found
;;
;; Loop 0
;;  header 0, latch 1
;;  depth 0, outer -1
;;  nodes: 0 1 2 3 4 5 6 7
;; 2 succs { 3 4 }
;; 3 succs { 7 }
;; 4 succs { 5 7 }
;; 5 succs { 7 6 }
;; 6 succs { 7 }
;; 7 succs { 1 }
Power_Ip_SetMode (const struct Power_Ip_ModeConfigType * ModeConfigPtr)
{
  Power_Ip_MSCM_CpxType McuCpxType;
  Power_Ip_PowerModeType PowerMode;
  const struct Power_Ip_MC_ME_ModeConfigType * _10;
  const struct Power_Ip_MC_RGM_ModeConfigType * _11;
  const struct Power_Ip_MC_ME_ModeConfigType * _12;
  const struct Power_Ip_MC_ME_ModeConfigType * _13;
  const struct Power_Ip_MC_RGM_ModeConfigType * const * _14;
  const struct Power_Ip_MC_RGM_ModeConfigType * _15;
  const struct Power_Ip_MC_ME_ModeConfigType * _16;
  const struct Power_Ip_MC_ME_ModeConfigType * _17;
  const struct Power_Ip_MC_RGM_ModeConfigType * _18;
  const struct Power_Ip_MC_RGM_ModeConfigType * _19;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  PowerMode_4 = ModeConfigPtr_3(D)->PowerMode;
  # DEBUG PowerMode => PowerMode_4
  # DEBUG BEGIN_STMT
  # DEBUG ModeConfigPtr => ModeConfigPtr_3(D)
  # DEBUG INLINE_ENTRY Power_Ip_OnOffPartCoreCofb
  # DEBUG BEGIN_STMT
  _10 = ModeConfigPtr_3(D)->McMeModeConfigPtr;
  Power_Ip_MC_ME_EnablePartitionClock (_10);
  # DEBUG BEGIN_STMT
  _11 = ModeConfigPtr_3(D)->McRgmModeConfigPtr;
  Power_Ip_MC_RGM_EnableResetDomain (_11);
  # DEBUG BEGIN_STMT
  _12 = ModeConfigPtr_3(D)->McMeModeConfigPtr;
  Power_Ip_MC_ME_DisablePartitionOutputSafe (_12);
  # DEBUG BEGIN_STMT
  _13 = ModeConfigPtr_3(D)->McMeModeConfigPtr;
  Power_Ip_MC_ME_ConfigCoreCOFBClock (_13);
  # DEBUG BEGIN_STMT
  _14 = &MEM[(const struct Power_Ip_MC_RGM_ModeConfigType * *)ModeConfigPtr_3(D) + 12B];
  # DEBUG D#1 => ModeConfigPtr_3(D)
  # DEBUG INLINE_ENTRY Power_Ip_ConfigPartCoreCofbReset
  # DEBUG ModeConfigPtr => D#1
  # DEBUG BEGIN_STMT
  _18 = *_14;
  Power_Ip_MC_RGM_ModeConfig (_18);
  # DEBUG BEGIN_STMT
  _19 = *_14;
  Power_Ip_MC_RGM_CheckModeConfig (_19);
  # DEBUG BEGIN_STMT
  _15 = ModeConfigPtr_3(D)->McRgmModeConfigPtr;
  Power_Ip_MC_RGM_DisableResetDomain (_15);
  # DEBUG BEGIN_STMT
  _16 = ModeConfigPtr_3(D)->McMeModeConfigPtr;
  Power_Ip_MC_ME_DisablePartitionClock (_16);
  # DEBUG BEGIN_STMT
  _17 = ModeConfigPtr_3(D)->McMeModeConfigPtr;
  Power_Ip_MC_ME_EnablePartitionOutputSafe (_17);
  # DEBUG ModeConfigPtr => NULL
  # DEBUG BEGIN_STMT
  if (PowerMode_4 <= 1)
    goto <bb 3>; [25.50%]
  else
    goto <bb 4>; [74.50%]

  <bb 3> [local count: 273804165]:
  # DEBUG BEGIN_STMT
  Power_Ip_MC_ME_SocTriggerResetEvent (PowerMode_4);
  goto <bb 7>; [100.00%]

  <bb 4> [local count: 799937660]:
  # DEBUG BEGIN_STMT
  if (PowerMode_4 == 3)
    goto <bb 5>; [20.24%]
  else
    goto <bb 7>; [79.76%]

  <bb 5> [local count: 161907382]:
  # DEBUG BEGIN_STMT
  McuCpxType_7 = Power_Ip_MSCM_GetPersonality ();
  # DEBUG McuCpxType => McuCpxType_7
  # DEBUG BEGIN_STMT
  if (McuCpxType_7 == 2)
    goto <bb 6>; [20.24%]
  else
    goto <bb 7>; [79.76%]

  <bb 6> [local count: 32770054]:
<L3>:
  # DEBUG BEGIN_STMT
  Power_Ip_CortexM_WarmReset ();
  # DEBUG BEGIN_STMT

  <bb 7> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  return;

}



;; Function Power_Ip_GetResetReason (Power_Ip_GetResetReason, funcdef_no=3, decl_uid=6498, cgraph_uid=4, symbol_order=4)

Power_Ip_GetResetReason ()
{
  Power_Ip_ResetType ResetReason;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG ResetReason => 28
  # DEBUG BEGIN_STMT
  ResetReason_3 = Power_Ip_MC_RGM_GetResetReason ();
  # DEBUG ResetReason => ResetReason_3
  # DEBUG BEGIN_STMT
  return ResetReason_3;

}



;; Function Power_Ip_GetResetRawValue (Power_Ip_GetResetRawValue, funcdef_no=4, decl_uid=6500, cgraph_uid=5, symbol_order=5)

Power_Ip_GetResetRawValue ()
{
  Power_Ip_RawResetType ResetReason;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  ResetReason_3 = Power_Ip_MC_RGM_GetResetRawValue ();
  # DEBUG ResetReason => ResetReason_3
  # DEBUG BEGIN_STMT
  return ResetReason_3;

}



;; Function Power_Ip_Init (Power_Ip_Init, funcdef_no=5, decl_uid=6494, cgraph_uid=6, symbol_order=6)

Power_Ip_Init (const struct Power_Ip_HwIPsConfigType * HwIPsConfigPtr)
{
  const struct Power_Ip_MC_RGM_ConfigType * _1;
  const struct Power_Ip_PMC_ConfigType * _2;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = HwIPsConfigPtr_4(D)->McRgmConfigPtr;
  Power_Ip_MC_RGM_ResetInit (_1);
  # DEBUG BEGIN_STMT
  _2 = HwIPsConfigPtr_4(D)->PMCConfigPtr;
  Power_Ip_PMC_PowerInit (_2);
  return;

}



;; Function Power_Ip_InstallNotificationsCallback (Power_Ip_InstallNotificationsCallback, funcdef_no=6, decl_uid=6502, cgraph_uid=7, symbol_order=7)

Power_Ip_InstallNotificationsCallback (void (*Power_Ip_ReportErrorsCallbackType) (Power_Ip_ReportErrorType, uint8) ReportErrorsCallback)
{
  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Power_Ip_pfReportErrorsCallback = ReportErrorsCallback_2(D);
  return;

}


