

 local analysis of Power_Ip_SCG_DisableSoscClock
   scanning: _1 ={v} MEM[(struct SCG_Type *)1074151424B].SOSCCSR;
    Volatile stmt is not const/pure
    Indirect ref read is not const
  scanning: _2 = _1 & 4294967294;
  scanning: MEM[(struct SCG_Type *)1074151424B].SOSCCSR ={v} _2;
    Volatile stmt is not const/pure
    Indirect ref write is not const/pure
  scanning: return;


 local analysis of Power_Ip_SCG_DisableFircClock
   scanning: _1 ={v} MEM[(struct SCG_Type *)1074151424B].FIRCCSR;
    Volatile stmt is not const/pure
    Indirect ref read is not const
  scanning: _2 = _1 & 4294967294;
  scanning: MEM[(struct SCG_Type *)1074151424B].FIRCCSR ={v} _2;
    Volatile stmt is not const/pure
    Indirect ref write is not const/pure
  scanning: return;


 local analysis of Power_Ip_SCG_DropSysClkToSircInRunMode
   scanning: u32TmpValue_9 ={v} MEM[(struct SCG_Type *)1074151424B].RCCR;
    Volatile stmt is not const/pure
    Indirect ref read is not const
  scanning: u32TmpValue_10 = u32TmpValue_9 & 4043309055;
  scanning: u32TmpValue_11 = u32TmpValue_10 | 33554432;
  scanning: MEM[(struct SCG_Type *)1074151424B].RCCR ={v} u32TmpValue_11;
    Volatile stmt is not const/pure
    Indirect ref write is not const/pure
  scanning: _1 ={v} MEM[(struct SCG_Type *)1074151424B].RCCR;
    Volatile stmt is not const/pure
    Indirect ref read is not const
  scanning: PowerStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 50000);
  scanning: TimeoutTicks.0_2 = TimeoutTicks;
  scanning: TimeoutOccurred_15 = PowerTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.0_2);
  scanning: _3 ={v} MEM[(struct SCG_Type *)1074151424B].RCCR;
    Volatile stmt is not const/pure
    Indirect ref read is not const
  scanning: _4 = _3 >> 24;
  scanning: u32RegValue_16 = _4 & 15;
  scanning: if (u32RegValue_16 != 2)
  scanning: if (TimeoutOccurred_15 != 0)
  scanning: if (TimeoutOccurred_7 != 0)
  scanning: ReportPowerErrors (0, 255);
  scanning: return;


 local analysis of Power_Ip_SCG_DisableClockMonitors
   scanning: _1 ={v} MEM[(struct SCG_Type *)1074151424B].SOSCCSR;
    Volatile stmt is not const/pure
    Indirect ref read is not const
  scanning: _2 = _1 & 4294901759;
  scanning: MEM[(struct SCG_Type *)1074151424B].SOSCCSR ={v} _2;
    Volatile stmt is not const/pure
    Indirect ref write is not const/pure
  scanning: return;
callgraph:

ReportPowerErrors/6 (ReportPowerErrors) @05f4f620
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_SCG_DropSysClkToSircInRunMode/1 (37904965 (estimated locally),0.33 per call) 
  Calls: 
PowerTimeoutExpired/5 (PowerTimeoutExpired) @05f4f2a0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_SCG_DropSysClkToSircInRunMode/1 (1073741824 (estimated locally),9.35 per call) 
  Calls: 
PowerStartTimeout/4 (PowerStartTimeout) @05f4f000
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_SCG_DropSysClkToSircInRunMode/1 (114863532 (estimated locally),1.00 per call) 
  Calls: 
Power_Ip_SCG_DisableSoscClock/3 (Power_Ip_SCG_DisableSoscClock) @05f4fa80
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @05b045a8
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
Power_Ip_SCG_DisableFircClock/2 (Power_Ip_SCG_DisableFircClock) @05f4f7e0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @05b045e8
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
Power_Ip_SCG_DropSysClkToSircInRunMode/1 (Power_Ip_SCG_DropSysClkToSircInRunMode) @05f4f540
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @05b04608
  References: 
  Referring: 
  Availability: available
  Function flags: count:114863532 (estimated locally) body optimize_size
  Called by: 
  Calls: ReportPowerErrors/6 (37904965 (estimated locally),0.33 per call) PowerTimeoutExpired/5 (1073741824 (estimated locally),9.35 per call) PowerStartTimeout/4 (114863532 (estimated locally),1.00 per call) 
Power_Ip_SCG_DisableClockMonitors/0 (Power_Ip_SCG_DisableClockMonitors) @05f4f1c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @05e38208
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 


 ordered call graph: reduced for nothrow
