IPA function summary for Power_Ip_InstallNotificationsCallback/13 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_EnableSleepOnExit/12 inlinable
  global time:     12.000000
  self size:       4
  global size:     4
  min size:       2
  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_CM4_EnableSleepOnExit/35 function body not available
      loop depth: 0 freq:1.00 size: 1 time: 10

IPA function summary for Power_Ip_DisableSleepOnExit/11 inlinable
  global time:     12.000000
  self size:       4
  global size:     4
  min size:       2
  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_CM4_DisableSleepOnExit/34 function body not available
      loop depth: 0 freq:1.00 size: 1 time: 10

IPA function summary for Power_Ip_InitPower/10 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: 32] changed) && (not inlined)
    size:0.500000, time:0.500000,  nonconst if:(op0[ref offset: 32] changed)
  calls:
    Power_Ip_SMC_AllowedModesConfig/33 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11
    Power_Ip_PMC_PowerInit/32 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11

IPA function summary for Power_Ip_InitReset/9 inlinable
  global time:     14.000000
  self size:       6
  global size:     6
  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: 0] changed) && (not inlined)
    size:0.500000, time:0.500000,  nonconst if:(op0[ref offset: 0] changed)
  calls:
    Power_Ip_RCM_ResetInit/31 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11

IPA function summary for Power_Ip_GetResetRawValue/8 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_RCM_GetResetRawValue/30 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11

IPA function summary for Power_Ip_GetResetReason/7 inlinable
  global time:     16.000000
  self size:       8
  global size:     8
  min size:       4
  self stack:      0
  global stack:    0
    size:3.000000, time:3.000000
    size:3.000000, time:2.000000,  executed if:(not inlined)
  calls:
    Power_Ip_RCM_GetResetReason/28 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11

IPA function summary for Power_Ip_PerformReset/5 inlinable
  global time:     12.000000
  self size:       4
  global size:     4
  min size:       2
  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_CM4_SystemReset/27 function body not available
      loop depth: 0 freq:1.00 size: 1 time: 10

IPA function summary for Power_Ip_SetMode/4 inlinable
  global time:     40.690000
  self size:       23
  global size:     23
  min size:       24
  self stack:      0
  global stack:    0
    size:4.000000, time:3.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:3.500000, time:2.000000,  nonconst if:(op0[ref offset: 32] changed)
  calls:
    ReportPowerErrors/18 function body not available
      loop depth: 0 freq:0.67 size: 3 time: 12
       op0 is compile time invariant
       op1 is compile time invariant
    Power_Ip_CM4_DisableDeepSleep/17 function body not available
      loop depth: 0 freq:0.17 size: 1 time: 10
    Power_Ip_SMC_ModeConfig/16 function body not available
      loop depth: 0 freq:0.50 size: 3 time: 12
    Power_Ip_PrepareLowPowerMode/3 function not considered for inlining
      loop depth: 0 freq:0.50 size: 2 time: 11callee size: 8 stack: 0
    Power_Ip_SMC_ModeCheckEntry/15 function body not available
      loop depth: 0 freq:1.00 size: 3 time: 12

IPA function summary for Power_Ip_PrepareLowPowerMode/3 inlinable
  global time:     19.226120
  self size:       16
  global size:     16
  min size:       8
  self stack:      0
  global stack:    0
    size:0.000000, time:0.000000
    size:3.000000, time:2.000000,  executed if:(not inlined)
    size:8.000000, time:6.510000,  nonconst if:(op0 changed)
  calls:
    Power_Ip_CM4_EnableDeepSleep/20 function body not available
      loop depth: 0 freq:0.25 size: 1 time: 10
    Power_Ip_CM4_EnableDeepSleep/20 function body not available
      loop depth: 0 freq:0.05 size: 1 time: 10 predicate: (op0 == 3)
    Power_Ip_DisableSoscClock/2 function not considered for inlining
      loop depth: 0 freq:0.25 size: 1 time: 10callee size: 5 stack: 0
    Power_Ip_DisableFircClock/1 function not considered for inlining
      loop depth: 0 freq:0.25 size: 1 time: 10callee size: 5 stack: 0
    Power_Ip_SCG_DisableClockMonitors/19 function body not available
      loop depth: 0 freq:0.25 size: 1 time: 10

