ADM/GW/Debug_FLASH/RTD/src/Swt_Ip.c.075i.fnsummary
3minbe f7e8a96a61 1.주행안전 시나리오 기반 로직 최신화
2.주행안전 시나리오 기반 VCU CAN 수정
3.주행안전 시나리오 기반 DBC 최신화
2025-07-16 17:20:17 +09:00

1833 lines
52 KiB
Plaintext

Analyzing function: Swt_Ip_IrqHandler/25
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4 5 6
;; 2 succs { 3 6 }
;; 3 succs { 4 6 }
;; 4 succs { 5 6 }
;; 5 succs { 6 }
;; 6 succs { 1 }
Analyzing function body size: Swt_Ip_IrqHandler
IPA function summary for Swt_Ip_IrqHandler/25 inlinable
global time: 13.025000
self size: 20
global size: 0
min size: 0
self stack: 0
global stack: 0
size:14.000000, time:8.400000
size:3.000000, time:2.000000, executed if:(not inlined)
calls:
indirect call loop depth: 0 freq:0.17 size: 3 time: 15
Analyzing function: Swt_Ip_StopTimer/24
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;; 2 succs { 3 4 }
;; 3 succs { 4 }
;; 4 succs { 1 }
Analyzing function body size: Swt_Ip_StopTimer
IPA function summary for Swt_Ip_StopTimer/24 inlinable
global time: 53.950000
self size: 20
global size: 0
min size: 0
self stack: 0
global stack: 0
size:6.000000, time:3.990000
size:3.000000, time:2.000000, executed if:(not inlined)
calls:
SchM_Exit_Wdg_WDG_EXCLUSIVE_AREA_11/34 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Swt_Ip_Lock/7 function not considered for inlining
loop depth: 0 freq:0.33 size: 3 time: 12
Swt_Ip_Unlock/8 function not considered for inlining
loop depth: 0 freq:1.00 size: 3 time: 12
SchM_Enter_Wdg_WDG_EXCLUSIVE_AREA_11/33 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Swt_Ip_GetLock/6 function not considered for inlining
loop depth: 0 freq:1.00 size: 3 time: 12
Analyzing function: Swt_Ip_StartTimer/23
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;; 2 succs { 3 4 }
;; 3 succs { 4 }
;; 4 succs { 1 }
Analyzing function body size: Swt_Ip_StartTimer
IPA function summary for Swt_Ip_StartTimer/23 inlinable
global time: 53.950000
self size: 20
global size: 0
min size: 0
self stack: 0
global stack: 0
size:6.000000, time:3.990000
size:3.000000, time:2.000000, executed if:(not inlined)
calls:
SchM_Exit_Wdg_WDG_EXCLUSIVE_AREA_10/32 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Swt_Ip_Lock/7 function not considered for inlining
loop depth: 0 freq:0.33 size: 3 time: 12
Swt_Ip_Unlock/8 function not considered for inlining
loop depth: 0 freq:1.00 size: 3 time: 12
SchM_Enter_Wdg_WDG_EXCLUSIVE_AREA_10/31 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Swt_Ip_GetLock/6 function not considered for inlining
loop depth: 0 freq:1.00 size: 3 time: 12
Analyzing function: Swt_Ip_SetTimeout/22
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4 5 6 7 8
;; 2 succs { 3 8 }
;; 3 succs { 8 4 }
;; 4 succs { 5 6 }
;; 5 succs { 7 }
;; 6 succs { 7 }
;; 7 succs { 8 }
;; 8 succs { 1 }
Analyzing function body size: Swt_Ip_SetTimeout
IPA function summary for Swt_Ip_SetTimeout/22 inlinable
global time: 39.956100
self size: 37
global size: 0
min size: 0
self stack: 0
global stack: 0
size:10.000000, time:3.184600
size:3.000000, time:2.000000, executed if:(not inlined)
size:2.000000, time:2.000000, nonconst if:(op1 changed || op2 changed)
size:2.000000, time:0.435600, nonconst if:(op2 changed)
size:3.000000, time:0.326700, executed if:(op2 == 0)
size:4.000000, time:0.435600, executed if:(op2 != 0)
calls:
Swt_Ip_Lock/7 function not considered for inlining
loop depth: 0 freq:0.22 size: 3 time: 12
Swt_Ip_Unlock/8 function not considered for inlining
loop depth: 0 freq:0.33 size: 3 time: 12
Swt_Ip_CheckTimeout/10 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13
Swt_Ip_GetLock/6 function not considered for inlining
loop depth: 0 freq:1.00 size: 3 time: 12
Analyzing function: Swt_Ip_Config/21
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4 5 6 7 8 9
;; 2 succs { 3 9 }
;; 3 succs { 9 4 }
;; 4 succs { 5 6 }
;; 5 succs { 6 }
;; 6 succs { 7 8 }
;; 7 succs { 8 }
;; 8 succs { 9 }
;; 9 succs { 1 }
Analyzing function body size: Swt_Ip_Config
IPA function summary for Swt_Ip_Config/21 inlinable
global time: 31.807400
self size: 35
global size: 0
min size: 0
self stack: 0
global stack: 0
size:14.500000, time:3.511300
size:3.500000, time:2.108900, executed if:(not inlined)
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 64] changed) && (not inlined)
size:0.500000, time:0.500000, nonconst if:(op1[ref offset: 64] changed)
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 96] changed) && (not inlined)
size:0.500000, time:0.500000, nonconst if:(op1[ref offset: 96] changed)
size:2.000000, time:2.000000, nonconst if:(op1[ref offset: 64] changed || op1[ref offset: 96] changed)
calls:
Swt_Ip_Lock/7 function not considered for inlining
loop depth: 0 freq:0.22 size: 3 time: 12
Swt_Ip_RegisterConfig/9 function not considered for inlining
loop depth: 0 freq:0.22 size: 3 time: 12
Swt_Ip_Unlock/8 function not considered for inlining
loop depth: 0 freq:0.33 size: 3 time: 12
Swt_Ip_CheckTimeout/10 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13
Analyzing function: Swt_Ip_Service/20
;; 1 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
;; 2 succs { 3 11 }
;; 3 succs { 5 4 }
;; 4 succs { 5 }
;; 5 succs { 8 6 }
;; 6 succs { 8 7 }
;; 7 succs { 8 }
;; 8 succs { 9 12 }
;; 9 succs { 10 12 }
;; 10 succs { 12 }
;; 11 succs { 12 }
;; 12 succs { 1 }
Analyzing function body size: Swt_Ip_Service
IPA function summary for Swt_Ip_Service/20 inlinable
global time: 60.595000
self size: 57
global size: 0
min size: 0
self stack: 0
global stack: 0
size:46.000000, time:20.595000
size:3.000000, time:2.000000, executed if:(not inlined)
calls:
SchM_Exit_Wdg_WDG_EXCLUSIVE_AREA_09/30 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Swt_Ip_GetLock/6 function not considered for inlining
loop depth: 0 freq:0.50 size: 3 time: 12
Swt_Ip_IsKeyedServiceMode/12 function not considered for inlining
loop depth: 0 freq:1.00 size: 3 time: 12
SchM_Enter_Wdg_WDG_EXCLUSIVE_AREA_09/29 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Analyzing function: Swt_Ip_Deinit/19
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;; 2 succs { 3 4 }
;; 3 succs { 4 }
;; 4 succs { 1 }
Analyzing function body size: Swt_Ip_Deinit
IPA function summary for Swt_Ip_Deinit/19 inlinable
global time: 21.500000
self size: 18
global size: 0
min size: 0
self stack: 0
global stack: 0
size:12.000000, time:7.500000
size:3.000000, time:2.000000, executed if:(not inlined)
calls:
Swt_Ip_Unlock/8 function not considered for inlining
loop depth: 0 freq:1.00 size: 3 time: 12
Analyzing function: Swt_Ip_Init/18
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 5 6 7 8 9
;; 2 succs { 9 3 }
;; 3 succs { 9 5 }
;; 5 succs { 6 9 }
;; 6 succs { 7 8 }
;; 7 succs { 8 }
;; 8 succs { 9 }
;; 9 succs { 1 }
Analyzing function body size: Swt_Ip_Init
IPA function summary for Swt_Ip_Init/18 inlinable
global time: 16.622568
self size: 35
global size: 0
min size: 0
self stack: 0
global stack: 0
size:16.500000, time:5.798550
size:5.500000, time:2.307643, executed if:(not inlined)
calls:
Swt_Ip_Lock/7 function not considered for inlining
loop depth: 0 freq:0.07 size: 3 time: 12
Swt_Ip_RegisterConfig/9 function not considered for inlining
loop depth: 0 freq:0.07 size: 3 time: 12
Swt_Ip_CheckTimeout/10 function not considered for inlining
loop depth: 0 freq:0.22 size: 4 time: 13
Swt_Ip_Unlock/8 function not considered for inlining
loop depth: 0 freq:0.33 size: 3 time: 12
Analyzing function: Swt_Ip_IsKeyedServiceMode/12
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2
;; 2 succs { 1 }
Analyzing function body size: Swt_Ip_IsKeyedServiceMode
IPA function summary for Swt_Ip_IsKeyedServiceMode/12 inlinable
global time: 6.000000
self size: 7
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:3.500000, time:3.500000, nonconst if:(op0[ref offset: 0] changed)
calls:
Analyzing function: Swt_Ip_CheckTimeout/10
;; 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 4 }
;; 3 succs { 4 }
;; 4 succs { 5 7 }
;; 5 succs { 6 7 }
;; 6 succs { 7 }
;; 7 succs { 1 }
Analyzing function body size: Swt_Ip_CheckTimeout
IPA function summary for Swt_Ip_CheckTimeout/10 inlinable
global time: 7.000000
self size: 9
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:2.000000, time:2.000000, nonconst if:(op0 changed)
size:2.000000, time:2.000000, nonconst if:(op1 changed)
size:2.000000, time:1.000000, executed if:(op1 != 0), nonconst if:(op0 changed || op1 changed) && (op1 != 0)
calls:
Analyzing function: Swt_Ip_RegisterConfig/9
;; 1 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
;; 2 succs { 4 3 }
;; 3 succs { 4 }
;; 4 succs { 6 5 }
;; 5 succs { 6 }
;; 6 succs { 8 7 }
;; 7 succs { 8 }
;; 8 succs { 10 9 }
;; 9 succs { 10 }
;; 10 succs { 12 11 }
;; 11 succs { 12 }
;; 12 succs { 14 13 }
;; 13 succs { 14 }
;; 14 succs { 15 16 }
;; 15 succs { 16 }
;; 16 succs { 17 18 }
;; 17 succs { 18 }
;; 18 succs { 1 }
Analyzing function body size: Swt_Ip_RegisterConfig
IPA function summary for Swt_Ip_RegisterConfig/9 inlinable
global time: 38.000000
self size: 41
global size: 0
min size: 0
self stack: 0
global stack: 0
size:1.500000, time:1.500000
size:4.500000, time:3.500000, executed if:(not inlined)
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 0] changed) && (not inlined)
size:1.500000, time:1.500000, nonconst if:(op1[ref offset: 0] changed)
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 48] changed) && (not inlined)
size:4.500000, time:4.500000, nonconst if:(op1[ref offset: 48] changed)
size:1.000000, time:1.000000, nonconst if:(op1[ref offset: 0] changed || op1[ref offset: 48] changed)
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 8] changed) && (not inlined)
size:2.500000, time:2.500000, nonconst if:(op1[ref offset: 8] changed)
size:1.000000, time:1.000000, nonconst if:(op1[ref offset: 0] changed || op1[ref offset: 48] changed || op1[ref offset: 8] changed)
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 32] changed) && (not inlined)
size:4.500000, time:4.500000, nonconst if:(op1[ref offset: 32] changed)
size:1.000000, time:1.000000, nonconst if:(op1[ref offset: 0] changed || op1[ref offset: 48] changed || op1[ref offset: 8] changed || op1[ref offset: 32] changed)
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 40] changed) && (not inlined)
size:2.500000, time:2.500000, nonconst if:(op1[ref offset: 40] changed)
size:1.000000, time:1.000000, nonconst if:(op1[ref offset: 0] changed || op1[ref offset: 48] changed || op1[ref offset: 8] changed || op1[ref offset: 32] changed || op1[ref offset: 40] changed)
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 16] changed) && (not inlined)
size:2.500000, time:2.500000, nonconst if:(op1[ref offset: 16] changed)
size:1.000000, time:1.000000, nonconst if:(op1[ref offset: 0] changed || op1[ref offset: 48] changed || op1[ref offset: 8] changed || op1[ref offset: 32] changed || op1[ref offset: 40] changed || op1[ref offset: 16] changed)
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 24] changed) && (not inlined)
size:2.500000, time:2.500000, nonconst if:(op1[ref offset: 24] changed)
size:1.000000, time:1.000000, nonconst if:(op1[ref offset: 0] changed || op1[ref offset: 48] changed || op1[ref offset: 8] changed || op1[ref offset: 32] changed || op1[ref offset: 40] changed || op1[ref offset: 16] changed || op1[ref offset: 24] changed)
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 64] changed) && (not inlined)
size:0.500000, time:0.500000, nonconst if:(op1[ref offset: 64] changed)
size:0.500000, time:0.250000, executed if:(op1[ref offset: 32] != 0) && (not inlined), nonconst if:(op1[ref offset: 96] changed) && (op1[ref offset: 32] != 0) && (not inlined)
size:0.500000, time:0.250000, executed if:(op1[ref offset: 32] != 0), nonconst if:(op1[ref offset: 96] changed) && (op1[ref offset: 32] != 0)
size:0.500000, time:0.250000, executed if:(op1[ref offset: 32] != 0) && (not inlined)
size:0.500000, time:0.250000, executed if:(op1[ref offset: 32] != 0)
size:0.500000, time:0.250000, executed if:(op1[ref offset: 48] != 0) && (not inlined), nonconst if:(op1[ref offset: 128] changed) && (op1[ref offset: 48] != 0) && (not inlined)
size:0.500000, time:0.250000, executed if:(op1[ref offset: 48] != 0), nonconst if:(op1[ref offset: 128] changed) && (op1[ref offset: 48] != 0)
size:0.500000, time:0.250000, executed if:(op1[ref offset: 48] != 0) && (not inlined)
size:0.500000, time:0.250000, executed if:(op1[ref offset: 48] != 0)
calls:
Analyzing function: Swt_Ip_Unlock/8
;; 2 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4 5 6 7 8 9 10
;;
;; Loop 1
;; header 6, latch 5
;; depth 1, outer 0
;; nodes: 6 5 7
;; 2 succs { 10 3 }
;; 3 succs { 4 10 }
;; 4 succs { 6 }
;; 5 succs { 6 }
;; 6 succs { 7 8 }
;; 7 succs { 5 8 }
;; 8 succs { 9 10 }
;; 9 succs { 10 }
;; 10 succs { 1 }
Analyzing function body size: Swt_Ip_Unlock
IPA function summary for Swt_Ip_Unlock/8 inlinable
global time: 53.173663
self size: 35
global size: 0
min size: 0
self stack: 4
global stack: 4
size:18.500000, time:16.601041
size:5.500000, time:3.686208, executed if:(not inlined)
calls:
OsIf_GetElapsed/28 function body not available
loop depth: 1 freq:1.38 size: 4 time: 13
op0 is compile time invariant
op1 is compile time invariant
OsIf_GetCounter/27 function body not available
loop depth: 0 freq:0.16 size: 3 time: 12
op0 is compile time invariant
OsIf_MicrosToTicks/26 function body not available
loop depth: 0 freq:1.00 size: 4 time: 13
op0 is compile time invariant
op1 is compile time invariant
Analyzing function: Swt_Ip_Lock/7
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4 5
;; 2 succs { 5 4 3 }
;; 3 succs { 5 }
;; 4 succs { 5 }
;; 5 succs { 1 }
Analyzing function body size: Swt_Ip_Lock
IPA function summary for Swt_Ip_Lock/7 inlinable
global time: 5.999600
self size: 15
global size: 0
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:3.000000, time:1.999800, executed if:(not inlined)
size:6.000000, time:2.000000, nonconst if:(op1 changed)
size:0.500000, time:0.166650, executed if:(op1 == 2) && (not inlined), nonconst if:(op0[ref offset: 0] changed) && (op1 == 2) && (not inlined)
size:1.500000, time:0.499950, executed if:(op1 == 2), nonconst if:(op0[ref offset: 0] changed) && (op1 == 2)
size:0.500000, time:0.166650, executed if:(op1 == 2) && (not inlined)
size:0.500000, time:0.166650, executed if:(op1 == 2)
size:0.500000, time:0.166650, executed if:(op1 == 1) && (not inlined), nonconst if:(op0[ref offset: 0] changed) && (op1 == 1) && (not inlined)
size:1.500000, time:0.499950, executed if:(op1 == 1), nonconst if:(op0[ref offset: 0] changed) && (op1 == 1)
size:0.500000, time:0.166650, executed if:(op1 == 1) && (not inlined)
size:0.500000, time:0.166650, executed if:(op1 == 1)
calls:
Analyzing function: Swt_Ip_GetLock/6
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4 5
;; 2 succs { 3 4 }
;; 3 succs { 5 }
;; 4 succs { 5 }
;; 5 succs { 1 }
Analyzing function body size: Swt_Ip_GetLock
IPA function summary for Swt_Ip_GetLock/6 inlinable
global time: 7.000000
self size: 8
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:4.500000, time:4.500000, nonconst if:(op0[ref offset: 0] changed)
calls:
Symbol table:
SchM_Exit_Wdg_WDG_EXCLUSIVE_AREA_11/34 (SchM_Exit_Wdg_WDG_EXCLUSIVE_AREA_11) @06bc9ee0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Swt_Ip_StopTimer/24 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Enter_Wdg_WDG_EXCLUSIVE_AREA_11/33 (SchM_Enter_Wdg_WDG_EXCLUSIVE_AREA_11) @06bc9e00
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Swt_Ip_StopTimer/24 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Exit_Wdg_WDG_EXCLUSIVE_AREA_10/32 (SchM_Exit_Wdg_WDG_EXCLUSIVE_AREA_10) @06bc9c40
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Swt_Ip_StartTimer/23 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Enter_Wdg_WDG_EXCLUSIVE_AREA_10/31 (SchM_Enter_Wdg_WDG_EXCLUSIVE_AREA_10) @06bc9b60
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Swt_Ip_StartTimer/23 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Exit_Wdg_WDG_EXCLUSIVE_AREA_09/30 (SchM_Exit_Wdg_WDG_EXCLUSIVE_AREA_09) @06bc9460
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Swt_Ip_Service/20 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Enter_Wdg_WDG_EXCLUSIVE_AREA_09/29 (SchM_Enter_Wdg_WDG_EXCLUSIVE_AREA_09) @06bc9380
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Swt_Ip_Service/20 (1073741824 (estimated locally),1.00 per call)
Calls:
OsIf_GetElapsed/28 (OsIf_GetElapsed) @06b75c40
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Swt_Ip_Unlock/8 (958878292 (estimated locally),1.38 per call)
Calls:
OsIf_GetCounter/27 (OsIf_GetCounter) @06b75b60
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Swt_Ip_Unlock/8 (114863532 (estimated locally),0.16 per call)
Calls:
OsIf_MicrosToTicks/26 (OsIf_MicrosToTicks) @06b75a80
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Swt_Ip_Unlock/8 (696142619 (estimated locally),1.00 per call)
Calls:
Swt_Ip_IrqHandler/25 (Swt_Ip_IrqHandler) @06b75460
Type: function definition analyzed
Visibility: externally_visible public
References: s_swtBase/1 (read)Swt_Ip_apCallbackPtr/2 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
Indirect call(187904819 (estimated locally),0.17 per call)
Swt_Ip_StopTimer/24 (Swt_Ip_StopTimer) @06b751c0
Type: function definition analyzed
Visibility: externally_visible public
References: s_swtBase/1 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: SchM_Exit_Wdg_WDG_EXCLUSIVE_AREA_11/34 (1073741824 (estimated locally),1.00 per call) Swt_Ip_Lock/7 (354334802 (estimated locally),0.33 per call) Swt_Ip_Unlock/8 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Wdg_WDG_EXCLUSIVE_AREA_11/33 (1073741824 (estimated locally),1.00 per call) Swt_Ip_GetLock/6 (1073741824 (estimated locally),1.00 per call)
Swt_Ip_StartTimer/23 (Swt_Ip_StartTimer) @06b6dd20
Type: function definition analyzed
Visibility: externally_visible public
References: s_swtBase/1 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: SchM_Exit_Wdg_WDG_EXCLUSIVE_AREA_10/32 (1073741824 (estimated locally),1.00 per call) Swt_Ip_Lock/7 (354334802 (estimated locally),0.33 per call) Swt_Ip_Unlock/8 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Wdg_WDG_EXCLUSIVE_AREA_10/31 (1073741824 (estimated locally),1.00 per call) Swt_Ip_GetLock/6 (1073741824 (estimated locally),1.00 per call)
Swt_Ip_SetTimeout/22 (Swt_Ip_SetTimeout) @06b6d7e0
Type: function definition analyzed
Visibility: externally_visible public
References: s_swtBase/1 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: Swt_Ip_Lock/7 (233860969 (estimated locally),0.22 per call) Swt_Ip_Unlock/8 (354334802 (estimated locally),0.33 per call) Swt_Ip_CheckTimeout/10 (1073741824 (estimated locally),1.00 per call) Swt_Ip_GetLock/6 (1073741824 (estimated locally),1.00 per call)
Swt_Ip_Config/21 (Swt_Ip_Config) @06b6dee0
Type: function definition analyzed
Visibility: externally_visible public
References: s_swtBase/1 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: Swt_Ip_Lock/7 (233860969 (estimated locally),0.22 per call) Swt_Ip_RegisterConfig/9 (233860969 (estimated locally),0.22 per call) Swt_Ip_Unlock/8 (354334802 (estimated locally),0.33 per call) Swt_Ip_CheckTimeout/10 (1073741824 (estimated locally),1.00 per call)
Swt_Ip_Service/20 (Swt_Ip_Service) @06b6dc40
Type: function definition analyzed
Visibility: externally_visible public
References: s_swtBase/1 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: SchM_Exit_Wdg_WDG_EXCLUSIVE_AREA_09/30 (1073741824 (estimated locally),1.00 per call) Swt_Ip_GetLock/6 (536870913 (estimated locally),0.50 per call) Swt_Ip_IsKeyedServiceMode/12 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Wdg_WDG_EXCLUSIVE_AREA_09/29 (1073741824 (estimated locally),1.00 per call)
Swt_Ip_Deinit/19 (Swt_Ip_Deinit) @06b6d9a0
Type: function definition analyzed
Visibility: externally_visible public
References: s_swtBase/1 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: Swt_Ip_Unlock/8 (1073741824 (estimated locally),1.00 per call)
Swt_Ip_Init/18 (Swt_Ip_Init) @06b6d700
Type: function definition analyzed
Visibility: externally_visible public
References: s_swtBase/1 (read)Swt_Ip_apCallbackPtr/2 (write)
Referring:
Availability: available
Function flags: count:1073741823 (estimated locally) body optimize_size
Called by:
Calls: Swt_Ip_Lock/7 (77174120 (estimated locally),0.07 per call) Swt_Ip_RegisterConfig/9 (77174120 (estimated locally),0.07 per call) Swt_Ip_CheckTimeout/10 (233860969 (estimated locally),0.22 per call) Swt_Ip_Unlock/8 (354334802 (estimated locally),0.33 per call)
Swt_Ip_IsKeyedServiceMode/12 (Swt_Ip_IsKeyedServiceMode) @06b6a540
Type: function definition analyzed
Visibility: prevailing_def_ironly
References:
Referring:
Availability: local
Function flags: count:1073741824 (estimated locally) body local optimize_size
Called by: Swt_Ip_Service/20 (1073741824 (estimated locally),1.00 per call)
Calls:
Swt_Ip_CheckTimeout/10 (Swt_Ip_CheckTimeout) @06a9dee0
Type: function definition analyzed
Visibility: prevailing_def_ironly
References:
Referring:
Availability: local
Function flags: count:1073741824 (estimated locally) body local optimize_size
Called by: Swt_Ip_SetTimeout/22 (1073741824 (estimated locally),1.00 per call) Swt_Ip_Config/21 (1073741824 (estimated locally),1.00 per call) Swt_Ip_Init/18 (233860969 (estimated locally),0.22 per call)
Calls:
Swt_Ip_RegisterConfig/9 (Swt_Ip_RegisterConfig) @06a9dc40
Type: function definition analyzed
Visibility: prevailing_def_ironly
References:
Referring:
Availability: local
Function flags: count:1073741824 (estimated locally) body local optimize_size
Called by: Swt_Ip_Config/21 (233860969 (estimated locally),0.22 per call) Swt_Ip_Init/18 (77174120 (estimated locally),0.07 per call)
Calls:
Swt_Ip_Unlock/8 (Swt_Ip_Unlock) @06a9d7e0
Type: function definition analyzed
Visibility: prevailing_def_ironly
References:
Referring:
Availability: local
Function flags: count:696142619 (estimated locally) body local optimize_size
Called by: Swt_Ip_StopTimer/24 (1073741824 (estimated locally),1.00 per call) Swt_Ip_StartTimer/23 (1073741824 (estimated locally),1.00 per call) Swt_Ip_SetTimeout/22 (354334802 (estimated locally),0.33 per call) Swt_Ip_Config/21 (354334802 (estimated locally),0.33 per call) Swt_Ip_Deinit/19 (1073741824 (estimated locally),1.00 per call) Swt_Ip_Init/18 (354334802 (estimated locally),0.33 per call)
Calls: OsIf_GetElapsed/28 (958878292 (estimated locally),1.38 per call) OsIf_GetCounter/27 (114863532 (estimated locally),0.16 per call) OsIf_MicrosToTicks/26 (696142619 (estimated locally),1.00 per call)
Swt_Ip_Lock/7 (Swt_Ip_Lock) @06a9d380
Type: function definition analyzed
Visibility: prevailing_def_ironly
References:
Referring:
Availability: local
Function flags: count:1073741824 (estimated locally) body local optimize_size
Called by: Swt_Ip_StopTimer/24 (354334802 (estimated locally),0.33 per call) Swt_Ip_StartTimer/23 (354334802 (estimated locally),0.33 per call) Swt_Ip_SetTimeout/22 (233860969 (estimated locally),0.22 per call) Swt_Ip_Config/21 (233860969 (estimated locally),0.22 per call) Swt_Ip_Init/18 (77174120 (estimated locally),0.07 per call)
Calls:
Swt_Ip_GetLock/6 (Swt_Ip_GetLock) @06a98ee0
Type: function definition analyzed
Visibility: prevailing_def_ironly
References:
Referring:
Availability: local
Function flags: count:1073741824 (estimated locally) body local optimize_size
Called by: Swt_Ip_StopTimer/24 (1073741824 (estimated locally),1.00 per call) Swt_Ip_StartTimer/23 (1073741824 (estimated locally),1.00 per call) Swt_Ip_SetTimeout/22 (1073741824 (estimated locally),1.00 per call) Swt_Ip_Service/20 (536870913 (estimated locally),0.50 per call)
Calls:
Swt_Ip_apCallbackPtr/2 (Swt_Ip_apCallbackPtr) @06a94d80
Type: variable definition analyzed
Visibility: prevailing_def_ironly
References:
Referring: Swt_Ip_Init/18 (write)Swt_Ip_IrqHandler/25 (read)
Availability: available
Varpool flags:
s_swtBase/1 (s_swtBase) @06a94cf0
Type: variable definition analyzed
Visibility: prevailing_def_ironly
References:
Referring: Swt_Ip_StartTimer/23 (read)Swt_Ip_StopTimer/24 (read)Swt_Ip_Init/18 (read)Swt_Ip_Deinit/19 (read)Swt_Ip_Service/20 (read)Swt_Ip_Config/21 (read)Swt_Ip_SetTimeout/22 (read)Swt_Ip_IrqHandler/25 (read)
Availability: available
Varpool flags: initialized read-only const-value-known
Swt_Ip_IrqHandler (uint32 u32Instance)
{
struct SWT_Type * const base;
void (*<T2c0>) (void) _1;
long unsigned int _7;
_Bool _8;
long unsigned int _9;
long unsigned int _10;
long unsigned int _11;
long unsigned int _12;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
base_5 = s_swtBase[u32Instance_4(D)];
# DEBUG base => base_5
# DEBUG BEGIN_STMT
# DEBUG base => base_5
# DEBUG INLINE_ENTRY Swt_Ip_GetIntFlag
# DEBUG BEGIN_STMT
_7 ={v} MEM[(const struct SWT_Type *)base_5].IR;
_8 = (_Bool) _7;
# DEBUG base => NULL
if (_8 != 0)
goto <bb 3>; [50.00%]
else
goto <bb 6>; [50.00%]
<bb 3> [local count: 536870913]:
# DEBUG BEGIN_STMT
# DEBUG base => base_5
# DEBUG INLINE_ENTRY Swt_Ip_ClearIntFlag
# DEBUG BEGIN_STMT
_9 ={v} base_5->IR;
_10 = _9 & 1;
base_5->IR ={v} _10;
# DEBUG base => NULL
# DEBUG BEGIN_STMT
_1 = Swt_Ip_apCallbackPtr[u32Instance_4(D)];
if (_1 != 0B)
goto <bb 4>; [70.00%]
else
goto <bb 6>; [30.00%]
<bb 4> [local count: 375809639]:
# DEBUG base => base_5
# DEBUG INLINE_ENTRY Swt_Ip_IsIntEnabled
# DEBUG BEGIN_STMT
_11 ={v} MEM[(const struct SWT_Type *)base_5].CR;
_12 = _11 & 64;
# DEBUG base => NULL
if (_12 != 0)
goto <bb 5>; [50.00%]
else
goto <bb 6>; [50.00%]
<bb 5> [local count: 187904819]:
# DEBUG BEGIN_STMT
_1 ();
<bb 6> [local count: 1073741824]:
return;
}
Swt_Ip_StopTimer (const uint32 u32Instance)
{
Swt_Ip_StatusType ret;
Swt_Ip_LockType lockConfig;
struct SWT_Type * const base;
long unsigned int _12;
long unsigned int _13;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
base_4 = s_swtBase[u32Instance_3(D)];
# DEBUG base => base_4
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
lockConfig_6 = Swt_Ip_GetLock (base_4);
# DEBUG lockConfig => lockConfig_6
# DEBUG BEGIN_STMT
SchM_Enter_Wdg_WDG_EXCLUSIVE_AREA_11 ();
# DEBUG BEGIN_STMT
ret_9 = Swt_Ip_Unlock (base_4);
# DEBUG ret => ret_9
# DEBUG BEGIN_STMT
if (ret_9 == 0)
goto <bb 3>; [33.00%]
else
goto <bb 4>; [67.00%]
<bb 3> [local count: 354334802]:
# DEBUG BEGIN_STMT
# DEBUG base => base_4
# DEBUG INLINE_ENTRY Swt_Ip_Disable
# DEBUG BEGIN_STMT
_12 ={v} base_4->CR;
_13 = _12 & 4294967294;
base_4->CR ={v} _13;
# DEBUG base => NULL
# DEBUG BEGIN_STMT
Swt_Ip_Lock (base_4, lockConfig_6);
<bb 4> [local count: 1073741824]:
# DEBUG BEGIN_STMT
SchM_Exit_Wdg_WDG_EXCLUSIVE_AREA_11 ();
# DEBUG BEGIN_STMT
return ret_9;
}
Swt_Ip_StartTimer (const uint32 u32Instance)
{
Swt_Ip_StatusType ret;
Swt_Ip_LockType lockConfig;
struct SWT_Type * const base;
long unsigned int _12;
long unsigned int _13;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
base_4 = s_swtBase[u32Instance_3(D)];
# DEBUG base => base_4
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
lockConfig_6 = Swt_Ip_GetLock (base_4);
# DEBUG lockConfig => lockConfig_6
# DEBUG BEGIN_STMT
SchM_Enter_Wdg_WDG_EXCLUSIVE_AREA_10 ();
# DEBUG BEGIN_STMT
ret_9 = Swt_Ip_Unlock (base_4);
# DEBUG ret => ret_9
# DEBUG BEGIN_STMT
if (ret_9 == 0)
goto <bb 3>; [33.00%]
else
goto <bb 4>; [67.00%]
<bb 3> [local count: 354334802]:
# DEBUG BEGIN_STMT
# DEBUG base => base_4
# DEBUG INLINE_ENTRY Swt_Ip_Enable
# DEBUG BEGIN_STMT
_12 ={v} base_4->CR;
_13 = _12 | 1;
base_4->CR ={v} _13;
# DEBUG base => NULL
# DEBUG BEGIN_STMT
Swt_Ip_Lock (base_4, lockConfig_6);
<bb 4> [local count: 1073741824]:
# DEBUG BEGIN_STMT
SchM_Exit_Wdg_WDG_EXCLUSIVE_AREA_10 ();
# DEBUG BEGIN_STMT
return ret_9;
}
Swt_Ip_SetTimeout (const uint32 u32Instance, const uint32 u32TimeoutValue, const uint32 u32WindowValue)
{
Swt_Ip_StatusType ret;
Swt_Ip_LockType lockConfig;
struct SWT_Type * const base;
<unnamed type> _1;
long unsigned int _2;
long unsigned int _3;
long unsigned int _4;
long unsigned int _5;
long unsigned int _16;
long unsigned int _24;
long unsigned int _25;
long unsigned int _26;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
base_11 = s_swtBase[u32Instance_10(D)];
# DEBUG base => base_11
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
lockConfig_13 = Swt_Ip_GetLock (base_11);
# DEBUG lockConfig => lockConfig_13
# DEBUG BEGIN_STMT
ret_17 = Swt_Ip_CheckTimeout (u32TimeoutValue_14(D), u32WindowValue_15(D));
# DEBUG ret => ret_17
# DEBUG BEGIN_STMT
if (ret_17 == 0)
goto <bb 3>; [33.00%]
else
goto <bb 8>; [67.00%]
<bb 3> [local count: 354334802]:
# DEBUG BEGIN_STMT
_1 = Swt_Ip_Unlock (base_11);
if (_1 == 1)
goto <bb 8>; [34.00%]
else
goto <bb 4>; [66.00%]
<bb 4> [local count: 233860969]:
# DEBUG BEGIN_STMT
# DEBUG base => base_11
# DEBUG INLINE_ENTRY Swt_Ip_Disable
# DEBUG BEGIN_STMT
_16 ={v} base_11->CR;
_24 = _16 & 4294967294;
base_11->CR ={v} _24;
# DEBUG base => NULL
# DEBUG BEGIN_STMT
base_11->TO ={v} u32TimeoutValue_14(D);
# DEBUG BEGIN_STMT
if (u32WindowValue_15(D) != 0)
goto <bb 5>; [50.00%]
else
goto <bb 6>; [50.00%]
<bb 5> [local count: 116930485]:
# DEBUG BEGIN_STMT
base_11->WN ={v} u32WindowValue_15(D);
# DEBUG BEGIN_STMT
_2 ={v} base_11->CR;
_3 = _2 | 128;
base_11->CR ={v} _3;
goto <bb 7>; [100.00%]
<bb 6> [local count: 116930485]:
# DEBUG BEGIN_STMT
_4 ={v} base_11->CR;
_5 = _4 & 4294967167;
base_11->CR ={v} _5;
<bb 7> [local count: 233860969]:
# DEBUG BEGIN_STMT
# DEBUG base => base_11
# DEBUG INLINE_ENTRY Swt_Ip_Enable
# DEBUG BEGIN_STMT
_25 ={v} base_11->CR;
_26 = _25 | 1;
base_11->CR ={v} _26;
# DEBUG base => NULL
# DEBUG BEGIN_STMT
Swt_Ip_Lock (base_11, lockConfig_13);
<bb 8> [local count: 1073741824]:
# ret_6 = PHI <ret_17(2), 1(3), 0(7)>
# DEBUG ret => ret_6
# DEBUG BEGIN_STMT
return ret_6;
}
Swt_Ip_Config (const uint32 u32Instance, const struct Swt_Ip_ConfigType * const Swt_Ip_pConfig)
{
Swt_Ip_StatusType ret;
struct SWT_Type * const base;
long unsigned int _1;
long unsigned int _2;
<unnamed type> _3;
<unnamed type> _4;
long unsigned int _13;
_Bool _18;
long unsigned int _19;
long unsigned int _20;
long unsigned int _21;
long unsigned int _22;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
base_11 = s_swtBase[u32Instance_10(D)];
# DEBUG base => base_11
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_1 = Swt_Ip_pConfig_12(D)->u32TimeoutValue;
_2 = Swt_Ip_pConfig_12(D)->u32WindowValue;
ret_14 = Swt_Ip_CheckTimeout (_1, _2);
# DEBUG ret => ret_14
# DEBUG BEGIN_STMT
if (ret_14 == 0)
goto <bb 3>; [33.00%]
else
goto <bb 9>; [67.00%]
<bb 3> [local count: 354334802]:
# DEBUG BEGIN_STMT
_3 = Swt_Ip_Unlock (base_11);
if (_3 == 1)
goto <bb 9>; [34.00%]
else
goto <bb 4>; [66.00%]
<bb 4> [local count: 233860969]:
# DEBUG BEGIN_STMT
# DEBUG base => base_11
# DEBUG INLINE_ENTRY Swt_Ip_IsEnable
# DEBUG BEGIN_STMT
_13 ={v} MEM[(const struct SWT_Type *)base_11].CR;
_18 = (_Bool) _13;
# DEBUG base => NULL
# DEBUG bSwtEnabled => _18
# DEBUG BEGIN_STMT
if (_18 != 0)
goto <bb 5>; [50.00%]
else
goto <bb 6>; [50.00%]
<bb 5> [local count: 116930485]:
# DEBUG BEGIN_STMT
# DEBUG base => base_11
# DEBUG INLINE_ENTRY Swt_Ip_Disable
# DEBUG BEGIN_STMT
_19 ={v} base_11->CR;
_20 = _19 & 4294967294;
base_11->CR ={v} _20;
<bb 6> [local count: 233860969]:
# DEBUG base => NULL
# DEBUG BEGIN_STMT
Swt_Ip_RegisterConfig (base_11, Swt_Ip_pConfig_12(D));
# DEBUG BEGIN_STMT
if (_18 != 0)
goto <bb 7>; [50.00%]
else
goto <bb 8>; [50.00%]
<bb 7> [local count: 116930485]:
# DEBUG BEGIN_STMT
# DEBUG base => base_11
# DEBUG INLINE_ENTRY Swt_Ip_Enable
# DEBUG BEGIN_STMT
_21 ={v} base_11->CR;
_22 = _21 | 1;
base_11->CR ={v} _22;
<bb 8> [local count: 233860969]:
# DEBUG base => NULL
# DEBUG BEGIN_STMT
_4 = Swt_Ip_pConfig_12(D)->lockConfig;
Swt_Ip_Lock (base_11, _4);
<bb 9> [local count: 1073741824]:
# ret_5 = PHI <ret_14(2), 1(3), 0(8)>
# DEBUG ret => ret_5
# DEBUG BEGIN_STMT
return ret_5;
}
Swt_Ip_Service (const uint32 u32Instance)
{
struct SWT_Type * const base;
_Bool _1;
<unnamed type> _2;
boolean iftmp.6_3;
boolean iftmp.7_4;
long unsigned int _13;
short unsigned int _14;
short unsigned int _15;
long unsigned int _16;
short unsigned int _17;
short unsigned int _18;
long unsigned int _19;
long unsigned int _20;
long unsigned int _21;
long unsigned int _22;
long unsigned int _23;
short unsigned int _24;
short unsigned int _25;
short unsigned int _26;
long unsigned int _27;
long unsigned int _28;
long unsigned int _29;
long unsigned int _30;
long unsigned int _31;
short unsigned int _32;
short unsigned int _33;
short unsigned int _34;
long unsigned int _35;
long unsigned int _36;
long unsigned int _37;
long unsigned int _38;
long unsigned int _39;
long unsigned int _40;
long unsigned int _41;
long unsigned int _42;
long unsigned int _43;
long unsigned int _44;
long unsigned int _45;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
base_8 = s_swtBase[u32Instance_7(D)];
# DEBUG base => base_8
# DEBUG BEGIN_STMT
# DEBUG bUnlockSequence => 0
# DEBUG BEGIN_STMT
SchM_Enter_Wdg_WDG_EXCLUSIVE_AREA_09 ();
# DEBUG BEGIN_STMT
_1 = Swt_Ip_IsKeyedServiceMode (base_8);
if (_1 != 0)
goto <bb 3>; [50.00%]
else
goto <bb 11>; [50.00%]
<bb 3> [local count: 536870913]:
# DEBUG BEGIN_STMT
# DEBUG base => base_8
# DEBUG INLINE_ENTRY Swt_Ip_ServiceKeyGen
# DEBUG BEGIN_STMT
_13 ={v} MEM[(const struct SWT_Type *)base_8].SK;
_14 = (short unsigned int) _13;
_15 = _14 * 17;
# DEBUG base => NULL
if (_15 == 50461)
goto <bb 5>; [34.00%]
else
goto <bb 4>; [66.00%]
<bb 4> [local count: 354334802]:
<bb 5> [local count: 536870913]:
# iftmp.6_3 = PHI <1(3), 0(4)>
# DEBUG bUnlockSequence => iftmp.6_3
# DEBUG BEGIN_STMT
# DEBUG base => base_8
# DEBUG INLINE_ENTRY Swt_Ip_ServiceKeyGen
# DEBUG BEGIN_STMT
_23 ={v} MEM[(const struct SWT_Type *)base_8].SK;
_24 = (short unsigned int) _23;
_25 = _24 * 17;
_26 = _25 + 3;
# DEBUG base => NULL
# DEBUG base => base_8
# DEBUG u16ServiceKey => _26
# DEBUG INLINE_ENTRY Swt_Ip_ServiceCmd
# DEBUG BEGIN_STMT
_19 ={v} base_8->SR;
_20 = _19 & 4294901760;
_21 = (long unsigned int) _26;
_22 = _20 | _21;
base_8->SR ={v} _22;
# DEBUG base => NULL
# DEBUG u16ServiceKey => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_8
# DEBUG INLINE_ENTRY Swt_Ip_ServiceKeyGen
# DEBUG BEGIN_STMT
_16 ={v} MEM[(const struct SWT_Type *)base_8].SK;
_17 = (short unsigned int) _16;
_18 = _17 * 17;
# DEBUG base => NULL
if (_18 == 50461)
goto <bb 8>; [34.00%]
else
goto <bb 6>; [66.00%]
<bb 6> [local count: 354334802]:
if (iftmp.6_3 != 0)
goto <bb 8>; [50.00%]
else
goto <bb 7>; [50.00%]
<bb 7> [local count: 177167401]:
<bb 8> [local count: 536870913]:
# iftmp.7_4 = PHI <1(6), 0(7), 1(5)>
# DEBUG bUnlockSequence => iftmp.7_4
# DEBUG BEGIN_STMT
# DEBUG base => base_8
# DEBUG INLINE_ENTRY Swt_Ip_ServiceKeyGen
# DEBUG BEGIN_STMT
_31 ={v} MEM[(const struct SWT_Type *)base_8].SK;
_32 = (short unsigned int) _31;
_33 = _32 * 17;
_34 = _33 + 3;
# DEBUG base => NULL
# DEBUG base => base_8
# DEBUG u16ServiceKey => _34
# DEBUG INLINE_ENTRY Swt_Ip_ServiceCmd
# DEBUG BEGIN_STMT
_27 ={v} base_8->SR;
_28 = _27 & 4294901760;
_29 = (long unsigned int) _34;
_30 = _28 | _29;
base_8->SR ={v} _30;
# DEBUG base => NULL
# DEBUG u16ServiceKey => NULL
# DEBUG BEGIN_STMT
_2 = Swt_Ip_GetLock (base_8);
if (_2 == 1)
goto <bb 9>; [34.00%]
else
goto <bb 12>; [66.00%]
<bb 9> [local count: 182536110]:
if (iftmp.7_4 != 0)
goto <bb 10>; [50.00%]
else
goto <bb 12>; [50.00%]
<bb 10> [local count: 91268055]:
# DEBUG BEGIN_STMT
# DEBUG base => base_8
# DEBUG u16ServiceKey => 55592
# DEBUG INLINE_ENTRY Swt_Ip_ServiceCmd
# DEBUG BEGIN_STMT
_37 ={v} base_8->SR;
_38 = _37 & 4294901760;
_39 = _38 | 55592;
base_8->SR ={v} _39;
# DEBUG base => NULL
# DEBUG u16ServiceKey => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_8
# DEBUG lockConfig => 1
# DEBUG INLINE_ENTRY Swt_Ip_Lock
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_35 ={v} base_8->CR;
_36 = _35 | 16;
base_8->CR ={v} _36;
# DEBUG BEGIN_STMT
goto <bb 12>; [100.00%]
<bb 11> [local count: 536870913]:
# DEBUG BEGIN_STMT
# DEBUG base => base_8
# DEBUG u16ServiceKey => 42498
# DEBUG INLINE_ENTRY Swt_Ip_ServiceCmd
# DEBUG BEGIN_STMT
_43 ={v} base_8->SR;
_44 = _43 & 4294901760;
_45 = _44 | 42498;
base_8->SR ={v} _45;
# DEBUG base => NULL
# DEBUG u16ServiceKey => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_8
# DEBUG u16ServiceKey => 46208
# DEBUG INLINE_ENTRY Swt_Ip_ServiceCmd
# DEBUG BEGIN_STMT
_40 ={v} base_8->SR;
_41 = _40 & 4294901760;
_42 = _41 | 46208;
base_8->SR ={v} _42;
<bb 12> [local count: 1073741824]:
# DEBUG base => NULL
# DEBUG u16ServiceKey => NULL
# DEBUG base => NULL
# DEBUG lockConfig => NULL
# DEBUG BEGIN_STMT
SchM_Exit_Wdg_WDG_EXCLUSIVE_AREA_09 ();
return;
}
Swt_Ip_Deinit (const uint32 u32Instance)
{
Swt_Ip_StatusType ret;
struct SWT_Type * const base;
long unsigned int _12;
long unsigned int _13;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
base_4 = s_swtBase[u32Instance_3(D)];
# DEBUG base => base_4
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
ret_6 = Swt_Ip_Unlock (base_4);
# DEBUG ret => ret_6
# DEBUG BEGIN_STMT
if (ret_6 == 0)
goto <bb 3>; [50.00%]
else
goto <bb 4>; [50.00%]
<bb 3> [local count: 536870913]:
# DEBUG BEGIN_STMT
# DEBUG base => base_4
# DEBUG INLINE_ENTRY Swt_Ip_Disable
# DEBUG BEGIN_STMT
_12 ={v} base_4->CR;
_13 = _12 & 4294967294;
base_4->CR ={v} _13;
# DEBUG base => NULL
# DEBUG BEGIN_STMT
base_4->IR ={v} 1;
# DEBUG BEGIN_STMT
base_4->TO ={v} 7601632;
# DEBUG BEGIN_STMT
base_4->WN ={v} 0;
# DEBUG BEGIN_STMT
base_4->SK ={v} 0;
# DEBUG BEGIN_STMT
base_4->CR ={v} 4278190346;
# DEBUG BEGIN_STMT
# DEBUG base => base_4
# DEBUG INLINE_ENTRY Swt_Ip_ClearRequest
# DEBUG BEGIN_STMT
base_4->RRR ={v} 1;
<bb 4> [local count: 1073741824]:
# DEBUG base => NULL
# DEBUG BEGIN_STMT
return ret_6;
}
Swt_Ip_Init (const uint32 u32Instance, const struct Swt_Ip_ConfigType * const Swt_Ip_pConfig)
{
Swt_Ip_StatusType ret;
struct SWT_Type * const base;
<unnamed type> _1;
long unsigned int _2;
long unsigned int _3;
_Bool _4;
void (*<T2c0>) (void) _5;
<unnamed type> _6;
long unsigned int _15;
_Bool _20;
long unsigned int _21;
long unsigned int _22;
<bb 2> [local count: 1073741823]:
# DEBUG BEGIN_STMT
base_12 = s_swtBase[u32Instance_11(D)];
# DEBUG base => base_12
# DEBUG BEGIN_STMT
# DEBUG ret => 0
# DEBUG BEGIN_STMT
# DEBUG base => base_12
# DEBUG INLINE_ENTRY Swt_Ip_IsEnable
# DEBUG BEGIN_STMT
_15 ={v} MEM[(const struct SWT_Type *)base_12].CR;
_20 = (_Bool) _15;
# DEBUG base => NULL
if (_20 != 0)
goto <bb 9>; [67.00%]
else
goto <bb 3>; [33.00%]
<bb 3> [local count: 354334802]:
_1 = Swt_Ip_Unlock (base_12);
if (_1 == 1)
goto <bb 9>; [34.00%]
else
goto <bb 5>; [66.00%]
<bb 5> [local count: 233860969]:
# DEBUG BEGIN_STMT
_2 = Swt_Ip_pConfig_14(D)->u32TimeoutValue;
_3 = Swt_Ip_pConfig_14(D)->u32WindowValue;
ret_16 = Swt_Ip_CheckTimeout (_2, _3);
# DEBUG ret => ret_16
# DEBUG BEGIN_STMT
if (ret_16 == 0)
goto <bb 6>; [33.00%]
else
goto <bb 9>; [67.00%]
<bb 6> [local count: 77174120]:
# DEBUG BEGIN_STMT
Swt_Ip_RegisterConfig (base_12, Swt_Ip_pConfig_14(D));
# DEBUG BEGIN_STMT
_4 = Swt_Ip_pConfig_14(D)->bEnInterrupt;
if (_4 != 0)
goto <bb 7>; [50.00%]
else
goto <bb 8>; [50.00%]
<bb 7> [local count: 38587060]:
# DEBUG BEGIN_STMT
_5 = Swt_Ip_pConfig_14(D)->pfSwtCallback;
Swt_Ip_apCallbackPtr[u32Instance_11(D)] = _5;
<bb 8> [local count: 77174120]:
# DEBUG BEGIN_STMT
# DEBUG base => base_12
# DEBUG INLINE_ENTRY Swt_Ip_Enable
# DEBUG BEGIN_STMT
_21 ={v} base_12->CR;
_22 = _21 | 1;
base_12->CR ={v} _22;
# DEBUG base => NULL
# DEBUG BEGIN_STMT
_6 = Swt_Ip_pConfig_14(D)->lockConfig;
Swt_Ip_Lock (base_12, _6);
<bb 9> [local count: 1073741824]:
# ret_7 = PHI <1(3), ret_16(5), 0(8), 1(2)>
# DEBUG ret => ret_7
# DEBUG BEGIN_STMT
return ret_7;
}
Swt_Ip_IsKeyedServiceMode (const struct SWT_Type * const base)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
boolean _6;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 ={v} base_5(D)->CR;
_2 = _1 >> 9;
_3 = _2 & 3;
_6 = _3 == 1;
return _6;
}
Swt_Ip_CheckTimeout (uint32 u32TimeoutValue, uint32 u32WindowValue)
{
Swt_Ip_StatusType ret;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG ret => 0
# DEBUG BEGIN_STMT
if (u32TimeoutValue_3(D) <= 2)
goto <bb 3>; [50.00%]
else
goto <bb 4>; [50.00%]
<bb 3> [local count: 536870913]:
# DEBUG BEGIN_STMT
# DEBUG ret => 1
<bb 4> [local count: 1073741824]:
# ret_1 = PHI <0(2), 1(3)>
# DEBUG ret => ret_1
# DEBUG BEGIN_STMT
if (u32WindowValue_4(D) != 0)
goto <bb 5>; [50.00%]
else
goto <bb 7>; [50.00%]
<bb 5> [local count: 536870913]:
if (u32TimeoutValue_3(D) <= u32WindowValue_4(D))
goto <bb 6>; [50.00%]
else
goto <bb 7>; [50.00%]
<bb 6> [local count: 268435456]:
# DEBUG BEGIN_STMT
# DEBUG ret => 1
<bb 7> [local count: 1073741824]:
# ret_2 = PHI <ret_1(4), ret_1(5), 1(6)>
# DEBUG ret => ret_2
# DEBUG BEGIN_STMT
return ret_2;
}
Swt_Ip_RegisterConfig (struct SWT_Type * const base, const struct Swt_Ip_ConfigType * const Swt_Ip_pConfig)
{
uint32 cr;
unsigned char _1;
long unsigned int _2;
long unsigned int _3;
_Bool _4;
long unsigned int _5;
_Bool _6;
long unsigned int _7;
_Bool _8;
long unsigned int _9;
_Bool _10;
long unsigned int _11;
_Bool _12;
long unsigned int _13;
_Bool _14;
long unsigned int _15;
long unsigned int _16;
short unsigned int _17;
long unsigned int _18;
long unsigned int iftmp.0_19;
long unsigned int iftmp.1_20;
long unsigned int iftmp.2_21;
long unsigned int iftmp.3_22;
long unsigned int iftmp.4_23;
long unsigned int iftmp.5_24;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG cr => 0
# DEBUG BEGIN_STMT
_1 = Swt_Ip_pConfig_28(D)->u8MapEnBitmask;
_2 = (long unsigned int) _1;
_3 = _2 << 24;
_4 = Swt_Ip_pConfig_28(D)->bEnKeyedService;
if (_4 != 0)
goto <bb 4>; [50.00%]
else
goto <bb 3>; [50.00%]
<bb 3> [local count: 536870913]:
<bb 4> [local count: 1073741824]:
# iftmp.0_19 = PHI <512(2), 0(3)>
_5 = _3 | iftmp.0_19;
_6 = Swt_Ip_pConfig_28(D)->bEnResetOnInvalidAccess;
if (_6 != 0)
goto <bb 6>; [50.00%]
else
goto <bb 5>; [50.00%]
<bb 5> [local count: 536870913]:
<bb 6> [local count: 1073741824]:
# iftmp.1_20 = PHI <256(4), 0(5)>
_7 = _5 | iftmp.1_20;
_8 = Swt_Ip_pConfig_28(D)->bEnWindow;
if (_8 != 0)
goto <bb 8>; [50.00%]
else
goto <bb 7>; [50.00%]
<bb 7> [local count: 536870913]:
<bb 8> [local count: 1073741824]:
# iftmp.2_21 = PHI <128(6), 0(7)>
_9 = _7 | iftmp.2_21;
_10 = Swt_Ip_pConfig_28(D)->bEnInterrupt;
if (_10 != 0)
goto <bb 10>; [50.00%]
else
goto <bb 9>; [50.00%]
<bb 9> [local count: 536870913]:
<bb 10> [local count: 1073741824]:
# iftmp.3_22 = PHI <64(8), 0(9)>
_11 = _9 | iftmp.3_22;
_12 = Swt_Ip_pConfig_28(D)->bEnRunInStopMode;
if (_12 != 0)
goto <bb 12>; [50.00%]
else
goto <bb 11>; [50.00%]
<bb 11> [local count: 536870913]:
<bb 12> [local count: 1073741824]:
# iftmp.4_23 = PHI <0(10), 4(11)>
_13 = _11 | iftmp.4_23;
_14 = Swt_Ip_pConfig_28(D)->bEnRunInDebugMode;
if (_14 != 0)
goto <bb 14>; [50.00%]
else
goto <bb 13>; [50.00%]
<bb 13> [local count: 536870913]:
<bb 14> [local count: 1073741824]:
# iftmp.5_24 = PHI <0(12), 2(13)>
cr_29 = _13 | iftmp.5_24;
# DEBUG cr => cr_29
# DEBUG BEGIN_STMT
base_30(D)->CR ={v} cr_29;
# DEBUG BEGIN_STMT
base_30(D)->IR ={v} 1;
# DEBUG BEGIN_STMT
_15 = Swt_Ip_pConfig_28(D)->u32TimeoutValue;
base_30(D)->TO ={v} _15;
# DEBUG BEGIN_STMT
if (_8 != 0)
goto <bb 15>; [50.00%]
else
goto <bb 16>; [50.00%]
<bb 15> [local count: 536870913]:
# DEBUG BEGIN_STMT
_16 = Swt_Ip_pConfig_28(D)->u32WindowValue;
base_30(D)->WN ={v} _16;
<bb 16> [local count: 1073741824]:
# DEBUG BEGIN_STMT
if (_4 != 0)
goto <bb 17>; [50.00%]
else
goto <bb 18>; [50.00%]
<bb 17> [local count: 536870913]:
# DEBUG BEGIN_STMT
_17 = Swt_Ip_pConfig_28(D)->u16InitialKey;
_18 = (long unsigned int) _17;
base_30(D)->SK ={v} _18;
<bb 18> [local count: 1073741824]:
return;
}
Swt_Ip_Unlock (struct SWT_Type * const base)
{
uint32 ElapsedTicks;
uint32 CurrentTicks;
uint32 TimeoutTicks;
Swt_Ip_StatusType ret;
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
long unsigned int _4;
long unsigned int _5;
long unsigned int _6;
long unsigned int _7;
long unsigned int _22;
<bb 2> [local count: 696142619]:
# DEBUG BEGIN_STMT
# DEBUG ret => 0
# DEBUG BEGIN_STMT
TimeoutTicks_14 = OsIf_MicrosToTicks (3000, 0);
# DEBUG TimeoutTicks => TimeoutTicks_14
# DEBUG BEGIN_STMT
CurrentTicks = 0;
# DEBUG BEGIN_STMT
# DEBUG ElapsedTicks => 0
# DEBUG BEGIN_STMT
_1 ={v} base_16(D)->CR;
_2 = _1 & 32;
if (_2 != 0)
goto <bb 10>; [50.00%]
else
goto <bb 3>; [50.00%]
<bb 3> [local count: 348071309]:
# DEBUG BEGIN_STMT
_3 ={v} base_16(D)->CR;
_4 = _3 & 16;
if (_4 != 0)
goto <bb 4>; [33.00%]
else
goto <bb 10>; [67.00%]
<bb 4> [local count: 114863532]:
# DEBUG BEGIN_STMT
base_16(D)->SR ={v} 50464;
# DEBUG BEGIN_STMT
base_16(D)->SR ={v} 55592;
# DEBUG BEGIN_STMT
_5 = OsIf_GetCounter (0);
CurrentTicks = _5;
# DEBUG BEGIN_STMT
goto <bb 6>; [100.00%]
<bb 5> [local count: 958878292]:
# DEBUG BEGIN_STMT
_22 = OsIf_GetElapsed (&CurrentTicks, 0);
ElapsedTicks_23 = ElapsedTicks_9 + _22;
# DEBUG ElapsedTicks => ElapsedTicks_23
<bb 6> [local count: 1073741824]:
# ElapsedTicks_9 = PHI <0(4), ElapsedTicks_23(5)>
# DEBUG ElapsedTicks => ElapsedTicks_9
# DEBUG BEGIN_STMT
_6 ={v} base_16(D)->CR;
_7 = _6 & 16;
if (_7 != 0)
goto <bb 7>; [94.50%]
else
goto <bb 8>; [5.50%]
<bb 7> [local count: 1014686025]:
if (ElapsedTicks_9 < TimeoutTicks_14)
goto <bb 5>; [94.50%]
else
goto <bb 8>; [5.50%]
<bb 8> [local count: 114863532]:
# ElapsedTicks_24 = PHI <ElapsedTicks_9(6), ElapsedTicks_9(7)>
# DEBUG BEGIN_STMT
if (TimeoutTicks_14 <= ElapsedTicks_24)
goto <bb 9>; [50.00%]
else
goto <bb 10>; [50.00%]
<bb 9> [local count: 57431766]:
# DEBUG BEGIN_STMT
# DEBUG ret => 1
<bb 10> [local count: 696142618]:
# ret_8 = PHI <1(2), 0(3), 1(9), 0(8)>
# DEBUG ret => ret_8
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
CurrentTicks ={v} {CLOBBER};
return ret_8;
}
Swt_Ip_Lock (struct SWT_Type * const base, Swt_Ip_LockType lockConfig)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
long unsigned int _4;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
switch (lockConfig_6(D)) <default: <L4> [33.33%], case 1: <L1> [33.33%], case 2: <L0> [33.33%]>
<bb 3> [local count: 357878150]:
<L0>:
# DEBUG BEGIN_STMT
_1 ={v} base_8(D)->CR;
_2 = _1 | 32;
base_8(D)->CR ={v} _2;
# DEBUG BEGIN_STMT
goto <bb 5>; [100.00%]
<bb 4> [local count: 357878150]:
<L1>:
# DEBUG BEGIN_STMT
_3 ={v} base_8(D)->CR;
_4 = _3 | 16;
base_8(D)->CR ={v} _4;
# DEBUG BEGIN_STMT
<bb 5> [local count: 1073634451]:
<L4>:
return;
}
Swt_Ip_GetLock (const struct SWT_Type * const base)
{
Swt_Ip_LockType lockMode;
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
<unnamed type> _8;
unsigned int _10;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG lockMode => 0
# DEBUG BEGIN_STMT
_1 ={v} base_7(D)->CR;
_2 = _1 >> 4;
_3 = _2 & 3;
_10 = _3;
if (_10 <= 2)
goto <bb 4>; [50.00%]
else
goto <bb 3>; [50.00%]
<bb 3> [local count: 536870913]:
<L7>:
lockMode_9 = 2;
goto <bb 5>; [100.00%]
<bb 4> [local count: 536870913]:
<L8>:
_8 = (<unnamed type>) _3;
lockMode_5 = _8;
<bb 5> [local count: 1073741824]:
# lockMode_4 = PHI <lockMode_5(4), lockMode_9(3)>
<L9>:
<L6>:
# DEBUG lockMode => lockMode_4
# DEBUG BEGIN_STMT
return lockMode_4;
}