IPA function summary for SetCgmXCscCssCsGrip/7 inlinable
  global time:     178.419161
  self size:       80
  global size:     80
  min size:       58
  self stack:      12
  global stack:    12
    size:44.500000, time:62.089232
    size:4.500000, time:2.244400,  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)
    size:0.500000, time:0.500000,  executed if:(not inlined),  nonconst if:(op0[ref offset: 8] changed) && (not inlined)
    size:0.500000, time:0.500000,  nonconst if:(op0[ref offset: 8] changed)
  array index:(op0[ref offset: 8] changed) && (op0[ref offset: 0] changed)
  calls:
    ReportClockErrors/13 function body not available
      loop depth: 0 freq:0.24 size: 3 time: 12
       op0 is compile time invariant
    UpdateClockState/15 function body not available
      loop depth: 0 freq:0.12 size: 3 time: 12
    ReportClockErrors/13 function body not available
      loop depth: 0 freq:0.12 size: 3 time: 12
       op0 is compile time invariant
    ClockTimeoutExpired/12 function body not available
      loop depth: 1 freq:2.28 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
    ClockStartTimeout/11 function body not available
      loop depth: 0 freq:0.24 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
       op2 is compile time invariant
       op3 is compile time invariant
    ClockTimeoutExpired/12 function body not available
      loop depth: 1 freq:4.57 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
    ClockStartTimeout/11 function body not available
      loop depth: 0 freq:0.49 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
       op2 is compile time invariant
       op3 is compile time invariant

IPA function summary for ResetCgmXCscCssCsGrip/6 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:
    Callback_SelectorEmpty/1 function not considered for inlining
      loop depth: 0 freq:1.00 size: 2 time: 11callee size: 1 stack: 0

IPA function summary for SetCgmXCscCssClkswRampupRampdownSwip/5 inlinable
  global time:     403.652001
  self size:       102
  global size:     102
  min size:       90
  self stack:      12
  global stack:    12
    size:49.500000, time:133.626529
    size:5.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)
    size:0.500000, time:0.500000,  executed if:(not inlined),  nonconst if:(op0[ref offset: 8] changed) && (not inlined)
    size:0.500000, time:0.500000,  nonconst if:(op0[ref offset: 8] changed)
  array index:(op0[ref offset: 8] changed) && (op0[ref offset: 0] changed)
  calls:
    ReportClockErrors/13 function body not available
      loop depth: 0 freq:0.50 size: 3 time: 12
       op0 is compile time invariant
    ReportClockErrors/13 function body not available
      loop depth: 0 freq:0.25 size: 3 time: 12
       op0 is compile time invariant
    ReportClockErrors/13 function body not available
      loop depth: 0 freq:0.08 size: 3 time: 12
       op0 is compile time invariant
    UpdateClockState/15 function body not available
      loop depth: 0 freq:0.06 size: 3 time: 12
    ReportClockErrors/13 function body not available
      loop depth: 0 freq:0.11 size: 3 time: 12
       op0 is compile time invariant
    ClockTimeoutExpired/12 function body not available
      loop depth: 1 freq:2.34 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
    ClockStartTimeout/11 function body not available
      loop depth: 0 freq:0.25 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
       op2 is compile time invariant
       op3 is compile time invariant
    ClockTimeoutExpired/12 function body not available
      loop depth: 1 freq:4.67 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
    ClockStartTimeout/11 function body not available
      loop depth: 0 freq:0.50 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
       op2 is compile time invariant
       op3 is compile time invariant
    ClockTimeoutExpired/12 function body not available
      loop depth: 1 freq:9.35 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
    ClockStartTimeout/11 function body not available
      loop depth: 0 freq:1.00 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
       op2 is compile time invariant
       op3 is compile time invariant

IPA function summary for ResetCgmXCscCssClkswRampupRampdownSwip/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:
    ResetCgmXCscCssClkswSwip/2 function not considered for inlining
      loop depth: 0 freq:1.00 size: 2 time: 11callee size: 6 stack: 0

IPA function summary for SetCgmXCscCssClkswSwip/3 inlinable
  global time:     403.652001
  self size:       102
  global size:     102
  min size:       90
  self stack:      12
  global stack:    12
    size:49.500000, time:133.626529
    size:5.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)
    size:0.500000, time:0.500000,  executed if:(not inlined),  nonconst if:(op0[ref offset: 8] changed) && (not inlined)
    size:0.500000, time:0.500000,  nonconst if:(op0[ref offset: 8] changed)
  array index:(op0[ref offset: 8] changed) && (op0[ref offset: 0] changed)
  calls:
    ReportClockErrors/13 function body not available
      loop depth: 0 freq:0.50 size: 3 time: 12
       op0 is compile time invariant
    ReportClockErrors/13 function body not available
      loop depth: 0 freq:0.25 size: 3 time: 12
       op0 is compile time invariant
    ReportClockErrors/13 function body not available
      loop depth: 0 freq:0.08 size: 3 time: 12
       op0 is compile time invariant
    UpdateClockState/15 function body not available
      loop depth: 0 freq:0.06 size: 3 time: 12
    ReportClockErrors/13 function body not available
      loop depth: 0 freq:0.11 size: 3 time: 12
       op0 is compile time invariant
    ClockTimeoutExpired/12 function body not available
      loop depth: 1 freq:2.34 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
    ClockStartTimeout/11 function body not available
      loop depth: 0 freq:0.25 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
       op2 is compile time invariant
       op3 is compile time invariant
    ClockTimeoutExpired/12 function body not available
      loop depth: 1 freq:4.67 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
    ClockStartTimeout/11 function body not available
      loop depth: 0 freq:0.50 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
       op2 is compile time invariant
       op3 is compile time invariant
    ClockTimeoutExpired/12 function body not available
      loop depth: 1 freq:9.35 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
    ClockStartTimeout/11 function body not available
      loop depth: 0 freq:1.00 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
       op2 is compile time invariant
       op3 is compile time invariant

IPA function summary for ResetCgmXCscCssClkswSwip/2 inlinable
  global time:     21.000000
  self size:       13
  global size:     13
  min size:       6
  self stack:      0
  global stack:    0
    size:6.000000, time:6.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)
  array index:(op0[ref offset: 0] changed)
  calls:
    UpdateClockState/15 function body not available
      loop depth: 0 freq:1.00 size: 3 time: 12
       op1 is compile time invariant