IPA function summary for Power_Ip_DisableSoscClock/2 inlinable
  global time:     54.000000
  self size:       10
  global size:     10
  min size:       14
  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_RCM_RestoreSystemResetIsrConfig/25 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11
    Power_Ip_SCG_DisableSoscClock/26 function body not available
      loop depth: 0 freq:1.00 size: 1 time: 10
    Power_Ip_RCM_SystemResetIsrConfig/23 function body not available
      loop depth: 0 freq:1.00 size: 1 time: 10
    Power_Ip_RCM_GetCurrentSystemResetIsrSettings/22 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11
    Power_Ip_SCG_DropSysClkToSircInRunMode/21 function body not available
      loop depth: 0 freq:1.00 size: 1 time: 10

IPA function summary for Power_Ip_DisableFircClock/1 inlinable
  global time:     54.000000
  self size:       10
  global size:     10
  min size:       14
  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_RCM_RestoreSystemResetIsrConfig/25 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11
    Power_Ip_SCG_DisableFircClock/24 function body not available
      loop depth: 0 freq:1.00 size: 1 time: 10
    Power_Ip_RCM_SystemResetIsrConfig/23 function body not available
      loop depth: 0 freq:1.00 size: 1 time: 10
    Power_Ip_RCM_GetCurrentSystemResetIsrSettings/22 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11
    Power_Ip_SCG_DropSysClkToSircInRunMode/21 function body not available
      loop depth: 0 freq:1.00 size: 1 time: 10


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

Deciding on inlining of small functions.  Starting with size 0.
Enqueueing calls in Power_Ip_InstallNotificationsCallback/13.
Enqueueing calls in Power_Ip_EnableSleepOnExit/12.
Enqueueing calls in Power_Ip_DisableSleepOnExit/11.
Enqueueing calls in Power_Ip_InitPower/10.
Enqueueing calls in Power_Ip_InitReset/9.
Enqueueing calls in Power_Ip_GetResetRawValue/8.
Enqueueing calls in Power_Ip_GetResetReason/7.
Enqueueing calls in Power_Ip_PerformReset/5.
Enqueueing calls in Power_Ip_SetMode/4.
Enqueueing calls in Power_Ip_PrepareLowPowerMode/3.
Enqueueing calls in Power_Ip_DisableSoscClock/2.
Enqueueing calls in Power_Ip_DisableFircClock/1.

Considering Power_Ip_DisableSoscClock/2 with 10 size
 to be inlined into Power_Ip_PrepareLowPowerMode/3 in ../RTD/src/Power_Ip.c:445
 Estimated badness is -0.092727, frequency 0.25.

Considering Power_Ip_DisableFircClock/1 with 10 size
 to be inlined into Power_Ip_PrepareLowPowerMode/3 in ../RTD/src/Power_Ip.c:442
 Estimated badness is -0.092727, frequency 0.25.

Considering Power_Ip_PrepareLowPowerMode/3 with 28 size
 to be inlined into Power_Ip_SetMode/4 in ../RTD/src/Power_Ip.c:525
 Estimated badness is -0.024575, frequency 0.50.

Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:

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

Why inlining failed?
function body not available                       :       25 calls, 11.890806 freq, 0 count
IPA function summary for Power_Ip_InstallNotificationsCallback/13 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_EnableSleepOnExit/12 inlinable
  global time:     12.000000
  self size:       4
  global size:     4
  min size:       2
  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_CM4_EnableSleepOnExit/35 function body not available
      loop depth: 0 freq:1.00 size: 1 time: 10

IPA function summary for Power_Ip_DisableSleepOnExit/11 inlinable
  global time:     12.000000
  self size:       4
  global size:     4
  min size:       2
  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_CM4_DisableSleepOnExit/34 function body not available
      loop depth: 0 freq:1.00 size: 1 time: 10

IPA function summary for Power_Ip_InitPower/10 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: 32] changed) && (not inlined)
    size:0.500000, time:0.500000,  nonconst if:(op0[ref offset: 32] changed)
  calls:
    Power_Ip_SMC_AllowedModesConfig/33 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11
    Power_Ip_PMC_PowerInit/32 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11

IPA function summary for Power_Ip_InitReset/9 inlinable
  global time:     14.000000
  self size:       6
  global size:     6
  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: 0] changed) && (not inlined)
    size:0.500000, time:0.500000,  nonconst if:(op0[ref offset: 0] changed)
  calls:
    Power_Ip_RCM_ResetInit/31 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11

