mirror of
https://github.com/Dev-KATECH/ADM.git
synced 2026-05-17 01:43:59 +09:00
1343 lines
39 KiB
Plaintext
1343 lines
39 KiB
Plaintext
|
|
Analyzing function: Mcu_CMU_ClockFailInt/10
|
|
;; 2 loops found
|
|
;;
|
|
;; Loop 0
|
|
;; header 0, latch 1
|
|
;; depth 0, outer -1
|
|
;; nodes: 0 1 2 3 4 5 6 7 8
|
|
;;
|
|
;; Loop 1
|
|
;; header 7, latch 6
|
|
;; depth 1, outer 0
|
|
;; nodes: 7 6 3 4 5
|
|
;; 2 succs { 7 }
|
|
;; 3 succs { 4 6 }
|
|
;; 4 succs { 5 6 }
|
|
;; 5 succs { 6 }
|
|
;; 6 succs { 7 }
|
|
;; 7 succs { 3 8 }
|
|
;; 8 succs { 1 }
|
|
|
|
Analyzing function body size: Mcu_CMU_ClockFailInt
|
|
|
|
IPA function summary for Mcu_CMU_ClockFailInt/10 inlinable
|
|
global time: 74.288000
|
|
self size: 22
|
|
global size: 0
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:16.000000, time:61.200000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
ReportClockErrors/15 function body not available
|
|
loop depth: 1 freq:0.92 size: 3 time: 12
|
|
op0 is compile time invariant
|
|
|
|
|
|
Analyzing function: GetStatusCmuFcFceRefCntLfrefHfref/9
|
|
;; 2 loops found
|
|
;;
|
|
;; Loop 0
|
|
;; header 0, latch 1
|
|
;; depth 0, outer -1
|
|
;; nodes: 0 1 2 3 4 5 13 6 7 8 9 10 11 12
|
|
;;
|
|
;; Loop 1
|
|
;; header 4, latch 13
|
|
;; depth 1, outer 0
|
|
;; nodes: 4 13 5
|
|
;; 2 succs { 3 8 }
|
|
;; 3 succs { 4 }
|
|
;; 4 succs { 5 6 }
|
|
;; 5 succs { 13 6 }
|
|
;; 13 succs { 4 }
|
|
;; 6 succs { 7 8 }
|
|
;; 7 succs { 8 }
|
|
;; 8 succs { 9 12 }
|
|
;; 9 succs { 12 10 }
|
|
;; 10 succs { 12 11 }
|
|
;; 11 succs { 12 }
|
|
;; 12 succs { 1 }
|
|
|
|
Analyzing function body size: GetStatusCmuFcFceRefCntLfrefHfref
|
|
|
|
IPA function summary for GetStatusCmuFcFceRefCntLfrefHfref/9 inlinable
|
|
global time: 96.223959
|
|
self size: 55
|
|
global size: 0
|
|
min size: 0
|
|
self stack: 12
|
|
global stack: 12
|
|
size:38.000000, time:41.809499
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
array index:(op0 changed)
|
|
calls:
|
|
ReportClockErrors/15 function body not available
|
|
loop depth: 0 freq:0.11 size: 3 time: 12
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
ClockTimeoutExpired/14 function body not available
|
|
loop depth: 1 freq:3.08 size: 5 time: 14
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
ClockStartTimeout/13 function body not available
|
|
loop depth: 0 freq:0.33 size: 5 time: 14
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
op3 is compile time invariant
|
|
McMeEnterKey/12 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
|
|
|
|
Analyzing function: ClearStatusCmuFcFceRefCntLfrefHfref/8
|
|
;; 2 loops found
|
|
;;
|
|
;; Loop 0
|
|
;; header 0, latch 1
|
|
;; depth 0, outer -1
|
|
;; nodes: 0 1 2 3 4 5 9 6 7 8
|
|
;;
|
|
;; Loop 1
|
|
;; header 4, latch 9
|
|
;; depth 1, outer 0
|
|
;; nodes: 4 9 5
|
|
;; 2 succs { 3 8 }
|
|
;; 3 succs { 4 }
|
|
;; 4 succs { 5 6 }
|
|
;; 5 succs { 9 6 }
|
|
;; 9 succs { 4 }
|
|
;; 6 succs { 7 8 }
|
|
;; 7 succs { 8 }
|
|
;; 8 succs { 1 }
|
|
|
|
Analyzing function body size: ClearStatusCmuFcFceRefCntLfrefHfref
|
|
|
|
IPA function summary for ClearStatusCmuFcFceRefCntLfrefHfref/8 inlinable
|
|
global time: 88.298959
|
|
self size: 44
|
|
global size: 0
|
|
min size: 0
|
|
self stack: 12
|
|
global stack: 12
|
|
size:27.000000, time:33.884499
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
array index:(op0 changed)
|
|
calls:
|
|
ReportClockErrors/15 function body not available
|
|
loop depth: 0 freq:0.11 size: 3 time: 12
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
ClockTimeoutExpired/14 function body not available
|
|
loop depth: 1 freq:3.08 size: 5 time: 14
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
ClockStartTimeout/13 function body not available
|
|
loop depth: 0 freq:0.33 size: 5 time: 14
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
op3 is compile time invariant
|
|
McMeEnterKey/12 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
|
|
|
|
Analyzing function: SetCmuFcFceRefCntLfrefHfref/7
|
|
;; 2 loops found
|
|
;;
|
|
;; Loop 0
|
|
;; header 0, latch 1
|
|
;; depth 0, outer -1
|
|
;; nodes: 0 1 2 3 4 5 12 6 7 8 9 10 11
|
|
;;
|
|
;; Loop 1
|
|
;; header 4, latch 12
|
|
;; depth 1, outer 0
|
|
;; nodes: 4 12 5
|
|
;; 2 succs { 3 8 }
|
|
;; 3 succs { 4 }
|
|
;; 4 succs { 5 6 }
|
|
;; 5 succs { 12 6 }
|
|
;; 12 succs { 4 }
|
|
;; 6 succs { 7 8 }
|
|
;; 7 succs { 8 }
|
|
;; 8 succs { 9 10 }
|
|
;; 9 succs { 11 }
|
|
;; 10 succs { 11 }
|
|
;; 11 succs { 1 }
|
|
|
|
Analyzing function body size: SetCmuFcFceRefCntLfrefHfref
|
|
|
|
IPA function summary for SetCmuFcFceRefCntLfrefHfref/7 inlinable
|
|
global time: 101.298959
|
|
self size: 60
|
|
global size: 0
|
|
min size: 0
|
|
self stack: 12
|
|
global stack: 12
|
|
size:41.000000, time:44.884499
|
|
size:4.000000, time:3.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:
|
|
ReportClockErrors/15 function body not available
|
|
loop depth: 0 freq:0.11 size: 3 time: 12
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
ClockTimeoutExpired/14 function body not available
|
|
loop depth: 1 freq:3.08 size: 5 time: 14
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
ClockStartTimeout/13 function body not available
|
|
loop depth: 0 freq:0.33 size: 5 time: 14
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
op3 is compile time invariant
|
|
McMeEnterKey/12 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
|
|
|
|
Analyzing function: ResetCmuFcFceRefCntLfrefHfref/6
|
|
;; 1 loops found
|
|
;;
|
|
;; Loop 0
|
|
;; header 0, latch 1
|
|
;; depth 0, outer -1
|
|
;; nodes: 0 1 2
|
|
;; 2 succs { 1 }
|
|
|
|
Analyzing function body size: ResetCmuFcFceRefCntLfrefHfref
|
|
|
|
IPA function summary for ResetCmuFcFceRefCntLfrefHfref/6 inlinable
|
|
global time: 14.000000
|
|
self size: 6
|
|
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)
|
|
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 0] changed) && (not inlined)
|
|
size:0.500000, time:0.500000, nonconst if:(op0[ref offset: 0] changed)
|
|
calls:
|
|
DisableCmuFcFceRefCntLfrefHfref/5 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 2 time: 11
|
|
|
|
|
|
Analyzing function: DisableCmuFcFceRefCntLfrefHfref/5
|
|
;; 3 loops found
|
|
;;
|
|
;; Loop 0
|
|
;; header 0, latch 1
|
|
;; depth 0, outer -1
|
|
;; nodes: 0 1 2 3 4 5 17 6 7 8 9 10 11 16 12 13 14 15
|
|
;;
|
|
;; Loop 2
|
|
;; header 10, latch 16
|
|
;; depth 1, outer 0
|
|
;; nodes: 10 16 11
|
|
;;
|
|
;; Loop 1
|
|
;; header 4, latch 17
|
|
;; depth 1, outer 0
|
|
;; nodes: 4 17 5
|
|
;; 2 succs { 3 8 }
|
|
;; 3 succs { 4 }
|
|
;; 4 succs { 5 6 }
|
|
;; 5 succs { 17 6 }
|
|
;; 17 succs { 4 }
|
|
;; 6 succs { 7 8 }
|
|
;; 7 succs { 8 }
|
|
;; 8 succs { 9 15 }
|
|
;; 9 succs { 10 }
|
|
;; 10 succs { 11 12 }
|
|
;; 11 succs { 16 12 }
|
|
;; 16 succs { 10 }
|
|
;; 12 succs { 13 14 }
|
|
;; 13 succs { 15 }
|
|
;; 14 succs { 15 }
|
|
;; 15 succs { 1 }
|
|
|
|
Analyzing function body size: DisableCmuFcFceRefCntLfrefHfref
|
|
|
|
IPA function summary for DisableCmuFcFceRefCntLfrefHfref/5 inlinable
|
|
global time: 189.991219
|
|
self size: 81
|
|
global size: 0
|
|
min size: 0
|
|
self stack: 12
|
|
global stack: 12
|
|
size:49.000000, time:66.462297
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
array index:(op0 changed)
|
|
calls:
|
|
SchM_Exit_Mcu_MCU_EXCLUSIVE_AREA_01/18 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
ReportClockErrors/15 function body not available
|
|
loop depth: 0 freq:0.11 size: 3 time: 12
|
|
op0 is compile time invariant
|
|
ClockTimeoutExpired/14 function body not available
|
|
loop depth: 1 freq:3.08 size: 5 time: 14
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
ClockStartTimeout/13 function body not available
|
|
loop depth: 0 freq:0.33 size: 5 time: 14
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
op3 is compile time invariant
|
|
SchM_Enter_Mcu_MCU_EXCLUSIVE_AREA_01/17 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
ReportClockErrors/15 function body not available
|
|
loop depth: 0 freq:0.11 size: 3 time: 12
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
ClockTimeoutExpired/14 function body not available
|
|
loop depth: 1 freq:3.08 size: 5 time: 14
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
ClockStartTimeout/13 function body not available
|
|
loop depth: 0 freq:0.33 size: 5 time: 14
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
op3 is compile time invariant
|
|
McMeEnterKey/12 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
|
|
|
|
Analyzing function: ClockMonitorEmpty_GetStatus/4
|
|
;; 1 loops found
|
|
;;
|
|
;; Loop 0
|
|
;; header 0, latch 1
|
|
;; depth 0, outer -1
|
|
;; nodes: 0 1 2
|
|
;; 2 succs { 1 }
|
|
|
|
Analyzing function body size: ClockMonitorEmpty_GetStatus
|
|
|
|
IPA function summary for ClockMonitorEmpty_GetStatus/4 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:
|
|
|
|
|
|
Analyzing function: ClockMonitorEmpty_ClearStatus/3
|
|
;; 1 loops found
|
|
;;
|
|
;; Loop 0
|
|
;; header 0, latch 1
|
|
;; depth 0, outer -1
|
|
;; nodes: 0 1 2
|
|
;; 2 succs { 1 }
|
|
|
|
Analyzing function body size: ClockMonitorEmpty_ClearStatus
|
|
|
|
IPA function summary for ClockMonitorEmpty_ClearStatus/3 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:
|
|
|
|
|
|
Analyzing function: ClockMonitorEmpty_Disable/2
|
|
;; 1 loops found
|
|
;;
|
|
;; Loop 0
|
|
;; header 0, latch 1
|
|
;; depth 0, outer -1
|
|
;; nodes: 0 1 2
|
|
;; 2 succs { 1 }
|
|
|
|
Analyzing function body size: ClockMonitorEmpty_Disable
|
|
|
|
IPA function summary for ClockMonitorEmpty_Disable/2 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:
|
|
|
|
|
|
Analyzing function: ClockMonitorEmpty/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: ClockMonitorEmpty
|
|
|
|
IPA function summary for ClockMonitorEmpty/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:
|
|
|
|
clockConfig/20 (clockConfig) @060c1ea0
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Mcu_CMU_ClockFailInt/10 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
cmuEntries/19 (cmuEntries) @060c16c0
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: SetCmuFcFceRefCntLfrefHfref/7 (read)SetCmuFcFceRefCntLfrefHfref/7 (read)SetCmuFcFceRefCntLfrefHfref/7 (read)Mcu_CMU_ClockFailInt/10 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
SchM_Exit_Mcu_MCU_EXCLUSIVE_AREA_01/18 (SchM_Exit_Mcu_MCU_EXCLUSIVE_AREA_01) @060a9460
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: DisableCmuFcFceRefCntLfrefHfref/5 (348071309 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Enter_Mcu_MCU_EXCLUSIVE_AREA_01/17 (SchM_Enter_Mcu_MCU_EXCLUSIVE_AREA_01) @060a92a0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: DisableCmuFcFceRefCntLfrefHfref/5 (348071309 (estimated locally),1.00 per call)
|
|
Calls:
|
|
cmu/16 (cmu) @060a8480
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: GetStatusCmuFcFceRefCntLfrefHfref/9 (read)ClearStatusCmuFcFceRefCntLfrefHfref/8 (read)SetCmuFcFceRefCntLfrefHfref/7 (read)DisableCmuFcFceRefCntLfrefHfref/5 (read)Mcu_CMU_ClockFailInt/10 (read)
|
|
Availability: not_available
|
|
Varpool flags: read-only
|
|
ReportClockErrors/15 (ReportClockErrors) @060a9000
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Mcu_CMU_ClockFailInt/10 (198427489 (estimated locally),0.92 per call) DisableCmuFcFceRefCntLfrefHfref/5 (37904965 (estimated locally),0.11 per call) DisableCmuFcFceRefCntLfrefHfref/5 (37904965 (estimated locally),0.11 per call) SetCmuFcFceRefCntLfrefHfref/7 (37904965 (estimated locally),0.11 per call) ClearStatusCmuFcFceRefCntLfrefHfref/8 (37904965 (estimated locally),0.11 per call) GetStatusCmuFcFceRefCntLfrefHfref/9 (37904965 (estimated locally),0.11 per call)
|
|
Calls:
|
|
ClockTimeoutExpired/14 (ClockTimeoutExpired) @05f91d20
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: DisableCmuFcFceRefCntLfrefHfref/5 (1073741824 (estimated locally),3.08 per call) DisableCmuFcFceRefCntLfrefHfref/5 (1073741824 (estimated locally),3.08 per call) SetCmuFcFceRefCntLfrefHfref/7 (1073741824 (estimated locally),3.08 per call) ClearStatusCmuFcFceRefCntLfrefHfref/8 (1073741824 (estimated locally),3.08 per call) GetStatusCmuFcFceRefCntLfrefHfref/9 (1073741824 (estimated locally),3.08 per call)
|
|
Calls:
|
|
ClockStartTimeout/13 (ClockStartTimeout) @05f91a80
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: DisableCmuFcFceRefCntLfrefHfref/5 (114863532 (estimated locally),0.33 per call) DisableCmuFcFceRefCntLfrefHfref/5 (114863532 (estimated locally),0.33 per call) SetCmuFcFceRefCntLfrefHfref/7 (114863532 (estimated locally),0.33 per call) ClearStatusCmuFcFceRefCntLfrefHfref/8 (114863532 (estimated locally),0.33 per call) GetStatusCmuFcFceRefCntLfrefHfref/9 (114863532 (estimated locally),0.33 per call)
|
|
Calls:
|
|
McMeEnterKey/12 (McMeEnterKey) @05f91700
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: DisableCmuFcFceRefCntLfrefHfref/5 (114863532 (estimated locally),0.33 per call) SetCmuFcFceRefCntLfrefHfref/7 (114863532 (estimated locally),0.33 per call) ClearStatusCmuFcFceRefCntLfrefHfref/8 (114863532 (estimated locally),0.33 per call) GetStatusCmuFcFceRefCntLfrefHfref/9 (114863532 (estimated locally),0.33 per call)
|
|
Calls:
|
|
clockFeatures/11 (clockFeatures) @060a8318
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: SetCmuFcFceRefCntLfrefHfref/7 (read)DisableCmuFcFceRefCntLfrefHfref/5 (read)ClearStatusCmuFcFceRefCntLfrefHfref/8 (read)GetStatusCmuFcFceRefCntLfrefHfref/9 (read)SetCmuFcFceRefCntLfrefHfref/7 (read)Mcu_CMU_ClockFailInt/10 (read)
|
|
Availability: not_available
|
|
Varpool flags: read-only
|
|
Mcu_CMU_ClockFailInt/10 (Mcu_CMU_ClockFailInt) @05f91c40
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: cmuEntries/19 (read)clockFeatures/11 (read)cmu/16 (read)clockConfig/20 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:214748364 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: ReportClockErrors/15 (198427489 (estimated locally),0.92 per call)
|
|
GetStatusCmuFcFceRefCntLfrefHfref/9 (GetStatusCmuFcFceRefCntLfrefHfref) @05f919a0
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
Address is taken.
|
|
References: clockFeatures/11 (read)cmu/16 (read)
|
|
Referring: cmuCallbacks/0 (addr)
|
|
Availability: available
|
|
Function flags: count:348071309 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: ReportClockErrors/15 (37904965 (estimated locally),0.11 per call) ClockTimeoutExpired/14 (1073741824 (estimated locally),3.08 per call) ClockStartTimeout/13 (114863532 (estimated locally),0.33 per call) McMeEnterKey/12 (114863532 (estimated locally),0.33 per call)
|
|
ClearStatusCmuFcFceRefCntLfrefHfref/8 (ClearStatusCmuFcFceRefCntLfrefHfref) @05f91620
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
Address is taken.
|
|
References: clockFeatures/11 (read)cmu/16 (read)
|
|
Referring: cmuCallbacks/0 (addr)
|
|
Availability: available
|
|
Function flags: count:348071309 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: ReportClockErrors/15 (37904965 (estimated locally),0.11 per call) ClockTimeoutExpired/14 (1073741824 (estimated locally),3.08 per call) ClockStartTimeout/13 (114863532 (estimated locally),0.33 per call) McMeEnterKey/12 (114863532 (estimated locally),0.33 per call)
|
|
SetCmuFcFceRefCntLfrefHfref/7 (SetCmuFcFceRefCntLfrefHfref) @05f912a0
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
Address is taken.
|
|
References: clockFeatures/11 (read)clockFeatures/11 (read)cmu/16 (read)cmuEntries/19 (read)cmuEntries/19 (read)cmuEntries/19 (read)
|
|
Referring: cmuCallbacks/0 (addr)
|
|
Availability: available
|
|
Function flags: count:348071309 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: ReportClockErrors/15 (37904965 (estimated locally),0.11 per call) ClockTimeoutExpired/14 (1073741824 (estimated locally),3.08 per call) ClockStartTimeout/13 (114863532 (estimated locally),0.33 per call) McMeEnterKey/12 (114863532 (estimated locally),0.33 per call)
|
|
ResetCmuFcFceRefCntLfrefHfref/6 (ResetCmuFcFceRefCntLfrefHfref) @05f8cee0
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
Address is taken.
|
|
References:
|
|
Referring: cmuCallbacks/0 (addr)
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: DisableCmuFcFceRefCntLfrefHfref/5 (1073741824 (estimated locally),1.00 per call)
|
|
DisableCmuFcFceRefCntLfrefHfref/5 (DisableCmuFcFceRefCntLfrefHfref) @05f8c9a0
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
Address is taken.
|
|
References: clockFeatures/11 (read)cmu/16 (read)
|
|
Referring: cmuCallbacks/0 (addr)
|
|
Availability: available
|
|
Function flags: count:348071309 (estimated locally) body optimize_size
|
|
Called by: ResetCmuFcFceRefCntLfrefHfref/6 (1073741824 (estimated locally),1.00 per call)
|
|
Calls: SchM_Exit_Mcu_MCU_EXCLUSIVE_AREA_01/18 (348071309 (estimated locally),1.00 per call) ReportClockErrors/15 (37904965 (estimated locally),0.11 per call) ClockTimeoutExpired/14 (1073741824 (estimated locally),3.08 per call) ClockStartTimeout/13 (114863532 (estimated locally),0.33 per call) SchM_Enter_Mcu_MCU_EXCLUSIVE_AREA_01/17 (348071309 (estimated locally),1.00 per call) ReportClockErrors/15 (37904965 (estimated locally),0.11 per call) ClockTimeoutExpired/14 (1073741824 (estimated locally),3.08 per call) ClockStartTimeout/13 (114863532 (estimated locally),0.33 per call) McMeEnterKey/12 (114863532 (estimated locally),0.33 per call)
|
|
ClockMonitorEmpty_GetStatus/4 (ClockMonitorEmpty_GetStatus) @05f8ce00
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
Address is taken.
|
|
References:
|
|
Referring: cmuCallbacks/0 (addr)
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls:
|
|
ClockMonitorEmpty_ClearStatus/3 (ClockMonitorEmpty_ClearStatus) @05f8cb60
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
Address is taken.
|
|
References:
|
|
Referring: cmuCallbacks/0 (addr)
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body icf_merged optimize_size
|
|
Called by:
|
|
Calls: ClockMonitorEmpty_Disable/2 (1073741824 (estimated locally),1.00 per call)
|
|
ClockMonitorEmpty_Disable/2 (ClockMonitorEmpty_Disable) @05f8c8c0
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
Address is taken.
|
|
References:
|
|
Referring: cmuCallbacks/0 (addr)
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body icf_merged optimize_size
|
|
Called by: ClockMonitorEmpty_ClearStatus/3 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
ClockMonitorEmpty/1 (ClockMonitorEmpty) @05f8c620
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
Address is taken.
|
|
References:
|
|
Referring: cmuCallbacks/0 (addr)cmuCallbacks/0 (addr)
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls:
|
|
cmuCallbacks/0 (cmuCallbacks) @05f8a558
|
|
Type: variable definition analyzed
|
|
Visibility: externally_visible public
|
|
References: ClockMonitorEmpty/1 (addr)ClockMonitorEmpty/1 (addr)ClockMonitorEmpty_Disable/2 (addr)ClockMonitorEmpty_ClearStatus/3 (addr)ClockMonitorEmpty_GetStatus/4 (addr)ResetCmuFcFceRefCntLfrefHfref/6 (addr)SetCmuFcFceRefCntLfrefHfref/7 (addr)DisableCmuFcFceRefCntLfrefHfref/5 (addr)ClearStatusCmuFcFceRefCntLfrefHfref/8 (addr)GetStatusCmuFcFceRefCntLfrefHfref/9 (addr)
|
|
Referring:
|
|
Availability: available
|
|
Varpool flags: initialized read-only const-value-known
|
|
Mcu_CMU_ClockFailInt ()
|
|
{
|
|
Clock_Ip_NameType name;
|
|
uint32 indexCmuEntry;
|
|
uint32 instance;
|
|
uint32 cmuIsrValue;
|
|
int _1;
|
|
unsigned char _2;
|
|
volatile struct ClockMonitor_Type * _3;
|
|
long unsigned int _4;
|
|
const struct Clock_Ip_ClockConfigType * clockConfig.5_5;
|
|
long unsigned int _6;
|
|
|
|
<bb 2> [local count: 214748364]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG indexCmuEntry => 0
|
|
goto <bb 7>; [100.00%]
|
|
|
|
<bb 3> [local count: 858993459]:
|
|
# DEBUG BEGIN_STMT
|
|
name_11 = cmuEntries[indexCmuEntry_7].name;
|
|
# DEBUG name => name_11
|
|
# DEBUG BEGIN_STMT
|
|
_1 = (int) name_11;
|
|
_2 = clockFeatures[_1][6];
|
|
instance_12 = (uint32) _2;
|
|
# DEBUG instance => instance_12
|
|
# DEBUG BEGIN_STMT
|
|
_3 = cmu[instance_12];
|
|
_4 ={v} _3->SR;
|
|
cmuIsrValue_13 = _4 & 3;
|
|
# DEBUG cmuIsrValue => cmuIsrValue_13
|
|
# DEBUG BEGIN_STMT
|
|
_3->SR ={v} cmuIsrValue_13;
|
|
# DEBUG BEGIN_STMT
|
|
clockConfig.5_5 = clockConfig;
|
|
if (clockConfig.5_5 != 0B)
|
|
goto <bb 4>; [70.00%]
|
|
else
|
|
goto <bb 6>; [30.00%]
|
|
|
|
<bb 4> [local count: 601295421]:
|
|
# DEBUG BEGIN_STMT
|
|
_6 ={v} _3->IER;
|
|
# DEBUG cmuIerValue => _6 & 3
|
|
# DEBUG BEGIN_STMT
|
|
cmuIsrValue_15 = _6 & cmuIsrValue_13;
|
|
# DEBUG cmuIsrValue => cmuIsrValue_15
|
|
# DEBUG BEGIN_STMT
|
|
if (cmuIsrValue_15 != 0)
|
|
goto <bb 5>; [33.00%]
|
|
else
|
|
goto <bb 6>; [67.00%]
|
|
|
|
<bb 5> [local count: 198427489]:
|
|
# DEBUG BEGIN_STMT
|
|
ReportClockErrors (0, name_11);
|
|
|
|
<bb 6> [local count: 858993459]:
|
|
# DEBUG BEGIN_STMT
|
|
indexCmuEntry_17 = indexCmuEntry_7 + 1;
|
|
# DEBUG indexCmuEntry => indexCmuEntry_17
|
|
|
|
<bb 7> [local count: 1073741824]:
|
|
# indexCmuEntry_7 = PHI <0(2), indexCmuEntry_17(6)>
|
|
# DEBUG indexCmuEntry => indexCmuEntry_7
|
|
# DEBUG BEGIN_STMT
|
|
if (indexCmuEntry_7 != 4)
|
|
goto <bb 3>; [80.00%]
|
|
else
|
|
goto <bb 8>; [20.00%]
|
|
|
|
<bb 8> [local count: 214748365]:
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
GetStatusCmuFcFceRefCntLfrefHfref (Clock_Ip_NameType name)
|
|
{
|
|
uint32 TimeoutTicks;
|
|
uint32 ElapsedTime;
|
|
uint32 StartTime;
|
|
boolean TimeoutOccurred;
|
|
uint32 instance;
|
|
Clock_Ip_CmuStatusType status;
|
|
uint32 cmuIsrValue;
|
|
int _1;
|
|
unsigned char _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
long unsigned int _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
long unsigned int _8;
|
|
long unsigned int _9;
|
|
long unsigned int _10;
|
|
long unsigned int TimeoutTicks.0_11;
|
|
long unsigned int _12;
|
|
long unsigned int _13;
|
|
volatile struct ClockMonitor_Type * _14;
|
|
long unsigned int _15;
|
|
long unsigned int _17;
|
|
long unsigned int _18;
|
|
long unsigned int _19;
|
|
long unsigned int _20;
|
|
long unsigned int _21;
|
|
|
|
<bb 2> [local count: 348071309]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG status => 3
|
|
# DEBUG BEGIN_STMT
|
|
_1 = (int) name_25(D);
|
|
_2 = clockFeatures[_1][6];
|
|
instance_27 = (uint32) _2;
|
|
# DEBUG instance => instance_27
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG TimeoutOccurred => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
_3 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_STAT;
|
|
_4 = _3 & 32768;
|
|
if (_4 == 0)
|
|
goto <bb 3>; [33.00%]
|
|
else
|
|
goto <bb 8>; [67.00%]
|
|
|
|
<bb 3> [local count: 114863532]:
|
|
# DEBUG BEGIN_STMT
|
|
_5 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_CLKEN;
|
|
_6 = _5 | 32768;
|
|
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_CLKEN ={v} _6;
|
|
# DEBUG BEGIN_STMT
|
|
_7 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PCONF;
|
|
_8 = _7 | 1;
|
|
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PCONF ={v} _8;
|
|
# DEBUG BEGIN_STMT
|
|
_9 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PUPD;
|
|
_10 = _9 | 1;
|
|
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PUPD ={v} _10;
|
|
# DEBUG BEGIN_STMT
|
|
McMeEnterKey ();
|
|
# DEBUG BEGIN_STMT
|
|
ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
TimeoutTicks.0_11 = TimeoutTicks;
|
|
TimeoutOccurred_34 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.0_11);
|
|
# DEBUG TimeoutOccurred => TimeoutOccurred_34
|
|
# DEBUG BEGIN_STMT
|
|
_12 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_STAT;
|
|
_13 = _12 & 32768;
|
|
if (_13 == 0)
|
|
goto <bb 5>; [94.50%]
|
|
else
|
|
goto <bb 6>; [5.50%]
|
|
|
|
<bb 5> [local count: 1014686025]:
|
|
if (TimeoutOccurred_34 != 0)
|
|
goto <bb 6>; [5.50%]
|
|
else
|
|
goto <bb 13>; [94.50%]
|
|
|
|
<bb 13> [local count: 958878292]:
|
|
goto <bb 4>; [100.00%]
|
|
|
|
<bb 6> [local count: 114863532]:
|
|
# TimeoutOccurred_16 = PHI <TimeoutOccurred_34(4), TimeoutOccurred_34(5)>
|
|
# DEBUG BEGIN_STMT
|
|
if (TimeoutOccurred_16 != 0)
|
|
goto <bb 7>; [33.00%]
|
|
else
|
|
goto <bb 8>; [67.00%]
|
|
|
|
<bb 7> [local count: 37904965]:
|
|
# DEBUG BEGIN_STMT
|
|
ReportClockErrors (1, 145);
|
|
|
|
<bb 8> [local count: 348071309]:
|
|
# DEBUG BEGIN_STMT
|
|
_14 = cmu[instance_27];
|
|
_15 ={v} _14->SR;
|
|
cmuIsrValue_36 = _15 & 3;
|
|
# DEBUG cmuIsrValue => cmuIsrValue_36
|
|
# DEBUG BEGIN_STMT
|
|
_17 ={v} _14->IER;
|
|
# DEBUG cmuIerValue => _17 & 3
|
|
# DEBUG BEGIN_STMT
|
|
cmuIsrValue_37 = _17 & cmuIsrValue_36;
|
|
# DEBUG cmuIsrValue => cmuIsrValue_37
|
|
# DEBUG BEGIN_STMT
|
|
_18 ={v} _14->GCR;
|
|
_19 = _18 & 1;
|
|
if (_19 != 0)
|
|
goto <bb 9>; [65.00%]
|
|
else
|
|
goto <bb 12>; [35.00%]
|
|
|
|
<bb 9> [local count: 226246351]:
|
|
# DEBUG BEGIN_STMT
|
|
_20 = cmuIsrValue_37 & 2;
|
|
if (_20 != 0)
|
|
goto <bb 12>; [50.00%]
|
|
else
|
|
goto <bb 10>; [50.00%]
|
|
|
|
<bb 10> [local count: 113123175]:
|
|
# DEBUG BEGIN_STMT
|
|
_21 = cmuIsrValue_37 & 1;
|
|
if (_21 != 0)
|
|
goto <bb 12>; [35.00%]
|
|
else
|
|
goto <bb 11>; [65.00%]
|
|
|
|
<bb 11> [local count: 73530064]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG status => 0
|
|
|
|
<bb 12> [local count: 348071309]:
|
|
# status_22 = PHI <3(8), 1(9), 2(10), 0(11)>
|
|
# DEBUG status => status_22
|
|
# DEBUG BEGIN_STMT
|
|
StartTime ={v} {CLOBBER};
|
|
ElapsedTime ={v} {CLOBBER};
|
|
TimeoutTicks ={v} {CLOBBER};
|
|
return status_22;
|
|
|
|
}
|
|
|
|
|
|
ClearStatusCmuFcFceRefCntLfrefHfref (Clock_Ip_NameType name)
|
|
{
|
|
uint32 TimeoutTicks;
|
|
uint32 ElapsedTime;
|
|
uint32 StartTime;
|
|
boolean TimeoutOccurred;
|
|
uint32 cmuIsrValue;
|
|
uint32 instance;
|
|
int _1;
|
|
unsigned char _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
long unsigned int _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
long unsigned int _8;
|
|
long unsigned int _9;
|
|
long unsigned int _10;
|
|
long unsigned int TimeoutTicks.1_11;
|
|
long unsigned int _12;
|
|
long unsigned int _13;
|
|
volatile struct ClockMonitor_Type * _14;
|
|
long unsigned int _15;
|
|
|
|
<bb 2> [local count: 348071309]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = (int) name_19(D);
|
|
_2 = clockFeatures[_1][6];
|
|
instance_21 = (uint32) _2;
|
|
# DEBUG instance => instance_21
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG TimeoutOccurred => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
_3 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_STAT;
|
|
_4 = _3 & 32768;
|
|
if (_4 == 0)
|
|
goto <bb 3>; [33.00%]
|
|
else
|
|
goto <bb 8>; [67.00%]
|
|
|
|
<bb 3> [local count: 114863532]:
|
|
# DEBUG BEGIN_STMT
|
|
_5 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_CLKEN;
|
|
_6 = _5 | 32768;
|
|
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_CLKEN ={v} _6;
|
|
# DEBUG BEGIN_STMT
|
|
_7 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PCONF;
|
|
_8 = _7 | 1;
|
|
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PCONF ={v} _8;
|
|
# DEBUG BEGIN_STMT
|
|
_9 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PUPD;
|
|
_10 = _9 | 1;
|
|
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PUPD ={v} _10;
|
|
# DEBUG BEGIN_STMT
|
|
McMeEnterKey ();
|
|
# DEBUG BEGIN_STMT
|
|
ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
TimeoutTicks.1_11 = TimeoutTicks;
|
|
TimeoutOccurred_28 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.1_11);
|
|
# DEBUG TimeoutOccurred => TimeoutOccurred_28
|
|
# DEBUG BEGIN_STMT
|
|
_12 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_STAT;
|
|
_13 = _12 & 32768;
|
|
if (_13 == 0)
|
|
goto <bb 5>; [94.50%]
|
|
else
|
|
goto <bb 6>; [5.50%]
|
|
|
|
<bb 5> [local count: 1014686025]:
|
|
if (TimeoutOccurred_28 != 0)
|
|
goto <bb 6>; [5.50%]
|
|
else
|
|
goto <bb 9>; [94.50%]
|
|
|
|
<bb 9> [local count: 958878292]:
|
|
goto <bb 4>; [100.00%]
|
|
|
|
<bb 6> [local count: 114863532]:
|
|
# TimeoutOccurred_16 = PHI <TimeoutOccurred_28(4), TimeoutOccurred_28(5)>
|
|
# DEBUG BEGIN_STMT
|
|
if (TimeoutOccurred_16 != 0)
|
|
goto <bb 7>; [33.00%]
|
|
else
|
|
goto <bb 8>; [67.00%]
|
|
|
|
<bb 7> [local count: 37904965]:
|
|
# DEBUG BEGIN_STMT
|
|
ReportClockErrors (1, 145);
|
|
|
|
<bb 8> [local count: 348071309]:
|
|
# DEBUG BEGIN_STMT
|
|
_14 = cmu[instance_21];
|
|
_15 ={v} _14->SR;
|
|
cmuIsrValue_30 = _15 & 3;
|
|
# DEBUG cmuIsrValue => cmuIsrValue_30
|
|
# DEBUG BEGIN_STMT
|
|
_14->SR ={v} cmuIsrValue_30;
|
|
StartTime ={v} {CLOBBER};
|
|
ElapsedTime ={v} {CLOBBER};
|
|
TimeoutTicks ={v} {CLOBBER};
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
SetCmuFcFceRefCntLfrefHfref (const struct Clock_Ip_CmuConfigType * config)
|
|
{
|
|
uint32 TimeoutTicks;
|
|
uint32 ElapsedTime;
|
|
uint32 StartTime;
|
|
boolean TimeoutOccurred;
|
|
uint32 swIndex;
|
|
uint32 instance;
|
|
<unnamed type> _1;
|
|
int _2;
|
|
unsigned char _3;
|
|
unsigned char _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
long unsigned int _8;
|
|
long unsigned int _9;
|
|
long unsigned int _10;
|
|
long unsigned int _11;
|
|
long unsigned int _12;
|
|
long unsigned int _13;
|
|
long unsigned int TimeoutTicks.4_14;
|
|
long unsigned int _15;
|
|
long unsigned int _16;
|
|
volatile struct ClockMonitor_Type * _17;
|
|
long unsigned int _18;
|
|
long unsigned int _19;
|
|
long unsigned int _20;
|
|
long unsigned int _21;
|
|
unsigned char _22;
|
|
long unsigned int _23;
|
|
long unsigned int _24;
|
|
long unsigned int _25;
|
|
long unsigned int _26;
|
|
|
|
<bb 2> [local count: 348071309]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = config_31(D)->name;
|
|
_2 = (int) _1;
|
|
_3 = clockFeatures[_2][6];
|
|
instance_32 = (uint32) _3;
|
|
# DEBUG instance => instance_32
|
|
# DEBUG BEGIN_STMT
|
|
_5 = clockFeatures[_2][7];
|
|
swIndex_33 = (uint32) _5;
|
|
# DEBUG swIndex => swIndex_33
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG TimeoutOccurred => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
_6 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_STAT;
|
|
_7 = _6 & 32768;
|
|
if (_7 == 0)
|
|
goto <bb 3>; [33.00%]
|
|
else
|
|
goto <bb 8>; [67.00%]
|
|
|
|
<bb 3> [local count: 114863532]:
|
|
# DEBUG BEGIN_STMT
|
|
_8 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_CLKEN;
|
|
_9 = _8 | 32768;
|
|
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_CLKEN ={v} _9;
|
|
# DEBUG BEGIN_STMT
|
|
_10 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PCONF;
|
|
_11 = _10 | 1;
|
|
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PCONF ={v} _11;
|
|
# DEBUG BEGIN_STMT
|
|
_12 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PUPD;
|
|
_13 = _12 | 1;
|
|
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PUPD ={v} _13;
|
|
# DEBUG BEGIN_STMT
|
|
McMeEnterKey ();
|
|
# DEBUG BEGIN_STMT
|
|
ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
TimeoutTicks.4_14 = TimeoutTicks;
|
|
TimeoutOccurred_40 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.4_14);
|
|
# DEBUG TimeoutOccurred => TimeoutOccurred_40
|
|
# DEBUG BEGIN_STMT
|
|
_15 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_STAT;
|
|
_16 = _15 & 32768;
|
|
if (_16 == 0)
|
|
goto <bb 5>; [94.50%]
|
|
else
|
|
goto <bb 6>; [5.50%]
|
|
|
|
<bb 5> [local count: 1014686025]:
|
|
if (TimeoutOccurred_40 != 0)
|
|
goto <bb 6>; [5.50%]
|
|
else
|
|
goto <bb 12>; [94.50%]
|
|
|
|
<bb 12> [local count: 958878292]:
|
|
goto <bb 4>; [100.00%]
|
|
|
|
<bb 6> [local count: 114863532]:
|
|
# TimeoutOccurred_4 = PHI <TimeoutOccurred_40(4), TimeoutOccurred_40(5)>
|
|
# DEBUG BEGIN_STMT
|
|
if (TimeoutOccurred_4 != 0)
|
|
goto <bb 7>; [33.00%]
|
|
else
|
|
goto <bb 8>; [67.00%]
|
|
|
|
<bb 7> [local count: 37904965]:
|
|
# DEBUG BEGIN_STMT
|
|
ReportClockErrors (1, 145);
|
|
|
|
<bb 8> [local count: 348071309]:
|
|
# DEBUG BEGIN_STMT
|
|
_17 = cmu[instance_32];
|
|
_18 = cmuEntries[swIndex_33].refCount;
|
|
_17->RCCR ={v} _18;
|
|
# DEBUG BEGIN_STMT
|
|
_19 = cmuEntries[swIndex_33].hfRef;
|
|
_17->HTCR ={v} _19;
|
|
# DEBUG BEGIN_STMT
|
|
_20 = cmuEntries[swIndex_33].lfRef;
|
|
_17->LTCR ={v} _20;
|
|
# DEBUG BEGIN_STMT
|
|
_21 = config_31(D)->interrupt;
|
|
_17->IER ={v} _21;
|
|
# DEBUG BEGIN_STMT
|
|
_22 = config_31(D)->enable;
|
|
if (_22 != 0)
|
|
goto <bb 9>; [50.00%]
|
|
else
|
|
goto <bb 10>; [50.00%]
|
|
|
|
<bb 9> [local count: 174035654]:
|
|
# DEBUG BEGIN_STMT
|
|
_23 ={v} _17->GCR;
|
|
_24 = _23 | 1;
|
|
_17->GCR ={v} _24;
|
|
goto <bb 11>; [100.00%]
|
|
|
|
<bb 10> [local count: 174035654]:
|
|
# DEBUG BEGIN_STMT
|
|
_25 ={v} _17->GCR;
|
|
_26 = _25 & 4294967294;
|
|
_17->GCR ={v} _26;
|
|
|
|
<bb 11> [local count: 348071309]:
|
|
StartTime ={v} {CLOBBER};
|
|
ElapsedTime ={v} {CLOBBER};
|
|
TimeoutTicks ={v} {CLOBBER};
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
ResetCmuFcFceRefCntLfrefHfref (const struct Clock_Ip_CmuConfigType * config)
|
|
{
|
|
<unnamed type> _1;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = config_3(D)->name;
|
|
DisableCmuFcFceRefCntLfrefHfref (_1);
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
DisableCmuFcFceRefCntLfrefHfref (Clock_Ip_NameType name)
|
|
{
|
|
uint32 FrequencyCheckStatus;
|
|
uint32 TimeoutTicks;
|
|
uint32 ElapsedTime;
|
|
uint32 StartTime;
|
|
boolean TimeoutOccurred;
|
|
uint32 instance;
|
|
int _1;
|
|
unsigned char _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
long unsigned int _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
long unsigned int _8;
|
|
long unsigned int _9;
|
|
long unsigned int _10;
|
|
long unsigned int TimeoutTicks.2_11;
|
|
long unsigned int _12;
|
|
long unsigned int _13;
|
|
volatile struct ClockMonitor_Type * _14;
|
|
long unsigned int _15;
|
|
long unsigned int _16;
|
|
long unsigned int _18;
|
|
long unsigned int TimeoutTicks.3_19;
|
|
long unsigned int _21;
|
|
long unsigned int _22;
|
|
long unsigned int _23;
|
|
long unsigned int _24;
|
|
long unsigned int _25;
|
|
long unsigned int _26;
|
|
|
|
<bb 2> [local count: 348071309]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = (int) name_31(D);
|
|
_2 = clockFeatures[_1][6];
|
|
instance_33 = (uint32) _2;
|
|
# DEBUG instance => instance_33
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG TimeoutOccurred => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
_3 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_STAT;
|
|
_4 = _3 & 32768;
|
|
if (_4 == 0)
|
|
goto <bb 3>; [33.00%]
|
|
else
|
|
goto <bb 8>; [67.00%]
|
|
|
|
<bb 3> [local count: 114863532]:
|
|
# DEBUG BEGIN_STMT
|
|
_5 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_CLKEN;
|
|
_6 = _5 | 32768;
|
|
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_CLKEN ={v} _6;
|
|
# DEBUG BEGIN_STMT
|
|
_7 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PCONF;
|
|
_8 = _7 | 1;
|
|
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PCONF ={v} _8;
|
|
# DEBUG BEGIN_STMT
|
|
_9 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PUPD;
|
|
_10 = _9 | 1;
|
|
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PUPD ={v} _10;
|
|
# DEBUG BEGIN_STMT
|
|
McMeEnterKey ();
|
|
# DEBUG BEGIN_STMT
|
|
ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
TimeoutTicks.2_11 = TimeoutTicks;
|
|
TimeoutOccurred_40 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.2_11);
|
|
# DEBUG TimeoutOccurred => TimeoutOccurred_40
|
|
# DEBUG BEGIN_STMT
|
|
_12 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_STAT;
|
|
_13 = _12 & 32768;
|
|
if (_13 == 0)
|
|
goto <bb 5>; [94.50%]
|
|
else
|
|
goto <bb 6>; [5.50%]
|
|
|
|
<bb 5> [local count: 1014686025]:
|
|
if (TimeoutOccurred_40 != 0)
|
|
goto <bb 6>; [5.50%]
|
|
else
|
|
goto <bb 17>; [94.50%]
|
|
|
|
<bb 17> [local count: 958878292]:
|
|
goto <bb 4>; [100.00%]
|
|
|
|
<bb 6> [local count: 114863532]:
|
|
# TimeoutOccurred_17 = PHI <TimeoutOccurred_40(4), TimeoutOccurred_40(5)>
|
|
# DEBUG BEGIN_STMT
|
|
if (TimeoutOccurred_17 != 0)
|
|
goto <bb 7>; [33.00%]
|
|
else
|
|
goto <bb 8>; [67.00%]
|
|
|
|
<bb 7> [local count: 37904965]:
|
|
# DEBUG BEGIN_STMT
|
|
ReportClockErrors (1, 145);
|
|
|
|
<bb 8> [local count: 348071309]:
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Mcu_MCU_EXCLUSIVE_AREA_01 ();
|
|
# DEBUG BEGIN_STMT
|
|
_14 = cmu[instance_33];
|
|
_15 ={v} _14->GCR;
|
|
_16 = _15 & 1;
|
|
if (_16 != 0)
|
|
goto <bb 9>; [33.00%]
|
|
else
|
|
goto <bb 15>; [67.00%]
|
|
|
|
<bb 9> [local count: 114863532]:
|
|
# DEBUG BEGIN_STMT
|
|
ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);
|
|
|
|
<bb 10> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
_18 ={v} _14->SR;
|
|
FrequencyCheckStatus_44 = _18 & 16;
|
|
# DEBUG FrequencyCheckStatus => FrequencyCheckStatus_44
|
|
# DEBUG BEGIN_STMT
|
|
TimeoutTicks.3_19 = TimeoutTicks;
|
|
TimeoutOccurred_46 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.3_19);
|
|
# DEBUG TimeoutOccurred => TimeoutOccurred_46
|
|
# DEBUG BEGIN_STMT
|
|
if (FrequencyCheckStatus_44 == 0)
|
|
goto <bb 11>; [94.50%]
|
|
else
|
|
goto <bb 12>; [5.50%]
|
|
|
|
<bb 11> [local count: 1014686023]:
|
|
if (TimeoutOccurred_46 != 0)
|
|
goto <bb 12>; [5.50%]
|
|
else
|
|
goto <bb 16>; [94.50%]
|
|
|
|
<bb 16> [local count: 958878291]:
|
|
goto <bb 10>; [100.00%]
|
|
|
|
<bb 12> [local count: 114863532]:
|
|
# TimeoutOccurred_20 = PHI <TimeoutOccurred_46(10), TimeoutOccurred_46(11)>
|
|
# DEBUG BEGIN_STMT
|
|
if (TimeoutOccurred_20 != 0)
|
|
goto <bb 13>; [33.00%]
|
|
else
|
|
goto <bb 14>; [67.00%]
|
|
|
|
<bb 13> [local count: 37904965]:
|
|
# DEBUG BEGIN_STMT
|
|
ReportClockErrors (1, name_31(D));
|
|
goto <bb 15>; [100.00%]
|
|
|
|
<bb 14> [local count: 76958566]:
|
|
# DEBUG BEGIN_STMT
|
|
_21 ={v} _14->GCR;
|
|
_22 = _21 & 4294967294;
|
|
_14->GCR ={v} _22;
|
|
|
|
<bb 15> [local count: 348071309]:
|
|
# DEBUG BEGIN_STMT
|
|
_23 ={v} _14->IER;
|
|
_24 = _23 & 4294967280;
|
|
_14->IER ={v} _24;
|
|
# DEBUG BEGIN_STMT
|
|
_14->RCCR ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
_14->HTCR ={v} 16777215;
|
|
# DEBUG BEGIN_STMT
|
|
_14->LTCR ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
_25 ={v} _14->SR;
|
|
_26 = _25 | 19;
|
|
_14->SR ={v} _26;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Mcu_MCU_EXCLUSIVE_AREA_01 ();
|
|
StartTime ={v} {CLOBBER};
|
|
ElapsedTime ={v} {CLOBBER};
|
|
TimeoutTicks ={v} {CLOBBER};
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
ClockMonitorEmpty_GetStatus (Clock_Ip_NameType name)
|
|
{
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
return 3;
|
|
|
|
}
|
|
|
|
|
|
ClockMonitorEmpty_ClearStatus (Clock_Ip_NameType name)
|
|
{
|
|
<bb 2> [local count: 1073741824]:
|
|
ClockMonitorEmpty_Disable (name_1(D)); [tail call]
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
ClockMonitorEmpty_Disable (Clock_Ip_NameType name)
|
|
{
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
ClockMonitorEmpty (const struct Clock_Ip_CmuConfigType * config)
|
|
{
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
return;
|
|
|
|
}
|
|
|
|
|