IPA function summary for Callback_SelectorEmpty/1 inlinable
  global time:     2.000000
  self size:       3
  global size:     3
  min size:       0
  self stack:      0
  global stack:    0
    size:0.000000, time:0.000000
    size:3.000000, time:2.000000,  executed if:(not inlined)
  calls:


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

Deciding on inlining of small functions.  Starting with size 0.
Enqueueing calls in SetCgmXCscCssCsGrip/7.
Enqueueing calls in ResetCgmXCscCssCsGrip/6.
Enqueueing calls in SetCgmXCscCssClkswRampupRampdownSwip/5.
Enqueueing calls in ResetCgmXCscCssClkswRampupRampdownSwip/4.
Enqueueing calls in SetCgmXCscCssClkswSwip/3.
Enqueueing calls in ResetCgmXCscCssClkswSwip/2.
Enqueueing calls in Callback_SelectorEmpty/1.

Considering Callback_SelectorEmpty/1 with 3 size
 to be inlined into ResetCgmXCscCssCsGrip/6 in unknown:0
 Estimated badness is -inf, 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: 1023.723165 weighted by profile: 0.000000

Why inlining failed?
function body not available                       :       30 calls, 47.293862 freq, 0 count
call is unlikely and code size would grow         :        1 calls, 1.000000 freq, 0 count
IPA function summary for SetCgmXCscCssCsGrip/7 inlinable
  global time:     178.419161
  self size:       80
  global size:     80
  min size:       58
  self stack:      12
  global stack:    12
    size:44.500000, time:62.089232
    size:4.500000, time:2.244400,  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)
    size:0.500000, time:0.500000,  executed if:(not inlined),  nonconst if:(op0[ref offset: 8] changed) && (not inlined)
    size:0.500000, time:0.500000,  nonconst if:(op0[ref offset: 8] changed)
  array index:(op0[ref offset: 8] changed) && (op0[ref offset: 0] changed)
  calls:
    ReportClockErrors/13 function body not available
      loop depth: 0 freq:0.24 size: 3 time: 12
       op0 is compile time invariant
    UpdateClockState/15 function body not available
      loop depth: 0 freq:0.12 size: 3 time: 12
    ReportClockErrors/13 function body not available
      loop depth: 0 freq:0.12 size: 3 time: 12
       op0 is compile time invariant
    ClockTimeoutExpired/12 function body not available
      loop depth: 1 freq:2.28 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
    ClockStartTimeout/11 function body not available
      loop depth: 0 freq:0.24 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
       op2 is compile time invariant
       op3 is compile time invariant
    ClockTimeoutExpired/12 function body not available
      loop depth: 1 freq:4.57 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
    ClockStartTimeout/11 function body not available
      loop depth: 0 freq:0.49 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
       op2 is compile time invariant
       op3 is compile time invariant

IPA function summary for ResetCgmXCscCssCsGrip/6 inlinable
  global time:     2.000000
  self size:       5
  global size:     3
  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:
    Callback_SelectorEmpty/16 inlined
      loop depth: 0 freq:1.00 size: 2 time: 11callee size: 1 stack: 0
      Stack frame offset 0, callee self size 0, callee size 0

IPA function summary for SetCgmXCscCssClkswRampupRampdownSwip/5 inlinable
  global time:     403.652001
  self size:       102
  global size:     102
  min size:       90
  self stack:      12
  global stack:    12
    size:49.500000, time:133.626529
    size:5.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)
    size:0.500000, time:0.500000,  executed if:(not inlined),  nonconst if:(op0[ref offset: 8] changed) && (not inlined)
    size:0.500000, time:0.500000,  nonconst if:(op0[ref offset: 8] changed)
  array index:(op0[ref offset: 8] changed) && (op0[ref offset: 0] changed)
  calls:
    ReportClockErrors/13 function body not available
      loop depth: 0 freq:0.50 size: 3 time: 12
       op0 is compile time invariant
    ReportClockErrors/13 function body not available
      loop depth: 0 freq:0.25 size: 3 time: 12
       op0 is compile time invariant
    ReportClockErrors/13 function body not available
      loop depth: 0 freq:0.08 size: 3 time: 12
       op0 is compile time invariant
    UpdateClockState/15 function body not available
      loop depth: 0 freq:0.06 size: 3 time: 12
    ReportClockErrors/13 function body not available
      loop depth: 0 freq:0.11 size: 3 time: 12
       op0 is compile time invariant
    ClockTimeoutExpired/12 function body not available
      loop depth: 1 freq:2.34 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
    ClockStartTimeout/11 function body not available
      loop depth: 0 freq:0.25 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
       op2 is compile time invariant
       op3 is compile time invariant
    ClockTimeoutExpired/12 function body not available
      loop depth: 1 freq:4.67 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
    ClockStartTimeout/11 function body not available
      loop depth: 0 freq:0.50 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
       op2 is compile time invariant
       op3 is compile time invariant
    ClockTimeoutExpired/12 function body not available
      loop depth: 1 freq:9.35 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
    ClockStartTimeout/11 function body not available
      loop depth: 0 freq:1.00 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
       op2 is compile time invariant
       op3 is compile time invariant

IPA function summary for ResetCgmXCscCssClkswRampupRampdownSwip/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:
    ResetCgmXCscCssClkswSwip/2 call is unlikely and code size would grow
      loop depth: 0 freq:1.00 size: 2 time: 11callee size: 6 stack: 0

IPA function summary for SetCgmXCscCssClkswSwip/3 inlinable
  global time:     403.652001
  self size:       102
  global size:     102
  min size:       90
  self stack:      12
  global stack:    12
    size:49.500000, time:133.626529
    size:5.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)
    size:0.500000, time:0.500000,  executed if:(not inlined),  nonconst if:(op0[ref offset: 8] changed) && (not inlined)
    size:0.500000, time:0.500000,  nonconst if:(op0[ref offset: 8] changed)
  array index:(op0[ref offset: 8] changed) && (op0[ref offset: 0] changed)
  calls:
    ReportClockErrors/13 function body not available
      loop depth: 0 freq:0.50 size: 3 time: 12
       op0 is compile time invariant
    ReportClockErrors/13 function body not available
      loop depth: 0 freq:0.25 size: 3 time: 12
       op0 is compile time invariant
    ReportClockErrors/13 function body not available
      loop depth: 0 freq:0.08 size: 3 time: 12
       op0 is compile time invariant
    UpdateClockState/15 function body not available
      loop depth: 0 freq:0.06 size: 3 time: 12
    ReportClockErrors/13 function body not available
      loop depth: 0 freq:0.11 size: 3 time: 12
       op0 is compile time invariant
    ClockTimeoutExpired/12 function body not available
      loop depth: 1 freq:2.34 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
    ClockStartTimeout/11 function body not available
      loop depth: 0 freq:0.25 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
       op2 is compile time invariant
       op3 is compile time invariant
    ClockTimeoutExpired/12 function body not available
      loop depth: 1 freq:4.67 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
    ClockStartTimeout/11 function body not available
      loop depth: 0 freq:0.50 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
       op2 is compile time invariant
       op3 is compile time invariant
    ClockTimeoutExpired/12 function body not available
      loop depth: 1 freq:9.35 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
    ClockStartTimeout/11 function body not available
      loop depth: 0 freq:1.00 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
       op2 is compile time invariant
       op3 is compile time invariant