IPA function summary for Power_Ip_GetResetRawValue/8 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_RCM_GetResetRawValue/30 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11

IPA function summary for Power_Ip_GetResetReason/7 inlinable
  global time:     16.000000
  self size:       8
  global size:     8
  min size:       4
  self stack:      0
  global stack:    0
    size:3.000000, time:3.000000
    size:3.000000, time:2.000000,  executed if:(not inlined)
  calls:
    Power_Ip_RCM_GetResetReason/28 function body not available
      loop depth: 0 freq:1.00 size: 2 time: 11

IPA function summary for Power_Ip_PerformReset/5 inlinable
  global time:     12.000000
  self size:       4
  global size:     4
  min size:       2
  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_CM4_SystemReset/27 function body not available
      loop depth: 0 freq:1.00 size: 1 time: 10

IPA function summary for Power_Ip_SetMode/4 inlinable
  global time:     54.513060
  self size:       23
  global size:     46
  min size:       78
  self stack:      0
  global stack:    0
    size:12.000000, time:6.255000
    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:3.500000, time:2.000000,  nonconst if:(op0[ref offset: 32] changed)
  calls:
    ReportPowerErrors/18 function body not available
      loop depth: 0 freq:0.67 size: 3 time: 12
       op0 is compile time invariant
       op1 is compile time invariant
    Power_Ip_CM4_DisableDeepSleep/17 function body not available
      loop depth: 0 freq:0.17 size: 1 time: 10
    Power_Ip_SMC_ModeConfig/16 function body not available
      loop depth: 0 freq:0.50 size: 3 time: 12
    Power_Ip_PrepareLowPowerMode/3 inlined
      loop depth: 0 freq:0.50 size: 2 time: 11callee size:14 stack: 0
      Stack frame offset 0, callee self size 0, callee size 0
      Power_Ip_CM4_EnableDeepSleep/20 function body not available
        loop depth: 0 freq:0.13 size: 1 time: 10
      Power_Ip_CM4_EnableDeepSleep/20 function body not available
        loop depth: 0 freq:0.03 size: 1 time: 10
      Power_Ip_DisableSoscClock/2 inlined
        loop depth: 0 freq:0.13 size: 1 time: 10callee size: 5 stack: 0
        Stack frame offset 0, callee self size 0, callee size 0
        Power_Ip_RCM_RestoreSystemResetIsrConfig/25 function body not available
          loop depth: 0 freq:0.13 size: 2 time: 11
        Power_Ip_SCG_DisableSoscClock/26 function body not available
          loop depth: 0 freq:0.13 size: 1 time: 10
        Power_Ip_RCM_SystemResetIsrConfig/23 function body not available
          loop depth: 0 freq:0.13 size: 1 time: 10
        Power_Ip_RCM_GetCurrentSystemResetIsrSettings/22 function body not available
          loop depth: 0 freq:0.13 size: 2 time: 11
        Power_Ip_SCG_DropSysClkToSircInRunMode/21 function body not available
          loop depth: 0 freq:0.13 size: 1 time: 10
      Power_Ip_DisableFircClock/1 inlined
        loop depth: 0 freq:0.13 size: 1 time: 10callee size: 5 stack: 0
        Stack frame offset 0, callee self size 0, callee size 0
        Power_Ip_RCM_RestoreSystemResetIsrConfig/25 function body not available
          loop depth: 0 freq:0.13 size: 2 time: 11
        Power_Ip_SCG_DisableFircClock/24 function body not available
          loop depth: 0 freq:0.13 size: 1 time: 10
        Power_Ip_RCM_SystemResetIsrConfig/23 function body not available
          loop depth: 0 freq:0.13 size: 1 time: 10
        Power_Ip_RCM_GetCurrentSystemResetIsrSettings/22 function body not available
          loop depth: 0 freq:0.13 size: 2 time: 11
        Power_Ip_SCG_DropSysClkToSircInRunMode/21 function body not available
          loop depth: 0 freq:0.13 size: 1 time: 10
      Power_Ip_SCG_DisableClockMonitors/19 function body not available
        loop depth: 0 freq:0.13 size: 1 time: 10
    Power_Ip_SMC_ModeCheckEntry/15 function body not available
      loop depth: 0 freq:1.00 size: 3 time: 12

