IPA function summary for ClockTimeoutExpired/21 inlinable global time: 19.000000 self size: 11 global size: 11 min size: 8 self stack: 0 global stack: 0 size:3.000000, time:3.000000 size:4.000000, time:3.000000, executed if:(not inlined) calls: OsIf_GetElapsed/53 function body not available loop depth: 0 freq:1.00 size: 4 time: 13 op1 is compile time invariant IPA function summary for ClockStartTimeout/20 inlinable global time: 30.000000 self size: 13 global size: 13 min size: 14 self stack: 0 global stack: 0 size:1.500000, time:1.500000 size:4.500000, time:3.500000, executed if:(not inlined) calls: OsIf_MicrosToTicks/52 function body not available loop depth: 0 freq:1.00 size: 4 time: 13 op1 is compile time invariant OsIf_GetCounter/51 function body not available loop depth: 0 freq:1.00 size: 3 time: 12 op0 is compile time invariant IPA function summary for ReportClockErrors/19 inlinable global time: 20.000000 self size: 9 global size: 9 min size: 10 self stack: 0 global stack: 0 size:1.000000, time:1.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: indirect call loop depth: 0 freq:1.00 size: 5 time: 17 IPA function summary for ClockNotificatonsEmptyCallback/18 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: IPA function summary for Clock_Ip_TimeDelay/17 inlinable global time: 23.000000 self size: 13 global size: 13 min size: 6 self stack: 0 global stack: 0 size:7.000000, time:6.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: indirect call loop depth: 0 freq:1.00 size: 3 time: 15 IPA function summary for Clock_Ip_Sleep/16 inlinable global time: 183.000001 self size: 13 global size: 13 min size: 6 self stack: 0 global stack: 0 size:7.000000, time:59.636364 size:3.000000, time:2.000000, executed if:(not inlined) calls: indirect call loop depth: 1 freq:8.09 size: 3 time: 15 IPA function summary for Clock_Ip_GetClockFrequency/15 inlinable global time: 20.020000 self size: 14 global size: 14 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) size:2.000000, time:2.000000, nonconst if:(op0 changed) size:1.000000, time:0.670000, executed if:(op0 > 21), nonconst if:(op0 changed) && (op0 > 21) size:1.000000, time:0.670000, executed if:(op0 > 21) array index:(op0 changed) calls: GetProducerClockFreq/50 function body not available loop depth: 0 freq:0.33 size: 3 time: 12 predicate: (op0 <= 21) indirect call loop depth: 0 freq:0.67 size: 4 time: 16predicate: (op0 > 21) IPA function summary for Clock_Ip_EnableModuleClock/14 inlinable global time: 22.000000 self size: 11 global size: 11 min size: 10 self stack: 0 global stack: 0 size:3.000000, time:3.000000 size:3.000000, time:2.000000, executed if:(not inlined) array index:(op0 changed) calls: indirect call loop depth: 0 freq:1.00 size: 5 time: 17 IPA function summary for Clock_Ip_DisableModuleClock/13 inlinable global time: 22.000000 self size: 11 global size: 11 min size: 10 self stack: 0 global stack: 0 size:3.000000, time:3.000000 size:3.000000, time:2.000000, executed if:(not inlined) array index:(op0 changed) calls: indirect call loop depth: 0 freq:1.00 size: 5 time: 17 IPA function summary for Clock_Ip_InstallNotificationsCallback/12 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 Clock_Ip_PowerModeChangeNotification/11 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: UpdateFrequencies/46 function body not available loop depth: 0 freq:1.00 size: 2 time: 11 IPA function summary for Clock_Ip_ClearClockMonitorStatus/10 inlinable global time: 21.000000 self size: 10 global size: 10 min size: 8 self stack: 0 global stack: 0 size:3.000000, time:3.000000 size:3.000000, time:2.000000, executed if:(not inlined) array index:(op0 changed) calls: indirect call loop depth: 0 freq:1.00 size: 4 time: 16 IPA function summary for Clock_Ip_GetClockMonitorStatus/9 inlinable global time: 22.000000 self size: 11 global size: 11 min size: 10 self stack: 0 global stack: 0 size:3.000000, time:3.000000 size:3.000000, time:2.000000, executed if:(not inlined) array index:(op0 changed) calls: indirect call loop depth: 0 freq:1.00 size: 5 time: 17 IPA function summary for Clock_Ip_DisableClockMonitor/8 inlinable global time: 21.000000 self size: 10 global size: 10 min size: 8 self stack: 0 global stack: 0 size:3.000000, time:3.000000 size:3.000000, time:2.000000, executed if:(not inlined) array index:(op0 changed) calls: indirect call loop depth: 0 freq:1.00 size: 4 time: 16 IPA function summary for Clock_Ip_DistributePll/7 inlinable global time: 173.197726 self size: 43 global size: 43 min size: 24 self stack: 0 global stack: 0 size:28.000000, time:83.064727 size:3.000000, time:2.000000, executed if:(not inlined) calls: UpdateFrequencies/46 function body not available loop depth: 0 freq:1.00 size: 2 time: 11 op0 is compile time invariant SpecificPeripheralClockInitialization/45 function body not available loop depth: 0 freq:0.23 size: 2 time: 11 indirect call loop depth: 1 freq:0.92 size: 4 time: 16 indirect call loop depth: 1 freq:3.74 size: 4 time: 16 IPA function summary for Clock_Ip_GetPllStatus/6 inlinable global time: 240.570226 self size: 18 global size: 18 min size: 10 self stack: 0 global stack: 0 size:10.000000, time:88.394952 size:3.000000, time:2.000000, executed if:(not inlined) calls: indirect call loop depth: 1 freq:8.83 size: 5 time: 17 IPA function summary for Clock_Ip_InitClock/5 inlinable global time: 1210.252522 self size: 216 global size: 216 min size: 142 self stack: 0 global stack: 0 size:125.500000, time:407.934938 size:19.500000, time:60.374991, executed if:(not inlined) calls: UpdateFrequencies/46 function body not available loop depth: 0 freq:1.00 size: 2 time: 11 op0 is compile time invariant SpecificPeripheralClockInitialization/45 function body not available loop depth: 0 freq:0.33 size: 2 time: 11 Clock_Ip_Sleep/16 function not considered for inlining loop depth: 0 freq:1.00 size: 1 time: 10callee size: 6 stack: 0 SpecificPlatformInitClock/25 function body not available loop depth: 0 freq:1.00 size: 2 time: 11 indirect call loop depth: 1 freq:1.32 size: 4 time: 16 indirect call loop depth: 1 freq:8.09 size: 4 time: 16 indirect call loop depth: 1 freq:2.75 size: 4 time: 16 indirect call loop depth: 1 freq:1.00 size: 4 time: 16 indirect call loop depth: 1 freq:1.00 size: 4 time: 16 indirect call loop depth: 1 freq:1.00 size: 4 time: 16 indirect call loop depth: 1 freq:8.09 size: 4 time: 16 indirect call loop depth: 1 freq:1.00 size: 4 time: 16 indirect call loop depth: 1 freq:1.00 size: 4 time: 16 indirect call loop depth: 1 freq:2.00 size: 4 time: 16 indirect call loop depth: 1 freq:2.00 size: 4 time: 16 indirect call loop depth: 1 freq:2.00 size: 4 time: 16 indirect call loop depth: 1 freq:1.00 size: 4 time: 16 indirect call loop depth: 1 freq:1.00 size: 4 time: 16 indirect call loop depth: 1 freq:8.09 size: 4 time: 16 indirect call loop depth: 1 freq:2.80 size: 4 time: 16 IPA function summary for Clock_Ip_Init/4 inlinable global time: 21.379000 self size: 13 global size: 13 min size: 10 self stack: 0 global stack: 0 size:5.000000, time:3.660000 size:3.000000, time:2.000000, executed if:(not inlined) calls: Clock_Ip_DistributePll/7 function not considered for inlining loop depth: 0 freq:0.11 size: 1 time: 10callee size:21 stack: 0 Clock_Ip_GetPllStatus/6 function not considered for inlining loop depth: 0 freq:0.33 size: 2 time: 11callee size: 9 stack: 0 Clock_Ip_InitClock/5 function not considered for inlining loop depth: 0 freq:1.00 size: 2 time: 11callee size:108 stack: 0 Flattening functions: Overall time estimate: 2066.419476 weighted by profile: 0.000000 Deciding on inlining of small functions. Starting with size 0. Enqueueing calls in ClockTimeoutExpired/21. Enqueueing calls in ClockStartTimeout/20. Enqueueing calls in ReportClockErrors/19. Enqueueing calls in ClockNotificatonsEmptyCallback/18. Enqueueing calls in Clock_Ip_TimeDelay/17. Enqueueing calls in Clock_Ip_Sleep/16. Enqueueing calls in Clock_Ip_GetClockFrequency/15. Enqueueing calls in Clock_Ip_EnableModuleClock/14. Enqueueing calls in Clock_Ip_DisableModuleClock/13. Enqueueing calls in Clock_Ip_InstallNotificationsCallback/12. Enqueueing calls in Clock_Ip_PowerModeChangeNotification/11. Enqueueing calls in Clock_Ip_ClearClockMonitorStatus/10. Enqueueing calls in Clock_Ip_GetClockMonitorStatus/9. Enqueueing calls in Clock_Ip_DisableClockMonitor/8. Enqueueing calls in Clock_Ip_DistributePll/7. Enqueueing calls in Clock_Ip_GetPllStatus/6. Enqueueing calls in Clock_Ip_InitClock/5. Enqueueing calls in Clock_Ip_Init/4. Considering Clock_Ip_Sleep/16 with 13 size to be inlined into Clock_Ip_InitClock/5 in ../RTD/src/Clock_Ip.c:336 Estimated badness is -0.023704, 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: 2054.419479 weighted by profile: 0.000000 Why inlining failed? function body not available : 10 calls, 7.891000 freq, 0 count --param max-inline-insns-auto limit reached : 2 calls, 1.108900 freq, 0 count call is unlikely and code size would grow : 1 calls, 0.330000 freq, 0 count IPA function summary for ClockTimeoutExpired/21 inlinable global time: 19.000000 self size: 11 global size: 11 min size: 8 self stack: 0 global stack: 0 size:3.000000, time:3.000000 size:4.000000, time:3.000000, executed if:(not inlined) calls: OsIf_GetElapsed/53 function body not available loop depth: 0 freq:1.00 size: 4 time: 13 op1 is compile time invariant IPA function summary for ClockStartTimeout/20 inlinable global time: 30.000000 self size: 13 global size: 13 min size: 14 self stack: 0 global stack: 0 size:1.500000, time:1.500000 size:4.500000, time:3.500000, executed if:(not inlined) calls: OsIf_MicrosToTicks/52 function body not available loop depth: 0 freq:1.00 size: 4 time: 13 op1 is compile time invariant OsIf_GetCounter/51 function body not available loop depth: 0 freq:1.00 size: 3 time: 12 op0 is compile time invariant IPA function summary for ReportClockErrors/19 inlinable global time: 20.000000 self size: 9 global size: 9 min size: 10 self stack: 0 global stack: 0 size:1.000000, time:1.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: indirect call loop depth: 0 freq:1.00 size: 5 time: 17 IPA function summary for ClockNotificatonsEmptyCallback/18 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: IPA function summary for Clock_Ip_TimeDelay/17 inlinable global time: 23.000000 self size: 13 global size: 13 min size: 6 self stack: 0 global stack: 0 size:7.000000, time:6.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: indirect call loop depth: 0 freq:1.00 size: 3 time: 15 IPA function summary for Clock_Ip_GetClockFrequency/15 inlinable global time: 20.020000 self size: 14 global size: 14 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) size:2.000000, time:2.000000, nonconst if:(op0 changed) size:1.000000, time:0.670000, executed if:(op0 > 21), nonconst if:(op0 changed) && (op0 > 21) size:1.000000, time:0.670000, executed if:(op0 > 21) array index:(op0 changed) calls: GetProducerClockFreq/50 function body not available loop depth: 0 freq:0.33 size: 3 time: 12 predicate: (op0 <= 21) indirect call loop depth: 0 freq:0.67 size: 4 time: 16predicate: (op0 > 21) IPA function summary for Clock_Ip_EnableModuleClock/14 inlinable global time: 22.000000 self size: 11 global size: 11 min size: 10 self stack: 0 global stack: 0 size:3.000000, time:3.000000 size:3.000000, time:2.000000, executed if:(not inlined) array index:(op0 changed) calls: indirect call loop depth: 0 freq:1.00 size: 5 time: 17 IPA function summary for Clock_Ip_DisableModuleClock/13 inlinable global time: 22.000000 self size: 11 global size: 11 min size: 10 self stack: 0 global stack: 0 size:3.000000, time:3.000000 size:3.000000, time:2.000000, executed if:(not inlined) array index:(op0 changed) calls: indirect call loop depth: 0 freq:1.00 size: 5 time: 17 IPA function summary for Clock_Ip_InstallNotificationsCallback/12 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 Clock_Ip_PowerModeChangeNotification/11 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: UpdateFrequencies/46 function body not available loop depth: 0 freq:1.00 size: 2 time: 11 IPA function summary for Clock_Ip_ClearClockMonitorStatus/10 inlinable global time: 21.000000 self size: 10 global size: 10 min size: 8 self stack: 0 global stack: 0 size:3.000000, time:3.000000 size:3.000000, time:2.000000, executed if:(not inlined) array index:(op0 changed) calls: indirect call loop depth: 0 freq:1.00 size: 4 time: 16 IPA function summary for Clock_Ip_GetClockMonitorStatus/9 inlinable global time: 22.000000 self size: 11 global size: 11 min size: 10 self stack: 0 global stack: 0 size:3.000000, time:3.000000 size:3.000000, time:2.000000, executed if:(not inlined) array index:(op0 changed) calls: indirect call loop depth: 0 freq:1.00 size: 5 time: 17 IPA function summary for Clock_Ip_DisableClockMonitor/8 inlinable global time: 21.000000 self size: 10 global size: 10 min size: 8 self stack: 0 global stack: 0 size:3.000000, time:3.000000 size:3.000000, time:2.000000, executed if:(not inlined) array index:(op0 changed) calls: indirect call loop depth: 0 freq:1.00 size: 4 time: 16 IPA function summary for Clock_Ip_DistributePll/7 inlinable global time: 173.197726 self size: 43 global size: 43 min size: 28 self stack: 0 global stack: 0 estimated growth:39 size:28.000000, time:83.064727 size:3.000000, time:2.000000, executed if:(not inlined) calls: UpdateFrequencies/46 function body not available loop depth: 0 freq:1.00 size: 2 time: 11 op0 is compile time invariant SpecificPeripheralClockInitialization/45 function body not available loop depth: 0 freq:0.23 size: 2 time: 11 indirect call loop depth: 1 freq:0.92 size: 4 time: 16 indirect call loop depth: 1 freq:3.74 size: 4 time: 16 IPA function summary for Clock_Ip_GetPllStatus/6 inlinable global time: 240.570226 self size: 18 global size: 18 min size: 10 self stack: 0 global stack: 0 estimated growth:13 size:10.000000, time:88.394952 size:3.000000, time:2.000000, executed if:(not inlined) calls: indirect call loop depth: 1 freq:8.83 size: 5 time: 17 IPA function summary for Clock_Ip_InitClock/5 inlinable global time: 1381.252523 self size: 216 global size: 225 min size: 272 self stack: 0 global stack: 0 estimated growth:195 size:132.500000, time:467.571303 size:19.500000, time:60.374991, executed if:(not inlined) calls: UpdateFrequencies/46 function body not available loop depth: 0 freq:1.00 size: 2 time: 11 op0 is compile time invariant SpecificPeripheralClockInitialization/45 function body not available loop depth: 0 freq:0.33 size: 2 time: 11 Clock_Ip_Sleep/16 inlined loop depth: 0 freq:1.00 size: 1 time: 10callee size: 6 stack: 0 Stack frame offset 0, callee self size 0, callee size 0 indirect call loop depth: 1 freq:8.09 size: 3 time: 15 SpecificPlatformInitClock/25 function body not available loop depth: 0 freq:1.00 size: 2 time: 11 indirect call loop depth: 1 freq:1.32 size: 4 time: 16 indirect call loop depth: 1 freq:8.09 size: 4 time: 16 indirect call loop depth: 1 freq:2.75 size: 4 time: 16 indirect call loop depth: 1 freq:1.00 size: 4 time: 16 indirect call loop depth: 1 freq:1.00 size: 4 time: 16 indirect call loop depth: 1 freq:1.00 size: 4 time: 16 indirect call loop depth: 1 freq:8.09 size: 4 time: 16 indirect call loop depth: 1 freq:1.00 size: 4 time: 16 indirect call loop depth: 1 freq:1.00 size: 4 time: 16 indirect call loop depth: 1 freq:2.00 size: 4 time: 16 indirect call loop depth: 1 freq:2.00 size: 4 time: 16 indirect call loop depth: 1 freq:2.00 size: 4 time: 16 indirect call loop depth: 1 freq:1.00 size: 4 time: 16 indirect call loop depth: 1 freq:1.00 size: 4 time: 16 indirect call loop depth: 1 freq:8.09 size: 4 time: 16 indirect call loop depth: 1 freq:2.80 size: 4 time: 16 IPA function summary for Clock_Ip_Init/4 inlinable global time: 21.379000 self size: 13 global size: 13 min size: 10 self stack: 0 global stack: 0 size:5.000000, time:3.660000 size:3.000000, time:2.000000, executed if:(not inlined) calls: Clock_Ip_DistributePll/7 --param max-inline-insns-auto limit reached loop depth: 0 freq:0.11 size: 1 time: 10callee size:21 stack: 0 Clock_Ip_GetPllStatus/6 call is unlikely and code size would grow loop depth: 0 freq:0.33 size: 2 time: 11callee size: 9 stack: 0 Clock_Ip_InitClock/5 --param max-inline-insns-auto limit reached loop depth: 0 freq:1.00 size: 2 time: 11callee size:112 stack: 0 Symbol table: OsIf_GetElapsed/53 (OsIf_GetElapsed) @06cf39a0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: ClockTimeoutExpired/21 (1073741824 (estimated locally),1.00 per call) Calls: OsIf_MicrosToTicks/52 (OsIf_MicrosToTicks) @06cf37e0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: ClockStartTimeout/20 (1073741824 (estimated locally),1.00 per call) Calls: OsIf_GetCounter/51 (OsIf_GetCounter) @06cf3700 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: ClockStartTimeout/20 (1073741824 (estimated locally),1.00 per call) Calls: GetProducerClockFreq/50 (GetProducerClockFreq) @06cf3380 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: Clock_Ip_GetClockFrequency/15 (354334802 (estimated locally),0.33 per call) Calls: consumerClockCallbacks/49 (consumerClockCallbacks) @06cf5360 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Clock_Ip_GetClockFrequency/15 (read) Availability: not_available Varpool flags: read-only HwPllName/48 (HwPllName) @06ce7d80 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Clock_Ip_GetPllStatus/6 (read) Availability: not_available Varpool flags: read-only calcFreqCallbacks/47 (calcFreqCallbacks) @06ce7990 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Clock_Ip_Sleep/16 (read)Clock_Ip_TimeDelay/17 (read) Availability: not_available Varpool flags: read-only UpdateFrequencies/46 (UpdateFrequencies) @06abbc40 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: Clock_Ip_PowerModeChangeNotification/11 (1073741824 (estimated locally),1.00 per call) Clock_Ip_DistributePll/7 (168730859 (estimated locally),1.00 per call) Clock_Ip_InitClock/5 (118111600 (estimated locally),1.00 per call) Calls: SpecificPeripheralClockInitialization/45 (SpecificPeripheralClockInitialization) @06abbb60 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: Clock_Ip_DistributePll/7 (38976828 (estimated locally),0.23 per call) Clock_Ip_InitClock/5 (38976828 (estimated locally),0.33 per call) Calls: gateCallbacks/44 (gateCallbacks) @06ce7480 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Clock_Ip_InitClock/5 (read)Clock_Ip_DisableModuleClock/13 (read)Clock_Ip_EnableModuleClock/14 (read) Availability: not_available Varpool flags: read-only gateCallbackIndex/43 (gateCallbackIndex) @06ce7438 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Clock_Ip_InitClock/5 (read)Clock_Ip_DisableModuleClock/13 (read)Clock_Ip_EnableModuleClock/14 (read) Availability: not_available Varpool flags: read-only clockName_sourceType/42 (clockName_sourceType) @06ce7360 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Clock_Ip_InitClock/5 (read)Clock_Ip_DistributePll/7 (read) Availability: not_available Varpool flags: read-only dividerCallbacks/41 (dividerCallbacks) @06ce70d8 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Clock_Ip_InitClock/5 (read) Availability: not_available Varpool flags: read-only dividerCallbackIndex/40 (dividerCallbackIndex) @06ce7090 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Clock_Ip_InitClock/5 (read) Availability: not_available Varpool flags: read-only dividerTriggerCallbacks/39 (dividerTriggerCallbacks) @06ac85e8 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (read) Availability: not_available Varpool flags: read-only dividertriggerCallbackIndex/38 (dividertriggerCallbackIndex) @06ac8f78 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (read) Availability: not_available Varpool flags: read-only pcfsCallbacks/37 (pcfsCallbacks) @06ac8ea0 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Clock_Ip_InitClock/5 (read) Availability: not_available Varpool flags: read-only pcfsCallbackIndex/36 (pcfsCallbackIndex) @06ac8e58 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Clock_Ip_InitClock/5 (read) Availability: not_available Varpool flags: read-only intOscCallbacks/35 (intOscCallbacks) @06ac8ca8 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Clock_Ip_InitClock/5 (read) Availability: not_available Varpool flags: read-only ircoscCallbackIndex/34 (ircoscCallbackIndex) @06ac8c60 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Clock_Ip_InitClock/5 (read) Availability: not_available Varpool flags: read-only extOscCallbacks/33 (extOscCallbacks) @06ac8b88 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (read) Availability: not_available Varpool flags: read-only xoscCallbackIndex/32 (xoscCallbackIndex) @06ac8b40 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (read) Availability: not_available Varpool flags: read-only pllCallbacks/31 (pllCallbacks) @06ac8a68 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (read)Clock_Ip_GetPllStatus/6 (read) Availability: not_available Varpool flags: read-only pllCallbackIndex/30 (pllCallbackIndex) @06ac8a20 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (read)Clock_Ip_GetPllStatus/6 (read) Availability: not_available Varpool flags: read-only fracDivCallbacks/29 (fracDivCallbacks) @06ac8948 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (read) Availability: not_available Varpool flags: read-only fractional_dividerCallbackIndex/28 (fractional_dividerCallbackIndex) @06ac8900 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (read) Availability: not_available Varpool flags: read-only selectorCallbacks/27 (selectorCallbacks) @06ac8828 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (read)Clock_Ip_DistributePll/7 (read) Availability: not_available Varpool flags: read-only selectorCallbackIndex/26 (selectorCallbackIndex) @06ac87e0 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (read)Clock_Ip_DistributePll/7 (read) Availability: not_available Varpool flags: read-only SpecificPlatformInitClock/25 (SpecificPlatformInitClock) @06abba80 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: Clock_Ip_InitClock/5 (118111599 (estimated locally),1.00 per call) Calls: cmuCallbacks/24 (cmuCallbacks) @06ac86c0 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Clock_Ip_DistributePll/7 (read)Clock_Ip_DisableClockMonitor/8 (read)Clock_Ip_GetClockMonitorStatus/9 (read)Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (read)Clock_Ip_ClearClockMonitorStatus/10 (read) Availability: not_available Varpool flags: read-only cmuCallbackIndex/23 (cmuCallbackIndex) @06ac8678 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Clock_Ip_DistributePll/7 (read)Clock_Ip_DisableClockMonitor/8 (read)Clock_Ip_GetClockMonitorStatus/9 (read)Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (read)Clock_Ip_ClearClockMonitorStatus/10 (read) Availability: not_available Varpool flags: read-only clockFeatures/22 (clockFeatures) @06ac8630 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Clock_Ip_DisableModuleClock/13 (read)Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (read)Clock_Ip_GetPllStatus/6 (read)Clock_Ip_DistributePll/7 (read)Clock_Ip_DisableClockMonitor/8 (read)Clock_Ip_GetClockMonitorStatus/9 (read)Clock_Ip_ClearClockMonitorStatus/10 (read)Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (read)Clock_Ip_DistributePll/7 (read)Clock_Ip_EnableModuleClock/14 (read) Availability: not_available Varpool flags: read-only ClockTimeoutExpired/21 (ClockTimeoutExpired) @06abb2a0 Type: function definition analyzed Visibility: externally_visible public References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: OsIf_GetElapsed/53 (1073741824 (estimated locally),1.00 per call) ClockStartTimeout/20 (ClockStartTimeout) @06abb000 Type: function definition analyzed Visibility: externally_visible public References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: OsIf_MicrosToTicks/52 (1073741824 (estimated locally),1.00 per call) OsIf_GetCounter/51 (1073741824 (estimated locally),1.00 per call) ReportClockErrors/19 (ReportClockErrors) @06ab4b60 Type: function definition analyzed Visibility: externally_visible public References: clockNotificationsCallback/1 (read) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: Indirect call(1073741824 (estimated locally),1.00 per call) ClockNotificatonsEmptyCallback/18 (ClockNotificatonsEmptyCallback) @06ab4620 Type: function definition analyzed Visibility: prevailing_def_ironly Address is taken. References: Referring: clockNotificationsCallback/1 (addr) Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: Clock_Ip_TimeDelay/17 (Clock_Ip_TimeDelay) @06ab40e0 Type: function definition analyzed Visibility: externally_visible public References: ClockCalcFreqCallIdx/3 (read)calcFreqCallbacks/47 (read)ClockCalcFreqCallIdx/3 (read)ClockCalcFreqCallIdx/3 (write) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: Indirect call(1073741824 (estimated locally),1.00 per call) Clock_Ip_Sleep/16 (Clock_Ip_Sleep) @06ab4d20 Type: function definition analyzed Visibility: prevailing_def_ironly References: calcFreqCallbacks/47 (read)ClockCalcFreqCallIdx/3 (read)ClockCalcFreqCallIdx/3 (write)ClockCalcFreqCallIdx/3 (read) Referring: Function Clock_Ip_Sleep/16 is inline copy in Clock_Ip_InitClock/5 Availability: local Function flags: count:118111600 (estimated locally) body local optimize_size Called by: Clock_Ip_InitClock/5 (inlined) (118111600 (estimated locally),1.00 per call) Calls: Indirect call(955630223 (estimated locally),8.09 per call) Clock_Ip_GetClockFrequency/15 (Clock_Ip_GetClockFrequency) @06ab4a80 Type: function definition analyzed Visibility: externally_visible public References: consumerClockCallbacks/49 (read) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: GetProducerClockFreq/50 (354334802 (estimated locally),0.33 per call) Indirect call(719407023 (estimated locally),0.67 per call) Clock_Ip_EnableModuleClock/14 (Clock_Ip_EnableModuleClock) @06ab47e0 Type: function definition analyzed Visibility: externally_visible public References: clockFeatures/22 (read)gateCallbackIndex/43 (read)gateCallbacks/44 (read) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: Indirect call(1073741824 (estimated locally),1.00 per call) Clock_Ip_DisableModuleClock/13 (Clock_Ip_DisableModuleClock) @06ab4540 Type: function definition analyzed Visibility: externally_visible public References: clockFeatures/22 (read)gateCallbackIndex/43 (read)gateCallbacks/44 (read) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: Indirect call(1073741824 (estimated locally),1.00 per call) Clock_Ip_InstallNotificationsCallback/12 (Clock_Ip_InstallNotificationsCallback) @06ab42a0 Type: function definition analyzed Visibility: externally_visible public References: clockNotificationsCallback/1 (write) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: Clock_Ip_PowerModeChangeNotification/11 (Clock_Ip_PowerModeChangeNotification) @06ab4000 Type: function definition analyzed Visibility: externally_visible public References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: UpdateFrequencies/46 (1073741824 (estimated locally),1.00 per call) Clock_Ip_ClearClockMonitorStatus/10 (Clock_Ip_ClearClockMonitorStatus) @06b1ea80 Type: function definition analyzed Visibility: externally_visible public References: clockFeatures/22 (read)cmuCallbackIndex/23 (read)cmuCallbacks/24 (read) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: Indirect call(1073741824 (estimated locally),1.00 per call) Clock_Ip_GetClockMonitorStatus/9 (Clock_Ip_GetClockMonitorStatus) @06b1e540 Type: function definition analyzed Visibility: externally_visible public References: clockFeatures/22 (read)cmuCallbackIndex/23 (read)cmuCallbacks/24 (read) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: Indirect call(1073741824 (estimated locally),1.00 per call) Clock_Ip_DisableClockMonitor/8 (Clock_Ip_DisableClockMonitor) @06b1eee0 Type: function definition analyzed Visibility: externally_visible public References: clockFeatures/22 (read)cmuCallbackIndex/23 (read)cmuCallbacks/24 (read) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: Indirect call(1073741824 (estimated locally),1.00 per call) Clock_Ip_DistributePll/7 (Clock_Ip_DistributePll) @06b1ec40 Type: function definition analyzed Visibility: externally_visible public References: clockConfig/2 (read)clockName_sourceType/42 (read)clockFeatures/22 (read)selectorCallbackIndex/26 (read)selectorCallbacks/27 (read)clockConfig/2 (read)clockTreeIsConsumingPll/0 (read)clockFeatures/22 (read)cmuCallbackIndex/23 (read)cmuCallbacks/24 (read)clockConfig/2 (read) Referring: Availability: available Function flags: count:168730860 (estimated locally) body optimize_size Called by: Clock_Ip_Init/4 (116930485 (estimated locally),0.11 per call) Calls: UpdateFrequencies/46 (168730859 (estimated locally),1.00 per call) SpecificPeripheralClockInitialization/45 (38976828 (estimated locally),0.23 per call) Indirect call(155907314 (estimated locally),0.92 per call) Indirect call(630715948 (estimated locally),3.74 per call) Clock_Ip_GetPllStatus/6 (Clock_Ip_GetPllStatus) @06b1e9a0 Type: function definition analyzed Visibility: externally_visible public References: HwPllName/48 (read)clockFeatures/22 (read)pllCallbackIndex/30 (read)pllCallbacks/31 (read) Referring: Availability: available Function flags: count:114863532 (estimated locally) body optimize_size Called by: Clock_Ip_Init/4 (354334802 (estimated locally),0.33 per call) Calls: Indirect call(1014686025 (estimated locally),8.83 per call) Clock_Ip_InitClock/5 (Clock_Ip_InitClock) @06b1e700 Type: function definition analyzed Visibility: externally_visible public References: ClockCalcFreqCallIdx/3 (write)clockConfig/2 (read)clockFeatures/22 (read)cmuCallbackIndex/23 (read)cmuCallbacks/24 (read)clockConfig/2 (write)clockFeatures/22 (read)selectorCallbackIndex/26 (read)selectorCallbacks/27 (read)clockFeatures/22 (read)fractional_dividerCallbackIndex/28 (read)fracDivCallbacks/29 (read)clockFeatures/22 (read)pllCallbackIndex/30 (read)pllCallbacks/31 (read)clockFeatures/22 (read)xoscCallbackIndex/32 (read)extOscCallbacks/33 (read)clockFeatures/22 (read)ircoscCallbackIndex/34 (read)intOscCallbacks/35 (read)clockFeatures/22 (read)xoscCallbackIndex/32 (read)extOscCallbacks/33 (read)clockFeatures/22 (read)pcfsCallbackIndex/36 (read)pcfsCallbacks/37 (read)clockFeatures/22 (read)dividertriggerCallbackIndex/38 (read)dividerTriggerCallbacks/39 (read)clockFeatures/22 (read)dividerCallbackIndex/40 (read)dividerCallbacks/41 (read)clockFeatures/22 (read)dividertriggerCallbackIndex/38 (read)dividerTriggerCallbacks/39 (read)clockFeatures/22 (read)pllCallbackIndex/30 (read)pllCallbacks/31 (read)clockFeatures/22 (read)fractional_dividerCallbackIndex/28 (read)fracDivCallbacks/29 (read)clockTreeIsConsumingPll/0 (write)clockName_sourceType/42 (read)clockFeatures/22 (read)selectorCallbackIndex/26 (read)selectorCallbacks/27 (read)clockTreeIsConsumingPll/0 (write)clockFeatures/22 (read)gateCallbackIndex/43 (read)gateCallbacks/44 (read)clockTreeIsConsumingPll/0 (read)clockFeatures/22 (read)cmuCallbackIndex/23 (read)cmuCallbacks/24 (read) Referring: Availability: available Function flags: count:118111599 (estimated locally) body optimize_size Called by: Clock_Ip_Init/4 (1073741824 (estimated locally),1.00 per call) Calls: UpdateFrequencies/46 (118111600 (estimated locally),1.00 per call) SpecificPeripheralClockInitialization/45 (38976828 (estimated locally),0.33 per call) Clock_Ip_Sleep/16 (inlined) (118111600 (estimated locally),1.00 per call) SpecificPlatformInitClock/25 (118111599 (estimated locally),1.00 per call) Indirect call(155907313 (estimated locally),1.32 per call) Indirect call(955630217 (estimated locally),8.09 per call) Indirect call(324914273 (estimated locally),2.75 per call) Indirect call(118111601 (estimated locally),1.00 per call) Indirect call(118111601 (estimated locally),1.00 per call) Indirect call(118111601 (estimated locally),1.00 per call) Indirect call(955630224 (estimated locally),8.09 per call) Indirect call(118111600 (estimated locally),1.00 per call) Indirect call(118111600 (estimated locally),1.00 per call) Indirect call(236258637 (estimated locally),2.00 per call) Indirect call(236258637 (estimated locally),2.00 per call) Indirect call(236258637 (estimated locally),2.00 per call) Indirect call(118111600 (estimated locally),1.00 per call) Indirect call(118111600 (estimated locally),1.00 per call) Indirect call(955630217 (estimated locally),8.09 per call) Indirect call(330712479 (estimated locally),2.80 per call) Clock_Ip_Init/4 (Clock_Ip_Init) @06b1e460 Type: function definition analyzed Visibility: externally_visible public References: clockTreeIsConsumingPll/0 (read) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: Clock_Ip_DistributePll/7 (116930485 (estimated locally),0.11 per call) Clock_Ip_GetPllStatus/6 (354334802 (estimated locally),0.33 per call) Clock_Ip_InitClock/5 (1073741824 (estimated locally),1.00 per call) ClockCalcFreqCallIdx/3 (ClockCalcFreqCallIdx) @06b1c630 Type: variable definition analyzed Visibility: prevailing_def_ironly References: Referring: Clock_Ip_InitClock/5 (write)Clock_Ip_Sleep/16 (read)Clock_Ip_Sleep/16 (read)Clock_Ip_Sleep/16 (write)Clock_Ip_TimeDelay/17 (read)Clock_Ip_TimeDelay/17 (read)Clock_Ip_TimeDelay/17 (write) Availability: available Varpool flags: clockConfig/2 (clockConfig) @06b1c5a0 Type: variable definition analyzed Visibility: externally_visible public References: Referring: Clock_Ip_InitClock/5 (read)Clock_Ip_InitClock/5 (write)Clock_Ip_DistributePll/7 (read)Clock_Ip_DistributePll/7 (read)Clock_Ip_DistributePll/7 (read) Availability: available Varpool flags: initialized clockNotificationsCallback/1 (clockNotificationsCallback) @06b1c558 Type: variable definition analyzed Visibility: prevailing_def_ironly References: ClockNotificatonsEmptyCallback/18 (addr) Referring: Clock_Ip_InstallNotificationsCallback/12 (write)ReportClockErrors/19 (read) Availability: available Varpool flags: initialized clockTreeIsConsumingPll/0 (clockTreeIsConsumingPll) @06b1c4c8 Type: variable definition analyzed Visibility: prevailing_def_ironly References: Referring: Clock_Ip_InitClock/5 (read)Clock_Ip_DistributePll/7 (read)Clock_Ip_InitClock/5 (write)Clock_Ip_InitClock/5 (write)Clock_Ip_Init/4 (read) Availability: available Varpool flags: initialized ;; Function ClockNotificatonsEmptyCallback (ClockNotificatonsEmptyCallback, funcdef_no=14, decl_uid=5071, cgraph_uid=15, symbol_order=18) ClockNotificatonsEmptyCallback (Clock_Ip_ClockNotificationType notification, Clock_Ip_NameType clockName) { [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT return; } ;; Function Clock_Ip_InitClock (Clock_Ip_InitClock, funcdef_no=1, decl_uid=4342, cgraph_uid=2, symbol_order=5) Symbols to be put in SSA form { D.5261 } Incremental SSA update started at block: 0 Number of blocks in CFG: 61 Number of blocks to update: 60 ( 98%) Removing basic block 18 Removing basic block 44 Removing basic block 45 Removing basic block 46 Removing basic block 47 Removing basic block 48 Removing basic block 49 Removing basic block 50 Removing basic block 51 Removing basic block 52 Removing basic block 53 Removing basic block 54 Removing basic block 55 Removing basic block 56 Removing basic block 57 Removing basic block 60 ;; 18 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 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 ;; ;; Loop 16 ;; header 43, latch 42 ;; depth 1, outer 0 ;; nodes: 43 42 ;; ;; Loop 15 ;; header 39, latch 38 ;; depth 1, outer 0 ;; nodes: 39 38 ;; ;; Loop 14 ;; header 37, latch 36 ;; depth 1, outer 0 ;; nodes: 37 36 34 35 33 ;; ;; Loop 13 ;; header 31, latch 30 ;; depth 1, outer 0 ;; nodes: 31 30 ;; ;; Loop 12 ;; header 29, latch 28 ;; depth 1, outer 0 ;; nodes: 29 28 ;; ;; Loop 11 ;; header 27, latch 26 ;; depth 1, outer 0 ;; nodes: 27 26 ;; ;; Loop 10 ;; header 25, latch 24 ;; depth 1, outer 0 ;; nodes: 25 24 ;; ;; Loop 9 ;; header 23, latch 22 ;; depth 1, outer 0 ;; nodes: 23 22 ;; ;; Loop 8 ;; header 21, latch 20 ;; depth 1, outer 0 ;; nodes: 21 20 ;; ;; Loop 17 ;; header 19, latch 18 ;; depth 1, outer 0 ;; nodes: 19 18 ;; ;; Loop 7 ;; header 17, latch 16 ;; depth 1, outer 0 ;; nodes: 17 16 ;; ;; Loop 6 ;; header 15, latch 14 ;; depth 1, outer 0 ;; nodes: 15 14 ;; ;; Loop 5 ;; header 13, latch 12 ;; depth 1, outer 0 ;; nodes: 13 12 ;; ;; Loop 4 ;; header 11, latch 10 ;; depth 1, outer 0 ;; nodes: 11 10 ;; ;; Loop 3 ;; header 9, latch 8 ;; depth 1, outer 0 ;; nodes: 9 8 ;; ;; Loop 2 ;; header 7, latch 6 ;; depth 1, outer 0 ;; nodes: 7 6 ;; ;; Loop 1 ;; header 4, latch 3 ;; depth 1, outer 0 ;; nodes: 4 3 ;; 2 succs { 4 5 } ;; 3 succs { 4 } ;; 4 succs { 3 5 } ;; 5 succs { 7 } ;; 6 succs { 7 } ;; 7 succs { 6 9 } ;; 8 succs { 9 } ;; 9 succs { 8 11 } ;; 10 succs { 11 } ;; 11 succs { 10 13 } ;; 12 succs { 13 } ;; 13 succs { 12 15 } ;; 14 succs { 15 } ;; 15 succs { 14 17 } ;; 16 succs { 17 } ;; 17 succs { 16 19 } ;; 18 succs { 19 } ;; 19 succs { 18 21 } ;; 20 succs { 21 } ;; 21 succs { 20 23 } ;; 22 succs { 23 } ;; 23 succs { 22 25 } ;; 24 succs { 25 } ;; 25 succs { 24 27 } ;; 26 succs { 27 } ;; 27 succs { 26 29 } ;; 28 succs { 29 } ;; 29 succs { 28 31 } ;; 30 succs { 31 } ;; 31 succs { 30 32 } ;; 32 succs { 37 } ;; 33 succs { 34 35 } ;; 34 succs { 36 } ;; 35 succs { 36 } ;; 36 succs { 37 } ;; 37 succs { 33 39 } ;; 38 succs { 39 } ;; 39 succs { 38 40 } ;; 40 succs { 41 44 } ;; 41 succs { 43 } ;; 42 succs { 43 } ;; 43 succs { 42 44 } ;; 44 succs { 1 } Clock_Ip_InitClock (const struct Clock_Ip_ClockConfigType * config) { uint32 i; uint32 callbackIndex; const struct Clock_Ip_ClockConfigType * clockConfig.1_1; _2; int _3; unsigned char _4; int _5; unsigned char _6; void (*) (const struct Clock_Ip_CmuConfigType *) _7; const struct Clock_Ip_CmuConfigType * _8; unsigned char _9; long unsigned int _10; _11; int _12; unsigned char _13; int _14; unsigned char _15; void (*) (const struct Clock_Ip_SelectorConfigType *) _16; const struct Clock_Ip_SelectorConfigType * _17; unsigned char _18; long unsigned int _19; _20; int _21; unsigned char _22; int _23; unsigned char _24; void (*) (const struct Clock_Ip_FracDivConfigType *) _25; const struct Clock_Ip_FracDivConfigType * _26; unsigned char _27; long unsigned int _28; _29; int _30; unsigned char _31; int _32; unsigned char _33; void (*) (const struct Clock_Ip_PllConfigType *) _34; const struct Clock_Ip_PllConfigType * _35; unsigned char _36; long unsigned int _37; _38; int _39; unsigned char _40; int _41; unsigned char _42; void (*) (const struct Clock_Ip_XoscConfigType *) _43; const struct Clock_Ip_XoscConfigType * _44; unsigned char _45; long unsigned int _46; _47; int _48; unsigned char _49; int _50; unsigned char _51; void (*) (const struct Clock_Ip_IrcoscConfigType *) _52; const struct Clock_Ip_IrcoscConfigType * _53; unsigned char _54; long unsigned int _55; _56; int _57; unsigned char _58; int _59; unsigned char _60; void (*) (const struct Clock_Ip_XoscConfigType *) _61; const struct Clock_Ip_XoscConfigType * _62; unsigned char _63; long unsigned int _64; _65; int _66; unsigned char _67; int _68; unsigned char _69; void (*) (const struct Clock_Ip_PcfsConfigType *) _70; const struct Clock_Ip_PcfsConfigType * _71; unsigned char _72; long unsigned int _73; _74; int _75; unsigned char _76; int _77; unsigned char _78; void (*) (const struct Clock_Ip_DividerTriggerConfigType *) _79; const struct Clock_Ip_DividerTriggerConfigType * _80; unsigned char _81; long unsigned int _82; _83; int _84; unsigned char _85; int _86; unsigned char _87; void (*) (const struct Clock_Ip_DividerConfigType *) _88; const struct Clock_Ip_DividerConfigType * _89; unsigned char _90; long unsigned int _91; _92; int _93; unsigned char _94; int _95; unsigned char _96; void (*) (const struct Clock_Ip_DividerTriggerConfigType *) _97; const struct Clock_Ip_DividerTriggerConfigType * _98; unsigned char _99; long unsigned int _100; _101; int _102; unsigned char _103; int _104; unsigned char _105; void (*) (const struct Clock_Ip_PllConfigType *) _106; const struct Clock_Ip_PllConfigType * _107; unsigned char _108; long unsigned int _109; _110; int _111; unsigned char _112; int _113; unsigned char _114; void (*) (const struct Clock_Ip_FracDivConfigType *) _115; const struct Clock_Ip_FracDivConfigType * _116; unsigned char _117; long unsigned int _118; _119; int _120; _121; _122; int _123; unsigned char _124; int _125; unsigned char _126; void (*) (const struct Clock_Ip_SelectorConfigType *) _127; const struct Clock_Ip_SelectorConfigType * _128; unsigned char _129; long unsigned int _130; _131; int _132; unsigned char _133; int _134; unsigned char _135; void (*) (const struct Clock_Ip_GateConfigType *) _136; const struct Clock_Ip_GateConfigType * _137; unsigned char _138; long unsigned int _139; _Bool clockTreeIsConsumingPll.2_140; const struct Clock_IP_SpecificPeriphConfigType * _141; _142; int _143; unsigned char _144; int _145; unsigned char _146; void (*) (const struct Clock_Ip_CmuConfigType *) _147; const struct Clock_Ip_CmuConfigType * _148; unsigned char _149; long unsigned int _150; unsigned char ClockCalcFreqCallIdx.6_244; int _245; void (*) (void) _246; unsigned char ClockCalcFreqCallIdx.4_247; unsigned char _248; [local count: 118111598]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT ClockCalcFreqCallIdx = 0; # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT clockConfig.1_1 = clockConfig; if (clockConfig.1_1 != 0B) goto ; [70.00%] else goto ; [30.00%] [local count: 330712477]: # DEBUG BEGIN_STMT _2 = config_188(D)->cmus[i_151].name; _3 = (int) _2; _4 = clockFeatures[_3][1]; _5 = (int) _4; _6 = cmuCallbackIndex[_5]; callbackIndex_189 = (uint32) _6; # DEBUG callbackIndex => callbackIndex_189 # DEBUG BEGIN_STMT _7 = cmuCallbacks[callbackIndex_189].Reset; _8 = &config_188(D)->cmus[i_151]; _7 (_8); # DEBUG BEGIN_STMT i_191 = i_151 + 1; # DEBUG i => i_191 [local count: 413390596]: # i_151 = PHI # DEBUG i => i_151 # DEBUG BEGIN_STMT _9 = config_188(D)->cmusCount; _10 = (long unsigned int) _9; if (_10 > i_151) goto ; [80.00%] else goto ; [20.00%] [local count: 118111599]: # DEBUG BEGIN_STMT clockConfig = config_188(D); # DEBUG BEGIN_STMT SpecificPlatformInitClock (config_188(D)); # DEBUG BEGIN_STMT # DEBUG i => 0 goto ; [100.00%] [local count: 955630212]: # DEBUG BEGIN_STMT _11 = config_188(D)->selectors[i_152].name; _12 = (int) _11; _13 = clockFeatures[_12][1]; _14 = (int) _13; _15 = selectorCallbackIndex[_14]; callbackIndex_241 = (uint32) _15; # DEBUG callbackIndex => callbackIndex_241 # DEBUG BEGIN_STMT _16 = selectorCallbacks[callbackIndex_241].Reset; _17 = &config_188(D)->selectors[i_152]; _16 (_17); # DEBUG BEGIN_STMT i_243 = i_152 + 1; # DEBUG i => i_243 [local count: 1073741812]: # i_152 = PHI <0(5), i_243(6)> # DEBUG i => i_152 # DEBUG BEGIN_STMT _18 = config_188(D)->selectorsCount; _19 = (long unsigned int) _18; if (_19 > i_152) goto ; [89.00%] else goto ; [11.00%] [local count: 118111599]: # DEBUG BEGIN_STMT _20 = config_188(D)->fracDivs[i_153].name; _21 = (int) _20; _22 = clockFeatures[_21][1]; _23 = (int) _22; _24 = fractional_dividerCallbackIndex[_23]; callbackIndex_238 = (uint32) _24; # DEBUG callbackIndex => callbackIndex_238 # DEBUG BEGIN_STMT _25 = fracDivCallbacks[callbackIndex_238].Reset; _26 = &config_188(D)->fracDivs[i_153]; _25 (_26); # DEBUG BEGIN_STMT i_240 = i_153 + 1; # DEBUG i => i_240 [local count: 236223199]: # i_153 = PHI # DEBUG i => i_153 # DEBUG BEGIN_STMT _27 = config_188(D)->fracDivsCount; _28 = (long unsigned int) _27; if (_28 > i_153) goto ; [50.00%] else goto ; [50.00%] [local count: 118111599]: # DEBUG BEGIN_STMT _29 = config_188(D)->plls[i_154].name; _30 = (int) _29; _31 = clockFeatures[_30][1]; _32 = (int) _31; _33 = pllCallbackIndex[_32]; callbackIndex_235 = (uint32) _33; # DEBUG callbackIndex => callbackIndex_235 # DEBUG BEGIN_STMT _34 = pllCallbacks[callbackIndex_235].Reset; _35 = &config_188(D)->plls[i_154]; _34 (_35); # DEBUG BEGIN_STMT i_237 = i_154 + 1; # DEBUG i => i_237 [local count: 236223199]: # i_154 = PHI # DEBUG i => i_154 # DEBUG BEGIN_STMT _36 = config_188(D)->pllsCount; _37 = (long unsigned int) _36; if (_37 > i_154) goto ; [50.00%] else goto ; [50.00%] [local count: 236258636]: # DEBUG BEGIN_STMT _38 = config_188(D)->xoscs[i_155].name; _39 = (int) _38; _40 = clockFeatures[_39][1]; _41 = (int) _40; _42 = xoscCallbackIndex[_41]; callbackIndex_232 = (uint32) _42; # DEBUG callbackIndex => callbackIndex_232 # DEBUG BEGIN_STMT _43 = extOscCallbacks[callbackIndex_232].Reset; _44 = &config_188(D)->xoscs[i_155]; _43 (_44); # DEBUG BEGIN_STMT i_234 = i_155 + 1; # DEBUG i => i_234 [local count: 354370235]: # i_155 = PHI # DEBUG i => i_155 # DEBUG BEGIN_STMT _45 = config_188(D)->xoscsCount; _46 = (long unsigned int) _45; if (_46 > i_155) goto ; [66.67%] else goto ; [33.33%] [local count: 236258636]: # DEBUG BEGIN_STMT _47 = config_188(D)->ircoscs[i_156].name; _48 = (int) _47; _49 = clockFeatures[_48][1]; _50 = (int) _49; _51 = ircoscCallbackIndex[_50]; callbackIndex_229 = (uint32) _51; # DEBUG callbackIndex => callbackIndex_229 # DEBUG BEGIN_STMT _52 = intOscCallbacks[callbackIndex_229].Set; _53 = &config_188(D)->ircoscs[i_156]; _52 (_53); # DEBUG BEGIN_STMT i_231 = i_156 + 1; # DEBUG i => i_231 [local count: 354370235]: # i_156 = PHI # DEBUG i => i_156 # DEBUG BEGIN_STMT _54 = config_188(D)->ircoscsCount; _55 = (long unsigned int) _54; if (_55 > i_156) goto ; [66.67%] else goto ; [33.33%] [local count: 236258636]: # DEBUG BEGIN_STMT _56 = config_188(D)->xoscs[i_157].name; _57 = (int) _56; _58 = clockFeatures[_57][1]; _59 = (int) _58; _60 = xoscCallbackIndex[_59]; callbackIndex_226 = (uint32) _60; # DEBUG callbackIndex => callbackIndex_226 # DEBUG BEGIN_STMT _61 = extOscCallbacks[callbackIndex_226].Set; _62 = &config_188(D)->xoscs[i_157]; _61 (_62); # DEBUG BEGIN_STMT i_228 = i_157 + 1; # DEBUG i => i_228 [local count: 354370235]: # i_157 = PHI # DEBUG i => i_157 # DEBUG BEGIN_STMT _63 = config_188(D)->xoscsCount; _64 = (long unsigned int) _63; if (_64 > i_157) goto ; [66.67%] else goto ; [33.33%] [local count: 955630219]: # DEBUG BEGIN_STMT _245 = (int) ClockCalcFreqCallIdx.6_244; _246 = calcFreqCallbacks[_245]; _246 (); # DEBUG BEGIN_STMT ClockCalcFreqCallIdx.4_247 = ClockCalcFreqCallIdx; _248 = ClockCalcFreqCallIdx.4_247 + 1; ClockCalcFreqCallIdx = _248; [local count: 1073741819]: # DEBUG BEGIN_STMT ClockCalcFreqCallIdx.6_244 = ClockCalcFreqCallIdx; if (ClockCalcFreqCallIdx.6_244 <= 33) goto ; [89.00%] else goto ; [11.00%] [local count: 118111600]: # DEBUG BEGIN_STMT _65 = config_188(D)->pcfs[i_158].name; _66 = (int) _65; _67 = clockFeatures[_66][1]; _68 = (int) _67; _69 = pcfsCallbackIndex[_68]; callbackIndex_223 = (uint32) _69; # DEBUG callbackIndex => callbackIndex_223 # DEBUG BEGIN_STMT _70 = pcfsCallbacks[callbackIndex_223].Set; _71 = &config_188(D)->pcfs[i_158]; _70 (_71); # DEBUG BEGIN_STMT i_225 = i_158 + 1; # DEBUG i => i_225 [local count: 236223200]: # i_158 = PHI <0(19), i_225(20)> # DEBUG i => NULL # DEBUG i => i_158 # DEBUG BEGIN_STMT _72 = config_188(D)->pcfsCount; _73 = (long unsigned int) _72; if (_73 > i_158) goto ; [50.00%] else goto ; [50.00%] [local count: 118111600]: # DEBUG BEGIN_STMT _74 = config_188(D)->dividerTriggers[i_159].name; _75 = (int) _74; _76 = clockFeatures[_75][1]; _77 = (int) _76; _78 = dividertriggerCallbackIndex[_77]; callbackIndex_220 = (uint32) _78; # DEBUG callbackIndex => callbackIndex_220 # DEBUG BEGIN_STMT _79 = dividerTriggerCallbacks[callbackIndex_220].Configure; _80 = &config_188(D)->dividerTriggers[i_159]; _79 (_80); # DEBUG BEGIN_STMT i_222 = i_159 + 1; # DEBUG i => i_222 [local count: 236223200]: # i_159 = PHI # DEBUG i => i_159 # DEBUG BEGIN_STMT _81 = config_188(D)->dividerTriggersCount; _82 = (long unsigned int) _81; if (_82 > i_159) goto ; [50.00%] else goto ; [50.00%] [local count: 955630225]: # DEBUG BEGIN_STMT _83 = config_188(D)->dividers[i_160].name; _84 = (int) _83; _85 = clockFeatures[_84][1]; _86 = (int) _85; _87 = dividerCallbackIndex[_86]; callbackIndex_217 = (uint32) _87; # DEBUG callbackIndex => callbackIndex_217 # DEBUG BEGIN_STMT _88 = dividerCallbacks[callbackIndex_217].Set; _89 = &config_188(D)->dividers[i_160]; _88 (_89); # DEBUG BEGIN_STMT i_219 = i_160 + 1; # DEBUG i => i_219 [local count: 1073741824]: # i_160 = PHI # DEBUG i => i_160 # DEBUG BEGIN_STMT _90 = config_188(D)->dividersCount; _91 = (long unsigned int) _90; if (_91 > i_160) goto ; [89.00%] else goto ; [11.00%] [local count: 118111601]: # DEBUG BEGIN_STMT _92 = config_188(D)->dividerTriggers[i_161].name; _93 = (int) _92; _94 = clockFeatures[_93][1]; _95 = (int) _94; _96 = dividertriggerCallbackIndex[_95]; callbackIndex_214 = (uint32) _96; # DEBUG callbackIndex => callbackIndex_214 # DEBUG BEGIN_STMT _97 = dividerTriggerCallbacks[callbackIndex_214].TriggerUpdate; _98 = &config_188(D)->dividerTriggers[i_161]; _97 (_98); # DEBUG BEGIN_STMT i_216 = i_161 + 1; # DEBUG i => i_216 [local count: 236223201]: # i_161 = PHI # DEBUG i => i_161 # DEBUG BEGIN_STMT _99 = config_188(D)->dividerTriggersCount; _100 = (long unsigned int) _99; if (_100 > i_161) goto ; [50.00%] else goto ; [50.00%] [local count: 118111601]: # DEBUG BEGIN_STMT _101 = config_188(D)->plls[i_162].name; _102 = (int) _101; _103 = clockFeatures[_102][1]; _104 = (int) _103; _105 = pllCallbackIndex[_104]; callbackIndex_211 = (uint32) _105; # DEBUG callbackIndex => callbackIndex_211 # DEBUG BEGIN_STMT _106 = pllCallbacks[callbackIndex_211].Set; _107 = &config_188(D)->plls[i_162]; _106 (_107); # DEBUG BEGIN_STMT i_213 = i_162 + 1; # DEBUG i => i_213 [local count: 236223201]: # i_162 = PHI # DEBUG i => i_162 # DEBUG BEGIN_STMT _108 = config_188(D)->pllsCount; _109 = (long unsigned int) _108; if (_109 > i_162) goto ; [50.00%] else goto ; [50.00%] [local count: 118111601]: # DEBUG BEGIN_STMT _110 = config_188(D)->fracDivs[i_163].name; _111 = (int) _110; _112 = clockFeatures[_111][1]; _113 = (int) _112; _114 = fractional_dividerCallbackIndex[_113]; callbackIndex_208 = (uint32) _114; # DEBUG callbackIndex => callbackIndex_208 # DEBUG BEGIN_STMT _115 = fracDivCallbacks[callbackIndex_208].Set; _116 = &config_188(D)->fracDivs[i_163]; _115 (_116); # DEBUG BEGIN_STMT i_210 = i_163 + 1; # DEBUG i => i_210 [local count: 236223201]: # i_163 = PHI # DEBUG i => i_163 # DEBUG BEGIN_STMT _117 = config_188(D)->fracDivsCount; _118 = (long unsigned int) _117; if (_118 > i_163) goto ; [50.00%] else goto ; [50.00%] [local count: 118111601]: # DEBUG BEGIN_STMT clockTreeIsConsumingPll = 0; # DEBUG BEGIN_STMT # DEBUG i => 0 goto ; [100.00%] [local count: 955630212]: # DEBUG BEGIN_STMT _119 = config_188(D)->selectors[i_164].value; _120 = (int) _119; _121 = clockName_sourceType[_120]; if (_121 == 1) goto ; [34.00%] else goto ; [66.00%] [local count: 324914272]: # DEBUG BEGIN_STMT _122 = config_188(D)->selectors[i_164].name; _123 = (int) _122; _124 = clockFeatures[_123][1]; _125 = (int) _124; _126 = selectorCallbackIndex[_125]; callbackIndex_205 = (uint32) _126; # DEBUG callbackIndex => callbackIndex_205 # DEBUG BEGIN_STMT _127 = selectorCallbacks[callbackIndex_205].Set; _128 = &config_188(D)->selectors[i_164]; _127 (_128); goto ; [100.00%] [local count: 630715940]: # DEBUG BEGIN_STMT clockTreeIsConsumingPll = 1; [local count: 955630212]: # DEBUG BEGIN_STMT i_207 = i_164 + 1; # DEBUG i => i_207 [local count: 1073741812]: # i_164 = PHI <0(32), i_207(36)> # DEBUG i => i_164 # DEBUG BEGIN_STMT _129 = config_188(D)->selectorsCount; _130 = (long unsigned int) _129; if (_130 > i_164) goto ; [89.00%] else goto ; [11.00%] [local count: 955630219]: # DEBUG BEGIN_STMT _131 = config_188(D)->gates[i_165].name; _132 = (int) _131; _133 = clockFeatures[_132][1]; _134 = (int) _133; _135 = gateCallbackIndex[_134]; callbackIndex_201 = (uint32) _135; # DEBUG callbackIndex => callbackIndex_201 # DEBUG BEGIN_STMT _136 = gateCallbacks[callbackIndex_201].Set; _137 = &config_188(D)->gates[i_165]; _136 (_137); # DEBUG BEGIN_STMT i_203 = i_165 + 1; # DEBUG i => i_203 [local count: 1073741819]: # i_165 = PHI # DEBUG i => i_165 # DEBUG BEGIN_STMT _138 = config_188(D)->gatesCount; _139 = (long unsigned int) _138; if (_139 > i_165) goto ; [89.00%] else goto ; [11.00%] [local count: 118111600]: # DEBUG BEGIN_STMT clockTreeIsConsumingPll.2_140 = clockTreeIsConsumingPll; if (clockTreeIsConsumingPll.2_140 != 0) goto ; [67.00%] else goto ; [33.00%] [local count: 38976828]: # DEBUG BEGIN_STMT _141 = &config_188(D)->specificPeriphalConfiguration; SpecificPeripheralClockInitialization (_141); # DEBUG BEGIN_STMT # DEBUG i => 0 goto ; [100.00%] [local count: 155907312]: # DEBUG BEGIN_STMT _142 = config_188(D)->cmus[i_166].name; _143 = (int) _142; _144 = clockFeatures[_143][1]; _145 = (int) _144; _146 = cmuCallbackIndex[_145]; callbackIndex_197 = (uint32) _146; # DEBUG callbackIndex => callbackIndex_197 # DEBUG BEGIN_STMT _147 = cmuCallbacks[callbackIndex_197].Set; _148 = &config_188(D)->cmus[i_166]; _147 (_148); # DEBUG BEGIN_STMT i_199 = i_166 + 1; # DEBUG i => i_199 [local count: 194884141]: # i_166 = PHI <0(41), i_199(42)> # DEBUG i => i_166 # DEBUG BEGIN_STMT _149 = config_188(D)->cmusCount; _150 = (long unsigned int) _149; if (_150 > i_166) goto ; [80.00%] else goto ; [20.00%] [local count: 118111600]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT UpdateFrequencies (0); return; } ;; Function Clock_Ip_GetPllStatus (Clock_Ip_GetPllStatus, funcdef_no=2, decl_uid=4344, cgraph_uid=3, symbol_order=6) Clock_Ip_GetPllStatus () { uint32 callbackIndex; uint32 i; clock_pll_status_t pllStatus; Clock_Ip_PllStatusType retValue; _1; int _2; unsigned char _3; int _4; unsigned char _5; clock_pll_status_t (*) (Clock_Ip_NameType) _6; [local count: 114863532]: # DEBUG BEGIN_STMT # DEBUG retValue => 2 # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG i => 0 goto ; [100.00%] [local count: 1014686025]: # DEBUG BEGIN_STMT _1 = HwPllName[0]; _2 = (int) _1; _3 = clockFeatures[_2][1]; _4 = (int) _3; _5 = pllCallbackIndex[_4]; callbackIndex_14 = (uint32) _5; # DEBUG callbackIndex => callbackIndex_14 # DEBUG BEGIN_STMT _6 = pllCallbacks[callbackIndex_14].Complete; pllStatus_16 = _6 (_1); # DEBUG pllStatus => pllStatus_16 # DEBUG BEGIN_STMT if (pllStatus_16 == 1) goto ; [5.50%] else goto ; [94.50%] [local count: 958878293]: # DEBUG BEGIN_STMT if (pllStatus_16 == 2) goto ; [34.00%] else goto ; [66.00%] [local count: 326018619]: # DEBUG BEGIN_STMT # DEBUG retValue => 0 [local count: 958878293]: # retValue_7 = PHI # i_17 = PHI <1(4), 1(5)> [local count: 1073741824]: # retValue_8 = PHI # i_10 = PHI # DEBUG i => i_10 # DEBUG retValue => retValue_8 # DEBUG BEGIN_STMT if (i_10 == 0) goto ; [94.50%] else goto ; [5.50%] [local count: 114863532]: # retValue_9 = PHI <1(3), retValue_8(7)> # DEBUG retValue => retValue_9 # DEBUG BEGIN_STMT return retValue_9; } ;; Function Clock_Ip_DistributePll (Clock_Ip_DistributePll, funcdef_no=3, decl_uid=4346, cgraph_uid=4, symbol_order=7) Clock_Ip_DistributePll () { uint32 callbackIndex; uint32 i; const struct Clock_Ip_ClockConfigType * clockConfig.7_1; _2; int _3; _4; _5; int _6; unsigned char _7; int _8; unsigned char _9; void (*) (const struct Clock_Ip_SelectorConfigType *) _10; const struct Clock_Ip_SelectorConfigType * _11; const struct Clock_Ip_ClockConfigType * clockConfig.11_12; unsigned char _13; long unsigned int _14; _Bool clockTreeIsConsumingPll.12_15; const struct Clock_Ip_ClockConfigType * clockConfig.11_16; const struct Clock_IP_SpecificPeriphConfigType * _17; _18; int _19; unsigned char _20; int _21; unsigned char _22; void (*) (const struct Clock_Ip_CmuConfigType *) _23; const struct Clock_Ip_CmuConfigType * _24; const struct Clock_Ip_ClockConfigType * clockConfig.16_25; unsigned char _26; long unsigned int _27; [local count: 168730860]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT clockConfig.7_1 = clockConfig; if (clockConfig.7_1 != 0B) goto ; [70.00%] else goto ; [30.00%] [local count: 118111602]: goto ; [100.00%] [local count: 955630224]: # DEBUG BEGIN_STMT _2 = clockConfig.11_12->selectors[i_28].value; _3 = (int) _2; _4 = clockName_sourceType[_3]; if (_4 != 1) goto ; [66.00%] else goto ; [34.00%] [local count: 630715948]: # DEBUG BEGIN_STMT _5 = clockConfig.11_12->selectors[i_28].name; _6 = (int) _5; _7 = clockFeatures[_6][1]; _8 = (int) _7; _9 = selectorCallbackIndex[_8]; callbackIndex_39 = (uint32) _9; # DEBUG callbackIndex => callbackIndex_39 # DEBUG BEGIN_STMT _10 = selectorCallbacks[callbackIndex_39].Set; _11 = &clockConfig.11_12->selectors[i_28]; _10 (_11); [local count: 955630224]: # DEBUG BEGIN_STMT i_41 = i_28 + 1; # DEBUG i => i_41 [local count: 1073741824]: # i_28 = PHI # DEBUG i => i_28 # DEBUG BEGIN_STMT clockConfig.11_12 = clockConfig; _13 = clockConfig.11_12->selectorsCount; _14 = (long unsigned int) _13; if (_14 > i_28) goto ; [89.00%] else goto ; [11.00%] [local count: 118111601]: # clockConfig.11_16 = PHI # DEBUG BEGIN_STMT clockTreeIsConsumingPll.12_15 = clockTreeIsConsumingPll; if (clockTreeIsConsumingPll.12_15 != 0) goto ; [33.00%] else goto ; [67.00%] [local count: 38976828]: # DEBUG BEGIN_STMT _17 = &clockConfig.11_16->specificPeriphalConfiguration; SpecificPeripheralClockInitialization (_17); # DEBUG BEGIN_STMT # DEBUG i => 0 goto ; [100.00%] [local count: 155907314]: # DEBUG BEGIN_STMT _18 = clockConfig.16_25->cmus[i_29].name; _19 = (int) _18; _20 = clockFeatures[_19][1]; _21 = (int) _20; _22 = cmuCallbackIndex[_21]; callbackIndex_36 = (uint32) _22; # DEBUG callbackIndex => callbackIndex_36 # DEBUG BEGIN_STMT _23 = cmuCallbacks[callbackIndex_36].Set; _24 = &clockConfig.16_25->cmus[i_29]; _23 (_24); # DEBUG BEGIN_STMT i_38 = i_29 + 1; # DEBUG i => i_38 [local count: 194884142]: # i_29 = PHI <0(8), i_38(9)> # DEBUG i => i_29 # DEBUG BEGIN_STMT clockConfig.16_25 = clockConfig; _26 = clockConfig.16_25->cmusCount; _27 = (long unsigned int) _26; if (_27 > i_29) goto ; [80.00%] else goto ; [20.00%] [local count: 168730859]: # DEBUG BEGIN_STMT UpdateFrequencies (0); return; } ;; Function Clock_Ip_Init (Clock_Ip_Init, funcdef_no=0, decl_uid=4340, cgraph_uid=1, symbol_order=4) Clock_Ip_Init (const struct Clock_Ip_ClockConfigType * config) { Clock_Ip_PllStatusType pllStatus; Clock_Ip_StatusType clockStatus; _Bool clockTreeIsConsumingPll.0_1; [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG clockStatus => 1 # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT Clock_Ip_InitClock (config_5(D)); # DEBUG BEGIN_STMT clockTreeIsConsumingPll.0_1 = clockTreeIsConsumingPll; if (clockTreeIsConsumingPll.0_1 != 0) goto ; [33.00%] else goto ; [67.00%] [local count: 354334802]: # DEBUG BEGIN_STMT pllStatus_8 = Clock_Ip_GetPllStatus (); # DEBUG pllStatus => pllStatus_8 # DEBUG BEGIN_STMT if (pllStatus_8 == 0) goto ; [33.00%] else goto ; [67.00%] [local count: 116930485]: # DEBUG BEGIN_STMT Clock_Ip_DistributePll (); # DEBUG BEGIN_STMT # DEBUG clockStatus => 0 [local count: 1073741824]: # clockStatus_2 = PHI <0(4), 0(2), 1(3)> # DEBUG clockStatus => clockStatus_2 # DEBUG BEGIN_STMT return clockStatus_2; } ;; Function Clock_Ip_DisableClockMonitor (Clock_Ip_DisableClockMonitor, funcdef_no=4, decl_uid=4357, cgraph_uid=5, symbol_order=8) Clock_Ip_DisableClockMonitor (Clock_Ip_NameType clockName) { uint32 callbackIndex; int _1; unsigned char _2; int _3; unsigned char _4; void (*) (Clock_Ip_NameType) _5; [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT _1 = (int) clockName_6(D); _2 = clockFeatures[_1][1]; _3 = (int) _2; _4 = cmuCallbackIndex[_3]; callbackIndex_8 = (uint32) _4; # DEBUG callbackIndex => callbackIndex_8 # DEBUG BEGIN_STMT _5 = cmuCallbacks[callbackIndex_8].Disable; _5 (clockName_6(D)); return; } ;; Function Clock_Ip_GetClockMonitorStatus (Clock_Ip_GetClockMonitorStatus, funcdef_no=5, decl_uid=4355, cgraph_uid=6, symbol_order=9) Clock_Ip_GetClockMonitorStatus (Clock_Ip_NameType clockName) { uint32 callbackIndex; int _1; unsigned char _2; int _3; unsigned char _4; Clock_Ip_CmuStatusType (*) (Clock_Ip_NameType) _5; Clock_Ip_CmuStatusType _10; [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT _1 = (int) clockName_6(D); _2 = clockFeatures[_1][1]; _3 = (int) _2; _4 = cmuCallbackIndex[_3]; callbackIndex_8 = (uint32) _4; # DEBUG callbackIndex => callbackIndex_8 # DEBUG BEGIN_STMT _5 = cmuCallbacks[callbackIndex_8].GetStatus; _10 = _5 (clockName_6(D)); return _10; } ;; Function Clock_Ip_ClearClockMonitorStatus (Clock_Ip_ClearClockMonitorStatus, funcdef_no=6, decl_uid=4353, cgraph_uid=7, symbol_order=10) Clock_Ip_ClearClockMonitorStatus (Clock_Ip_NameType clockName) { uint32 callbackIndex; int _1; unsigned char _2; int _3; unsigned char _4; void (*) (Clock_Ip_NameType) _5; [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT _1 = (int) clockName_6(D); _2 = clockFeatures[_1][1]; _3 = (int) _2; _4 = cmuCallbackIndex[_3]; callbackIndex_8 = (uint32) _4; # DEBUG callbackIndex => callbackIndex_8 # DEBUG BEGIN_STMT _5 = cmuCallbacks[callbackIndex_8].Clear; _5 (clockName_6(D)); return; } ;; Function Clock_Ip_PowerModeChangeNotification (Clock_Ip_PowerModeChangeNotification, funcdef_no=7, decl_uid=4349, cgraph_uid=8, symbol_order=11) Clock_Ip_PowerModeChangeNotification (power_modes_t powerMode, power_notification_t notification) { [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT UpdateFrequencies (powerMode_2(D)); return; } ;; Function Clock_Ip_InstallNotificationsCallback (Clock_Ip_InstallNotificationsCallback, funcdef_no=8, decl_uid=4351, cgraph_uid=9, symbol_order=12) Clock_Ip_InstallNotificationsCallback (void (*Clock_Ip_NotificationsCallbackType) (Clock_Ip_ClockNotificationType, Clock_Ip_NameType) callback) { [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT clockNotificationsCallback = callback_2(D); return; } ;; Function Clock_Ip_DisableModuleClock (Clock_Ip_DisableModuleClock, funcdef_no=9, decl_uid=4359, cgraph_uid=10, symbol_order=13) Clock_Ip_DisableModuleClock (Clock_Ip_NameType clockName) { uint32 callbackIndex; int _1; unsigned char _2; int _3; unsigned char _4; void (*) (Clock_Ip_NameType, boolean) _5; [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT _1 = (int) clockName_6(D); _2 = clockFeatures[_1][1]; _3 = (int) _2; _4 = gateCallbackIndex[_3]; callbackIndex_8 = (uint32) _4; # DEBUG callbackIndex => callbackIndex_8 # DEBUG BEGIN_STMT _5 = gateCallbacks[callbackIndex_8].Update; _5 (clockName_6(D), 1); return; } ;; Function Clock_Ip_EnableModuleClock (Clock_Ip_EnableModuleClock, funcdef_no=10, decl_uid=4361, cgraph_uid=11, symbol_order=14) Clock_Ip_EnableModuleClock (Clock_Ip_NameType clockName) { uint32 callbackIndex; int _1; unsigned char _2; int _3; unsigned char _4; void (*) (Clock_Ip_NameType, boolean) _5; [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT _1 = (int) clockName_6(D); _2 = clockFeatures[_1][1]; _3 = (int) _2; _4 = gateCallbackIndex[_3]; callbackIndex_8 = (uint32) _4; # DEBUG callbackIndex => callbackIndex_8 # DEBUG BEGIN_STMT _5 = gateCallbacks[callbackIndex_8].Update; _5 (clockName_6(D), 0); return; } ;; Function Clock_Ip_GetClockFrequency (Clock_Ip_GetClockFrequency, funcdef_no=11, decl_uid=4338, cgraph_uid=12, symbol_order=15) Clock_Ip_GetClockFrequency (Clock_Ip_NameType clockName) { uint32 frequency; long unsigned int _1; long unsigned int _2; uint32 (*) (void) _3; [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT if (clockName_6(D) > 21) goto ; [67.00%] else goto ; [33.00%] [local count: 719407023]: # DEBUG BEGIN_STMT _1 = (long unsigned int) clockName_6(D); _2 = _1 + 4294967274; _3 = consumerClockCallbacks[_2]; frequency_11 = _3 (); # DEBUG frequency => frequency_11 goto ; [100.00%] [local count: 354334802]: # DEBUG BEGIN_STMT frequency_9 = GetProducerClockFreq (clockName_6(D)); # DEBUG frequency => frequency_9 [local count: 1073741824]: # frequency_4 = PHI # DEBUG frequency => frequency_4 # DEBUG BEGIN_STMT return frequency_4; } ;; Function Clock_Ip_TimeDelay (Clock_Ip_TimeDelay, funcdef_no=13, decl_uid=5039, cgraph_uid=14, symbol_order=17) Clock_Ip_TimeDelay () { unsigned char ClockCalcFreqCallIdx.17_1; int _2; void (*) (void) _3; unsigned char ClockCalcFreqCallIdx.18_4; unsigned char _5; [local count: 1073741824]: # DEBUG BEGIN_STMT ClockCalcFreqCallIdx.17_1 = ClockCalcFreqCallIdx; _2 = (int) ClockCalcFreqCallIdx.17_1; _3 = calcFreqCallbacks[_2]; _3 (); # DEBUG BEGIN_STMT ClockCalcFreqCallIdx.18_4 = ClockCalcFreqCallIdx; if (ClockCalcFreqCallIdx.18_4 <= 33) goto ; [50.00%] else goto ; [50.00%] [local count: 536870913]: # DEBUG BEGIN_STMT _5 = ClockCalcFreqCallIdx.18_4 + 1; ClockCalcFreqCallIdx = _5; [local count: 1073741824]: return; } ;; Function ReportClockErrors (ReportClockErrors, funcdef_no=15, decl_uid=5026, cgraph_uid=16, symbol_order=19) ReportClockErrors (Clock_Ip_ClockNotificationType error, Clock_Ip_NameType clockName) { void (*) (Clock_Ip_ClockNotificationType, Clock_Ip_NameType) clockNotificationsCallback.21_1; [local count: 1073741824]: # DEBUG BEGIN_STMT clockNotificationsCallback.21_1 = clockNotificationsCallback; clockNotificationsCallback.21_1 (error_3(D), clockName_4(D)); return; } ;; Function ClockStartTimeout (ClockStartTimeout, funcdef_no=16, decl_uid=5048, cgraph_uid=17, symbol_order=20) ClockStartTimeout (uint32 * startTimeOut, uint32 * elapsedTimeOut, uint32 * timeoutTicksOut, uint32 timeoutUs) { long unsigned int _1; long unsigned int _2; [local count: 1073741824]: # DEBUG BEGIN_STMT _1 = OsIf_GetCounter (0); *startTimeOut_5(D) = _1; # DEBUG BEGIN_STMT *elapsedTimeOut_7(D) = 0; # DEBUG BEGIN_STMT _2 = OsIf_MicrosToTicks (timeoutUs_9(D), 0); *timeoutTicksOut_11(D) = _2; return; } ;; Function ClockTimeoutExpired (ClockTimeoutExpired, funcdef_no=17, decl_uid=5052, cgraph_uid=18, symbol_order=21) ClockTimeoutExpired (uint32 * startTimeInOut, uint32 * elapsedTimeInOut, uint32 TimeoutTicks) { long unsigned int _1; long unsigned int _2; long unsigned int _6; boolean _10; [local count: 1073741824]: # DEBUG BEGIN_STMT _6 = OsIf_GetElapsed (startTimeInOut_4(D), 0); _1 = *elapsedTimeInOut_7(D); _2 = _1 + _6; *elapsedTimeInOut_7(D) = _2; # DEBUG BEGIN_STMT _10 = _2 >= TimeoutTicks_9(D); return _10; }