IPA function summary for ResetCgmXCscCssClkswSwip/2 inlinable
  global time:     21.000000
  self size:       13
  global size:     13
  min size:       6
  self stack:      0
  global stack:    0
  estimated growth:8
    size:6.000000, time:6.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)
  array index:(op0[ref offset: 0] changed)
  calls:
    UpdateClockState/15 function body not available
      loop depth: 0 freq:1.00 size: 3 time: 12
       op1 is compile time invariant

IPA function summary for Callback_SelectorEmpty/1 inlinable
  global time:     2.000000
  self size:       3
  global size:     3
  min size:       0
  self stack:      0
  global stack:    0
  estimated growth:-2
    size:0.000000, time:0.000000
    size:3.000000, time:2.000000,  executed if:(not inlined)
  calls:

Symbol table:

Callback_SelectorEmpty/16 (Callback_SelectorEmpty) @06df39a0
  Type: function definition analyzed
  Visibility:
  next sharing asm name: 1
  References: 
  Referring: 
  Function Callback_SelectorEmpty/16 is inline copy in ResetCgmXCscCssCsGrip/6
  Clone of Callback_SelectorEmpty/1
  Availability: local
  Function flags: count:1073741824 (estimated locally) body local icf_merged optimize_size
  Called by: ResetCgmXCscCssCsGrip/6 (inlined) (1073741824 (estimated locally),1.00 per call) 
  Calls: 
UpdateClockState/15 (UpdateClockState) @06df3460
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: ResetCgmXCscCssClkswSwip/2 (1073741824 (estimated locally),1.00 per call) SetCgmXCscCssClkswSwip/3 (6541478 (estimated locally),0.06 per call) SetCgmXCscCssClkswRampupRampdownSwip/5 (6541478 (estimated locally),0.06 per call) SetCgmXCscCssCsGrip/7 (28715883 (estimated locally),0.12 per call) 
  Calls: 
selectorEntryIndex/14 (selectorEntryIndex) @06df29d8
  Type: variable
  Body removed by symtab_remove_unreachable_nodes
  Visibility: external public
  References: 
  Referring: SetCgmXCscCssCsGrip/7 (read)SetCgmXCscCssClkswRampupRampdownSwip/5 (read)SetCgmXCscCssClkswSwip/3 (read)
  Availability: not_available
  Varpool flags: read-only
ReportClockErrors/13 (ReportClockErrors) @06df3380
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: SetCgmXCscCssClkswSwip/3 (57431766 (estimated locally),0.50 per call) SetCgmXCscCssClkswSwip/3 (28715883 (estimated locally),0.25 per call) SetCgmXCscCssClkswSwip/3 (9476241 (estimated locally),0.08 per call) SetCgmXCscCssClkswSwip/3 (12698163 (estimated locally),0.11 per call) SetCgmXCscCssClkswRampupRampdownSwip/5 (57431766 (estimated locally),0.50 per call) SetCgmXCscCssClkswRampupRampdownSwip/5 (28715883 (estimated locally),0.25 per call) SetCgmXCscCssClkswRampupRampdownSwip/5 (9476241 (estimated locally),0.08 per call) SetCgmXCscCssClkswRampupRampdownSwip/5 (12698163 (estimated locally),0.11 per call) SetCgmXCscCssCsGrip/7 (57431766 (estimated locally),0.24 per call) SetCgmXCscCssCsGrip/7 (28715883 (estimated locally),0.12 per call) 
  Calls: 
ClockTimeoutExpired/12 (ClockTimeoutExpired) @06df32a0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: SetCgmXCscCssClkswSwip/3 (268435454 (estimated locally),2.34 per call) SetCgmXCscCssClkswSwip/3 (536870910 (estimated locally),4.67 per call) SetCgmXCscCssClkswSwip/3 (1073741824 (estimated locally),9.35 per call) SetCgmXCscCssClkswRampupRampdownSwip/5 (268435454 (estimated locally),2.34 per call) SetCgmXCscCssClkswRampupRampdownSwip/5 (536870910 (estimated locally),4.67 per call) SetCgmXCscCssClkswRampupRampdownSwip/5 (1073741824 (estimated locally),9.35 per call) SetCgmXCscCssCsGrip/7 (536870910 (estimated locally),2.28 per call) SetCgmXCscCssCsGrip/7 (1073741824 (estimated locally),4.57 per call) 
  Calls: 
ClockStartTimeout/11 (ClockStartTimeout) @06df31c0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: SetCgmXCscCssClkswSwip/3 (28715883 (estimated locally),0.25 per call) SetCgmXCscCssClkswSwip/3 (57431766 (estimated locally),0.50 per call) SetCgmXCscCssClkswSwip/3 (114863532 (estimated locally),1.00 per call) SetCgmXCscCssClkswRampupRampdownSwip/5 (28715883 (estimated locally),0.25 per call) SetCgmXCscCssClkswRampupRampdownSwip/5 (57431766 (estimated locally),0.50 per call) SetCgmXCscCssClkswRampupRampdownSwip/5 (114863532 (estimated locally),1.00 per call) SetCgmXCscCssCsGrip/7 (57431766 (estimated locally),0.24 per call) SetCgmXCscCssCsGrip/7 (114863532 (estimated locally),0.49 per call) 
  Calls: 
cgm/10 (cgm) @06df2828
  Type: variable
  Body removed by symtab_remove_unreachable_nodes
  Visibility: external public
  References: 
  Referring: SetCgmXCscCssCsGrip/7 (read)SetCgmXCscCssClkswRampupRampdownSwip/5 (read)SetCgmXCscCssClkswSwip/3 (read)ResetCgmXCscCssClkswSwip/2 (read)
  Availability: not_available
  Varpool flags: read-only