Symbol table:

Power_Ip_CM4_EnableSleepOnExit/35 (Power_Ip_CM4_EnableSleepOnExit) @060e2a80
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_EnableSleepOnExit/12 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
Power_Ip_CM4_DisableSleepOnExit/34 (Power_Ip_CM4_DisableSleepOnExit) @060e28c0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_DisableSleepOnExit/11 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
Power_Ip_SMC_AllowedModesConfig/33 (Power_Ip_SMC_AllowedModesConfig) @060e2700
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_InitPower/10 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
Power_Ip_PMC_PowerInit/32 (Power_Ip_PMC_PowerInit) @060e2620
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_InitPower/10 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
Power_Ip_RCM_ResetInit/31 (Power_Ip_RCM_ResetInit) @060e2460
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_InitReset/9 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
Power_Ip_RCM_GetResetRawValue/30 (Power_Ip_RCM_GetResetRawValue) @060e22a0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_GetResetRawValue/8 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
resetReasonArray.5801/29 (resetReasonArray) @06a8f3f0
  Type: variable definition analyzed
  Visibility: prevailing_def_ironly
  References: 
  Referring: Power_Ip_GetResetReason/7 (read)
  Availability: available
  Varpool flags: initialized read-only const-value-known
Power_Ip_RCM_GetResetReason/28 (Power_Ip_RCM_GetResetReason) @060e2000
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_GetResetReason/7 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
Power_Ip_CM4_SystemReset/27 (Power_Ip_CM4_SystemReset) @06a8ce00
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_PerformReset/5 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
Power_Ip_SCG_DisableSoscClock/26 (Power_Ip_SCG_DisableSoscClock) @06a8cc40
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_DisableSoscClock/2 (136902083 (estimated locally),0.13 per call) 
  Calls: 
Power_Ip_RCM_RestoreSystemResetIsrConfig/25 (Power_Ip_RCM_RestoreSystemResetIsrConfig) @06a8ca80
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_DisableSoscClock/2 (136902083 (estimated locally),0.13 per call) Power_Ip_DisableFircClock/1 (136902083 (estimated locally),0.13 per call) 
  Calls: 
Power_Ip_SCG_DisableFircClock/24 (Power_Ip_SCG_DisableFircClock) @06a8c9a0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_DisableFircClock/1 (136902083 (estimated locally),0.13 per call) 
  Calls: 
Power_Ip_RCM_SystemResetIsrConfig/23 (Power_Ip_RCM_SystemResetIsrConfig) @06a8c8c0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_DisableSoscClock/2 (136902083 (estimated locally),0.13 per call) Power_Ip_DisableFircClock/1 (136902083 (estimated locally),0.13 per call) 
  Calls: 
Power_Ip_RCM_GetCurrentSystemResetIsrSettings/22 (Power_Ip_RCM_GetCurrentSystemResetIsrSettings) @06a8c7e0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_DisableSoscClock/2 (136902083 (estimated locally),0.13 per call) Power_Ip_DisableFircClock/1 (136902083 (estimated locally),0.13 per call) 
  Calls: 
Power_Ip_SCG_DropSysClkToSircInRunMode/21 (Power_Ip_SCG_DropSysClkToSircInRunMode) @06a8c700
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_DisableSoscClock/2 (136902083 (estimated locally),0.13 per call) Power_Ip_DisableFircClock/1 (136902083 (estimated locally),0.13 per call) 
  Calls: 
Power_Ip_CM4_EnableDeepSleep/20 (Power_Ip_CM4_EnableDeepSleep) @06a8c540
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_PrepareLowPowerMode/3 (136902083 (estimated locally),0.13 per call) Power_Ip_PrepareLowPowerMode/3 (27708982 (estimated locally),0.03 per call) 
  Calls: 
Power_Ip_SCG_DisableClockMonitors/19 (Power_Ip_SCG_DisableClockMonitors) @06a8c460
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_PrepareLowPowerMode/3 (136902083 (estimated locally),0.13 per call) 
  Calls: 
ReportPowerErrors/18 (ReportPowerErrors) @06a8c2a0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_SetMode/4 (719407023 (estimated locally),0.67 per call) 
  Calls: 