Power_Ip_SCG_DisableSoscClock/3 (Power_Ip_SCG_DisableSoscClock) @05f4fa80
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @05b045a8
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
Power_Ip_SCG_DisableFircClock/2 (Power_Ip_SCG_DisableFircClock) @05f4f7e0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @05b045e8
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
Power_Ip_SCG_DropSysClkToSircInRunMode/1 (Power_Ip_SCG_DropSysClkToSircInRunMode) @05f4f540
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @05b04608
  References: 
  Referring: 
  Availability: available
  Function flags: count:114863532 (estimated locally) body optimize_size
  Called by: 
  Calls: ReportPowerErrors/6 (37904965 (estimated locally),0.33 per call) PowerTimeoutExpired/5 (1073741824 (estimated locally),9.35 per call) PowerStartTimeout/4 (114863532 (estimated locally),1.00 per call) 
Power_Ip_SCG_DisableClockMonitors/0 (Power_Ip_SCG_DisableClockMonitors) @05f4f1c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @05e38208
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 



MALLOC LATTICE Initial:
Power_Ip_SCG_DisableSoscClock: malloc_bottom
Power_Ip_SCG_DisableFircClock: malloc_bottom
Power_Ip_SCG_DropSysClkToSircInRunMode: malloc_bottom
Power_Ip_SCG_DisableClockMonitors: malloc_bottom


MALLOC LATTICE after propagation:
Power_Ip_SCG_DisableSoscClock: malloc_bottom
Power_Ip_SCG_DisableFircClock: malloc_bottom
Power_Ip_SCG_DropSysClkToSircInRunMode: malloc_bottom
Power_Ip_SCG_DisableClockMonitors: malloc_bottom
callgraph:

ReportPowerErrors/6 (ReportPowerErrors) @05f4f620
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_SCG_DropSysClkToSircInRunMode/1 (37904965 (estimated locally),0.33 per call) 
  Calls: 
PowerTimeoutExpired/5 (PowerTimeoutExpired) @05f4f2a0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_SCG_DropSysClkToSircInRunMode/1 (1073741824 (estimated locally),9.35 per call) 
  Calls: 
PowerStartTimeout/4 (PowerStartTimeout) @05f4f000
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Power_Ip_SCG_DropSysClkToSircInRunMode/1 (114863532 (estimated locally),1.00 per call) 
  Calls: 
Power_Ip_SCG_DisableSoscClock/3 (Power_Ip_SCG_DisableSoscClock) @05f4fa80
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @05b045a8
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
Power_Ip_SCG_DisableFircClock/2 (Power_Ip_SCG_DisableFircClock) @05f4f7e0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @05b045e8
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
Power_Ip_SCG_DropSysClkToSircInRunMode/1 (Power_Ip_SCG_DropSysClkToSircInRunMode) @05f4f540
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @05b04608
  References: 
  Referring: 
  Availability: available
  Function flags: count:114863532 (estimated locally) body optimize_size
  Called by: 
  Calls: ReportPowerErrors/6 (37904965 (estimated locally),0.33 per call) PowerTimeoutExpired/5 (1073741824 (estimated locally),9.35 per call) PowerStartTimeout/4 (114863532 (estimated locally),1.00 per call) 
Power_Ip_SCG_DisableClockMonitors/0 (Power_Ip_SCG_DisableClockMonitors) @05f4f1c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @05e37d68
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 


 ordered call graph: reduced
Power_Ip_SCG_DisableSoscClock/3 (Power_Ip_SCG_DisableSoscClock) @05f4fa80
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @05b045a8
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
Power_Ip_SCG_DisableFircClock/2 (Power_Ip_SCG_DisableFircClock) @05f4f7e0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @05b045e8
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
Power_Ip_SCG_DropSysClkToSircInRunMode/1 (Power_Ip_SCG_DropSysClkToSircInRunMode) @05f4f540
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @05b04608
  References: 
  Referring: 
  Availability: available
  Function flags: count:114863532 (estimated locally) body optimize_size
  Called by: 
  Calls: ReportPowerErrors/6 (37904965 (estimated locally),0.33 per call) PowerTimeoutExpired/5 (1073741824 (estimated locally),9.35 per call) PowerStartTimeout/4 (114863532 (estimated locally),1.00 per call) 
Power_Ip_SCG_DisableClockMonitors/0 (Power_Ip_SCG_DisableClockMonitors) @05f4f1c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @05e37d68
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 