selectorEntry_hardwareValue/9 (selectorEntry_hardwareValue) @06df27e0
  Type: variable
  Body removed by symtab_remove_unreachable_nodes
  Visibility: external public
  References: 
  Referring: SetCgmXCscCssCsGrip/7 (read)SetCgmXCscCssClkswRampupRampdownSwip/5 (read)SetCgmXCscCssClkswSwip/3 (read)
  Availability: not_available
  Varpool flags: read-only
clockFeatures/8 (clockFeatures) @06df2798
  Type: variable
  Body removed by symtab_remove_unreachable_nodes
  Visibility: external public
  References: 
  Referring: ResetCgmXCscCssClkswSwip/2 (read)ResetCgmXCscCssClkswSwip/2 (read)SetCgmXCscCssClkswSwip/3 (read)SetCgmXCscCssClkswSwip/3 (read)SetCgmXCscCssCsGrip/7 (read)SetCgmXCscCssCsGrip/7 (read)SetCgmXCscCssClkswRampupRampdownSwip/5 (read)SetCgmXCscCssClkswRampupRampdownSwip/5 (read)
  Availability: not_available
  Varpool flags: read-only
SetCgmXCscCssCsGrip/7 (SetCgmXCscCssCsGrip) @06de60e0
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Address is taken.
  References: clockFeatures/8 (read)clockFeatures/8 (read)selectorEntry_hardwareValue/9 (read)cgm/10 (read)selectorEntryIndex/14 (read)
  Referring: selectorCallbacks/0 (addr)
  Availability: available
  Function flags: count:234990859 (estimated locally) body optimize_size
  Called by: 
  Calls: ReportClockErrors/13 (57431766 (estimated locally),0.24 per call) UpdateClockState/15 (28715883 (estimated locally),0.12 per call) ReportClockErrors/13 (28715883 (estimated locally),0.12 per call) ClockTimeoutExpired/12 (536870910 (estimated locally),2.28 per call) ClockStartTimeout/11 (57431766 (estimated locally),0.24 per call) ClockTimeoutExpired/12 (1073741824 (estimated locally),4.57 per call) ClockStartTimeout/11 (114863532 (estimated locally),0.49 per call) 
ResetCgmXCscCssCsGrip/6 (ResetCgmXCscCssCsGrip) @06de6c40
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Address is taken.
  References: 
  Referring: selectorCallbacks/0 (addr)
  Availability: available
  Function flags: count:1073741824 (estimated locally) body icf_merged optimize_size
  Called by: 
  Calls: Callback_SelectorEmpty/16 (inlined) (1073741824 (estimated locally),1.00 per call) 
SetCgmXCscCssClkswRampupRampdownSwip/5 (SetCgmXCscCssClkswRampupRampdownSwip) @06de69a0
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Address is taken.
  References: clockFeatures/8 (read)clockFeatures/8 (read)selectorEntry_hardwareValue/9 (read)cgm/10 (read)selectorEntryIndex/14 (read)
  Referring: selectorCallbacks/0 (addr)
  Availability: available
  Function flags: count:114863532 (estimated locally) body optimize_size
  Called by: 
  Calls: ReportClockErrors/13 (57431766 (estimated locally),0.50 per call) ReportClockErrors/13 (28715883 (estimated locally),0.25 per call) ReportClockErrors/13 (9476241 (estimated locally),0.08 per call) UpdateClockState/15 (6541478 (estimated locally),0.06 per call) ReportClockErrors/13 (12698163 (estimated locally),0.11 per call) ClockTimeoutExpired/12 (268435454 (estimated locally),2.34 per call) ClockStartTimeout/11 (28715883 (estimated locally),0.25 per call) ClockTimeoutExpired/12 (536870910 (estimated locally),4.67 per call) ClockStartTimeout/11 (57431766 (estimated locally),0.50 per call) ClockTimeoutExpired/12 (1073741824 (estimated locally),9.35 per call) ClockStartTimeout/11 (114863532 (estimated locally),1.00 per call) 
ResetCgmXCscCssClkswRampupRampdownSwip/4 (ResetCgmXCscCssClkswRampupRampdownSwip) @06de6620
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Address is taken.
  References: 
  Referring: selectorCallbacks/0 (addr)
  Availability: available
  Function flags: count:1073741824 (estimated locally) body icf_merged optimize_size
  Called by: 
  Calls: ResetCgmXCscCssClkswSwip/2 (1073741824 (estimated locally),1.00 per call) 
SetCgmXCscCssClkswSwip/3 (SetCgmXCscCssClkswSwip) @06de6380
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Address is taken.
  References: clockFeatures/8 (read)clockFeatures/8 (read)selectorEntry_hardwareValue/9 (read)cgm/10 (read)selectorEntryIndex/14 (read)
  Referring: selectorCallbacks/0 (addr)
  Availability: available
  Function flags: count:114863532 (estimated locally) body optimize_size
  Called by: 
  Calls: ReportClockErrors/13 (57431766 (estimated locally),0.50 per call) ReportClockErrors/13 (28715883 (estimated locally),0.25 per call) ReportClockErrors/13 (9476241 (estimated locally),0.08 per call) UpdateClockState/15 (6541478 (estimated locally),0.06 per call) ReportClockErrors/13 (12698163 (estimated locally),0.11 per call) ClockTimeoutExpired/12 (268435454 (estimated locally),2.34 per call) ClockStartTimeout/11 (28715883 (estimated locally),0.25 per call) ClockTimeoutExpired/12 (536870910 (estimated locally),4.67 per call) ClockStartTimeout/11 (57431766 (estimated locally),0.50 per call) ClockTimeoutExpired/12 (1073741824 (estimated locally),9.35 per call) ClockStartTimeout/11 (114863532 (estimated locally),1.00 per call) 
ResetCgmXCscCssClkswSwip/2 (ResetCgmXCscCssClkswSwip) @06de6000
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Address is taken.
  References: clockFeatures/8 (read)clockFeatures/8 (read)cgm/10 (read)
  Referring: selectorCallbacks/0 (addr)
  Availability: available
  Function flags: count:1073741824 (estimated locally) body icf_merged optimize_size
  Called by: ResetCgmXCscCssClkswRampupRampdownSwip/4 (1073741824 (estimated locally),1.00 per call) 
  Calls: UpdateClockState/15 (1073741824 (estimated locally),1.00 per call) 