Power_Ip_CM4_DisableDeepSleep/17 (Power_Ip_CM4_DisableDeepSleep) @06a8c1c0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_SetMode/4 (177167401 (estimated locally),0.17 per call) 
  Calls: 
Power_Ip_SMC_ModeConfig/16 (Power_Ip_SMC_ModeConfig) @06a8c0e0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_SetMode/4 (536870913 (estimated locally),0.50 per call) 
  Calls: 
Power_Ip_SMC_ModeCheckEntry/15 (Power_Ip_SMC_ModeCheckEntry) @06a8c000
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_SetMode/4 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
ReportPowerErrorsEmptyCallback/14 (ReportPowerErrorsEmptyCallback) @06a88380
  Type: function
  Visibility: external public
  Address is taken.
  References: 
  Referring: powerReportErrorsCallback/0 (addr)
  Availability: not_available
  Function flags: optimize_size
  Called by: 
  Calls: 
Power_Ip_InstallNotificationsCallback/13 (Power_Ip_InstallNotificationsCallback) @06a880e0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: powerReportErrorsCallback/0 (write)
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
Power_Ip_EnableSleepOnExit/12 (Power_Ip_EnableSleepOnExit) @06a88d20
  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_CM4_EnableSleepOnExit/35 (1073741824 (estimated locally),1.00 per call) 
Power_Ip_DisableSleepOnExit/11 (Power_Ip_DisableSleepOnExit) @06a88a80
  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_CM4_DisableSleepOnExit/34 (1073741824 (estimated locally),1.00 per call) 
Power_Ip_InitPower/10 (Power_Ip_InitPower) @06a887e0
  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_SMC_AllowedModesConfig/33 (1073741824 (estimated locally),1.00 per call) Power_Ip_PMC_PowerInit/32 (1073741824 (estimated locally),1.00 per call) 
Power_Ip_InitReset/9 (Power_Ip_InitReset) @06a88540
  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_RCM_ResetInit/31 (1073741824 (estimated locally),1.00 per call) 
Power_Ip_GetResetRawValue/8 (Power_Ip_GetResetRawValue) @06a882a0
  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_RCM_GetResetRawValue/30 (1073741824 (estimated locally),1.00 per call) 
Power_Ip_GetResetReason/7 (Power_Ip_GetResetReason) @06a88000
  Type: function definition analyzed
  Visibility: externally_visible public
  References: resetReasonArray.5801/29 (read)
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: Power_Ip_RCM_GetResetReason/28 (1073741824 (estimated locally),1.00 per call) 
Power_Ip_PerformReset/5 (Power_Ip_PerformReset) @06a81380
  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_CM4_SystemReset/27 (1073741824 (estimated locally),1.00 per call) 
Power_Ip_SetMode/4 (Power_Ip_SetMode) @06a81d20
  Type: function definition analyzed
  Visibility: externally_visible public
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: ReportPowerErrors/18 (719407023 (estimated locally),0.67 per call) Power_Ip_CM4_DisableDeepSleep/17 (177167401 (estimated locally),0.17 per call) Power_Ip_SMC_ModeConfig/16 (536870913 (estimated locally),0.50 per call) Power_Ip_PrepareLowPowerMode/3 (inlined) (536870913 (estimated locally),0.50 per call) Power_Ip_SMC_ModeCheckEntry/15 (1073741824 (estimated locally),1.00 per call) 
Power_Ip_PrepareLowPowerMode/3 (Power_Ip_PrepareLowPowerMode) @06a81a80
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  References: 
  Referring: 
  Function Power_Ip_PrepareLowPowerMode/3 is inline copy in Power_Ip_SetMode/4
  Availability: local
  Function flags: count:536870913 (estimated locally) body local optimize_size
  Called by: Power_Ip_SetMode/4 (inlined) (536870913 (estimated locally),0.50 per call) 
  Calls: Power_Ip_CM4_EnableDeepSleep/20 (136902083 (estimated locally),0.13 per call) Power_Ip_CM4_EnableDeepSleep/20 (27708982 (estimated locally),0.03 per call) Power_Ip_DisableSoscClock/2 (inlined) (136902083 (estimated locally),0.13 per call) Power_Ip_DisableFircClock/1 (inlined) (136902083 (estimated locally),0.13 per call) Power_Ip_SCG_DisableClockMonitors/19 (136902083 (estimated locally),0.13 per call) 
