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

2363 lines
75 KiB
Plaintext

IPA function summary for Swt_Ip_IrqHandler/25 inlinable
global time: 13.025000
self size: 20
global size: 20
min size: 6
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
IPA function summary for Swt_Ip_StopTimer/24 inlinable
global time: 53.950000
self size: 20
global size: 20
min size: 22
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: 12callee size: 7 stack: 0
Swt_Ip_Unlock/8 function not considered for inlining
loop depth: 0 freq:1.00 size: 3 time: 12callee size:17 stack: 4
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: 12callee size: 4 stack: 0
IPA function summary for Swt_Ip_StartTimer/23 inlinable
global time: 53.950000
self size: 20
global size: 20
min size: 22
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: 12callee size: 7 stack: 0
Swt_Ip_Unlock/8 function not considered for inlining
loop depth: 0 freq:1.00 size: 3 time: 12callee size:17 stack: 4
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: 12callee size: 4 stack: 0
IPA function summary for Swt_Ip_SetTimeout/22 inlinable
global time: 39.956100
self size: 37
global size: 37
min size: 26
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: 12callee size: 7 stack: 0
Swt_Ip_Unlock/8 function not considered for inlining
loop depth: 0 freq:0.33 size: 3 time: 12callee size:17 stack: 4
Swt_Ip_CheckTimeout/10 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
Swt_Ip_GetLock/6 function not considered for inlining
loop depth: 0 freq:1.00 size: 3 time: 12callee size: 4 stack: 0
IPA function summary for Swt_Ip_Config/21 inlinable
global time: 31.807400
self size: 35
global size: 35
min size: 26
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: 12callee size: 7 stack: 0
Swt_Ip_RegisterConfig/9 function not considered for inlining
loop depth: 0 freq:0.22 size: 3 time: 12callee size:20 stack: 0
Swt_Ip_Unlock/8 function not considered for inlining
loop depth: 0 freq:0.33 size: 3 time: 12callee size:17 stack: 4
Swt_Ip_CheckTimeout/10 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
IPA function summary for Swt_Ip_Service/20 inlinable
global time: 60.595000
self size: 57
global size: 57
min size: 16
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: 12callee size: 4 stack: 0
Swt_Ip_IsKeyedServiceMode/12 function not considered for inlining
loop depth: 0 freq:1.00 size: 3 time: 12callee size: 3 stack: 0
SchM_Enter_Wdg_WDG_EXCLUSIVE_AREA_09/29 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Swt_Ip_Deinit/19 inlinable
global time: 21.500000
self size: 18
global size: 18
min size: 6
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: 12callee size:17 stack: 4
IPA function summary for Swt_Ip_Init/18 inlinable
global time: 16.622568
self size: 35
global size: 35
min size: 26
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: 12callee size: 7 stack: 0
Swt_Ip_RegisterConfig/9 function not considered for inlining
loop depth: 0 freq:0.07 size: 3 time: 12callee size:20 stack: 0
Swt_Ip_CheckTimeout/10 function not considered for inlining
loop depth: 0 freq:0.22 size: 4 time: 13callee size: 4 stack: 0
Swt_Ip_Unlock/8 function not considered for inlining
loop depth: 0 freq:0.33 size: 3 time: 12callee size:17 stack: 4
IPA function summary for Swt_Ip_IsKeyedServiceMode/12 inlinable
global time: 6.000000
self size: 7
global size: 7
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:
IPA function summary for Swt_Ip_CheckTimeout/10 inlinable
global time: 7.000000
self size: 9
global size: 9
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:
IPA function summary for Swt_Ip_RegisterConfig/9 inlinable
global time: 38.000000
self size: 41
global size: 41
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:
IPA function summary for Swt_Ip_Unlock/8 inlinable
global time: 53.173663
self size: 35
global size: 35
min size: 22
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
IPA function summary for Swt_Ip_Lock/7 inlinable
global time: 5.999600
self size: 15
global size: 15
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:
IPA function summary for Swt_Ip_GetLock/6 inlinable
global time: 7.000000
self size: 8
global size: 8
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:
Flattening functions:
Overall time estimate: 408.579332 weighted by profile: 0.000000
Deciding on inlining of small functions. Starting with size 0.
Enqueueing calls in Swt_Ip_IrqHandler/25.
Enqueueing calls in Swt_Ip_StopTimer/24.
Enqueueing calls in Swt_Ip_StartTimer/23.
Enqueueing calls in Swt_Ip_SetTimeout/22.
Enqueueing calls in Swt_Ip_Config/21.
Enqueueing calls in Swt_Ip_Service/20.
Enqueueing calls in Swt_Ip_Deinit/19.
Enqueueing calls in Swt_Ip_Init/18.
Enqueueing calls in Swt_Ip_IsKeyedServiceMode/12.
Enqueueing calls in Swt_Ip_CheckTimeout/10.
Enqueueing calls in Swt_Ip_RegisterConfig/9.
Enqueueing calls in Swt_Ip_Unlock/8.
Enqueueing calls in Swt_Ip_Lock/7.
Enqueueing calls in Swt_Ip_GetLock/6.
Considering Swt_Ip_IsKeyedServiceMode/12 with 7 size
to be inlined into Swt_Ip_Service/20 in ../RTD/src/Swt_Ip.c:500
Estimated badness is -8.000000, frequency 1.00.
Considering Swt_Ip_GetLock/6 with 8 size
to be inlined into Swt_Ip_StartTimer/23 in ../RTD/src/Swt_Ip.c:645
Estimated badness is -1.318182, frequency 1.00.
Considering Swt_Ip_GetLock/6 with 8 size
to be inlined into Swt_Ip_StopTimer/24 in ../RTD/src/Swt_Ip.c:677
Estimated badness is -1.318182, frequency 1.00.
Considering Swt_Ip_CheckTimeout/10 with 9 size
to be inlined into Swt_Ip_Config/21 in ../RTD/src/Swt_Ip.c:541
Estimated badness is -0.810811, frequency 1.00.
Considering Swt_Ip_CheckTimeout/10 with 9 size
to be inlined into Swt_Ip_SetTimeout/22 in ../RTD/src/Swt_Ip.c:591
Estimated badness is -0.769231, frequency 1.00.
Considering Swt_Ip_GetLock/6 with 8 size
to be inlined into Swt_Ip_SetTimeout/22 in ../RTD/src/Swt_Ip.c:590
Estimated badness is -0.743590, frequency 1.00.
Considering Swt_Ip_GetLock/6 with 8 size
to be inlined into Swt_Ip_Service/20 in ../RTD/src/Swt_Ip.c:508
Estimated badness is -0.245763, frequency 0.50.
Considering Swt_Ip_CheckTimeout/10 with 9 size
to be inlined into Swt_Ip_Init/18 in ../RTD/src/Swt_Ip.c:421
Estimated badness is -0.176595, frequency 0.22.
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Deciding on functions to be inlined into all callers and removing useless speculations:
Overall time estimate: 336.086931 weighted by profile: 0.000000
Why inlining failed?
function body not available : 9 calls, 8.542416 freq, 0 count
call is unlikely and code size would grow : 13 calls, 5.447148 freq, 0 count
IPA function summary for Swt_Ip_IrqHandler/25 inlinable
global time: 13.025000
self size: 20
global size: 20
min size: 6
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
IPA function summary for Swt_Ip_StopTimer/24 inlinable
global time: 46.450000
self size: 20
global size: 22
min size: 38
self stack: 0
global stack: 0
size:10.500000, time:8.490000
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 call is unlikely and code size would grow
loop depth: 0 freq:0.33 size: 3 time: 12callee size: 7 stack: 0
Swt_Ip_Unlock/8 call is unlikely and code size would grow
loop depth: 0 freq:1.00 size: 3 time: 12callee size:17 stack: 4
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/51 inlined
loop depth: 0 freq:1.00 size: 3 time: 12callee size: 4 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
IPA function summary for Swt_Ip_StartTimer/23 inlinable
global time: 46.450000
self size: 20
global size: 22
min size: 38
self stack: 0
global stack: 0
size:10.500000, time:8.490000
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 call is unlikely and code size would grow
loop depth: 0 freq:0.33 size: 3 time: 12callee size: 7 stack: 0
Swt_Ip_Unlock/8 call is unlikely and code size would grow
loop depth: 0 freq:1.00 size: 3 time: 12callee size:17 stack: 4
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/50 inlined
loop depth: 0 freq:1.00 size: 3 time: 12callee size: 4 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
IPA function summary for Swt_Ip_SetTimeout/22 inlinable
global time: 24.456100
self size: 37
global size: 41
min size: 56
self stack: 0
global stack: 0
size:14.500000, time:7.684600
size:3.000000, time:2.000000, executed if:(not inlined)
size:2.000000, time:2.000000, nonconst if:(op1 changed || op2 changed)
size:4.000000, time:2.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)
size:2.000000, time:2.000000, nonconst if:(op1 changed)
size:2.000000, time:1.000000, executed if:(op2 != 0), nonconst if:(op2 != 0) && (op1 changed || op2 changed)
calls:
Swt_Ip_Lock/7 call is unlikely and code size would grow
loop depth: 0 freq:0.22 size: 3 time: 12callee size: 7 stack: 0
Swt_Ip_Unlock/8 call is unlikely and code size would grow
loop depth: 0 freq:0.33 size: 3 time: 12callee size:17 stack: 4
Swt_Ip_CheckTimeout/53 inlined
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
Swt_Ip_GetLock/54 inlined
loop depth: 0 freq:1.00 size: 3 time: 12callee size: 4 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
IPA function summary for Swt_Ip_Config/21 inlinable
global time: 23.807400
self size: 35
global size: 37
min size: 44
self stack: 0
global stack: 0
size:20.500000, time:8.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 call is unlikely and code size would grow
loop depth: 0 freq:0.22 size: 3 time: 12callee size: 7 stack: 0
Swt_Ip_RegisterConfig/9 call is unlikely and code size would grow
loop depth: 0 freq:0.22 size: 3 time: 12callee size:20 stack: 0
Swt_Ip_Unlock/8 call is unlikely and code size would grow
loop depth: 0 freq:0.33 size: 3 time: 12callee size:17 stack: 4
Swt_Ip_CheckTimeout/52 inlined
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
IPA function summary for Swt_Ip_Service/20 inlinable
global time: 48.345000
self size: 57
global size: 59
min size: 30
self stack: 0
global stack: 0
size:54.000000, time:26.345000
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 inlined
loop depth: 0 freq:0.50 size: 3 time: 12callee size: 4 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
Swt_Ip_IsKeyedServiceMode/12 inlined
loop depth: 0 freq:1.00 size: 3 time: 12callee size: 3 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
SchM_Enter_Wdg_WDG_EXCLUSIVE_AREA_09/29 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Swt_Ip_Deinit/19 inlinable
global time: 21.500000
self size: 18
global size: 18
min size: 6
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 call is unlikely and code size would grow
loop depth: 0 freq:1.00 size: 3 time: 12callee size:17 stack: 4
IPA function summary for Swt_Ip_Init/18 inlinable
global time: 14.880168
self size: 35
global size: 37
min size: 44
self stack: 0
global stack: 0
size:22.500000, time:6.887550
size:5.500000, time:2.307643, executed if:(not inlined)
calls:
Swt_Ip_Lock/7 call is unlikely and code size would grow
loop depth: 0 freq:0.07 size: 3 time: 12callee size: 7 stack: 0
Swt_Ip_RegisterConfig/9 call is unlikely and code size would grow
loop depth: 0 freq:0.07 size: 3 time: 12callee size:20 stack: 0
Swt_Ip_CheckTimeout/10 inlined
loop depth: 0 freq:0.22 size: 4 time: 13callee size: 4 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
Swt_Ip_Unlock/8 call is unlikely and code size would grow
loop depth: 0 freq:0.33 size: 3 time: 12callee size:17 stack: 4
IPA function summary for Swt_Ip_RegisterConfig/9 inlinable
global time: 38.000000
self size: 41
global size: 41
min size: 2
self stack: 0
global stack: 0
estimated growth:15
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:
IPA function summary for Swt_Ip_Unlock/8 inlinable
global time: 53.173663
self size: 35
global size: 35
min size: 19
self stack: 4
global stack: 4
estimated growth:127
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
IPA function summary for Swt_Ip_Lock/7 inlinable
global time: 5.999600
self size: 15
global size: 15
min size: 0
self stack: 0
global stack: 0
estimated growth:20
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:
Symbol table:
Swt_Ip_GetLock/54 (Swt_Ip_GetLock) @06a989a0
Type: function definition analyzed
Visibility:
next sharing asm name: 51
References:
Referring:
Function Swt_Ip_GetLock/54 is inline copy in Swt_Ip_SetTimeout/22
Clone of Swt_Ip_GetLock/6
Availability: local
Function flags: count:1073741824 (estimated locally) body local optimize_size
Called by: Swt_Ip_SetTimeout/22 (inlined) (1073741824 (estimated locally),1.00 per call)
Calls:
Swt_Ip_CheckTimeout/53 (Swt_Ip_CheckTimeout) @06a98c40
Type: function definition analyzed
Visibility:
next sharing asm name: 52
References:
Referring:
Function Swt_Ip_CheckTimeout/53 is inline copy in Swt_Ip_SetTimeout/22
Clone of Swt_Ip_CheckTimeout/10
Availability: local
Function flags: count:1073741824 (estimated locally) body local optimize_size
Called by: Swt_Ip_SetTimeout/22 (inlined) (1073741824 (estimated locally),1.00 per call)
Calls:
Swt_Ip_CheckTimeout/52 (Swt_Ip_CheckTimeout) @06b6ae00
Type: function definition analyzed
Visibility:
next sharing asm name: 10
previous sharing asm name: 53
References:
Referring:
Function Swt_Ip_CheckTimeout/52 is inline copy in Swt_Ip_Config/21
Clone of Swt_Ip_CheckTimeout/10
Availability: local
Function flags: count:1073741824 (estimated locally) body local optimize_size
Called by: Swt_Ip_Config/21 (inlined) (1073741824 (estimated locally),1.00 per call)
Calls:
Swt_Ip_GetLock/51 (Swt_Ip_GetLock) @06b6d380
Type: function definition analyzed
Visibility:
next sharing asm name: 50
previous sharing asm name: 54
References:
Referring:
Function Swt_Ip_GetLock/51 is inline copy in Swt_Ip_StopTimer/24
Clone of Swt_Ip_GetLock/6
Availability: local
Function flags: count:1073741824 (estimated locally) body local optimize_size
Called by: Swt_Ip_StopTimer/24 (inlined) (1073741824 (estimated locally),1.00 per call)
Calls:
Swt_Ip_GetLock/50 (Swt_Ip_GetLock) @06b6d0e0
Type: function definition analyzed
Visibility:
next sharing asm name: 6
previous sharing asm name: 51
References:
Referring:
Function Swt_Ip_GetLock/50 is inline copy in Swt_Ip_StartTimer/23
Clone of Swt_Ip_GetLock/6
Availability: local
Function flags: count:1073741824 (estimated locally) body local optimize_size
Called by: Swt_Ip_StartTimer/23 (inlined) (1073741824 (estimated locally),1.00 per call)
Calls:
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/51 (inlined) (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/50 (inlined) (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/53 (inlined) (1073741824 (estimated locally),1.00 per call) Swt_Ip_GetLock/54 (inlined) (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/52 (inlined) (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 (inlined) (536870913 (estimated locally),0.50 per call) Swt_Ip_IsKeyedServiceMode/12 (inlined) (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 (inlined) (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:
Function Swt_Ip_IsKeyedServiceMode/12 is inline copy in Swt_Ip_Service/20
Availability: local
Function flags: count:1073741824 (estimated locally) body local optimize_size
Called by: Swt_Ip_Service/20 (inlined) (1073741824 (estimated locally),1.00 per call)
Calls:
Swt_Ip_CheckTimeout/10 (Swt_Ip_CheckTimeout) @06a9dee0
Type: function definition analyzed
Visibility: prevailing_def_ironly
previous sharing asm name: 52
References:
Referring:
Function Swt_Ip_CheckTimeout/10 is inline copy in Swt_Ip_Init/18
Availability: local
Function flags: count:233860969 (estimated locally) body local optimize_size
Called by: Swt_Ip_Init/18 (inlined) (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
previous sharing asm name: 50
References:
Referring:
Function Swt_Ip_GetLock/6 is inline copy in Swt_Ip_Service/20
Availability: local
Function flags: count:536870913 (estimated locally) body local optimize_size
Called by: Swt_Ip_Service/20 (inlined) (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
;; Function Swt_Ip_Lock (Swt_Ip_Lock, funcdef_no=5, decl_uid=4365, cgraph_uid=6, symbol_order=7)
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;
}
;; Function Swt_Ip_RegisterConfig (Swt_Ip_RegisterConfig, funcdef_no=7, decl_uid=4383, cgraph_uid=8, symbol_order=9)
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;
}
;; Function Swt_Ip_Unlock (Swt_Ip_Unlock, funcdef_no=6, decl_uid=4372, cgraph_uid=7, symbol_order=8)
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;
}
;; Function Swt_Ip_Init (Swt_Ip_Init, funcdef_no=16, decl_uid=4249, cgraph_uid=17, symbol_order=18)
Symbols to be put in SSA form
{ D.4695 }
Incremental SSA update started at block: 0
Number of blocks in CFG: 17
Number of blocks to update: 15 ( 88%)
Merging blocks 5 and 11
Merging blocks 16 and 10
;; 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
;; 2 succs { 13 3 }
;; 3 succs { 13 4 }
;; 4 succs { 5 6 }
;; 5 succs { 6 }
;; 6 succs { 7 9 }
;; 7 succs { 8 9 }
;; 8 succs { 9 }
;; 9 succs { 10 13 }
;; 10 succs { 11 12 }
;; 11 succs { 12 }
;; 12 succs { 13 }
;; 13 succs { 1 }
Swt_Ip_Init (const uint32 u32Instance, const struct Swt_Ip_ConfigType * const Swt_Ip_pConfig)
{
Swt_Ip_StatusType ret;
Swt_Ip_StatusType D.4695;
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 13>; [67.00%]
else
goto <bb 3>; [33.00%]
<bb 3> [local count: 354334802]:
_1 = Swt_Ip_Unlock (base_12);
if (_1 == 1)
goto <bb 13>; [34.00%]
else
goto <bb 4>; [66.00%]
<bb 4> [local count: 233860969]:
# DEBUG BEGIN_STMT
_2 = Swt_Ip_pConfig_14(D)->u32TimeoutValue;
_3 = Swt_Ip_pConfig_14(D)->u32WindowValue;
# DEBUG u32TimeoutValue => _2
# DEBUG u32WindowValue => _3
# DEBUG INLINE_ENTRY Swt_Ip_CheckTimeout
# DEBUG BEGIN_STMT
# DEBUG ret => 0
# DEBUG BEGIN_STMT
if (_2 <= 2)
goto <bb 5>; [50.00%]
else
goto <bb 6>; [50.00%]
<bb 5> [local count: 116930484]:
# DEBUG BEGIN_STMT
# DEBUG ret => 1
<bb 6> [local count: 233860969]:
# ret_25 = PHI <0(4), 1(5)>
# DEBUG ret => ret_25
# DEBUG BEGIN_STMT
if (_3 != 0)
goto <bb 7>; [50.00%]
else
goto <bb 9>; [50.00%]
<bb 7> [local count: 116930484]:
if (_2 <= _3)
goto <bb 8>; [50.00%]
else
goto <bb 9>; [50.00%]
<bb 8> [local count: 58465242]:
# DEBUG BEGIN_STMT
# DEBUG ret => 1
<bb 9> [local count: 233860969]:
# ret_24 = PHI <ret_25(6), ret_25(7), 1(8)>
# DEBUG ret => ret_24
# DEBUG BEGIN_STMT
_26 = ret_24;
# DEBUG u32TimeoutValue => NULL
# DEBUG u32WindowValue => NULL
# DEBUG ret => NULL
ret_16 = _26;
# DEBUG ret => ret_16
# DEBUG BEGIN_STMT
if (ret_16 == 0)
goto <bb 10>; [33.00%]
else
goto <bb 13>; [67.00%]
<bb 10> [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 11>; [50.00%]
else
goto <bb 12>; [50.00%]
<bb 11> [local count: 38587060]:
# DEBUG BEGIN_STMT
_5 = Swt_Ip_pConfig_14(D)->pfSwtCallback;
Swt_Ip_apCallbackPtr[u32Instance_11(D)] = _5;
<bb 12> [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 13> [local count: 1073741824]:
# ret_7 = PHI <1(3), ret_16(9), 0(12), 1(2)>
# DEBUG ret => ret_7
# DEBUG BEGIN_STMT
return ret_7;
}
;; Function Swt_Ip_Deinit (Swt_Ip_Deinit, funcdef_no=17, decl_uid=4251, cgraph_uid=18, symbol_order=19)
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;
}
;; Function Swt_Ip_Service (Swt_Ip_Service, funcdef_no=18, decl_uid=4253, cgraph_uid=19, symbol_order=20)
Symbols to be put in SSA form
{ D.4611 D.4701 D.4704 }
Incremental SSA update started at block: 0
Number of blocks in CFG: 20
Number of blocks to update: 19 ( 95%)
Merging blocks 2 and 14
Merging blocks 8 and 16
Merging blocks 19 and 15
Merging blocks 2 and 13
;; 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
;; 2 succs { 3 14 }
;; 3 succs { 5 4 }
;; 4 succs { 5 }
;; 5 succs { 8 6 }
;; 6 succs { 8 7 }
;; 7 succs { 8 }
;; 8 succs { 9 10 }
;; 9 succs { 11 }
;; 10 succs { 11 }
;; 11 succs { 12 15 }
;; 12 succs { 13 15 }
;; 13 succs { 15 }
;; 14 succs { 15 }
;; 15 succs { 1 }
Swt_Ip_Service (const uint32 u32Instance)
{
Swt_Ip_LockType lockMode;
Swt_Ip_LockType D.4704;
boolean D.4701;
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;
long unsigned int _52;
long unsigned int _53;
long unsigned int _54;
_Bool _55;
long unsigned int _56;
long unsigned int _57;
long unsigned int _58;
unsigned int _59;
<unnamed type> _61;
<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
# DEBUG base => base_8
# DEBUG INLINE_ENTRY Swt_Ip_IsKeyedServiceMode
# DEBUG BEGIN_STMT
_52 ={v} MEM[(const struct SWT_Type *)base_8].CR;
_53 = _52 >> 9;
_54 = _53 & 3;
_55 = _54 == 1;
_64 = _55;
# DEBUG base => NULL
_1 = _64;
if (_1 != 0)
goto <bb 3>; [50.00%]
else
goto <bb 14>; [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
# DEBUG base => base_8
# DEBUG INLINE_ENTRY Swt_Ip_GetLock
# DEBUG BEGIN_STMT
# DEBUG lockMode => 0
# DEBUG BEGIN_STMT
_56 ={v} MEM[(const struct SWT_Type *)base_8].CR;
_57 = _56 >> 4;
_58 = _57 & 3;
_59 = _58;
if (_59 <= 2)
goto <bb 10>; [50.00%]
else
goto <bb 9>; [50.00%]
<bb 9> [local count: 268435456]:
<L18>:
lockMode_60 = 2;
goto <bb 11>; [100.00%]
<bb 10> [local count: 268435456]:
<L19>:
_61 = (<unnamed type>) _58;
lockMode_62 = _61;
<bb 11> [local count: 536870913]:
# lockMode_63 = PHI <lockMode_60(9), lockMode_62(10)>
<L20>:
<L21>:
# DEBUG lockMode => lockMode_63
# DEBUG BEGIN_STMT
_65 = lockMode_63;
# DEBUG base => NULL
# DEBUG lockMode => NULL
_2 = _65;
if (_2 == 1)
goto <bb 12>; [34.00%]
else
goto <bb 15>; [66.00%]
<bb 12> [local count: 182536110]:
if (iftmp.7_4 != 0)
goto <bb 13>; [50.00%]
else
goto <bb 15>; [50.00%]
<bb 13> [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 15>; [100.00%]
<bb 14> [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 15> [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;
}
;; Function Swt_Ip_Config (Swt_Ip_Config, funcdef_no=19, decl_uid=4256, cgraph_uid=20, symbol_order=21)
Symbols to be put in SSA form
{ D.4714 }
Incremental SSA update started at block: 0
Number of blocks in CFG: 17
Number of blocks to update: 16 ( 94%)
Merging blocks 2 and 11
Merging blocks 16 and 10
;; 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
;; 2 succs { 3 4 }
;; 3 succs { 4 }
;; 4 succs { 5 7 }
;; 5 succs { 6 7 }
;; 6 succs { 7 }
;; 7 succs { 8 14 }
;; 8 succs { 14 9 }
;; 9 succs { 10 11 }
;; 10 succs { 11 }
;; 11 succs { 12 13 }
;; 12 succs { 13 }
;; 13 succs { 14 }
;; 14 succs { 1 }
Swt_Ip_Config (const uint32 u32Instance, const struct Swt_Ip_ConfigType * const Swt_Ip_pConfig)
{
Swt_Ip_StatusType ret;
Swt_Ip_StatusType D.4714;
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;
# DEBUG u32TimeoutValue => _1
# DEBUG u32WindowValue => _2
# DEBUG INLINE_ENTRY Swt_Ip_CheckTimeout
# DEBUG BEGIN_STMT
# DEBUG ret => 0
# DEBUG BEGIN_STMT
if (_1 <= 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_26 = PHI <0(2), 1(3)>
# DEBUG ret => ret_26
# DEBUG BEGIN_STMT
if (_2 != 0)
goto <bb 5>; [50.00%]
else
goto <bb 7>; [50.00%]
<bb 5> [local count: 536870913]:
if (_1 <= _2)
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_25 = PHI <ret_26(4), ret_26(5), 1(6)>
# DEBUG ret => ret_25
# DEBUG BEGIN_STMT
_27 = ret_25;
# DEBUG u32TimeoutValue => NULL
# DEBUG u32WindowValue => NULL
# DEBUG ret => NULL
ret_14 = _27;
# DEBUG ret => ret_14
# DEBUG BEGIN_STMT
if (ret_14 == 0)
goto <bb 8>; [33.00%]
else
goto <bb 14>; [67.00%]
<bb 8> [local count: 354334802]:
# DEBUG BEGIN_STMT
_3 = Swt_Ip_Unlock (base_11);
if (_3 == 1)
goto <bb 14>; [34.00%]
else
goto <bb 9>; [66.00%]
<bb 9> [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 10>; [50.00%]
else
goto <bb 11>; [50.00%]
<bb 10> [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 11> [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 12>; [50.00%]
else
goto <bb 13>; [50.00%]
<bb 12> [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 13> [local count: 233860969]:
# DEBUG base => NULL
# DEBUG BEGIN_STMT
_4 = Swt_Ip_pConfig_12(D)->lockConfig;
Swt_Ip_Lock (base_11, _4);
<bb 14> [local count: 1073741824]:
# ret_5 = PHI <ret_14(7), 1(8), 0(13)>
# DEBUG ret => ret_5
# DEBUG BEGIN_STMT
return ret_5;
}
;; Function Swt_Ip_SetTimeout (Swt_Ip_SetTimeout, funcdef_no=20, decl_uid=4260, cgraph_uid=21, symbol_order=22)
Symbols to be put in SSA form
{ D.4613 D.4720 D.4723 }
Incremental SSA update started at block: 0
Number of blocks in CFG: 21
Number of blocks to update: 20 ( 95%)
Merging blocks 2 and 17
Merging blocks 15 and 9
Merging blocks 20 and 16
Merging blocks 20 and 10
;; 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
;; 2 succs { 3 4 }
;; 3 succs { 5 }
;; 4 succs { 5 }
;; 5 succs { 6 7 }
;; 6 succs { 7 }
;; 7 succs { 8 10 }
;; 8 succs { 9 10 }
;; 9 succs { 10 }
;; 10 succs { 11 16 }
;; 11 succs { 16 12 }
;; 12 succs { 13 14 }
;; 13 succs { 15 }
;; 14 succs { 15 }
;; 15 succs { 16 }
;; 16 succs { 1 }
Swt_Ip_SetTimeout (const uint32 u32Instance, const uint32 u32TimeoutValue, const uint32 u32WindowValue)
{
Swt_Ip_LockType lockMode;
Swt_Ip_LockType D.4723;
Swt_Ip_StatusType ret;
Swt_Ip_StatusType D.4720;
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;
long unsigned int _31;
long unsigned int _32;
long unsigned int _33;
unsigned int _34;
<unnamed type> _36;
<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
# DEBUG base => base_11
# DEBUG INLINE_ENTRY Swt_Ip_GetLock
# DEBUG BEGIN_STMT
# DEBUG lockMode => 0
# DEBUG BEGIN_STMT
_31 ={v} MEM[(const struct SWT_Type *)base_11].CR;
_32 = _31 >> 4;
_33 = _32 & 3;
_34 = _33;
if (_34 <= 2)
goto <bb 4>; [50.00%]
else
goto <bb 3>; [50.00%]
<bb 3> [local count: 536870913]:
<L9>:
lockMode_35 = 2;
goto <bb 5>; [100.00%]
<bb 4> [local count: 536870913]:
<L10>:
_36 = (<unnamed type>) _33;
lockMode_37 = _36;
<bb 5> [local count: 1073741824]:
# lockMode_38 = PHI <lockMode_35(3), lockMode_37(4)>
<L11>:
<L12>:
# DEBUG lockMode => lockMode_38
# DEBUG BEGIN_STMT
_39 = lockMode_38;
# DEBUG base => NULL
# DEBUG lockMode => NULL
lockConfig_13 = _39;
# DEBUG lockConfig => lockConfig_13
# DEBUG BEGIN_STMT
# DEBUG u32TimeoutValue => u32TimeoutValue_14(D)
# DEBUG u32WindowValue => u32WindowValue_15(D)
# DEBUG INLINE_ENTRY Swt_Ip_CheckTimeout
# DEBUG BEGIN_STMT
# DEBUG ret => 0
# DEBUG BEGIN_STMT
if (u32TimeoutValue_14(D) <= 2)
goto <bb 6>; [50.00%]
else
goto <bb 7>; [50.00%]
<bb 6> [local count: 536870913]:
# DEBUG BEGIN_STMT
# DEBUG ret => 1
<bb 7> [local count: 1073741824]:
# ret_30 = PHI <0(5), 1(6)>
# DEBUG ret => ret_30
# DEBUG BEGIN_STMT
if (u32WindowValue_15(D) != 0)
goto <bb 8>; [50.00%]
else
goto <bb 10>; [50.00%]
<bb 8> [local count: 536870913]:
if (u32TimeoutValue_14(D) <= u32WindowValue_15(D))
goto <bb 9>; [50.00%]
else
goto <bb 10>; [50.00%]
<bb 9> [local count: 268435456]:
# DEBUG BEGIN_STMT
# DEBUG ret => 1
<bb 10> [local count: 1073741824]:
# ret_29 = PHI <ret_30(7), ret_30(8), 1(9)>
# DEBUG ret => ret_29
# DEBUG BEGIN_STMT
_40 = ret_29;
# DEBUG u32TimeoutValue => NULL
# DEBUG u32WindowValue => NULL
# DEBUG ret => NULL
ret_17 = _40;
# DEBUG ret => ret_17
# DEBUG BEGIN_STMT
if (ret_17 == 0)
goto <bb 11>; [33.00%]
else
goto <bb 16>; [67.00%]
<bb 11> [local count: 354334802]:
# DEBUG BEGIN_STMT
_1 = Swt_Ip_Unlock (base_11);
if (_1 == 1)
goto <bb 16>; [34.00%]
else
goto <bb 12>; [66.00%]
<bb 12> [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 13>; [50.00%]
else
goto <bb 14>; [50.00%]
<bb 13> [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 15>; [100.00%]
<bb 14> [local count: 116930485]:
# DEBUG BEGIN_STMT
_4 ={v} base_11->CR;
_5 = _4 & 4294967167;
base_11->CR ={v} _5;
<bb 15> [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 16> [local count: 1073741824]:
# ret_6 = PHI <ret_17(10), 1(11), 0(15)>
# DEBUG ret => ret_6
# DEBUG BEGIN_STMT
return ret_6;
}
;; Function Swt_Ip_StartTimer (Swt_Ip_StartTimer, funcdef_no=21, decl_uid=4262, cgraph_uid=22, symbol_order=23)
Symbols to be put in SSA form
{ D.4614 D.4732 }
Incremental SSA update started at block: 0
Number of blocks in CFG: 10
Number of blocks to update: 9 ( 90%)
Merging blocks 2 and 6
Merging blocks 9 and 5
;; 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 { 5 }
;; 4 succs { 5 }
;; 5 succs { 6 7 }
;; 6 succs { 7 }
;; 7 succs { 1 }
Swt_Ip_StartTimer (const uint32 u32Instance)
{
Swt_Ip_LockType lockMode;
Swt_Ip_LockType D.4732;
Swt_Ip_StatusType ret;
Swt_Ip_LockType lockConfig;
struct SWT_Type * const base;
long unsigned int _12;
long unsigned int _13;
long unsigned int _15;
long unsigned int _16;
long unsigned int _17;
unsigned int _18;
<unnamed type> _20;
<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
# DEBUG base => base_4
# DEBUG INLINE_ENTRY Swt_Ip_GetLock
# DEBUG BEGIN_STMT
# DEBUG lockMode => 0
# DEBUG BEGIN_STMT
_15 ={v} MEM[(const struct SWT_Type *)base_4].CR;
_16 = _15 >> 4;
_17 = _16 & 3;
_18 = _17;
if (_18 <= 2)
goto <bb 4>; [50.00%]
else
goto <bb 3>; [50.00%]
<bb 3> [local count: 536870913]:
<L3>:
lockMode_19 = 2;
goto <bb 5>; [100.00%]
<bb 4> [local count: 536870913]:
<L4>:
_20 = (<unnamed type>) _17;
lockMode_21 = _20;
<bb 5> [local count: 1073741824]:
# lockMode_22 = PHI <lockMode_19(3), lockMode_21(4)>
<L5>:
<L6>:
# DEBUG lockMode => lockMode_22
# DEBUG BEGIN_STMT
_23 = lockMode_22;
# DEBUG base => NULL
# DEBUG lockMode => NULL
lockConfig_6 = _23;
# 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 6>; [33.00%]
else
goto <bb 7>; [67.00%]
<bb 6> [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 7> [local count: 1073741824]:
# DEBUG BEGIN_STMT
SchM_Exit_Wdg_WDG_EXCLUSIVE_AREA_10 ();
# DEBUG BEGIN_STMT
return ret_9;
}
;; Function Swt_Ip_StopTimer (Swt_Ip_StopTimer, funcdef_no=22, decl_uid=4264, cgraph_uid=23, symbol_order=24)
Symbols to be put in SSA form
{ D.4615 D.4741 }
Incremental SSA update started at block: 0
Number of blocks in CFG: 10
Number of blocks to update: 9 ( 90%)
Merging blocks 2 and 6
Merging blocks 9 and 5
;; 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 { 5 }
;; 4 succs { 5 }
;; 5 succs { 6 7 }
;; 6 succs { 7 }
;; 7 succs { 1 }
Swt_Ip_StopTimer (const uint32 u32Instance)
{
Swt_Ip_LockType lockMode;
Swt_Ip_LockType D.4741;
Swt_Ip_StatusType ret;
Swt_Ip_LockType lockConfig;
struct SWT_Type * const base;
long unsigned int _12;
long unsigned int _13;
long unsigned int _15;
long unsigned int _16;
long unsigned int _17;
unsigned int _18;
<unnamed type> _20;
<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
# DEBUG base => base_4
# DEBUG INLINE_ENTRY Swt_Ip_GetLock
# DEBUG BEGIN_STMT
# DEBUG lockMode => 0
# DEBUG BEGIN_STMT
_15 ={v} MEM[(const struct SWT_Type *)base_4].CR;
_16 = _15 >> 4;
_17 = _16 & 3;
_18 = _17;
if (_18 <= 2)
goto <bb 4>; [50.00%]
else
goto <bb 3>; [50.00%]
<bb 3> [local count: 536870913]:
<L3>:
lockMode_19 = 2;
goto <bb 5>; [100.00%]
<bb 4> [local count: 536870913]:
<L4>:
_20 = (<unnamed type>) _17;
lockMode_21 = _20;
<bb 5> [local count: 1073741824]:
# lockMode_22 = PHI <lockMode_19(3), lockMode_21(4)>
<L5>:
<L6>:
# DEBUG lockMode => lockMode_22
# DEBUG BEGIN_STMT
_23 = lockMode_22;
# DEBUG base => NULL
# DEBUG lockMode => NULL
lockConfig_6 = _23;
# 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 6>; [33.00%]
else
goto <bb 7>; [67.00%]
<bb 6> [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 7> [local count: 1073741824]:
# DEBUG BEGIN_STMT
SchM_Exit_Wdg_WDG_EXCLUSIVE_AREA_11 ();
# DEBUG BEGIN_STMT
return ret_9;
}
;; Function Swt_Ip_IrqHandler (Swt_Ip_IrqHandler, funcdef_no=23, decl_uid=4414, cgraph_uid=24, symbol_order=25)
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;
}