Function found not to call free: Power_Ip_SCG_DisableClockMonitors
Function found not to call free: Power_Ip_SCG_DisableFircClock
Function found not to call free: Power_Ip_SCG_DisableSoscClock
Power_Ip_SCG_DisableSoscClock ()
{
  long unsigned int _1;
  long unsigned int _2;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  _1 ={v} MEM[(struct SCG_Type *)1074151424B].SOSCCSR;
  _2 = _1 & 4294967294;
  MEM[(struct SCG_Type *)1074151424B].SOSCCSR ={v} _2;
  return;

}


Power_Ip_SCG_DisableFircClock ()
{
  long unsigned int _1;
  long unsigned int _2;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  _1 ={v} MEM[(struct SCG_Type *)1074151424B].FIRCCSR;
  _2 = _1 & 4294967294;
  MEM[(struct SCG_Type *)1074151424B].FIRCCSR ={v} _2;
  return;

}


Power_Ip_SCG_DropSysClkToSircInRunMode ()
{
  boolean TimeoutOccurred;
  uint32 TimeoutTicks;
  uint32 ElapsedTime;
  uint32 StartTime;
  uint32 u32TmpValue;
  uint32 u32RegValue;
  long unsigned int _1;
  long unsigned int TimeoutTicks.0_2;
  long unsigned int _3;
  long unsigned int _4;

  <bb 2> [local count: 114863532]:
  # DEBUG BEGIN_STMT
  # DEBUG u32RegValue => 0
  # DEBUG BEGIN_STMT
  # DEBUG u32TmpValue => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG TimeoutOccurred => 0
  # DEBUG BEGIN_STMT
  u32TmpValue_9 ={v} MEM[(struct SCG_Type *)1074151424B].RCCR;
  # DEBUG u32TmpValue => u32TmpValue_9
  # DEBUG BEGIN_STMT
  u32TmpValue_10 = u32TmpValue_9 & 4043309055;
  # DEBUG u32TmpValue => u32TmpValue_10
  # DEBUG BEGIN_STMT
  u32TmpValue_11 = u32TmpValue_10 | 33554432;
  # DEBUG u32TmpValue => u32TmpValue_11
  # DEBUG BEGIN_STMT
  MEM[(struct SCG_Type *)1074151424B].RCCR ={v} u32TmpValue_11;
  # DEBUG BEGIN_STMT
  _1 ={v} MEM[(struct SCG_Type *)1074151424B].RCCR;
  # DEBUG D#1 => _1 >> 24
  # DEBUG u32RegValue => D#1 & 15
  # DEBUG BEGIN_STMT
  PowerStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 50000);

  <bb 3> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutTicks.0_2 = TimeoutTicks;
  TimeoutOccurred_15 = PowerTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.0_2);
  # DEBUG TimeoutOccurred => TimeoutOccurred_15
  # DEBUG BEGIN_STMT
  _3 ={v} MEM[(struct SCG_Type *)1074151424B].RCCR;
  _4 = _3 >> 24;
  u32RegValue_16 = _4 & 15;
  # DEBUG u32RegValue => u32RegValue_16
  # DEBUG BEGIN_STMT
  if (u32RegValue_16 != 2)
    goto <bb 4>; [94.50%]
  else
    goto <bb 5>; [5.50%]

  <bb 4> [local count: 1014686025]:
  if (TimeoutOccurred_15 != 0)
    goto <bb 5>; [5.50%]
  else
    goto <bb 8>; [94.50%]

  <bb 8> [local count: 958878293]:
  goto <bb 3>; [100.00%]

  <bb 5> [local count: 114863532]:
  # TimeoutOccurred_7 = PHI <TimeoutOccurred_15(3), TimeoutOccurred_15(4)>
  # DEBUG BEGIN_STMT
  if (TimeoutOccurred_7 != 0)
    goto <bb 6>; [33.00%]
  else
    goto <bb 7>; [67.00%]

  <bb 6> [local count: 37904965]:
  # DEBUG BEGIN_STMT
  ReportPowerErrors (0, 255);

  <bb 7> [local count: 114863532]:
  StartTime ={v} {CLOBBER};
  ElapsedTime ={v} {CLOBBER};
  TimeoutTicks ={v} {CLOBBER};
  return;

}


Power_Ip_SCG_DisableClockMonitors ()
{
  long unsigned int _1;
  long unsigned int _2;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  _1 ={v} MEM[(struct SCG_Type *)1074151424B].SOSCCSR;
  _2 = _1 & 4294901759;
  MEM[(struct SCG_Type *)1074151424B].SOSCCSR ={v} _2;
  return;

}