Callback_SelectorEmpty/1 (Callback_SelectorEmpty) @06e1eee0
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  previous sharing asm name: 16
  Address is taken.
  References: 
  Referring: selectorCallbacks/0 (addr)selectorCallbacks/0 (addr)
  Availability: available
  Function flags: count:1073741824 (estimated locally) body icf_merged optimize_size
  Called by: 
  Calls: 
selectorCallbacks/0 (selectorCallbacks) @06e23240
  Type: variable definition analyzed
  Visibility: externally_visible public
  References: Callback_SelectorEmpty/1 (addr)Callback_SelectorEmpty/1 (addr)ResetCgmXCscCssClkswSwip/2 (addr)SetCgmXCscCssClkswSwip/3 (addr)ResetCgmXCscCssClkswRampupRampdownSwip/4 (addr)SetCgmXCscCssClkswRampupRampdownSwip/5 (addr)ResetCgmXCscCssCsGrip/6 (addr)SetCgmXCscCssCsGrip/7 (addr)
  Referring: 
  Availability: available
  Varpool flags: initialized read-only const-value-known

;; Function Callback_SelectorEmpty (Callback_SelectorEmpty, funcdef_no=0, decl_uid=5054, cgraph_uid=1, symbol_order=1)


Saving body of Callback_SelectorEmpty for later reuse
;; 1 loops found
;;
;; Loop 0
;;  header 0, latch 1
;;  depth 0, outer -1
;;  nodes: 0 1

Symbols to be put in SSA form
{ D.5194 }
Incremental SSA update started at block: 0
Number of blocks in CFG: 4
Number of blocks to update: 3 ( 75%)


Callback_SelectorEmpty (const struct Clock_Ip_SelectorConfigType * config)
{
  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  return;

}



;; Function SetCgmXCscCssCsGrip (SetCgmXCscCssCsGrip, funcdef_no=6, decl_uid=5064, cgraph_uid=7, symbol_order=7)

SetCgmXCscCssCsGrip (const struct Clock_Ip_SelectorConfigType * config)
{
  uint32 TimeoutTicks;
  uint32 ElapsedTime;
  uint32 StartTime;
  boolean TimeoutOccurred;
  uint32 regValue;
  uint32 selectorValue;
  uint32 selectorIndex;
  uint32 instance;
  <unnamed type> _1;
  int _2;
  unsigned char _3;
  unsigned char _6;
  <unnamed type> _7;
  int _8;
  short unsigned int _9;
  volatile struct cgmMux_Type * _10;
  long unsigned int _11;
  long unsigned int _12;
  long unsigned int _13;
  long unsigned int _14;
  long unsigned int _15;
  long unsigned int TimeoutTicks.0_16;
  long unsigned int _17;
  long unsigned int _18;
  long unsigned int _19;
  long unsigned int _20;
  long unsigned int _21;
  long unsigned int _22;
  long unsigned int TimeoutTicks.1_23;
  long unsigned int _24;
  long unsigned int _25;
  <unnamed type> _26;
  <unnamed type> _27;
  long unsigned int _28;
  long unsigned int _29;
  long unsigned int _30;
  <unnamed type> _31;
  <unnamed type> _32;

  <bb 2> [local count: 234990859]:
  # DEBUG BEGIN_STMT
  _1 = config_37(D)->name;
  _2 = (int) _1;
  _3 = clockFeatures[_2][0];
  instance_38 = (uint32) _3;
  # DEBUG instance => instance_38
  # DEBUG BEGIN_STMT
  _6 = clockFeatures[_2][2];
  selectorIndex_39 = (uint32) _6;
  # DEBUG selectorIndex => selectorIndex_39
  # DEBUG BEGIN_STMT
  _7 = config_37(D)->value;
  _8 = (int) _7;
  _9 = selectorEntry_hardwareValue[_8];
  selectorValue_40 = (uint32) _9;
  # DEBUG selectorValue => selectorValue_40
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG TimeoutOccurred => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _10 = cgm[instance_38][selectorIndex_39];
  _11 ={v} _10->CSC;
  _12 = _11 >> 24;
  _13 = _12 & 63;
  if (_13 != selectorValue_40)
    goto <bb 3>; [48.88%]
  else
    goto <bb 14>; [51.12%]

  <bb 3> [local count: 114863532]:
  # DEBUG BEGIN_STMT
  _14 ={v} _10->CSC;
  _15 = _14 | 12;
  _10->CSC ={v} _15;
  # DEBUG BEGIN_STMT
  ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);

  <bb 4> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutTicks.0_16 = TimeoutTicks;
  TimeoutOccurred_44 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.0_16);
  # DEBUG TimeoutOccurred => TimeoutOccurred_44
  # DEBUG BEGIN_STMT
  _17 ={v} _10->CSS;
  _18 = _17 & 131072;
  if (_18 != 0)
    goto <bb 5>; [94.50%]
  else
    goto <bb 6>; [5.50%]

  <bb 5> [local count: 1014686024]:
  if (TimeoutOccurred_44 != 0)
    goto <bb 6>; [5.50%]
  else
    goto <bb 16>; [94.50%]

  <bb 16> [local count: 958878294]:
  goto <bb 4>; [100.00%]

  <bb 6> [local count: 114863532]:
  # TimeoutOccurred_4 = PHI <TimeoutOccurred_44(4), TimeoutOccurred_44(5)>
  # DEBUG BEGIN_STMT
  if (TimeoutOccurred_4 != 0)
    goto <bb 13>; [50.00%]
  else
    goto <bb 7>; [50.00%]

  <bb 7> [local count: 57431766]:
  # DEBUG BEGIN_STMT
  regValue_46 ={v} _10->CSC;
  # DEBUG regValue => regValue_46
  # DEBUG BEGIN_STMT
  regValue_47 = regValue_46 & 3238002687;
  # DEBUG regValue => regValue_47
  # DEBUG BEGIN_STMT
  _19 = selectorValue_40 << 24;
  _20 = _19 & 1056964608;
  regValue_48 = _20 | regValue_47;
  # DEBUG regValue => regValue_48
  # DEBUG BEGIN_STMT
  _10->CSC ={v} regValue_48;
  # DEBUG BEGIN_STMT
  _21 ={v} _10->CSC;
  _22 = _21 & 4294967283;
  _10->CSC ={v} _22;
  # DEBUG BEGIN_STMT
  ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);

  <bb 8> [local count: 536870910]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutTicks.1_23 = TimeoutTicks;
  TimeoutOccurred_53 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.1_23);
  # DEBUG TimeoutOccurred => TimeoutOccurred_53
  # DEBUG BEGIN_STMT
  _24 ={v} _10->CSS;
  _25 = _24 & 131072;
  if (_25 == 0)
    goto <bb 9>; [94.50%]
  else
    goto <bb 10>; [5.50%]

  <bb 9> [local count: 507343009]:
  if (TimeoutOccurred_53 != 0)
    goto <bb 10>; [5.50%]
  else
    goto <bb 15>; [94.50%]

  <bb 15> [local count: 479439143]:
  goto <bb 8>; [100.00%]

  <bb 10> [local count: 57431766]:
  # TimeoutOccurred_5 = PHI <TimeoutOccurred_53(8), TimeoutOccurred_53(9)>
  # DEBUG BEGIN_STMT
  if (TimeoutOccurred_5 != 0)
    goto <bb 11>; [50.00%]
  else
    goto <bb 12>; [50.00%]

  <bb 11> [local count: 28715883]:
  # DEBUG BEGIN_STMT
  _26 = config_37(D)->name;
  ReportClockErrors (3, _26);
  goto <bb 14>; [100.00%]

  <bb 12> [local count: 28715883]:
  # DEBUG BEGIN_STMT
  _27 = config_37(D)->name;
  _28 ={v} _10->CSS;
  _29 = _28 >> 24;
  _30 = _29 & 63;
  _31 = selectorEntryIndex[_30];
  UpdateClockState (_27, _31);
  goto <bb 14>; [100.00%]

  <bb 13> [local count: 57431766]:
  # DEBUG BEGIN_STMT
  _32 = config_37(D)->name;
  ReportClockErrors (1, _32);

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

}