Power_Ip_DisableSoscClock/2 (Power_Ip_DisableSoscClock) @06a817e0
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  References: 
  Referring: 
  Function Power_Ip_DisableSoscClock/2 is inline copy in Power_Ip_SetMode/4
  Availability: local
  Function flags: count:136902083 (estimated locally) body local optimize_size
  Called by: Power_Ip_PrepareLowPowerMode/3 (inlined) (136902083 (estimated locally),0.13 per call) 
  Calls: Power_Ip_RCM_RestoreSystemResetIsrConfig/25 (136902083 (estimated locally),0.13 per call) Power_Ip_SCG_DisableSoscClock/26 (136902083 (estimated locally),0.13 per call) Power_Ip_RCM_SystemResetIsrConfig/23 (136902083 (estimated locally),0.13 per call) Power_Ip_RCM_GetCurrentSystemResetIsrSettings/22 (136902083 (estimated locally),0.13 per call) Power_Ip_SCG_DropSysClkToSircInRunMode/21 (136902083 (estimated locally),0.13 per call) 
Power_Ip_DisableFircClock/1 (Power_Ip_DisableFircClock) @06a81540
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  References: 
  Referring: 
  Function Power_Ip_DisableFircClock/1 is inline copy in Power_Ip_SetMode/4
  Availability: local
  Function flags: count:136902083 (estimated locally) body local optimize_size
  Called by: Power_Ip_PrepareLowPowerMode/3 (inlined) (136902083 (estimated locally),0.13 per call) 
  Calls: Power_Ip_RCM_RestoreSystemResetIsrConfig/25 (136902083 (estimated locally),0.13 per call) Power_Ip_SCG_DisableFircClock/24 (136902083 (estimated locally),0.13 per call) Power_Ip_RCM_SystemResetIsrConfig/23 (136902083 (estimated locally),0.13 per call) Power_Ip_RCM_GetCurrentSystemResetIsrSettings/22 (136902083 (estimated locally),0.13 per call) Power_Ip_SCG_DropSysClkToSircInRunMode/21 (136902083 (estimated locally),0.13 per call) 
powerReportErrorsCallback/0 (powerReportErrorsCallback) @06018120
  Type: variable definition analyzed
  Visibility: externally_visible public
  References: ReportPowerErrorsEmptyCallback/14 (addr)
  Referring: Power_Ip_InstallNotificationsCallback/13 (write)
  Availability: available
  Varpool flags: initialized

;; Function Power_Ip_SetMode (Power_Ip_SetMode, funcdef_no=3, decl_uid=5626, cgraph_uid=4, symbol_order=4)


Symbols to be put in SSA form
{ D.5857 }
Incremental SSA update started at block: 0
Number of blocks in CFG: 20
Number of blocks to update: 18 ( 90%)


