Analyzing function: SetSxoscOsconEocv/5 ;; 3 loops found ;; ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 2 3 4 5 6 7 8 9 20 10 11 12 13 14 19 15 16 17 18 ;; ;; Loop 2 ;; header 13, latch 19 ;; depth 1, outer 0 ;; nodes: 13 19 14 ;; ;; Loop 1 ;; header 8, latch 20 ;; depth 1, outer 0 ;; nodes: 8 20 9 ;; 2 succs { 3 18 } ;; 3 succs { 4 12 } ;; 4 succs { 5 12 } ;; 5 succs { 6 12 } ;; 6 succs { 7 12 } ;; 7 succs { 8 } ;; 8 succs { 9 10 } ;; 9 succs { 20 10 } ;; 20 succs { 8 } ;; 10 succs { 11 12 } ;; 11 succs { 12 } ;; 12 succs { 13 } ;; 13 succs { 14 15 } ;; 14 succs { 19 15 } ;; 19 succs { 13 } ;; 15 succs { 16 17 } ;; 16 succs { 18 } ;; 17 succs { 18 } ;; 18 succs { 1 } Analyzing function body size: SetSxoscOsconEocv IPA function summary for SetSxoscOsconEocv/5 inlinable global time: 186.550590 self size: 94 global size: 0 min size: 0 self stack: 12 global stack: 12 size:4.000000, time:4.000000 size:3.000000, time:2.000000, executed if:(not inlined) size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 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: 64] changed) && (not inlined) size:2.500000, time:2.500000, nonconst if:(op0[ref offset: 64] changed) size:50.000000, time:43.332547, executed if:(op0[ref offset: 64] != 0) size:2.000000, time:0.507827, executed if:(op0[ref offset: 64] != 0) && (not inlined) array index:(op0[ref offset: 0] changed) calls: ReportClockErrors/13 function body not available loop depth: 0 freq:0.25 size: 3 time: 12 predicate: (op0[ref offset: 64] != 0) op0 is compile time invariant UpdateClockState/16 function body not available loop depth: 0 freq:0.25 size: 3 time: 12 predicate: (op0[ref offset: 64] != 0) op1 is compile time invariant ClockTimeoutExpired/12 function body not available loop depth: 1 freq:4.67 size: 5 time: 14 predicate: (op0[ref offset: 64] != 0) op0 is compile time invariant op1 is compile time invariant Clock_Ip_TimeDelay/15 function body not available loop depth: 1 freq:4.67 size: 1 time: 10 predicate: (op0[ref offset: 64] != 0) ClockStartTimeout/11 function body not available loop depth: 0 freq:0.50 size: 5 time: 14 predicate: (op0[ref offset: 64] != 0) op0 is compile time invariant op1 is compile time invariant op2 is compile time invariant op3 is compile time invariant ReportClockErrors/13 function body not available loop depth: 0 freq:0.02 size: 3 time: 12 predicate: (op0[ref offset: 64] != 0) op0 is compile time invariant ClockTimeoutExpired/12 function body not available loop depth: 1 freq:0.44 size: 5 time: 14 predicate: (op0[ref offset: 64] != 0) op0 is compile time invariant op1 is compile time invariant ClockStartTimeout/11 function body not available loop depth: 0 freq:0.05 size: 5 time: 14 predicate: (op0[ref offset: 64] != 0) op0 is compile time invariant op1 is compile time invariant op2 is compile time invariant op3 is compile time invariant McMeEnterKey/10 function body not available loop depth: 0 freq:0.05 size: 1 time: 10 predicate: (op0[ref offset: 64] != 0) Analyzing function: ResetSxoscOsconEocv/4 ;; 1 loops found ;; ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 2 3 4 5 6 7 ;; 2 succs { 3 7 } ;; 3 succs { 4 7 } ;; 4 succs { 5 7 } ;; 5 succs { 6 7 } ;; 6 succs { 7 } ;; 7 succs { 1 } Analyzing function body size: ResetSxoscOsconEocv IPA function summary for ResetSxoscOsconEocv/4 inlinable global time: 25.491168 self size: 27 global size: 0 min size: 0 self stack: 0 global stack: 0 size:20.000000, time:10.491168 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/16 function body not available loop depth: 0 freq:1.00 size: 3 time: 12 op0 change 99.990000% of time op1 is compile time invariant Analyzing function: SetFxoscOsconBypEocvGmSel/3 ;; 3 loops found ;; ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 2 3 4 5 6 7 8 9 23 10 11 12 13 14 15 16 22 17 18 19 20 21 ;; ;; Loop 2 ;; header 15, latch 22 ;; depth 1, outer 0 ;; nodes: 15 22 16 ;; ;; Loop 1 ;; header 8, latch 23 ;; depth 1, outer 0 ;; nodes: 8 23 9 ;; 2 succs { 3 21 } ;; 3 succs { 4 12 } ;; 4 succs { 5 12 } ;; 5 succs { 6 12 } ;; 6 succs { 7 12 } ;; 7 succs { 8 } ;; 8 succs { 9 10 } ;; 9 succs { 23 10 } ;; 23 succs { 8 } ;; 10 succs { 11 12 } ;; 11 succs { 12 } ;; 12 succs { 13 21 } ;; 13 succs { 14 20 } ;; 14 succs { 15 } ;; 15 succs { 16 17 } ;; 16 succs { 22 17 } ;; 22 succs { 15 } ;; 17 succs { 18 19 } ;; 18 succs { 21 } ;; 19 succs { 21 } ;; 20 succs { 21 } ;; 21 succs { 1 } Analyzing function body size: SetFxoscOsconBypEocvGmSel IPA function summary for SetFxoscOsconBypEocvGmSel/3 inlinable global time: 76.015944 self size: 113 global size: 0 min size: 0 self stack: 12 global stack: 12 size:4.000000, time:4.000000 size:3.000000, time:2.000000, executed if:(not inlined) size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 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: 64] changed) && (not inlined) size:2.500000, time:2.500000, nonconst if:(op0[ref offset: 64] changed) size:64.000000, time:24.554708, executed if:(op0[ref offset: 64] != 0) size:4.000000, time:1.132827, executed if:(op0[ref offset: 64] != 0) && (not inlined) array index:(op0[ref offset: 0] changed) calls: ReportClockErrors/13 function body not available loop depth: 0 freq:0.12 size: 3 time: 12 predicate: (op0[ref offset: 64] != 0) op0 is compile time invariant ReportClockErrors/13 function body not available loop depth: 0 freq:0.06 size: 3 time: 12 predicate: (op0[ref offset: 64] != 0) op0 is compile time invariant UpdateClockState/16 function body not available loop depth: 0 freq:0.06 size: 3 time: 12 predicate: (op0[ref offset: 64] != 0) op1 is compile time invariant ClockTimeoutExpired/12 function body not available loop depth: 1 freq:1.17 size: 5 time: 14 predicate: (op0[ref offset: 64] != 0) op0 is compile time invariant op1 is compile time invariant Clock_Ip_TimeDelay/15 function body not available loop depth: 1 freq:1.17 size: 1 time: 10 predicate: (op0[ref offset: 64] != 0) ClockStartTimeout/11 function body not available loop depth: 0 freq:0.12 size: 5 time: 14 predicate: (op0[ref offset: 64] != 0) op0 is compile time invariant op1 is compile time invariant op2 is compile time invariant op3 is compile time invariant ReportClockErrors/13 function body not available loop depth: 0 freq:0.02 size: 3 time: 12 predicate: (op0[ref offset: 64] != 0) op0 is compile time invariant ClockTimeoutExpired/12 function body not available loop depth: 1 freq:0.44 size: 5 time: 14 predicate: (op0[ref offset: 64] != 0) op0 is compile time invariant op1 is compile time invariant ClockStartTimeout/11 function body not available loop depth: 0 freq:0.05 size: 5 time: 14 predicate: (op0[ref offset: 64] != 0) op0 is compile time invariant op1 is compile time invariant op2 is compile time invariant op3 is compile time invariant McMeEnterKey/10 function body not available loop depth: 0 freq:0.05 size: 1 time: 10 predicate: (op0[ref offset: 64] != 0) Analyzing function: ResetFxoscOsconBypEocvGmSel/2 ;; 1 loops found ;; ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 2 3 4 5 6 7 ;; 2 succs { 3 6 } ;; 3 succs { 4 6 } ;; 4 succs { 5 6 } ;; 5 succs { 6 7 } ;; 6 succs { 7 } ;; 7 succs { 1 } Analyzing function body size: ResetFxoscOsconBypEocvGmSel IPA function summary for ResetFxoscOsconBypEocvGmSel/2 inlinable global time: 28.341184 self size: 27 global size: 0 min size: 0 self stack: 0 global stack: 0 size:20.000000, time:13.341184 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/16 function body not available loop depth: 0 freq:1.00 size: 3 time: 12 op0 change 99.990000% of time op1 is compile time invariant Analyzing function: ExternalOscillatorEmpty/1 ;; 1 loops found ;; ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 2 ;; 2 succs { 1 } Analyzing function body size: ExternalOscillatorEmpty IPA function summary for ExternalOscillatorEmpty/1 inlinable global time: 2.000000 self size: 3 global size: 0 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: Symbol table: UpdateClockState/16 (UpdateClockState) @05f6c540 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: ResetFxoscOsconBypEocvGmSel/2 (1073741824 (estimated locally),1.00 per call) SetFxoscOsconBypEocvGmSel/3 (57431766 (estimated locally),0.06 per call) ResetSxoscOsconEocv/4 (1073741824 (estimated locally),1.00 per call) SetSxoscOsconEocv/5 (57431766 (estimated locally),0.25 per call) Calls: Clock_Ip_TimeDelay/15 (Clock_Ip_TimeDelay) @05f6c460 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: SetFxoscOsconBypEocvGmSel/3 (1073741824 (estimated locally),1.17 per call) SetSxoscOsconEocv/5 (1073741824 (estimated locally),4.67 per call) Calls: xosc/14 (xosc) @05f6d120 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: SetSxoscOsconEocv/5 (read)ResetSxoscOsconEocv/4 (read)SetFxoscOsconBypEocvGmSel/3 (read)ResetFxoscOsconBypEocvGmSel/2 (read) Availability: not_available Varpool flags: read-only ReportClockErrors/13 (ReportClockErrors) @05f6c380 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: SetFxoscOsconBypEocvGmSel/3 (114863532 (estimated locally),0.12 per call) SetFxoscOsconBypEocvGmSel/3 (57431766 (estimated locally),0.06 per call) SetFxoscOsconBypEocvGmSel/3 (14384734 (estimated locally),0.02 per call) SetSxoscOsconEocv/5 (57431766 (estimated locally),0.25 per call) SetSxoscOsconEocv/5 (3596184 (estimated locally),0.02 per call) Calls: ClockTimeoutExpired/12 (ClockTimeoutExpired) @05f6c2a0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: SetFxoscOsconBypEocvGmSel/3 (1073741824 (estimated locally),1.17 per call) SetFxoscOsconBypEocvGmSel/3 (407479353 (estimated locally),0.44 per call) SetSxoscOsconEocv/5 (1073741824 (estimated locally),4.67 per call) SetSxoscOsconEocv/5 (101869838 (estimated locally),0.44 per call) Calls: ClockStartTimeout/11 (ClockStartTimeout) @05f6c1c0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: SetFxoscOsconBypEocvGmSel/3 (114863532 (estimated locally),0.12 per call) SetFxoscOsconBypEocvGmSel/3 (43590104 (estimated locally),0.05 per call) SetSxoscOsconEocv/5 (114863532 (estimated locally),0.50 per call) SetSxoscOsconEocv/5 (10897526 (estimated locally),0.05 per call) Calls: McMeEnterKey/10 (McMeEnterKey) @05f6c0e0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: SetFxoscOsconBypEocvGmSel/3 (43590104 (estimated locally),0.05 per call) SetSxoscOsconEocv/5 (10897526 (estimated locally),0.05 per call) Calls: mcmeTriggerPartitions/9 (mcmeTriggerPartitions) @05f66f78 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: SetSxoscOsconEocv/5 (read)SetFxoscOsconBypEocvGmSel/3 (read) Availability: not_available Varpool flags: read-only mcmeSetPartitions/8 (mcmeSetPartitions) @05f66f30 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: SetSxoscOsconEocv/5 (read)SetFxoscOsconBypEocvGmSel/3 (read) Availability: not_available Varpool flags: read-only mcmeGetPartitions/7 (mcmeGetPartitions) @05f66ee8 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: SetSxoscOsconEocv/5 (read)ResetSxoscOsconEocv/4 (read)SetFxoscOsconBypEocvGmSel/3 (read)ResetFxoscOsconBypEocvGmSel/2 (read) Availability: not_available Varpool flags: read-only clockFeatures/6 (clockFeatures) @05f66ea0 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: ResetSxoscOsconEocv/4 (read)ResetSxoscOsconEocv/4 (read)ResetSxoscOsconEocv/4 (read)ResetSxoscOsconEocv/4 (read)SetFxoscOsconBypEocvGmSel/3 (read)SetFxoscOsconBypEocvGmSel/3 (read)SetFxoscOsconBypEocvGmSel/3 (read)SetFxoscOsconBypEocvGmSel/3 (read)SetSxoscOsconEocv/5 (read)SetSxoscOsconEocv/5 (read)SetSxoscOsconEocv/5 (read)SetSxoscOsconEocv/5 (read)ResetFxoscOsconBypEocvGmSel/2 (read)ResetFxoscOsconBypEocvGmSel/2 (read)ResetFxoscOsconBypEocvGmSel/2 (read)ResetFxoscOsconBypEocvGmSel/2 (read) Availability: not_available Varpool flags: read-only SetSxoscOsconEocv/5 (SetSxoscOsconEocv) @05f5eb60 Type: function definition analyzed Visibility: prevailing_def_ironly Address is taken. References: clockFeatures/6 (read)clockFeatures/6 (read)clockFeatures/6 (read)clockFeatures/6 (read)mcmeGetPartitions/7 (read)mcmeSetPartitions/8 (read)mcmeTriggerPartitions/9 (read)xosc/14 (read) Referring: extOscCallbacks/0 (addr) Availability: available Function flags: count:229727064 (estimated locally) body optimize_size Called by: Calls: ReportClockErrors/13 (57431766 (estimated locally),0.25 per call) UpdateClockState/16 (57431766 (estimated locally),0.25 per call) ClockTimeoutExpired/12 (1073741824 (estimated locally),4.67 per call) Clock_Ip_TimeDelay/15 (1073741824 (estimated locally),4.67 per call) ClockStartTimeout/11 (114863532 (estimated locally),0.50 per call) ReportClockErrors/13 (3596184 (estimated locally),0.02 per call) ClockTimeoutExpired/12 (101869838 (estimated locally),0.44 per call) ClockStartTimeout/11 (10897526 (estimated locally),0.05 per call) McMeEnterKey/10 (10897526 (estimated locally),0.05 per call) ResetSxoscOsconEocv/4 (ResetSxoscOsconEocv) @05f5e700 Type: function definition analyzed Visibility: prevailing_def_ironly Address is taken. References: clockFeatures/6 (read)clockFeatures/6 (read)clockFeatures/6 (read)clockFeatures/6 (read)mcmeGetPartitions/7 (read)xosc/14 (read) Referring: extOscCallbacks/0 (addr) Availability: available Function flags: count:1073741823 (estimated locally) body optimize_size Called by: Calls: UpdateClockState/16 (1073741824 (estimated locally),1.00 per call) SetFxoscOsconBypEocvGmSel/3 (SetFxoscOsconBypEocvGmSel) @05f5e460 Type: function definition analyzed Visibility: prevailing_def_ironly Address is taken. References: clockFeatures/6 (read)clockFeatures/6 (read)clockFeatures/6 (read)clockFeatures/6 (read)mcmeGetPartitions/7 (read)mcmeSetPartitions/8 (read)mcmeTriggerPartitions/9 (read)xosc/14 (read) Referring: extOscCallbacks/0 (addr) Availability: available Function flags: count:918908257 (estimated locally) body optimize_size Called by: Calls: ReportClockErrors/13 (114863532 (estimated locally),0.12 per call) ReportClockErrors/13 (57431766 (estimated locally),0.06 per call) UpdateClockState/16 (57431766 (estimated locally),0.06 per call) ClockTimeoutExpired/12 (1073741824 (estimated locally),1.17 per call) Clock_Ip_TimeDelay/15 (1073741824 (estimated locally),1.17 per call) ClockStartTimeout/11 (114863532 (estimated locally),0.12 per call) ReportClockErrors/13 (14384734 (estimated locally),0.02 per call) ClockTimeoutExpired/12 (407479353 (estimated locally),0.44 per call) ClockStartTimeout/11 (43590104 (estimated locally),0.05 per call) McMeEnterKey/10 (43590104 (estimated locally),0.05 per call) ResetFxoscOsconBypEocvGmSel/2 (ResetFxoscOsconBypEocvGmSel) @05fb2c40 Type: function definition analyzed Visibility: prevailing_def_ironly Address is taken. References: clockFeatures/6 (read)clockFeatures/6 (read)clockFeatures/6 (read)clockFeatures/6 (read)mcmeGetPartitions/7 (read)xosc/14 (read) Referring: extOscCallbacks/0 (addr) Availability: available Function flags: count:1073741823 (estimated locally) body optimize_size Called by: Calls: UpdateClockState/16 (1073741824 (estimated locally),1.00 per call) ExternalOscillatorEmpty/1 (ExternalOscillatorEmpty) @05fb2e00 Type: function definition analyzed Visibility: prevailing_def_ironly Address is taken. References: Referring: extOscCallbacks/0 (addr)extOscCallbacks/0 (addr) Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: extOscCallbacks/0 (extOscCallbacks) @05facaf8 Type: variable definition analyzed Visibility: externally_visible public References: ExternalOscillatorEmpty/1 (addr)ExternalOscillatorEmpty/1 (addr)ResetFxoscOsconBypEocvGmSel/2 (addr)SetFxoscOsconBypEocvGmSel/3 (addr)ResetSxoscOsconEocv/4 (addr)SetSxoscOsconEocv/5 (addr) Referring: Availability: available Varpool flags: initialized read-only const-value-known SetSxoscOsconEocv (const struct Clock_Ip_XoscConfigType * config) { uint32 enableRequest; uint32 collection; uint32 partition; uint32 TimeoutTicks; uint32 ElapsedTime; uint32 StartTime; boolean TimeoutOccurred; uint32 instance; _1; int _2; unsigned char _3; unsigned char _6; unsigned char _7; unsigned char _8; short unsigned int _9; const volatile struct getMcmePartition_Type * _10; long unsigned int _11; long unsigned int _12; long unsigned int _13; volatile struct setMcmePartition_Type * _14; long unsigned int _15; long unsigned int _16; long unsigned int _17; volatile struct triggerMcmePartition_Type * _18; long unsigned int _19; long unsigned int _20; long unsigned int _21; long unsigned int _22; long unsigned int TimeoutTicks.0_23; long unsigned int _24; long unsigned int _25; long unsigned int _26; _27; short unsigned int _28; long unsigned int _29; long unsigned int _30; long unsigned int _31; volatile struct ExtOSC_Type * _32; long unsigned int _33; long unsigned int _34; long unsigned int _35; long unsigned int TimeoutTicks.1_36; _37; _38; [local count: 229727064]: # DEBUG BEGIN_STMT _1 = config_44(D)->name; _2 = (int) _1; _3 = clockFeatures[_2][0]; instance_45 = (uint32) _3; # DEBUG instance => instance_45 # DEBUG BEGIN_STMT # DEBUG TimeoutOccurred => 0 # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT _6 = clockFeatures[_2][3]; partition_46 = (uint32) _6; # DEBUG partition => partition_46 # DEBUG BEGIN_STMT _7 = clockFeatures[_2][4]; collection_47 = (uint32) _7; # DEBUG collection => collection_47 # DEBUG BEGIN_STMT _8 = clockFeatures[_2][5]; enableRequest_48 = (uint32) _8; # DEBUG enableRequest => enableRequest_48 # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT _9 = config_44(D)->enable; if (_9 != 0) goto ; [50.00%] else goto ; [50.00%] [local count: 114863532]: # DEBUG BEGIN_STMT if (partition_46 != 255) goto ; [66.00%] else goto ; [34.00%] [local count: 75809931]: if (collection_47 != 255) goto ; [66.00%] else goto ; [34.00%] [local count: 50034555]: if (enableRequest_48 != 255) goto ; [66.00%] else goto ; [34.00%] [local count: 33022806]: # DEBUG BEGIN_STMT _10 = mcmeGetPartitions[partition_46]; _11 ={v} _10->PRTN_COFB_STAT[collection_47]; _12 = _11 >> enableRequest_48; _13 = _12 & 1; if (_13 == 0) goto ; [33.00%] else goto ; [67.00%] [local count: 10897526]: # DEBUG BEGIN_STMT _14 = mcmeSetPartitions[partition_46]; _15 ={v} _14->PRTN_COFB_CLKEN[collection_47]; _16 = 1 << enableRequest_48; _17 = _15 | _16; _14->PRTN_COFB_CLKEN[collection_47] ={v} _17; # DEBUG BEGIN_STMT _18 = mcmeTriggerPartitions[partition_46]; _19 ={v} _18->PRTN_PCONF; _20 = _19 | 1; _18->PRTN_PCONF ={v} _20; # DEBUG BEGIN_STMT _21 ={v} _18->PRTN_PUPD; _22 = _21 | 1; _18->PRTN_PUPD ={v} _22; # DEBUG BEGIN_STMT McMeEnterKey (); # DEBUG BEGIN_STMT ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000); [local count: 101869838]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT TimeoutTicks.0_23 = TimeoutTicks; TimeoutOccurred_55 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.0_23); # DEBUG TimeoutOccurred => TimeoutOccurred_55 # DEBUG BEGIN_STMT _24 ={v} _10->PRTN_COFB_STAT[collection_47]; _25 = _24 >> enableRequest_48; _26 = _25 & 1; if (_26 == 0) goto ; [94.50%] else goto ; [5.50%] [local count: 96266997]: if (TimeoutOccurred_55 != 0) goto ; [5.50%] else goto ; [94.50%] [local count: 90972312]: goto ; [100.00%] [local count: 10897526]: # TimeoutOccurred_4 = PHI # DEBUG BEGIN_STMT if (TimeoutOccurred_4 != 0) goto ; [33.00%] else goto ; [67.00%] [local count: 3596184]: # DEBUG BEGIN_STMT _27 = config_44(D)->name; ReportClockErrors (1, _27); [local count: 114863532]: # DEBUG BEGIN_STMT _28 = config_44(D)->startupDelay; _29 = (long unsigned int) _28; _30 = _29 << 16; _31 = _30 & 16711680; _32 = xosc[instance_45]; _33 = _31 | 1; _32->CTRL ={v} _33; # DEBUG BEGIN_STMT ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000); [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT Clock_Ip_TimeDelay (); # DEBUG BEGIN_STMT _34 ={v} _32->STAT; _35 = _34 >> 31; # DEBUG SxoscStatus => _35 # DEBUG BEGIN_STMT TimeoutTicks.1_36 = TimeoutTicks; TimeoutOccurred_61 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.1_36); # DEBUG TimeoutOccurred => TimeoutOccurred_61 # DEBUG BEGIN_STMT if (_35 == 0) goto ; [94.50%] else goto ; [5.50%] [local count: 1014686025]: if (TimeoutOccurred_61 != 0) goto ; [5.50%] else goto ; [94.50%] [local count: 958878293]: goto ; [100.00%] [local count: 114863532]: # TimeoutOccurred_5 = PHI # DEBUG BEGIN_STMT if (TimeoutOccurred_5 != 0) goto ; [50.00%] else goto ; [50.00%] [local count: 57431766]: # DEBUG BEGIN_STMT _37 = config_44(D)->name; UpdateClockState (_37, 255); goto ; [100.00%] [local count: 57431766]: # DEBUG BEGIN_STMT _38 = config_44(D)->name; ReportClockErrors (1, _38); [local count: 229727064]: StartTime ={v} {CLOBBER}; ElapsedTime ={v} {CLOBBER}; TimeoutTicks ={v} {CLOBBER}; return; } ResetSxoscOsconEocv (const struct Clock_Ip_XoscConfigType * config) { uint32 enableRequest; uint32 collection; uint32 partition; uint32 instance; _1; int _2; unsigned char _3; unsigned char _4; unsigned char _5; unsigned char _6; const volatile struct getMcmePartition_Type * _7; long unsigned int _8; long unsigned int _9; long unsigned int _10; volatile struct ExtOSC_Type * _11; long unsigned int _12; long unsigned int _13; [local count: 1073741823]: # DEBUG BEGIN_STMT _1 = config_16(D)->name; _2 = (int) _1; _3 = clockFeatures[_2][0]; instance_17 = (uint32) _3; # DEBUG instance => instance_17 # DEBUG BEGIN_STMT _4 = clockFeatures[_2][3]; partition_18 = (uint32) _4; # DEBUG partition => partition_18 # DEBUG BEGIN_STMT _5 = clockFeatures[_2][4]; collection_19 = (uint32) _5; # DEBUG collection => collection_19 # DEBUG BEGIN_STMT _6 = clockFeatures[_2][5]; enableRequest_20 = (uint32) _6; # DEBUG enableRequest => enableRequest_20 # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT if (partition_18 != 255) goto ; [66.00%] else goto ; [34.00%] [local count: 708669604]: if (collection_19 != 255) goto ; [66.00%] else goto ; [34.00%] [local count: 467721938]: if (enableRequest_20 != 255) goto ; [66.00%] else goto ; [34.00%] [local count: 308696479]: # DEBUG BEGIN_STMT _7 = mcmeGetPartitions[partition_18]; _8 ={v} _7->PRTN_COFB_STAT[collection_19]; _9 = _8 >> enableRequest_20; _10 = _9 & 1; if (_10 != 0) goto ; [50.00%] else goto ; [50.00%] [local count: 154348240]: # DEBUG BEGIN_STMT _11 = xosc[instance_17]; _12 ={v} _11->CTRL; _13 = _12 & 4294967294; _11->CTRL ={v} _13; [local count: 1073741824]: # DEBUG BEGIN_STMT UpdateClockState (_1, 0); return; } SetFxoscOsconBypEocvGmSel (const struct Clock_Ip_XoscConfigType * config) { uint32 enableRequest; uint32 collection; uint32 partition; uint32 instance; uint32 TimeoutTicks; uint32 ElapsedTime; uint32 StartTime; boolean TimeoutOccurred; _1; int _2; unsigned char _3; unsigned char _6; unsigned char _7; unsigned char _8; short unsigned int _9; const volatile struct getMcmePartition_Type * _10; long unsigned int _11; long unsigned int _12; long unsigned int _13; volatile struct setMcmePartition_Type * _14; long unsigned int _15; long unsigned int _16; long unsigned int _17; volatile struct triggerMcmePartition_Type * _18; long unsigned int _19; long unsigned int _20; long unsigned int _21; long unsigned int _22; long unsigned int TimeoutTicks.2_23; long unsigned int _24; long unsigned int _25; long unsigned int _26; _27; unsigned char _28; long unsigned int _29; long unsigned int _30; short unsigned int _31; long unsigned int _32; long unsigned int _33; long unsigned int _34; long unsigned int _35; unsigned char _36; long unsigned int _37; long unsigned int _38; long unsigned int _39; long unsigned int _40; unsigned char _41; long unsigned int _42; long unsigned int _43; long unsigned int _44; long unsigned int _45; volatile struct ExtOSC_Type * _46; long unsigned int _47; long unsigned int _48; long unsigned int _49; long unsigned int TimeoutTicks.3_50; _51; _52; _53; [local count: 918908257]: # DEBUG BEGIN_STMT # DEBUG TimeoutOccurred => 0 # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT _1 = config_59(D)->name; _2 = (int) _1; _3 = clockFeatures[_2][0]; instance_60 = (uint32) _3; # DEBUG instance => instance_60 # DEBUG BEGIN_STMT _6 = clockFeatures[_2][3]; partition_61 = (uint32) _6; # DEBUG partition => partition_61 # DEBUG BEGIN_STMT _7 = clockFeatures[_2][4]; collection_62 = (uint32) _7; # DEBUG collection => collection_62 # DEBUG BEGIN_STMT _8 = clockFeatures[_2][5]; enableRequest_63 = (uint32) _8; # DEBUG enableRequest => enableRequest_63 # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT _9 = config_59(D)->enable; if (_9 != 0) goto ; [50.00%] else goto ; [50.00%] [local count: 459454128]: # DEBUG BEGIN_STMT if (partition_61 != 255) goto ; [66.00%] else goto ; [34.00%] [local count: 303239725]: if (collection_62 != 255) goto ; [66.00%] else goto ; [34.00%] [local count: 200138218]: if (enableRequest_63 != 255) goto ; [66.00%] else goto ; [34.00%] [local count: 132091224]: # DEBUG BEGIN_STMT _10 = mcmeGetPartitions[partition_61]; _11 ={v} _10->PRTN_COFB_STAT[collection_62]; _12 = _11 >> enableRequest_63; _13 = _12 & 1; if (_13 == 0) goto ; [33.00%] else goto ; [67.00%] [local count: 43590104]: # DEBUG BEGIN_STMT _14 = mcmeSetPartitions[partition_61]; _15 ={v} _14->PRTN_COFB_CLKEN[collection_62]; _16 = 1 << enableRequest_63; _17 = _15 | _16; _14->PRTN_COFB_CLKEN[collection_62] ={v} _17; # DEBUG BEGIN_STMT _18 = mcmeTriggerPartitions[partition_61]; _19 ={v} _18->PRTN_PCONF; _20 = _19 | 1; _18->PRTN_PCONF ={v} _20; # DEBUG BEGIN_STMT _21 ={v} _18->PRTN_PUPD; _22 = _21 | 1; _18->PRTN_PUPD ={v} _22; # DEBUG BEGIN_STMT McMeEnterKey (); # DEBUG BEGIN_STMT ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000); [local count: 407479353]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT TimeoutTicks.2_23 = TimeoutTicks; TimeoutOccurred_70 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.2_23); # DEBUG TimeoutOccurred => TimeoutOccurred_70 # DEBUG BEGIN_STMT _24 ={v} _10->PRTN_COFB_STAT[collection_62]; _25 = _24 >> enableRequest_63; _26 = _25 & 1; if (_26 == 0) goto ; [94.50%] else goto ; [5.50%] [local count: 385067989]: if (TimeoutOccurred_70 != 0) goto ; [5.50%] else goto ; [94.50%] [local count: 363889250]: goto ; [100.00%] [local count: 43590104]: # TimeoutOccurred_4 = PHI # DEBUG BEGIN_STMT if (TimeoutOccurred_4 != 0) goto ; [33.00%] else goto ; [67.00%] [local count: 14384734]: # DEBUG BEGIN_STMT _27 = config_59(D)->name; ReportClockErrors (1, _27); [local count: 459454128]: # DEBUG BEGIN_STMT _28 = config_59(D)->bypassOption; _29 = (long unsigned int) _28; _30 = _29 << 31; _31 = config_59(D)->startupDelay; _32 = (long unsigned int) _31; _33 = _32 << 16; _34 = _33 & 16711680; _35 = _30 | _34; _36 = config_59(D)->transConductance; _37 = (long unsigned int) _36; _38 = _37 << 4; _39 = _38 & 255; _40 = _35 | _39; _41 = config_59(D)->compEn; _42 = (long unsigned int) _41; _43 = _42 << 24; _44 = _43 & 16777216; _45 = _40 | _44; _46 = xosc[instance_60]; _47 = _45 | 1; _46->CTRL ={v} _47; # DEBUG BEGIN_STMT if (_41 != 0) goto ; [50.00%] else goto ; [50.00%] [local count: 229727064]: # DEBUG BEGIN_STMT if (_28 == 0) goto ; [50.00%] else goto ; [50.00%] [local count: 114863532]: # DEBUG BEGIN_STMT ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000); [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT Clock_Ip_TimeDelay (); # DEBUG BEGIN_STMT _48 ={v} _46->STAT; _49 = _48 >> 31; # DEBUG FxoscStatus => _49 # DEBUG BEGIN_STMT TimeoutTicks.3_50 = TimeoutTicks; TimeoutOccurred_77 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.3_50); # DEBUG TimeoutOccurred => TimeoutOccurred_77 # DEBUG BEGIN_STMT if (_49 == 0) goto ; [94.50%] else goto ; [5.50%] [local count: 1014686025]: if (TimeoutOccurred_77 != 0) goto ; [5.50%] else goto ; [94.50%] [local count: 958878293]: goto ; [100.00%] [local count: 114863532]: # TimeoutOccurred_5 = PHI # DEBUG BEGIN_STMT if (TimeoutOccurred_5 != 0) goto ; [50.00%] else goto ; [50.00%] [local count: 57431766]: # DEBUG BEGIN_STMT _51 = config_59(D)->name; UpdateClockState (_51, 255); goto ; [100.00%] [local count: 57431766]: # DEBUG BEGIN_STMT _52 = config_59(D)->name; ReportClockErrors (1, _52); goto ; [100.00%] [local count: 114863532]: # DEBUG BEGIN_STMT _53 = config_59(D)->name; ReportClockErrors (2, _53); [local count: 918908257]: StartTime ={v} {CLOBBER}; ElapsedTime ={v} {CLOBBER}; TimeoutTicks ={v} {CLOBBER}; return; } ResetFxoscOsconBypEocvGmSel (const struct Clock_Ip_XoscConfigType * config) { uint32 enableRequest; uint32 collection; uint32 partition; uint32 instance; _1; int _2; unsigned char _3; unsigned char _4; unsigned char _5; unsigned char _6; const volatile struct getMcmePartition_Type * _7; long unsigned int _8; long unsigned int _9; long unsigned int _10; volatile struct ExtOSC_Type * _11; long unsigned int _12; long unsigned int _13; [local count: 1073741823]: # DEBUG BEGIN_STMT _1 = config_16(D)->name; _2 = (int) _1; _3 = clockFeatures[_2][0]; instance_17 = (uint32) _3; # DEBUG instance => instance_17 # DEBUG BEGIN_STMT _4 = clockFeatures[_2][3]; partition_18 = (uint32) _4; # DEBUG partition => partition_18 # DEBUG BEGIN_STMT _5 = clockFeatures[_2][4]; collection_19 = (uint32) _5; # DEBUG collection => collection_19 # DEBUG BEGIN_STMT _6 = clockFeatures[_2][5]; enableRequest_20 = (uint32) _6; # DEBUG enableRequest => enableRequest_20 # DEBUG BEGIN_STMT # DEBUG isGatedInMcMe => 1 # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT if (partition_18 != 255) goto ; [66.00%] else goto ; [34.00%] [local count: 708669604]: if (collection_19 != 255) goto ; [66.00%] else goto ; [34.00%] [local count: 467721938]: if (enableRequest_20 != 255) goto ; [66.00%] else goto ; [34.00%] [local count: 308696479]: # DEBUG BEGIN_STMT _7 = mcmeGetPartitions[partition_18]; _8 ={v} _7->PRTN_COFB_STAT[collection_19]; _9 = _8 >> enableRequest_20; _10 = _9 & 1; if (_10 != 0) goto ; [50.00%] else goto ; [50.00%] [local count: 919393583]: # DEBUG isGatedInMcMe => NULL # DEBUG BEGIN_STMT _11 = xosc[instance_17]; _12 ={v} _11->CTRL; _13 = _12 & 4294967294; _11->CTRL ={v} _13; [local count: 1073741824]: # DEBUG isGatedInMcMe => NULL # DEBUG BEGIN_STMT UpdateClockState (_1, 0); return; } ExternalOscillatorEmpty (const struct Clock_Ip_XoscConfigType * config) { [local count: 1073741824]: # DEBUG BEGIN_STMT return; }