;; Function SetCgmXCscCssClkswRampupRampdownSwip (SetCgmXCscCssClkswRampupRampdownSwip, funcdef_no=4, decl_uid=5062, cgraph_uid=5, symbol_order=5)

SetCgmXCscCssClkswRampupRampdownSwip (const struct Clock_Ip_SelectorConfigType * config)
{
  uint32 TimeoutTicks;
  uint32 ElapsedTime;
  uint32 StartTime;
  boolean TimeoutOccurred;
  uint32 regValue;
  uint32 selectorValue;
  uint32 selectorIndex;
  uint32 instance;
  <unnamed type> _1;
  int _2;
  unsigned char _3;
  volatile struct cgmMux_Type * _4;
  unsigned char _6;
  <unnamed type> _7;
  int _8;
  short unsigned int _9;
  long unsigned int TimeoutTicks.2_10;
  volatile struct cgmMux_Type * _11;
  long unsigned int _12;
  long unsigned int _13;
  long unsigned int _15;
  long unsigned int _16;
  long unsigned int TimeoutTicks.3_18;
  long unsigned int _19;
  long unsigned int _20;
  long unsigned int TimeoutTicks.4_21;
  long unsigned int _22;
  long unsigned int _23;
  long unsigned int _24;
  long unsigned int _25;
  long unsigned int _26;
  <unnamed type> _27;
  <unnamed type> _28;
  long unsigned int _29;
  long unsigned int _30;
  long unsigned int _31;
  <unnamed type> _32;
  <unnamed type> _33;
  <unnamed type> _34;
  <unnamed type> _35;

  <bb 2> [local count: 114863532]:
  # DEBUG BEGIN_STMT
  _1 = config_41(D)->name;
  _2 = (int) _1;
  _3 = clockFeatures[_2][0];
  instance_42 = (uint32) _3;
  # DEBUG instance => instance_42
  # DEBUG BEGIN_STMT
  _6 = clockFeatures[_2][2];
  selectorIndex_43 = (uint32) _6;
  # DEBUG selectorIndex => selectorIndex_43
  # DEBUG BEGIN_STMT
  _7 = config_41(D)->value;
  _8 = (int) _7;
  _9 = selectorEntry_hardwareValue[_8];
  selectorValue_44 = (uint32) _9;
  # DEBUG selectorValue => selectorValue_44
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG TimeoutOccurred => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);

  <bb 3> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutTicks.2_10 = TimeoutTicks;
  TimeoutOccurred_47 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.2_10);
  # DEBUG TimeoutOccurred => TimeoutOccurred_47
  # DEBUG BEGIN_STMT
  _11 = cgm[instance_42][selectorIndex_43];
  _12 ={v} _11->CSS;
  _13 = _12 & 65536;
  if (_13 != 0)
    goto <bb 4>; [94.50%]
  else
    goto <bb 5>; [5.50%]

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

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

  <bb 5> [local count: 114863532]:
  # _4 = PHI <_11(3), _11(4)>
  # TimeoutOccurred_5 = PHI <TimeoutOccurred_47(3), TimeoutOccurred_47(4)>
  # DEBUG BEGIN_STMT
  if (TimeoutOccurred_5 != 0)
    goto <bb 19>; [50.00%]
  else
    goto <bb 6>; [50.00%]

  <bb 6> [local count: 57431766]:
  # DEBUG BEGIN_STMT
  regValue_49 ={v} _4->CSC;
  # DEBUG regValue => regValue_49
  # DEBUG BEGIN_STMT
  regValue_50 = regValue_49 & 3238002687;
  # DEBUG regValue => regValue_50
  # DEBUG BEGIN_STMT
  _15 = selectorValue_44 << 24;
  _16 = _15 & 1056964608;
  regValue_51 = _16 | regValue_50;
  # DEBUG regValue => regValue_51
  # DEBUG BEGIN_STMT
  regValue_52 = regValue_51 | 7;
  # DEBUG regValue => regValue_52
  # DEBUG BEGIN_STMT
  _4->CSC ={v} regValue_52;
  # DEBUG BEGIN_STMT
  ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);

  <bb 7> [local count: 536870910]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutTicks.3_18 = TimeoutTicks;
  TimeoutOccurred_56 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.3_18);
  # DEBUG TimeoutOccurred => TimeoutOccurred_56
  # DEBUG BEGIN_STMT
  _19 ={v} _4->CSS;
  _20 = _19 & 4;
  if (_20 == 0)
    goto <bb 8>; [94.50%]
  else
    goto <bb 9>; [5.50%]

  <bb 8> [local count: 507343010]:
  if (TimeoutOccurred_56 != 0)
    goto <bb 9>; [5.50%]
  else
    goto <bb 22>; [94.50%]

  <bb 22> [local count: 479439144]:
  goto <bb 7>; [100.00%]

  <bb 9> [local count: 57431766]:
  # TimeoutOccurred_14 = PHI <TimeoutOccurred_56(7), TimeoutOccurred_56(8)>
  # DEBUG BEGIN_STMT
  if (TimeoutOccurred_14 != 0)
    goto <bb 18>; [50.00%]
  else
    goto <bb 10>; [50.00%]

  <bb 10> [local count: 28715883]:
  # DEBUG BEGIN_STMT
  ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);

  <bb 11> [local count: 268435454]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutTicks.4_21 = TimeoutTicks;
  TimeoutOccurred_60 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.4_21);
  # DEBUG TimeoutOccurred => TimeoutOccurred_60
  # DEBUG BEGIN_STMT
  _22 ={v} _4->CSS;
  _23 = _22 & 65536;
  if (_23 != 0)
    goto <bb 12>; [94.50%]
  else
    goto <bb 13>; [5.50%]

  <bb 12> [local count: 253671504]:
  if (TimeoutOccurred_60 != 0)
    goto <bb 13>; [5.50%]
  else
    goto <bb 21>; [94.50%]

  <bb 21> [local count: 239719571]:
  goto <bb 11>; [100.00%]

  <bb 13> [local count: 28715883]:
  # TimeoutOccurred_17 = PHI <TimeoutOccurred_60(11), TimeoutOccurred_60(12)>
  # DEBUG BEGIN_STMT
  if (TimeoutOccurred_17 != 0)
    goto <bb 17>; [33.00%]
  else
    goto <bb 14>; [67.00%]

  <bb 14> [local count: 19239641]:
  # DEBUG BEGIN_STMT
  _24 ={v} _4->CSS;
  _25 = _24 >> 17;
  _26 = _25 & 7;
  if (_26 != 1)
    goto <bb 15>; [66.00%]
  else
    goto <bb 16>; [34.00%]

  <bb 15> [local count: 12698163]:
  # DEBUG BEGIN_STMT
  _27 = config_41(D)->name;
  ReportClockErrors (3, _27);
  goto <bb 20>; [100.00%]

  <bb 16> [local count: 6541478]:
  # DEBUG BEGIN_STMT
  _28 = config_41(D)->name;
  _29 ={v} _4->CSS;
  _30 = _29 >> 24;
  _31 = _30 & 63;
  _32 = selectorEntryIndex[_31];
  UpdateClockState (_28, _32);
  goto <bb 20>; [100.00%]

  <bb 17> [local count: 9476241]:
  # DEBUG BEGIN_STMT
  _33 = config_41(D)->name;
  ReportClockErrors (1, _33);
  goto <bb 20>; [100.00%]

  <bb 18> [local count: 28715883]:
  # DEBUG BEGIN_STMT
  _34 = config_41(D)->name;
  ReportClockErrors (1, _34);
  goto <bb 20>; [100.00%]

  <bb 19> [local count: 57431766]:
  # DEBUG BEGIN_STMT
  _35 = config_41(D)->name;
  ReportClockErrors (1, _35);

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

}