Removing basic block 4
Merging blocks 11 and 19
Merging blocks 15 and 9
Removing basic block 18
Merging blocks 11 and 17
Merging blocks 11 and 16
;; 1 loops found
;;
;; Loop 0
;;  header 0, latch 1
;;  depth 0, outer -1
;;  nodes: 0 1 2 3 4 5 6 7 8 9 10 11 12
;; 2 succs { 11 3 }
;; 3 succs { 4 6 }
;; 4 succs { 5 6 }
;; 5 succs { 6 }
;; 6 succs { 7 8 }
;; 7 succs { 8 }
;; 8 succs { 9 10 }
;; 9 succs { 10 }
;; 10 succs { 11 12 }
;; 11 succs { 12 }
;; 12 succs { 1 }
Power_Ip_SetMode (const struct Power_Ip_ModeConfigType * Power_Ip_pModeConfigPtr)
{
  uint32 u32SystemResetIsrConfig;
  uint32 u32SystemResetIsrConfig;
  Power_Ip_PowerModeType ePowerMode;
  uint32 ePowerSwitchMode;
  <unnamed type> _1;
  unsigned int _2;
  unsigned int _15;
  unsigned int _16;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  ePowerMode_7 = Power_Ip_pModeConfigPtr_6(D)->Power_Ip_ePowerMode;
  # DEBUG ePowerMode => ePowerMode_7
  # DEBUG BEGIN_STMT
  _1 = Power_Ip_SMC_ModeCheckEntry (ePowerMode_7);
  if (_1 != 0)
    goto <bb 11>; [50.00%]
  else
    goto <bb 3>; [50.00%]

  <bb 3> [local count: 536870913]:
  # DEBUG BEGIN_STMT
  # DEBUG ePowerMode => ePowerMode_7
  # DEBUG INLINE_ENTRY Power_Ip_PrepareLowPowerMode
  # DEBUG BEGIN_STMT
  _15 = ePowerMode_7 + 4294967294;
  if (_15 <= 1)
    goto <bb 4>; [25.50%]
  else
    goto <bb 6>; [74.50%]

  <bb 4> [local count: 136902083]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Power_Ip_SCG_DisableClockMonitors ();
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG INLINE_ENTRY Power_Ip_DisableFircClock
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Power_Ip_SCG_DropSysClkToSircInRunMode ();
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  u32SystemResetIsrConfig_18 = Power_Ip_RCM_GetCurrentSystemResetIsrSettings ();
  # DEBUG u32SystemResetIsrConfig => u32SystemResetIsrConfig_18
  # DEBUG BEGIN_STMT
  Power_Ip_RCM_SystemResetIsrConfig ();
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Power_Ip_SCG_DisableFircClock ();
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Power_Ip_RCM_RestoreSystemResetIsrConfig (u32SystemResetIsrConfig_18);
  # DEBUG u32SystemResetIsrConfig => NULL
  # DEBUG BEGIN_STMT
  # DEBUG INLINE_ENTRY Power_Ip_DisableSoscClock
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Power_Ip_SCG_DropSysClkToSircInRunMode ();
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  u32SystemResetIsrConfig_17 = Power_Ip_RCM_GetCurrentSystemResetIsrSettings ();
  # DEBUG u32SystemResetIsrConfig => u32SystemResetIsrConfig_17
  # DEBUG BEGIN_STMT
  Power_Ip_RCM_SystemResetIsrConfig ();
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Power_Ip_SCG_DisableSoscClock ();
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Power_Ip_RCM_RestoreSystemResetIsrConfig (u32SystemResetIsrConfig_17);
  # DEBUG u32SystemResetIsrConfig => NULL
  # DEBUG BEGIN_STMT
  if (ePowerMode_7 == 3)
    goto <bb 5>; [20.24%]
  else
    goto <bb 6>; [79.76%]

  <bb 5> [local count: 27708982]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Power_Ip_CM4_EnableDeepSleep ();

  <bb 6> [local count: 536870913]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _16 = ePowerMode_7 + 4294967292;
  if (_16 <= 1)
    goto <bb 7>; [25.50%]
  else
    goto <bb 8>; [74.50%]

  <bb 7> [local count: 136902083]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Power_Ip_CM4_EnableDeepSleep ();

  <bb 8> [local count: 536870913]:
  # DEBUG BEGIN_STMT
  # DEBUG ePowerMode => NULL
  # DEBUG BEGIN_STMT
  ePowerSwitchMode_11 = Power_Ip_SMC_ModeConfig (Power_Ip_pModeConfigPtr_6(D));
  # DEBUG ePowerSwitchMode => ePowerSwitchMode_11
  # DEBUG BEGIN_STMT
  _2 = ePowerMode_7 + 4294967293;
  if (_2 <= 2)
    goto <bb 9>; [33.00%]
  else
    goto <bb 10>; [67.00%]

  <bb 9> [local count: 177167401]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Power_Ip_CM4_DisableDeepSleep ();

  <bb 10> [local count: 536870913]:
  # DEBUG ePowerSwitchMode => ePowerSwitchMode_11
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  if (ePowerSwitchMode_11 == 1)
    goto <bb 11>; [34.00%]
  else
    goto <bb 12>; [66.00%]

  <bb 11> [local count: 719407023]:
  # DEBUG ePowerSwitchMode => NULL
  # DEBUG BEGIN_STMT
  ReportPowerErrors (3, 255);

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

}



;; Function Power_Ip_PerformReset (Power_Ip_PerformReset, funcdef_no=4, decl_uid=5628, cgraph_uid=5, symbol_order=5)

Power_Ip_PerformReset (const struct Power_Ip_HwIPsConfigType * Power_Ip_pHwIPsConfigPtr)
{
  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Power_Ip_CM4_SystemReset ();
  # DEBUG BEGIN_STMT
  return;

}