;; Function SetCgmXCscCssClkswSwip (SetCgmXCscCssClkswSwip, funcdef_no=2, decl_uid=5058, cgraph_uid=3, symbol_order=3)

SetCgmXCscCssClkswSwip (const struct Clock_Ip_SelectorConfigType * config)
{
  uint32 TimeoutTicks;
  uint32 ElapsedTime;
  uint32 StartTime;
  boolean TimeoutOccurred;
  uint32 regValue;
  uint32 selectorValue;
  uint32 selectorIndex;
  uint32 instance;
  <unnamed type> _1;
  int _2;
  unsigned char _3;
  volatile struct cgmMux_Type * _4;
  unsigned char _6;
  <unnamed type> _7;
  int _8;
  short unsigned int _9;
  long unsigned int TimeoutTicks.5_10;
  volatile struct cgmMux_Type * _11;
  long unsigned int _12;
  long unsigned int _13;
  long unsigned int _15;
  long unsigned int _16;
  long unsigned int TimeoutTicks.6_18;
  long unsigned int _19;
  long unsigned int _20;
  long unsigned int TimeoutTicks.7_21;
  long unsigned int _22;
  long unsigned int _23;
  long unsigned int _24;
  long unsigned int _25;
  long unsigned int _26;
  <unnamed type> _27;
  <unnamed type> _28;
  long unsigned int _29;
  long unsigned int _30;
  long unsigned int _31;
  <unnamed type> _32;
  <unnamed type> _33;
  <unnamed type> _34;
  <unnamed type> _35;

  <bb 2> [local count: 114863532]:
  # DEBUG BEGIN_STMT
  _1 = config_41(D)->name;
  _2 = (int) _1;
  _3 = clockFeatures[_2][0];
  instance_42 = (uint32) _3;
  # DEBUG instance => instance_42
  # DEBUG BEGIN_STMT
  _6 = clockFeatures[_2][2];
  selectorIndex_43 = (uint32) _6;
  # DEBUG selectorIndex => selectorIndex_43
  # DEBUG BEGIN_STMT
  _7 = config_41(D)->value;
  _8 = (int) _7;
  _9 = selectorEntry_hardwareValue[_8];
  selectorValue_44 = (uint32) _9;
  # DEBUG selectorValue => selectorValue_44
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG TimeoutOccurred => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);

  <bb 3> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutTicks.5_10 = TimeoutTicks;
  TimeoutOccurred_47 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.5_10);
  # DEBUG TimeoutOccurred => TimeoutOccurred_47
  # DEBUG BEGIN_STMT
  _11 = cgm[instance_42][selectorIndex_43];
  _12 ={v} _11->CSS;
  _13 = _12 & 65536;
  if (_13 != 0)
    goto <bb 4>; [94.50%]
  else
    goto <bb 5>; [5.50%]

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

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

  <bb 5> [local count: 114863532]:
  # _4 = PHI <_11(3), _11(4)>
  # TimeoutOccurred_5 = PHI <TimeoutOccurred_47(3), TimeoutOccurred_47(4)>
  # DEBUG BEGIN_STMT
  if (TimeoutOccurred_5 != 0)
    goto <bb 19>; [50.00%]
  else
    goto <bb 6>; [50.00%]

  <bb 6> [local count: 57431766]:
  # DEBUG BEGIN_STMT
  regValue_49 ={v} _4->CSC;
  # DEBUG regValue => regValue_49
  # DEBUG BEGIN_STMT
  regValue_50 = regValue_49 & 3238002687;
  # DEBUG regValue => regValue_50
  # DEBUG BEGIN_STMT
  _15 = selectorValue_44 << 24;
  _16 = _15 & 1056964608;
  regValue_51 = _16 | regValue_50;
  # DEBUG regValue => regValue_51
  # DEBUG BEGIN_STMT
  regValue_52 = regValue_51 | 4;
  # DEBUG regValue => regValue_52
  # DEBUG BEGIN_STMT
  _4->CSC ={v} regValue_52;
  # DEBUG BEGIN_STMT
  ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);

  <bb 7> [local count: 536870910]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutTicks.6_18 = TimeoutTicks;
  TimeoutOccurred_56 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.6_18);
  # DEBUG TimeoutOccurred => TimeoutOccurred_56
  # DEBUG BEGIN_STMT
  _19 ={v} _4->CSS;
  _20 = _19 & 4;
  if (_20 == 0)
    goto <bb 8>; [94.50%]
  else
    goto <bb 9>; [5.50%]

  <bb 8> [local count: 507343010]:
  if (TimeoutOccurred_56 != 0)
    goto <bb 9>; [5.50%]
  else
    goto <bb 22>; [94.50%]

  <bb 22> [local count: 479439144]:
  goto <bb 7>; [100.00%]

  <bb 9> [local count: 57431766]:
  # TimeoutOccurred_14 = PHI <TimeoutOccurred_56(7), TimeoutOccurred_56(8)>
  # DEBUG BEGIN_STMT
  if (TimeoutOccurred_14 != 0)
    goto <bb 18>; [50.00%]
  else
    goto <bb 10>; [50.00%]

  <bb 10> [local count: 28715883]:
  # DEBUG BEGIN_STMT
  ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);

  <bb 11> [local count: 268435454]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutTicks.7_21 = TimeoutTicks;
  TimeoutOccurred_60 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.7_21);
  # DEBUG TimeoutOccurred => TimeoutOccurred_60
  # DEBUG BEGIN_STMT
  _22 ={v} _4->CSS;
  _23 = _22 & 65536;
  if (_23 != 0)
    goto <bb 12>; [94.50%]
  else
    goto <bb 13>; [5.50%]

  <bb 12> [local count: 253671504]:
  if (TimeoutOccurred_60 != 0)
    goto <bb 13>; [5.50%]
  else
    goto <bb 21>; [94.50%]

  <bb 21> [local count: 239719571]:
  goto <bb 11>; [100.00%]

  <bb 13> [local count: 28715883]:
  # TimeoutOccurred_17 = PHI <TimeoutOccurred_60(11), TimeoutOccurred_60(12)>
  # DEBUG BEGIN_STMT
  if (TimeoutOccurred_17 != 0)
    goto <bb 17>; [33.00%]
  else
    goto <bb 14>; [67.00%]

  <bb 14> [local count: 19239641]:
  # DEBUG BEGIN_STMT
  _24 ={v} _4->CSS;
  _25 = _24 >> 17;
  _26 = _25 & 7;
  if (_26 != 1)
    goto <bb 15>; [66.00%]
  else
    goto <bb 16>; [34.00%]

  <bb 15> [local count: 12698163]:
  # DEBUG BEGIN_STMT
  _27 = config_41(D)->name;
  ReportClockErrors (3, _27);
  goto <bb 20>; [100.00%]

  <bb 16> [local count: 6541478]:
  # DEBUG BEGIN_STMT
  _28 = config_41(D)->name;
  _29 ={v} _4->CSS;
  _30 = _29 >> 24;
  _31 = _30 & 63;
  _32 = selectorEntryIndex[_31];
  UpdateClockState (_28, _32);
  goto <bb 20>; [100.00%]

  <bb 17> [local count: 9476241]:
  # DEBUG BEGIN_STMT
  _33 = config_41(D)->name;
  ReportClockErrors (1, _33);
  goto <bb 20>; [100.00%]

  <bb 18> [local count: 28715883]:
  # DEBUG BEGIN_STMT
  _34 = config_41(D)->name;
  ReportClockErrors (1, _34);
  goto <bb 20>; [100.00%]

  <bb 19> [local count: 57431766]:
  # DEBUG BEGIN_STMT
  _35 = config_41(D)->name;
  ReportClockErrors (1, _35);

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

}



;; Function ResetCgmXCscCssClkswSwip (ResetCgmXCscCssClkswSwip, funcdef_no=1, decl_uid=5056, cgraph_uid=2, symbol_order=2)

ResetCgmXCscCssClkswSwip (const struct Clock_Ip_SelectorConfigType * config)
{
  uint32 selectorIndex;
  uint32 instance;
  <unnamed type> _1;
  int _2;
  unsigned char _3;
  unsigned char _4;
  volatile struct cgmMux_Type * _5;
  long unsigned int _6;
  long unsigned int _7;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  _1 = config_9(D)->name;
  _2 = (int) _1;
  _3 = clockFeatures[_2][0];
  instance_10 = (uint32) _3;
  # DEBUG instance => instance_10
  # DEBUG BEGIN_STMT
  _4 = clockFeatures[_2][2];
  selectorIndex_11 = (uint32) _4;
  # DEBUG selectorIndex => selectorIndex_11
  # DEBUG BEGIN_STMT
  _5 = cgm[instance_10][selectorIndex_11];
  _6 ={v} _5->CSC;
  _7 = _6 | 8;
  _5->CSC ={v} _7;
  # DEBUG BEGIN_STMT
  UpdateClockState (_1, 1);
  return;

}



;; Function ResetCgmXCscCssClkswRampupRampdownSwip (ResetCgmXCscCssClkswRampupRampdownSwip, funcdef_no=10, decl_uid=5060, cgraph_uid=4, symbol_order=4)

ResetCgmXCscCssClkswRampupRampdownSwip (const struct Clock_Ip_SelectorConfigType * config)
{
  <bb 2> [local count: 1073741824]:
  ResetCgmXCscCssClkswSwip (config_2(D)); [tail call]
  return;

}



;; Function ResetCgmXCscCssCsGrip (ResetCgmXCscCssCsGrip, funcdef_no=8, decl_uid=5066, cgraph_uid=6, symbol_order=6)

Merging blocks 2 and 4
Removing basic block 5
Merging blocks 2 and 3
;; 1 loops found
;;
;; Loop 0
;;  header 0, latch 1
;;  depth 0, outer -1
;;  nodes: 0 1 2
;; 2 succs { 1 }
ResetCgmXCscCssCsGrip (const struct Clock_Ip_SelectorConfigType * config)
{
  <bb 2> [local count: 1073741824]:
  # DEBUG config => config_1(D)
  # DEBUG BEGIN_STMT
  # DEBUG config => NULL
  return;

}