;; Function Power_Ip_GetResetReason (Power_Ip_GetResetReason, funcdef_no=6, decl_uid=5630, cgraph_uid=7, symbol_order=7)

Power_Ip_GetResetReason ()
{
  Power_Ip_ResetType eResetReason;
  static const Power_Ip_ResetType resetReasonArray[15] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14};
  uint32 resetVal;
  <unnamed type> _4;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG eResetReason => 14
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  resetVal_3 = Power_Ip_RCM_GetResetReason ();
  # DEBUG resetVal => resetVal_3
  # DEBUG BEGIN_STMT
  # DEBUG resetReasonIndex => resetVal_3
  # DEBUG INLINE_ENTRY Power_Ip_ConvertIntergeToResetType
  # DEBUG BEGIN_STMT
  # DEBUG eResetReason => 12
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _4 = resetReasonArray[resetVal_3];
  if (_4 <= 14)
    goto <bb 3>; [65.00%]
  else
    goto <bb 4>; [35.00%]

  <bb 3> [local count: 697932186]:
  # DEBUG BEGIN_STMT
  # DEBUG eResetReason => _4

  <bb 4> [local count: 1073741824]:
  # eResetReason_5 = PHI <12(2), _4(3)>
  # DEBUG eResetReason => eResetReason_5
  # DEBUG BEGIN_STMT
  # DEBUG resetReasonIndex => NULL
  # DEBUG eResetReason => NULL
  # DEBUG eResetReason => eResetReason_5
  # DEBUG BEGIN_STMT
  return eResetReason_5;

}



;; Function Power_Ip_GetResetRawValue (Power_Ip_GetResetRawValue, funcdef_no=7, decl_uid=5632, cgraph_uid=8, symbol_order=8)

Power_Ip_GetResetRawValue ()
{
  Power_Ip_RawResetType ResetReason;

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

}



;; Function Power_Ip_InitReset (Power_Ip_InitReset, funcdef_no=8, decl_uid=5622, cgraph_uid=9, symbol_order=9)

Power_Ip_InitReset (const struct Power_Ip_HwIPsConfigType * Power_Ip_pHwIPsConfigPtr)
{
  const struct Power_Ip_RCM_ConfigType * _1;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = Power_Ip_pHwIPsConfigPtr_3(D)->RCM_pConfig;
  Power_Ip_RCM_ResetInit (_1);
  return;

}



;; Function Power_Ip_InitPower (Power_Ip_InitPower, funcdef_no=9, decl_uid=5624, cgraph_uid=10, symbol_order=10)

Power_Ip_InitPower (const struct Power_Ip_HwIPsConfigType * Power_Ip_pHwIPsConfigPtr)
{
  const struct Power_Ip_PMC_ConfigType * _1;
  const struct Power_Ip_SMC_ConfigType * _2;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = Power_Ip_pHwIPsConfigPtr_4(D)->PMC_pConfig;
  Power_Ip_PMC_PowerInit (_1);
  # DEBUG BEGIN_STMT
  _2 = Power_Ip_pHwIPsConfigPtr_4(D)->SMC_pConfig;
  Power_Ip_SMC_AllowedModesConfig (_2);
  return;

}



;; Function Power_Ip_DisableSleepOnExit (Power_Ip_DisableSleepOnExit, funcdef_no=10, decl_uid=5636, cgraph_uid=11, symbol_order=11)

Power_Ip_DisableSleepOnExit ()
{
  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  Power_Ip_CM4_DisableSleepOnExit ();
  return;

}



;; Function Power_Ip_EnableSleepOnExit (Power_Ip_EnableSleepOnExit, funcdef_no=11, decl_uid=5638, cgraph_uid=12, symbol_order=12)

Power_Ip_EnableSleepOnExit ()
{
  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  Power_Ip_CM4_EnableSleepOnExit ();
  return;

}



;; Function Power_Ip_InstallNotificationsCallback (Power_Ip_InstallNotificationsCallback, funcdef_no=12, decl_uid=5634, cgraph_uid=13, symbol_order=13)

Power_Ip_InstallNotificationsCallback (void (*Power_Ip_ReportErrorsCallbackType) (Power_Ip_PowerReportErrorType, uint8) reportErrorsCallback)
{
  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  powerReportErrorsCallback = reportErrorsCallback_2(D);
  return;

}


