mirror of
https://github.com/Dev-KATECH/ADM.git
synced 2026-05-17 09:53:59 +09:00
5857 lines
214 KiB
Plaintext
5857 lines
214 KiB
Plaintext
IPA function summary for Lpuart_Lin_Ip_ProcessSendFrameData/49 inlinable
|
|
global time: 54.580168
|
|
self size: 89
|
|
global size: 89
|
|
min size: 58
|
|
self stack: 0
|
|
global stack: 0
|
|
size:57.000000, time:18.293750
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Lpuart_Lin_Ip_GotoIdleState/42 function not considered for inlining
|
|
loop depth: 0 freq:0.02 size: 2 time: 11callee size:20 stack: 0
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:0.04 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_GotoIdleState/42 function not considered for inlining
|
|
loop depth: 0 freq:0.38 size: 2 time: 11callee size:20 stack: 0
|
|
Lpuart_Lin_Ip_GotoIdleState/42 function not considered for inlining
|
|
loop depth: 0 freq:0.50 size: 2 time: 11callee size:20 stack: 0
|
|
Lpuart_Lin_Ip_HwGetStatusFlag/59 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
indirect call loop depth: 0 freq:0.03 size: 5 time: 17
|
|
indirect call loop depth: 0 freq:0.26 size: 5 time: 17
|
|
indirect call loop depth: 0 freq:0.35 size: 5 time: 17
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_ProcessReceiveFrameData/48 inlinable
|
|
global time: 47.983000
|
|
self size: 46
|
|
global size: 46
|
|
min size: 36
|
|
self stack: 0
|
|
global stack: 0
|
|
size:25.000000, time:17.510000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Lpuart_Lin_Ip_GotoIdleState/42 function not considered for inlining
|
|
loop depth: 0 freq:0.50 size: 2 time: 11callee size:20 stack: 0
|
|
Lpuart_Lin_Ip_GetBytetoBuffer/21 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 6 time: 15callee size:11 stack: 0
|
|
indirect call loop depth: 0 freq:0.35 size: 5 time: 17
|
|
indirect call loop depth: 0 freq:0.12 size: 5 time: 17
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_ProcessFrameHeader/47 inlinable
|
|
global time: 25.812500
|
|
self size: 100
|
|
global size: 100
|
|
min size: 52
|
|
self stack: 0
|
|
global stack: 0
|
|
size:41.000000, time:10.804450
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:4.000000, time:1.000000, nonconst if:(op1 changed)
|
|
size:9.000000, time:1.485000, executed if:(op1 != 85)
|
|
size:5.000000, time:0.425000, executed if:(op1 == 85)
|
|
calls:
|
|
Lpuart_Lin_Ip_GotoIdleState/42 function not considered for inlining
|
|
loop depth: 0 freq:0.03 size: 2 time: 11callee size:20 stack: 0
|
|
Lin_Ip_ProcessParity/65 function body not available
|
|
loop depth: 0 freq:0.08 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_GotoIdleState/42 function not considered for inlining
|
|
loop depth: 0 freq:0.17 size: 2 time: 11callee size:20 stack: 0 predicate: (op1 != 85)
|
|
indirect call loop depth: 0 freq:0.02 size: 5 time: 17
|
|
indirect call loop depth: 0 freq:0.04 size: 5 time: 17
|
|
indirect call loop depth: 0 freq:0.08 size: 5 time: 17
|
|
indirect call loop depth: 0 freq:0.04 size: 5 time: 17
|
|
indirect call loop depth: 0 freq:0.12 size: 5 time: 17predicate: (op1 != 85)
|
|
indirect call loop depth: 0 freq:0.12 size: 5 time: 17predicate: (op1 != 85)
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_FrameIrqHandler/46 inlinable
|
|
global time: 26.342500
|
|
self size: 37
|
|
global size: 37
|
|
min size: 32
|
|
self stack: 0
|
|
global stack: 0
|
|
size:18.000000, time:5.608750
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Lpuart_Lin_Ip_ProcessSendFrameData/49 function not considered for inlining
|
|
loop depth: 0 freq:0.04 size: 3 time: 12callee size:44 stack: 0
|
|
Lpuart_Lin_Ip_ProcessReceiveFrameData/48 function not considered for inlining
|
|
loop depth: 0 freq:0.04 size: 2 time: 11callee size:23 stack: 0
|
|
Lpuart_Lin_Ip_ProcessFrameHeader/47 function not considered for inlining
|
|
loop depth: 0 freq:0.04 size: 3 time: 12callee size:50 stack: 0
|
|
Lpuart_Lin_Ip_HwGetIntMode/68 function body not available
|
|
loop depth: 0 freq:0.33 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwGetStatusFlag/59 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_CheckWakeupSignal/45 inlinable
|
|
global time: 39.725000
|
|
self size: 44
|
|
global size: 44
|
|
min size: 34
|
|
self stack: 4
|
|
global stack: 4
|
|
size:24.000000, time:15.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Lpuart_Lin_Ip_GotoIdleState/42 function not considered for inlining
|
|
loop depth: 0 freq:0.25 size: 2 time: 11callee size:20 stack: 0
|
|
indirect call loop depth: 0 freq:0.17 size: 5 time: 17
|
|
indirect call loop depth: 0 freq:0.50 size: 5 time: 17
|
|
indirect call loop depth: 0 freq:0.50 size: 5 time: 17
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_ProcessBreakDetect/44 inlinable
|
|
global time: 74.130000
|
|
self size: 58
|
|
global size: 58
|
|
min size: 48
|
|
self stack: 0
|
|
global stack: 0
|
|
size:31.000000, time:16.025000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Lpuart_Lin_Ip_HwSetReceiverCmd/1 function not considered for inlining
|
|
loop depth: 0 freq:0.17 size: 3 time: 12callee size:14 stack: 8
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetTransmitterCmd/0 function not considered for inlining
|
|
loop depth: 0 freq:0.17 size: 3 time: 12callee size:14 stack: 8
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:0.17 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 3 time: 12callee size: 5 stack: 0
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwClearStatusFlag/54 function body not available
|
|
loop depth: 0 freq:1.00 size: 3 time: 12
|
|
op1 is compile time invariant
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_IRQHandler/43 inlinable
|
|
global time: 95.063987
|
|
self size: 98
|
|
global size: 98
|
|
min size: 128
|
|
self stack: 0
|
|
global stack: 0
|
|
size:31.000000, time:14.843685
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Lpuart_Lin_Ip_HwClearStatusFlag/54 function body not available
|
|
loop depth: 0 freq:0.21 size: 3 time: 12
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwClearStatusFlag/54 function body not available
|
|
loop depth: 0 freq:0.08 size: 3 time: 12
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwGetIntMode/68 function body not available
|
|
loop depth: 0 freq:0.23 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwGetStatusFlag/59 function body not available
|
|
loop depth: 0 freq:0.70 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_FrameIrqHandler/46 function not considered for inlining
|
|
loop depth: 0 freq:0.38 size: 2 time: 11callee size:18 stack: 0
|
|
Lpuart_Lin_Ip_HwGetIntMode/68 function body not available
|
|
loop depth: 0 freq:0.13 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwGetStatusFlag/59 function body not available
|
|
loop depth: 0 freq:0.38 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_GotoIdleState/42 function not considered for inlining
|
|
loop depth: 0 freq:0.08 size: 2 time: 11callee size:20 stack: 0
|
|
Lpuart_Lin_Ip_FrameErrorIrqHandler/23 function not considered for inlining
|
|
loop depth: 0 freq:0.08 size: 2 time: 11callee size:16 stack: 0
|
|
Lpuart_Lin_Ip_HwGetIntMode/68 function body not available
|
|
loop depth: 0 freq:0.23 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwGetStatusFlag/59 function body not available
|
|
loop depth: 0 freq:0.46 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_ProcessWakeupDetect/26 function not considered for inlining
|
|
loop depth: 0 freq:0.13 size: 2 time: 11callee size:11 stack: 0
|
|
Lpuart_Lin_Ip_HwGetStatusFlag/59 function body not available
|
|
loop depth: 0 freq:0.58 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_ProcessBreakDetect/44 function not considered for inlining
|
|
loop depth: 0 freq:0.12 size: 2 time: 11callee size:29 stack: 0
|
|
Lpuart_Lin_Ip_HwGetIntMode/68 function body not available
|
|
loop depth: 0 freq:0.35 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwGetStatusFlag/59 function body not available
|
|
loop depth: 0 freq:0.70 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwClearStatusFlag/54 function body not available
|
|
loop depth: 0 freq:0.30 size: 3 time: 12
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwGetIntMode/68 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
indirect call loop depth: 0 freq:0.05 size: 5 time: 17
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_GotoIdleState/42 inlinable
|
|
global time: 84.580000
|
|
self size: 40
|
|
global size: 40
|
|
min size: 42
|
|
self stack: 0
|
|
global stack: 0
|
|
size:16.000000, time:15.330000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
SchM_Exit_Lin_LIN_EXCLUSIVE_AREA_02/67 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Lin_LIN_EXCLUSIVE_AREA_02/66 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:0.33 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13 function not considered for inlining
|
|
loop depth: 0 freq:0.33 size: 3 time: 12callee size: 5 stack: 0
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_MasterSendHeader/41 inlinable
|
|
global time: 14.463102
|
|
self size: 34
|
|
global size: 34
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:7.000000, time:7.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:2.000000, time:1.000000, nonconst if:(op1 changed)
|
|
size:11.000000, time:1.467923, executed if:(op1 <= 63)
|
|
calls:
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:0.08 size: 4 time: 13 predicate: (op1 <= 63)
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13 function not considered for inlining
|
|
loop depth: 0 freq:0.08 size: 3 time: 12callee size: 5 stack: 0 predicate: (op1 <= 63)
|
|
op1 is compile time invariant
|
|
Lin_Ip_ProcessParity/65 function body not available
|
|
loop depth: 0 freq:0.08 size: 4 time: 13 predicate: (op1 <= 63)
|
|
op1 is compile time invariant
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_SetTimeoutCounter/40 inlinable
|
|
global time: 5.000000
|
|
self size: 6
|
|
global size: 6
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:3.000000, time:3.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_TimeoutService/39 inlinable
|
|
global time: 14.725000
|
|
self size: 30
|
|
global size: 30
|
|
min size: 10
|
|
self stack: 0
|
|
global stack: 0
|
|
size:22.000000, time:9.750000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
indirect call loop depth: 0 freq:0.17 size: 5 time: 17
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_GetCurrentNodeState/38 inlinable
|
|
global time: 5.700000
|
|
self size: 7
|
|
global size: 7
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:4.000000, time:3.700000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_SendWakeupSignal/37 inlinable
|
|
global time: 8.300000
|
|
self size: 10
|
|
global size: 10
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:7.000000, time:6.300000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_GoToSleepMode/36 inlinable
|
|
global time: 75.000000
|
|
self size: 31
|
|
global size: 31
|
|
min size: 38
|
|
self stack: 0
|
|
global stack: 0
|
|
size:9.000000, time:9.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwClearStatusFlag/54 function body not available
|
|
loop depth: 0 freq:1.00 size: 3 time: 12
|
|
op1 is compile time invariant
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_GetReceiveStatus/35 inlinable
|
|
global time: 11.750000
|
|
self size: 16
|
|
global size: 16
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:12.500000, time:9.250000
|
|
size:3.500000, time:2.500000, executed if:(not inlined)
|
|
calls:
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_AbortTransferData/34 inlinable
|
|
global time: 369.228792
|
|
self size: 41
|
|
global size: 41
|
|
min size: 56
|
|
self stack: 8
|
|
global stack: 8
|
|
size:10.000000, time:58.031316
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Lpuart_Lin_Ip_GotoIdleState/42 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 2 time: 11callee size:20 stack: 0
|
|
Lpuart_Lin_Ip_TimeoutExpired/58 function body not available
|
|
loop depth: 1 freq:8.83 size: 5 time: 14
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwGetStatusFlag/59 function body not available
|
|
loop depth: 1 freq:9.35 size: 4 time: 13
|
|
op0 change 10.690000% of time
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_StartTimeout/57 function body not available
|
|
loop depth: 0 freq:1.00 size: 5 time: 14
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
op3 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_SyncReceiveFrameData/33 inlinable
|
|
global time: 1081.505234
|
|
self size: 78
|
|
global size: 78
|
|
min size: 68
|
|
self stack: 9
|
|
global stack: 9
|
|
size:40.000000, time:242.408518
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:1.000000, time:3.084833, nonconst if:(op2 changed)
|
|
loop iterations:(op2 changed)
|
|
calls:
|
|
Lpuart_Lin_Ip_GotoIdleState/42 function not considered for inlining
|
|
loop depth: 0 freq:0.33 size: 2 time: 11callee size:20 stack: 0
|
|
Lpuart_Lin_Ip_GetBytetoBuffer/21 function not considered for inlining
|
|
loop depth: 1 freq:0.51 size: 6 time: 15callee size:11 stack: 0
|
|
Lpuart_Lin_Ip_TimeoutExpired/58 function body not available
|
|
loop depth: 2 freq:28.84 size: 5 time: 14
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwGetStatusFlag/59 function body not available
|
|
loop depth: 2 freq:27.25 size: 4 time: 13
|
|
op0 change 3.660000% of time
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_StartTimeout/57 function body not available
|
|
loop depth: 1 freq:3.08 size: 5 time: 14
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
op3 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:0.33 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:0.33 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_StatusBeforeTransfer/22 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 6 stack: 0
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_AsyncReceiveFrameData/32 inlinable
|
|
global time: 35.170000
|
|
self size: 33
|
|
global size: 33
|
|
min size: 18
|
|
self stack: 0
|
|
global stack: 0
|
|
size:19.000000, time:8.950000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:2.000000, time:0.660000, nonconst if:(op2 changed)
|
|
calls:
|
|
Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13 function not considered for inlining
|
|
loop depth: 0 freq:0.33 size: 3 time: 12callee size: 5 stack: 0
|
|
op1 is compile time invariant
|
|
SchM_Exit_Lin_LIN_EXCLUSIVE_AREA_01/64 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
SchM_Enter_Lin_LIN_EXCLUSIVE_AREA_01/63 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
Lpuart_Lin_Ip_StatusBeforeTransfer/22 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 6 stack: 0
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_GetTransmitStatus/31 inlinable
|
|
global time: 13.450000
|
|
self size: 18
|
|
global size: 18
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:12.000000, time:8.750000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:2.000000, time:2.000000, nonconst if:(op1 changed)
|
|
size:0.500000, time:0.350000, executed if:(op1 != 0B) && (not inlined)
|
|
size:0.500000, time:0.350000, executed if:(op1 != 0B)
|
|
calls:
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_SyncSendFrameData/30 inlinable
|
|
global time: 1014.296627
|
|
self size: 78
|
|
global size: 78
|
|
min size: 68
|
|
self stack: 8
|
|
global stack: 8
|
|
size:40.000000, time:215.353184
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:1.000000, time:0.330000, nonconst if:(op2 changed)
|
|
loop iterations:(op2 changed)
|
|
calls:
|
|
Lpuart_Lin_Ip_GotoIdleState/42 function not considered for inlining
|
|
loop depth: 0 freq:0.33 size: 2 time: 11callee size:20 stack: 0
|
|
Lpuart_Lin_Ip_TimeoutExpired/58 function body not available
|
|
loop depth: 2 freq:26.12 size: 5 time: 14
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwGetStatusFlag/59 function body not available
|
|
loop depth: 2 freq:27.64 size: 4 time: 13
|
|
op0 change 3.610000% of time
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_StartTimeout/57 function body not available
|
|
loop depth: 1 freq:2.96 size: 5 time: 14
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
op3 is compile time invariant
|
|
Lpuart_Lin_Ip_MakeChecksumByte/24 function not considered for inlining
|
|
loop depth: 0 freq:0.33 size: 6 time: 15callee size:11 stack: 0
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:0.33 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:0.33 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_StatusBeforeTransfer/22 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 6 stack: 0
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_AsyncSendFrameData/29 inlinable
|
|
global time: 41.770000
|
|
self size: 44
|
|
global size: 44
|
|
min size: 30
|
|
self stack: 0
|
|
global stack: 0
|
|
size:24.000000, time:10.600000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:2.000000, time:0.660000, nonconst if:(op2 changed)
|
|
calls:
|
|
Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13 function not considered for inlining
|
|
loop depth: 0 freq:0.33 size: 3 time: 12callee size: 5 stack: 0
|
|
op1 is compile time invariant
|
|
SchM_Exit_Lin_LIN_EXCLUSIVE_AREA_00/61 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
SchM_Enter_Lin_LIN_EXCLUSIVE_AREA_00/60 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
Lpuart_Lin_Ip_MakeChecksumByte/24 function not considered for inlining
|
|
loop depth: 0 freq:0.33 size: 6 time: 15callee size:11 stack: 0
|
|
Lpuart_Lin_Ip_StatusBeforeTransfer/22 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 6 stack: 0
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_Deinit/28 inlinable
|
|
global time: 343.228792
|
|
self size: 33
|
|
global size: 33
|
|
min size: 40
|
|
self stack: 8
|
|
global stack: 8
|
|
size:10.000000, time:58.031316
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Lpuart_Lin_Ip_HwSetReceiverCmd/1 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 3 time: 12callee size:14 stack: 8
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetTransmitterCmd/0 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 3 time: 12callee size:14 stack: 8
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_TimeoutExpired/58 function body not available
|
|
loop depth: 1 freq:8.83 size: 5 time: 14
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwGetStatusFlag/59 function body not available
|
|
loop depth: 1 freq:9.35 size: 4 time: 13
|
|
op0 change 10.690000% of time
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_StartTimeout/57 function body not available
|
|
loop depth: 0 freq:1.00 size: 5 time: 14
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
op3 is compile time invariant
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_Init/27 inlinable
|
|
global time: 181.470000
|
|
self size: 96
|
|
global size: 96
|
|
min size: 90
|
|
self stack: 0
|
|
global stack: 0
|
|
size:40.500000, time:34.675000
|
|
size:10.500000, time:8.335000, executed if:(not inlined)
|
|
calls:
|
|
Lpuart_Lin_Ip_HwSetReceiverCmd/1 function not considered for inlining
|
|
loop depth: 0 freq:0.67 size: 3 time: 12callee size:14 stack: 8
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetTransmitterCmd/0 function not considered for inlining
|
|
loop depth: 0 freq:0.67 size: 3 time: 12callee size:14 stack: 8
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwClearStatusFlag/54 function body not available
|
|
loop depth: 0 freq:1.00 size: 3 time: 12
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:0.50 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13 function not considered for inlining
|
|
loop depth: 0 freq:0.50 size: 3 time: 12callee size: 5 stack: 0
|
|
Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13 function not considered for inlining
|
|
loop depth: 0 freq:0.50 size: 3 time: 12callee size: 5 stack: 0
|
|
Lpuart_Lin_Ip_HwSetBreakCharTransmitLength/12 function not considered for inlining
|
|
loop depth: 0 freq:0.50 size: 3 time: 12callee size: 4 stack: 0
|
|
Lpuart_Lin_Ip_HwSetParityMode/52 function body not available
|
|
loop depth: 0 freq:1.00 size: 3 time: 12
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetBitCountPerChar/51 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetBaudRateDivisor/2 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 3 time: 12callee size: 4 stack: 0
|
|
Lpuart_Lin_Ip_HwSetOversamplingRatio/4 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 3 time: 12callee size: 4 stack: 0
|
|
Lpuart_Lin_Ip_HwInit/50 function body not available
|
|
loop depth: 0 freq:1.00 size: 2 time: 11
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_ProcessWakeupDetect/26 inlinable
|
|
global time: 24.875879
|
|
self size: 22
|
|
global size: 22
|
|
min size: 14
|
|
self stack: 0
|
|
global stack: 0
|
|
size:12.000000, time:5.999900
|
|
size:3.000000, time:1.999800, executed if:(not inlined)
|
|
calls:
|
|
Lpuart_Lin_Ip_AutoBaudCapture/25 function not considered for inlining
|
|
loop depth: 0 freq:0.11 size: 2 time: 11callee size:42 stack: 0
|
|
Lpuart_Lin_Ip_CheckWakeupSignal/45 function not considered for inlining
|
|
loop depth: 0 freq:0.33 size: 2 time: 11callee size:22 stack: 4
|
|
Lpuart_Lin_Ip_HwClearStatusFlag/54 function body not available
|
|
loop depth: 0 freq:1.00 size: 3 time: 12
|
|
op1 is compile time invariant
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_AutoBaudCapture/25 inlinable
|
|
global time: 52.799280
|
|
self size: 84
|
|
global size: 84
|
|
min size: 46
|
|
self stack: 0
|
|
global stack: 0
|
|
size:58.000000, time:27.290100
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
OsIf_GetCounter/73 function body not available
|
|
loop depth: 0 freq:0.50 size: 3 time: 12
|
|
op0 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:0.12 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetBaudRateDivisor/2 function not considered for inlining
|
|
loop depth: 0 freq:0.12 size: 3 time: 12callee size: 4 stack: 0
|
|
OsIf_MicrosToTicks/72 function body not available
|
|
loop depth: 0 freq:0.50 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
OsIf_GetElapsed/70 function body not available
|
|
loop depth: 0 freq:0.50 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
indirect call loop depth: 0 freq:0.09 size: 5 time: 17
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_MakeChecksumByte/24 inlinable
|
|
global time: 51.139234
|
|
self size: 22
|
|
global size: 22
|
|
min size: 10
|
|
self stack: 0
|
|
global stack: 0
|
|
size:14.000000, time:35.139234
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Lin_Ip_MakeChecksumByte/62 function body not available
|
|
loop depth: 0 freq:1.00 size: 5 time: 14
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_FrameErrorIrqHandler/23 inlinable
|
|
global time: 32.389560
|
|
self size: 33
|
|
global size: 33
|
|
min size: 26
|
|
self stack: 0
|
|
global stack: 0
|
|
size:17.000000, time:11.673200
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Lpuart_Lin_Ip_HwClearStatusFlag/54 function body not available
|
|
loop depth: 0 freq:1.00 size: 3 time: 12
|
|
op1 is compile time invariant
|
|
indirect call loop depth: 0 freq:0.16 size: 5 time: 17
|
|
indirect call loop depth: 0 freq:0.24 size: 5 time: 17
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_StatusBeforeTransfer/22 inlinable
|
|
global time: 7.990000
|
|
self size: 12
|
|
global size: 12
|
|
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:(op1[ref offset: 144] changed) && (not inlined)
|
|
size:2.500000, time:1.500000, nonconst if:(op1[ref offset: 144] changed)
|
|
size:3.000000, time:3.000000, nonconst if:(op0 changed)
|
|
size:0.500000, time:0.165000, executed if:(op1[ref offset: 144] != 1) && (not inlined), nonconst if:(op1[ref offset: 112] changed) && (op1[ref offset: 144] != 1) && (not inlined)
|
|
size:2.500000, time:0.825000, executed if:(op1[ref offset: 144] != 1), nonconst if:(op1[ref offset: 112] changed) && (op1[ref offset: 144] != 1)
|
|
calls:
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_GetBytetoBuffer/21 inlinable
|
|
global time: 14.722200
|
|
self size: 23
|
|
global size: 23
|
|
min size: 12
|
|
self stack: 0
|
|
global stack: 0
|
|
size:11.000000, time:5.102200
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:2.000000, time:2.000000, nonconst if:(op0 changed || op1 changed)
|
|
size:1.000000, time:0.670000, nonconst if:(op0 changed || op2 changed)
|
|
calls:
|
|
Lpuart_Lin_Ip_MakeChecksumByte/24 function not considered for inlining
|
|
loop depth: 0 freq:0.33 size: 6 time: 15callee size:11 stack: 0
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13 inlinable
|
|
global time: 27.000000
|
|
self size: 10
|
|
global size: 10
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
size:3.000000, time:3.000000
|
|
size:4.000000, time:3.000000, executed if:(not inlined)
|
|
size:1.000000, time:1.000000, nonconst if:(op1 changed)
|
|
calls:
|
|
SchM_Exit_Lin_LIN_EXCLUSIVE_AREA_04/56 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Lin_LIN_EXCLUSIVE_AREA_04/55 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_HwSetBreakCharTransmitLength/12 inlinable
|
|
global time: 7.000000
|
|
self size: 8
|
|
global size: 8
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:0.500000, time:0.500000
|
|
size:3.500000, time:2.500000, executed if:(not inlined)
|
|
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 160] changed) && (not inlined)
|
|
size:1.500000, time:1.500000, nonconst if:(op0[ref offset: 160] changed)
|
|
size:1.000000, time:1.000000, nonconst if:(op1 changed)
|
|
size:1.000000, time:1.000000, nonconst if:(op0[ref offset: 160] changed || op1 changed)
|
|
calls:
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_HwSetOversamplingRatio/4 inlinable
|
|
global time: 8.000000
|
|
self size: 9
|
|
global size: 9
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:0.500000, time:0.500000
|
|
size:3.500000, time:2.500000, executed if:(not inlined)
|
|
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 128] changed) && (not inlined)
|
|
size:1.500000, time:1.500000, nonconst if:(op0[ref offset: 128] changed)
|
|
size:2.000000, time:2.000000, nonconst if:(op1 changed)
|
|
size:1.000000, time:1.000000, nonconst if:(op0[ref offset: 128] changed || op1 changed)
|
|
calls:
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_HwSetBaudRateDivisor/2 inlinable
|
|
global time: 7.000000
|
|
self size: 8
|
|
global size: 8
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:0.500000, time:0.500000
|
|
size:3.500000, time:2.500000, executed if:(not inlined)
|
|
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 128] changed) && (not inlined)
|
|
size:1.500000, time:1.500000, nonconst if:(op0[ref offset: 128] changed)
|
|
size:1.000000, time:1.000000, nonconst if:(op1 changed)
|
|
size:1.000000, time:1.000000, nonconst if:(op0[ref offset: 128] changed || op1 changed)
|
|
calls:
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_HwSetReceiverCmd/1 inlinable
|
|
global time: 598.859508
|
|
self size: 28
|
|
global size: 28
|
|
min size: 20
|
|
self stack: 8
|
|
global stack: 8
|
|
size:9.000000, time:408.764465
|
|
size:4.000000, time:43.822314, executed if:(not inlined)
|
|
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 192] changed) && (not inlined)
|
|
size:1.500000, time:1.500000, nonconst if:(op0[ref offset: 192] changed)
|
|
size:2.000000, time:2.000000, nonconst if:(op1 changed)
|
|
size:1.000000, time:1.000000, nonconst if:(op0[ref offset: 192] changed || op1 changed)
|
|
calls:
|
|
Lpuart_Lin_Ip_TimeoutExpired/58 function body not available
|
|
loop depth: 1 freq:9.09 size: 5 time: 14
|
|
op0 change 99.990000% of time
|
|
op1 change 99.990000% of time
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_StartTimeout/57 function body not available
|
|
loop depth: 0 freq:1.00 size: 5 time: 14
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
op3 is compile time invariant
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_HwSetTransmitterCmd/0 inlinable
|
|
global time: 598.859508
|
|
self size: 28
|
|
global size: 28
|
|
min size: 20
|
|
self stack: 8
|
|
global stack: 8
|
|
size:9.000000, time:408.764465
|
|
size:4.000000, time:43.822314, executed if:(not inlined)
|
|
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 192] changed) && (not inlined)
|
|
size:1.500000, time:1.500000, nonconst if:(op0[ref offset: 192] changed)
|
|
size:2.000000, time:2.000000, nonconst if:(op1 changed)
|
|
size:1.000000, time:1.000000, nonconst if:(op0[ref offset: 192] changed || op1 changed)
|
|
calls:
|
|
Lpuart_Lin_Ip_TimeoutExpired/58 function body not available
|
|
loop depth: 1 freq:9.09 size: 5 time: 14
|
|
op0 change 99.990000% of time
|
|
op1 change 99.990000% of time
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_StartTimeout/57 function body not available
|
|
loop depth: 0 freq:1.00 size: 5 time: 14
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
op3 is compile time invariant
|
|
|
|
|
|
Flattening functions:
|
|
Overall time estimate: 5093.909866 weighted by profile: 0.000000
|
|
|
|
Deciding on inlining of small functions. Starting with size 0.
|
|
Enqueueing calls in Lpuart_Lin_Ip_ProcessSendFrameData/49.
|
|
Enqueueing calls in Lpuart_Lin_Ip_ProcessReceiveFrameData/48.
|
|
Enqueueing calls in Lpuart_Lin_Ip_ProcessFrameHeader/47.
|
|
Enqueueing calls in Lpuart_Lin_Ip_FrameIrqHandler/46.
|
|
Enqueueing calls in Lpuart_Lin_Ip_CheckWakeupSignal/45.
|
|
Enqueueing calls in Lpuart_Lin_Ip_ProcessBreakDetect/44.
|
|
Enqueueing calls in Lpuart_Lin_Ip_IRQHandler/43.
|
|
Enqueueing calls in Lpuart_Lin_Ip_GotoIdleState/42.
|
|
Enqueueing calls in Lpuart_Lin_Ip_MasterSendHeader/41.
|
|
Enqueueing calls in Lpuart_Lin_Ip_SetTimeoutCounter/40.
|
|
Enqueueing calls in Lpuart_Lin_Ip_TimeoutService/39.
|
|
Enqueueing calls in Lpuart_Lin_Ip_GetCurrentNodeState/38.
|
|
Enqueueing calls in Lpuart_Lin_Ip_SendWakeupSignal/37.
|
|
Enqueueing calls in Lpuart_Lin_Ip_GoToSleepMode/36.
|
|
Enqueueing calls in Lpuart_Lin_Ip_GetReceiveStatus/35.
|
|
Enqueueing calls in Lpuart_Lin_Ip_AbortTransferData/34.
|
|
Enqueueing calls in Lpuart_Lin_Ip_SyncReceiveFrameData/33.
|
|
Enqueueing calls in Lpuart_Lin_Ip_AsyncReceiveFrameData/32.
|
|
Enqueueing calls in Lpuart_Lin_Ip_GetTransmitStatus/31.
|
|
Enqueueing calls in Lpuart_Lin_Ip_SyncSendFrameData/30.
|
|
Enqueueing calls in Lpuart_Lin_Ip_AsyncSendFrameData/29.
|
|
Enqueueing calls in Lpuart_Lin_Ip_Deinit/28.
|
|
Enqueueing calls in Lpuart_Lin_Ip_Init/27.
|
|
Enqueueing calls in Lpuart_Lin_Ip_ProcessWakeupDetect/26.
|
|
Enqueueing calls in Lpuart_Lin_Ip_AutoBaudCapture/25.
|
|
Enqueueing calls in Lpuart_Lin_Ip_MakeChecksumByte/24.
|
|
Enqueueing calls in Lpuart_Lin_Ip_FrameErrorIrqHandler/23.
|
|
Enqueueing calls in Lpuart_Lin_Ip_StatusBeforeTransfer/22.
|
|
Enqueueing calls in Lpuart_Lin_Ip_GetBytetoBuffer/21.
|
|
Enqueueing calls in Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13.
|
|
Enqueueing calls in Lpuart_Lin_Ip_HwSetBreakCharTransmitLength/12.
|
|
Enqueueing calls in Lpuart_Lin_Ip_HwSetOversamplingRatio/4.
|
|
Enqueueing calls in Lpuart_Lin_Ip_HwSetBaudRateDivisor/2.
|
|
Enqueueing calls in Lpuart_Lin_Ip_HwSetReceiverCmd/1.
|
|
Enqueueing calls in Lpuart_Lin_Ip_HwSetTransmitterCmd/0.
|
|
|
|
Considering Lpuart_Lin_Ip_HwSetBaudRateDivisor/2 with 8 size
|
|
to be inlined into Lpuart_Lin_Ip_Init/27 in ../RTD/src/Lpuart_Lin_Ip.c:519
|
|
Estimated badness is -4.948454, frequency 1.00.
|
|
|
|
Considering Lpuart_Lin_Ip_HwSetBreakCharTransmitLength/12 with 8 size
|
|
to be inlined into Lpuart_Lin_Ip_Init/27 in ../RTD/src/Lpuart_Lin_Ip.c:532
|
|
Estimated badness is -2.474227, frequency 0.50.
|
|
|
|
Considering Lpuart_Lin_Ip_HwSetOversamplingRatio/4 with 9 size
|
|
to be inlined into Lpuart_Lin_Ip_Init/27 in ../RTD/src/Lpuart_Lin_Ip.c:517
|
|
Estimated badness is -2.448980, frequency 1.00.
|
|
|
|
Considering Lpuart_Lin_Ip_HwSetBaudRateDivisor/2 with 8 size
|
|
to be inlined into Lpuart_Lin_Ip_AutoBaudCapture/25 in ../RTD/src/Lpuart_Lin_Ip.c:399
|
|
Estimated badness is -0.690071, frequency 0.12.
|
|
|
|
Considering Lpuart_Lin_Ip_CheckWakeupSignal/45 with 44 size
|
|
to be inlined into Lpuart_Lin_Ip_ProcessWakeupDetect/26 in ../RTD/src/Lpuart_Lin_Ip.c:443
|
|
Estimated badness is -0.007285, frequency 0.33.
|
|
|
|
Considering Lpuart_Lin_Ip_FrameIrqHandler/46 with 37 size
|
|
to be inlined into Lpuart_Lin_Ip_IRQHandler/43 in ../RTD/src/Lpuart_Lin_Ip.c:1732
|
|
Estimated badness is -0.004752, frequency 0.38.
|
|
|
|
Considering Lpuart_Lin_Ip_FrameErrorIrqHandler/23 with 33 size
|
|
to be inlined into Lpuart_Lin_Ip_IRQHandler/43 in ../RTD/src/Lpuart_Lin_Ip.c:1723
|
|
Estimated badness is -0.001107, frequency 0.08.
|
|
|
|
Considering Lpuart_Lin_Ip_ProcessWakeupDetect/26 with 61 size
|
|
to be inlined into Lpuart_Lin_Ip_IRQHandler/43 in ../RTD/src/Lpuart_Lin_Ip.c:1716
|
|
Estimated badness is -0.000779, frequency 0.13.
|
|
|
|
Considering Lpuart_Lin_Ip_ProcessBreakDetect/44 with 58 size
|
|
to be inlined into Lpuart_Lin_Ip_IRQHandler/43 in ../RTD/src/Lpuart_Lin_Ip.c:1709
|
|
Estimated badness is -0.000750, frequency 0.12.
|
|
|
|
Considering Lpuart_Lin_Ip_ProcessReceiveFrameData/48 with 46 size
|
|
to be inlined into Lpuart_Lin_Ip_FrameIrqHandler/46 in ../RTD/src/Lpuart_Lin_Ip.c:1943
|
|
Estimated badness is -0.000143, frequency 0.02.
|
|
|
|
Considering Lpuart_Lin_Ip_ProcessSendFrameData/49 with 89 size
|
|
to be inlined into Lpuart_Lin_Ip_FrameIrqHandler/46 in ../RTD/src/Lpuart_Lin_Ip.c:1949
|
|
Estimated badness is -0.000058, frequency 0.02.
|
|
|
|
Considering Lpuart_Lin_Ip_AutoBaudCapture/25 with 85 size
|
|
to be inlined into Lpuart_Lin_Ip_ProcessWakeupDetect/26 in ../RTD/src/Lpuart_Lin_Ip.c:450
|
|
Estimated badness is -0.000052, frequency 0.01.
|
|
|
|
Considering Lpuart_Lin_Ip_ProcessFrameHeader/47 with 100 size
|
|
to be inlined into Lpuart_Lin_Ip_FrameIrqHandler/46 in ../RTD/src/Lpuart_Lin_Ip.c:1939
|
|
Estimated badness is -0.000049, frequency 0.02.
|
|
|
|
Reclaiming functions:
|
|
Reclaiming variables:
|
|
Clearing address taken flags:
|
|
|
|
Deciding on functions to be inlined into all callers and removing useless speculations:
|
|
Overall time estimate: 4692.469032 weighted by profile: 0.000000
|
|
|
|
Why inlining failed?
|
|
function body not available : 78 calls, 206.519174 freq, 0 count
|
|
--param max-inline-insns-auto limit reached : 11 calls, 1.770792 freq, 0 count
|
|
call is unlikely and code size would grow : 22 calls, 11.067114 freq, 0 count
|
|
IPA function summary for Lpuart_Lin_Ip_IRQHandler/43 inlinable
|
|
global time: 113.261034
|
|
self size: 98
|
|
global size: 565
|
|
min size: 2416
|
|
self stack: 0
|
|
global stack: 4
|
|
size:336.000000, time:22.296447
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Lpuart_Lin_Ip_HwClearStatusFlag/54 function body not available
|
|
loop depth: 0 freq:0.21 size: 3 time: 12
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwClearStatusFlag/54 function body not available
|
|
loop depth: 0 freq:0.08 size: 3 time: 12
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwGetIntMode/68 function body not available
|
|
loop depth: 0 freq:0.23 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwGetStatusFlag/59 function body not available
|
|
loop depth: 0 freq:0.70 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_FrameIrqHandler/46 inlined
|
|
loop depth: 0 freq:0.38 size: 2 time: 11callee size:18 stack: 0
|
|
Stack frame offset 0, callee self size 0, callee size 0
|
|
Lpuart_Lin_Ip_ProcessSendFrameData/49 inlined
|
|
loop depth: 0 freq:0.02 size: 3 time: 12callee size:44 stack: 0
|
|
Stack frame offset 0, callee self size 0, callee size 0
|
|
Lpuart_Lin_Ip_GotoIdleState/42 --param max-inline-insns-auto limit reached
|
|
loop depth: 0 freq:0.00 size: 2 time: 11callee size:20 stack: 0
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:0.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_GotoIdleState/42 --param max-inline-insns-auto limit reached
|
|
loop depth: 0 freq:0.01 size: 2 time: 11callee size:20 stack: 0
|
|
Lpuart_Lin_Ip_GotoIdleState/42 --param max-inline-insns-auto limit reached
|
|
loop depth: 0 freq:0.01 size: 2 time: 11callee size:20 stack: 0
|
|
Lpuart_Lin_Ip_HwGetStatusFlag/59 function body not available
|
|
loop depth: 0 freq:0.02 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
indirect call loop depth: 0 freq:0.00 size: 5 time: 17
|
|
indirect call loop depth: 0 freq:0.00 size: 5 time: 17
|
|
indirect call loop depth: 0 freq:0.01 size: 5 time: 17
|
|
Lpuart_Lin_Ip_ProcessReceiveFrameData/48 inlined
|
|
loop depth: 0 freq:0.02 size: 2 time: 11callee size:23 stack: 0
|
|
Stack frame offset 0, callee self size 0, callee size 0
|
|
Lpuart_Lin_Ip_GotoIdleState/42 --param max-inline-insns-auto limit reached
|
|
loop depth: 0 freq:0.01 size: 2 time: 11callee size:20 stack: 0
|
|
Lpuart_Lin_Ip_GetBytetoBuffer/21 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.02 size: 6 time: 15callee size:11 stack: 0
|
|
indirect call loop depth: 0 freq:0.01 size: 5 time: 17
|
|
indirect call loop depth: 0 freq:0.00 size: 5 time: 17
|
|
Lpuart_Lin_Ip_ProcessFrameHeader/47 inlined
|
|
loop depth: 0 freq:0.02 size: 3 time: 12callee size:50 stack: 0
|
|
Stack frame offset 0, callee self size 0, callee size 0
|
|
Lpuart_Lin_Ip_GotoIdleState/42 --param max-inline-insns-auto limit reached
|
|
loop depth: 0 freq:0.00 size: 2 time: 11callee size:20 stack: 0
|
|
Lin_Ip_ProcessParity/65 function body not available
|
|
loop depth: 0 freq:0.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_GotoIdleState/42 --param max-inline-insns-auto limit reached
|
|
loop depth: 0 freq:0.00 size: 2 time: 11callee size:20 stack: 0
|
|
indirect call loop depth: 0 freq:0.00 size: 5 time: 17
|
|
indirect call loop depth: 0 freq:0.00 size: 5 time: 17
|
|
indirect call loop depth: 0 freq:0.00 size: 5 time: 17
|
|
indirect call loop depth: 0 freq:0.00 size: 5 time: 17
|
|
indirect call loop depth: 0 freq:0.00 size: 5 time: 17
|
|
indirect call loop depth: 0 freq:0.00 size: 5 time: 17
|
|
Lpuart_Lin_Ip_HwGetIntMode/68 function body not available
|
|
loop depth: 0 freq:0.13 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwGetStatusFlag/59 function body not available
|
|
loop depth: 0 freq:0.38 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwGetIntMode/68 function body not available
|
|
loop depth: 0 freq:0.13 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwGetStatusFlag/59 function body not available
|
|
loop depth: 0 freq:0.38 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_GotoIdleState/42 --param max-inline-insns-auto limit reached
|
|
loop depth: 0 freq:0.08 size: 2 time: 11callee size:20 stack: 0
|
|
Lpuart_Lin_Ip_FrameErrorIrqHandler/23 inlined
|
|
loop depth: 0 freq:0.08 size: 2 time: 11callee size:16 stack: 0
|
|
Stack frame offset 0, callee self size 0, callee size 0
|
|
Lpuart_Lin_Ip_HwClearStatusFlag/54 function body not available
|
|
loop depth: 0 freq:0.08 size: 3 time: 12
|
|
op1 is compile time invariant
|
|
indirect call loop depth: 0 freq:0.01 size: 5 time: 17
|
|
indirect call loop depth: 0 freq:0.02 size: 5 time: 17
|
|
Lpuart_Lin_Ip_HwGetIntMode/68 function body not available
|
|
loop depth: 0 freq:0.23 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwGetStatusFlag/59 function body not available
|
|
loop depth: 0 freq:0.46 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_ProcessWakeupDetect/26 inlined
|
|
loop depth: 0 freq:0.13 size: 2 time: 11callee size:30 stack: 4
|
|
Stack frame offset 0, callee self size 0, callee size 4
|
|
Lpuart_Lin_Ip_AutoBaudCapture/25 inlined
|
|
loop depth: 0 freq:0.01 size: 2 time: 11callee size:42 stack: 0
|
|
Stack frame offset 0, callee self size 0, callee size 0
|
|
OsIf_GetCounter/73 function body not available
|
|
loop depth: 0 freq:0.01 size: 3 time: 12
|
|
op0 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:0.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetBaudRateDivisor/2 inlined
|
|
loop depth: 0 freq:0.00 size: 3 time: 12callee size: 4 stack: 0
|
|
Stack frame offset 0, callee self size 0, callee size 0
|
|
OsIf_MicrosToTicks/72 function body not available
|
|
loop depth: 0 freq:0.01 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
OsIf_GetElapsed/70 function body not available
|
|
loop depth: 0 freq:0.01 size: 4 time: 13
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
indirect call loop depth: 0 freq:0.00 size: 5 time: 17
|
|
Lpuart_Lin_Ip_CheckWakeupSignal/45 inlined
|
|
loop depth: 0 freq:0.04 size: 2 time: 11callee size:22 stack: 4
|
|
Stack frame offset 0, callee self size 4, callee size 4
|
|
Lpuart_Lin_Ip_GotoIdleState/42 --param max-inline-insns-auto limit reached
|
|
loop depth: 0 freq:0.01 size: 2 time: 11callee size:20 stack: 0
|
|
indirect call loop depth: 0 freq:0.01 size: 5 time: 17
|
|
indirect call loop depth: 0 freq:0.02 size: 5 time: 17
|
|
indirect call loop depth: 0 freq:0.02 size: 5 time: 17
|
|
Lpuart_Lin_Ip_HwClearStatusFlag/54 function body not available
|
|
loop depth: 0 freq:0.13 size: 3 time: 12
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwGetStatusFlag/59 function body not available
|
|
loop depth: 0 freq:0.58 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_ProcessBreakDetect/44 inlined
|
|
loop depth: 0 freq:0.12 size: 2 time: 11callee size:29 stack: 0
|
|
Stack frame offset 0, callee self size 0, callee size 0
|
|
Lpuart_Lin_Ip_HwSetReceiverCmd/1 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.02 size: 3 time: 12callee size:14 stack: 8
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetTransmitterCmd/0 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.02 size: 3 time: 12callee size:14 stack: 8
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:0.02 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:0.12 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:0.12 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.12 size: 3 time: 12callee size: 5 stack: 0
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwClearStatusFlag/54 function body not available
|
|
loop depth: 0 freq:0.12 size: 3 time: 12
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwGetIntMode/68 function body not available
|
|
loop depth: 0 freq:0.35 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwGetStatusFlag/59 function body not available
|
|
loop depth: 0 freq:0.70 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwClearStatusFlag/54 function body not available
|
|
loop depth: 0 freq:0.30 size: 3 time: 12
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwGetIntMode/68 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
indirect call loop depth: 0 freq:0.05 size: 5 time: 17
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_GotoIdleState/42 inlinable
|
|
global time: 84.580000
|
|
self size: 40
|
|
global size: 40
|
|
min size: 16
|
|
self stack: 0
|
|
global stack: 0
|
|
estimated growth:385
|
|
size:16.000000, time:15.330000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
SchM_Exit_Lin_LIN_EXCLUSIVE_AREA_02/67 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Lin_LIN_EXCLUSIVE_AREA_02/66 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:0.33 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.33 size: 3 time: 12callee size: 5 stack: 0
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_MasterSendHeader/41 inlinable
|
|
global time: 14.463102
|
|
self size: 34
|
|
global size: 34
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:7.000000, time:7.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:2.000000, time:1.000000, nonconst if:(op1 changed)
|
|
size:11.000000, time:1.467923, executed if:(op1 <= 63)
|
|
calls:
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:0.08 size: 4 time: 13 predicate: (op1 <= 63)
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.08 size: 3 time: 12callee size: 5 stack: 0 predicate: (op1 <= 63)
|
|
op1 is compile time invariant
|
|
Lin_Ip_ProcessParity/65 function body not available
|
|
loop depth: 0 freq:0.08 size: 4 time: 13 predicate: (op1 <= 63)
|
|
op1 is compile time invariant
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_SetTimeoutCounter/40 inlinable
|
|
global time: 5.000000
|
|
self size: 6
|
|
global size: 6
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:3.000000, time:3.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_TimeoutService/39 inlinable
|
|
global time: 14.725000
|
|
self size: 30
|
|
global size: 30
|
|
min size: 10
|
|
self stack: 0
|
|
global stack: 0
|
|
size:22.000000, time:9.750000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
indirect call loop depth: 0 freq:0.17 size: 5 time: 17
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_GetCurrentNodeState/38 inlinable
|
|
global time: 5.700000
|
|
self size: 7
|
|
global size: 7
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:4.000000, time:3.700000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_SendWakeupSignal/37 inlinable
|
|
global time: 8.300000
|
|
self size: 10
|
|
global size: 10
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:7.000000, time:6.300000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_GoToSleepMode/36 inlinable
|
|
global time: 75.000000
|
|
self size: 31
|
|
global size: 31
|
|
min size: 38
|
|
self stack: 0
|
|
global stack: 0
|
|
size:9.000000, time:9.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwClearStatusFlag/54 function body not available
|
|
loop depth: 0 freq:1.00 size: 3 time: 12
|
|
op1 is compile time invariant
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_GetReceiveStatus/35 inlinable
|
|
global time: 11.750000
|
|
self size: 16
|
|
global size: 16
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:12.500000, time:9.250000
|
|
size:3.500000, time:2.500000, executed if:(not inlined)
|
|
calls:
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_AbortTransferData/34 inlinable
|
|
global time: 369.228792
|
|
self size: 41
|
|
global size: 41
|
|
min size: 56
|
|
self stack: 8
|
|
global stack: 8
|
|
size:10.000000, time:58.031316
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Lpuart_Lin_Ip_GotoIdleState/42 --param max-inline-insns-auto limit reached
|
|
loop depth: 0 freq:1.00 size: 2 time: 11callee size:20 stack: 0
|
|
Lpuart_Lin_Ip_TimeoutExpired/58 function body not available
|
|
loop depth: 1 freq:8.83 size: 5 time: 14
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwGetStatusFlag/59 function body not available
|
|
loop depth: 1 freq:9.35 size: 4 time: 13
|
|
op0 change 10.690000% of time
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_StartTimeout/57 function body not available
|
|
loop depth: 0 freq:1.00 size: 5 time: 14
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
op3 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_SyncReceiveFrameData/33 inlinable
|
|
global time: 1081.505234
|
|
self size: 78
|
|
global size: 78
|
|
min size: 68
|
|
self stack: 9
|
|
global stack: 9
|
|
size:40.000000, time:242.408518
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:1.000000, time:3.084833, nonconst if:(op2 changed)
|
|
loop iterations:(op2 changed)
|
|
calls:
|
|
Lpuart_Lin_Ip_GotoIdleState/42 --param max-inline-insns-auto limit reached
|
|
loop depth: 0 freq:0.33 size: 2 time: 11callee size:20 stack: 0
|
|
Lpuart_Lin_Ip_GetBytetoBuffer/21 call is unlikely and code size would grow
|
|
loop depth: 1 freq:0.51 size: 6 time: 15callee size:11 stack: 0
|
|
Lpuart_Lin_Ip_TimeoutExpired/58 function body not available
|
|
loop depth: 2 freq:28.84 size: 5 time: 14
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwGetStatusFlag/59 function body not available
|
|
loop depth: 2 freq:27.25 size: 4 time: 13
|
|
op0 change 3.660000% of time
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_StartTimeout/57 function body not available
|
|
loop depth: 1 freq:3.08 size: 5 time: 14
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
op3 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:0.33 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:0.33 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_StatusBeforeTransfer/22 call is unlikely and code size would grow
|
|
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 6 stack: 0
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_AsyncReceiveFrameData/32 inlinable
|
|
global time: 35.170000
|
|
self size: 33
|
|
global size: 33
|
|
min size: 18
|
|
self stack: 0
|
|
global stack: 0
|
|
size:19.000000, time:8.950000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:2.000000, time:0.660000, nonconst if:(op2 changed)
|
|
calls:
|
|
Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.33 size: 3 time: 12callee size: 5 stack: 0
|
|
op1 is compile time invariant
|
|
SchM_Exit_Lin_LIN_EXCLUSIVE_AREA_01/64 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
SchM_Enter_Lin_LIN_EXCLUSIVE_AREA_01/63 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
Lpuart_Lin_Ip_StatusBeforeTransfer/22 call is unlikely and code size would grow
|
|
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 6 stack: 0
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_GetTransmitStatus/31 inlinable
|
|
global time: 13.450000
|
|
self size: 18
|
|
global size: 18
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:12.000000, time:8.750000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:2.000000, time:2.000000, nonconst if:(op1 changed)
|
|
size:0.500000, time:0.350000, executed if:(op1 != 0B) && (not inlined)
|
|
size:0.500000, time:0.350000, executed if:(op1 != 0B)
|
|
calls:
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_SyncSendFrameData/30 inlinable
|
|
global time: 1014.296627
|
|
self size: 78
|
|
global size: 78
|
|
min size: 68
|
|
self stack: 8
|
|
global stack: 8
|
|
size:40.000000, time:215.353184
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:1.000000, time:0.330000, nonconst if:(op2 changed)
|
|
loop iterations:(op2 changed)
|
|
calls:
|
|
Lpuart_Lin_Ip_GotoIdleState/42 --param max-inline-insns-auto limit reached
|
|
loop depth: 0 freq:0.33 size: 2 time: 11callee size:20 stack: 0
|
|
Lpuart_Lin_Ip_TimeoutExpired/58 function body not available
|
|
loop depth: 2 freq:26.12 size: 5 time: 14
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwGetStatusFlag/59 function body not available
|
|
loop depth: 2 freq:27.64 size: 4 time: 13
|
|
op0 change 3.610000% of time
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_StartTimeout/57 function body not available
|
|
loop depth: 1 freq:2.96 size: 5 time: 14
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
op3 is compile time invariant
|
|
Lpuart_Lin_Ip_MakeChecksumByte/24 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.33 size: 6 time: 15callee size:11 stack: 0
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:0.33 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:0.33 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_StatusBeforeTransfer/22 call is unlikely and code size would grow
|
|
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 6 stack: 0
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_AsyncSendFrameData/29 inlinable
|
|
global time: 41.770000
|
|
self size: 44
|
|
global size: 44
|
|
min size: 30
|
|
self stack: 0
|
|
global stack: 0
|
|
size:24.000000, time:10.600000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:2.000000, time:0.660000, nonconst if:(op2 changed)
|
|
calls:
|
|
Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.33 size: 3 time: 12callee size: 5 stack: 0
|
|
op1 is compile time invariant
|
|
SchM_Exit_Lin_LIN_EXCLUSIVE_AREA_00/61 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
SchM_Enter_Lin_LIN_EXCLUSIVE_AREA_00/60 function body not available
|
|
loop depth: 0 freq:0.33 size: 1 time: 10
|
|
Lpuart_Lin_Ip_MakeChecksumByte/24 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.33 size: 6 time: 15callee size:11 stack: 0
|
|
Lpuart_Lin_Ip_StatusBeforeTransfer/22 call is unlikely and code size would grow
|
|
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 6 stack: 0
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_Deinit/28 inlinable
|
|
global time: 343.228792
|
|
self size: 33
|
|
global size: 33
|
|
min size: 40
|
|
self stack: 8
|
|
global stack: 8
|
|
size:10.000000, time:58.031316
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Lpuart_Lin_Ip_HwSetReceiverCmd/1 call is unlikely and code size would grow
|
|
loop depth: 0 freq:1.00 size: 3 time: 12callee size:14 stack: 8
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetTransmitterCmd/0 call is unlikely and code size would grow
|
|
loop depth: 0 freq:1.00 size: 3 time: 12callee size:14 stack: 8
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_TimeoutExpired/58 function body not available
|
|
loop depth: 1 freq:8.83 size: 5 time: 14
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwGetStatusFlag/59 function body not available
|
|
loop depth: 1 freq:9.35 size: 4 time: 13
|
|
op0 change 10.690000% of time
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_StartTimeout/57 function body not available
|
|
loop depth: 0 freq:1.00 size: 5 time: 14
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
op3 is compile time invariant
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_Init/27 inlinable
|
|
global time: 162.470000
|
|
self size: 96
|
|
global size: 100
|
|
min size: 324
|
|
self stack: 0
|
|
global stack: 0
|
|
size:53.500000, time:45.675000
|
|
size:10.500000, time:8.335000, executed if:(not inlined)
|
|
calls:
|
|
Lpuart_Lin_Ip_HwSetReceiverCmd/1 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.67 size: 3 time: 12callee size:14 stack: 8
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetTransmitterCmd/0 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.67 size: 3 time: 12callee size:14 stack: 8
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwClearStatusFlag/54 function body not available
|
|
loop depth: 0 freq:1.00 size: 3 time: 12
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 function body not available
|
|
loop depth: 0 freq:0.50 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.50 size: 3 time: 12callee size: 5 stack: 0
|
|
Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.50 size: 3 time: 12callee size: 5 stack: 0
|
|
Lpuart_Lin_Ip_HwSetBreakCharTransmitLength/12 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
|
|
Lpuart_Lin_Ip_HwSetParityMode/52 function body not available
|
|
loop depth: 0 freq:1.00 size: 3 time: 12
|
|
op1 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetBitCountPerChar/51 function body not available
|
|
loop depth: 0 freq:1.00 size: 4 time: 13
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_HwSetBaudRateDivisor/96 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
|
|
Lpuart_Lin_Ip_HwSetOversamplingRatio/4 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
|
|
Lpuart_Lin_Ip_HwInit/50 function body not available
|
|
loop depth: 0 freq:1.00 size: 2 time: 11
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_MakeChecksumByte/24 inlinable
|
|
global time: 51.139234
|
|
self size: 22
|
|
global size: 22
|
|
min size: 14
|
|
self stack: 0
|
|
global stack: 0
|
|
estimated growth:17
|
|
size:14.000000, time:35.139234
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Lin_Ip_MakeChecksumByte/62 function body not available
|
|
loop depth: 0 freq:1.00 size: 5 time: 14
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_StatusBeforeTransfer/22 inlinable
|
|
global time: 7.990000
|
|
self size: 12
|
|
global size: 12
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
estimated growth:4
|
|
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:(op1[ref offset: 144] changed) && (not inlined)
|
|
size:2.500000, time:1.500000, nonconst if:(op1[ref offset: 144] changed)
|
|
size:3.000000, time:3.000000, nonconst if:(op0 changed)
|
|
size:0.500000, time:0.165000, executed if:(op1[ref offset: 144] != 1) && (not inlined), nonconst if:(op1[ref offset: 112] changed) && (op1[ref offset: 144] != 1) && (not inlined)
|
|
size:2.500000, time:0.825000, executed if:(op1[ref offset: 144] != 1), nonconst if:(op1[ref offset: 112] changed) && (op1[ref offset: 144] != 1)
|
|
calls:
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_GetBytetoBuffer/21 inlinable
|
|
global time: 14.722200
|
|
self size: 23
|
|
global size: 23
|
|
min size: 11
|
|
self stack: 0
|
|
global stack: 0
|
|
estimated growth:5
|
|
size:11.000000, time:5.102200
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
size:2.000000, time:2.000000, nonconst if:(op0 changed || op1 changed)
|
|
size:1.000000, time:0.670000, nonconst if:(op0 changed || op2 changed)
|
|
calls:
|
|
Lpuart_Lin_Ip_MakeChecksumByte/24 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.33 size: 6 time: 15callee size:11 stack: 0
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13 inlinable
|
|
global time: 27.000000
|
|
self size: 10
|
|
global size: 10
|
|
min size: 3
|
|
self stack: 0
|
|
global stack: 0
|
|
estimated growth:7
|
|
size:3.000000, time:3.000000
|
|
size:4.000000, time:3.000000, executed if:(not inlined)
|
|
size:1.000000, time:1.000000, nonconst if:(op1 changed)
|
|
calls:
|
|
SchM_Exit_Lin_LIN_EXCLUSIVE_AREA_04/56 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
SchM_Enter_Lin_LIN_EXCLUSIVE_AREA_04/55 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_HwSetReceiverCmd/1 inlinable
|
|
global time: 598.859508
|
|
self size: 28
|
|
global size: 28
|
|
min size: 9
|
|
self stack: 8
|
|
global stack: 8
|
|
estimated growth:29
|
|
size:9.000000, time:408.764465
|
|
size:4.000000, time:43.822314, executed if:(not inlined)
|
|
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 192] changed) && (not inlined)
|
|
size:1.500000, time:1.500000, nonconst if:(op0[ref offset: 192] changed)
|
|
size:2.000000, time:2.000000, nonconst if:(op1 changed)
|
|
size:1.000000, time:1.000000, nonconst if:(op0[ref offset: 192] changed || op1 changed)
|
|
calls:
|
|
Lpuart_Lin_Ip_TimeoutExpired/58 function body not available
|
|
loop depth: 1 freq:9.09 size: 5 time: 14
|
|
op0 change 99.990000% of time
|
|
op1 change 99.990000% of time
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_StartTimeout/57 function body not available
|
|
loop depth: 0 freq:1.00 size: 5 time: 14
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
op3 is compile time invariant
|
|
|
|
IPA function summary for Lpuart_Lin_Ip_HwSetTransmitterCmd/0 inlinable
|
|
global time: 598.859508
|
|
self size: 28
|
|
global size: 28
|
|
min size: 9
|
|
self stack: 8
|
|
global stack: 8
|
|
estimated growth:29
|
|
size:9.000000, time:408.764465
|
|
size:4.000000, time:43.822314, executed if:(not inlined)
|
|
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 192] changed) && (not inlined)
|
|
size:1.500000, time:1.500000, nonconst if:(op0[ref offset: 192] changed)
|
|
size:2.000000, time:2.000000, nonconst if:(op1 changed)
|
|
size:1.000000, time:1.000000, nonconst if:(op0[ref offset: 192] changed || op1 changed)
|
|
calls:
|
|
Lpuart_Lin_Ip_TimeoutExpired/58 function body not available
|
|
loop depth: 1 freq:9.09 size: 5 time: 14
|
|
op0 change 99.990000% of time
|
|
op1 change 99.990000% of time
|
|
op2 is compile time invariant
|
|
Lpuart_Lin_Ip_StartTimeout/57 function body not available
|
|
loop depth: 0 freq:1.00 size: 5 time: 14
|
|
op0 is compile time invariant
|
|
op1 is compile time invariant
|
|
op2 is compile time invariant
|
|
op3 is compile time invariant
|
|
|
|
Symbol table:
|
|
|
|
Lpuart_Lin_Ip_HwSetBaudRateDivisor/96 (Lpuart_Lin_Ip_HwSetBaudRateDivisor) @06a1e460
|
|
Type: function definition analyzed
|
|
Visibility:
|
|
next sharing asm name: 2
|
|
References:
|
|
Referring:
|
|
Function Lpuart_Lin_Ip_HwSetBaudRateDivisor/96 is inline copy in Lpuart_Lin_Ip_Init/27
|
|
Clone of Lpuart_Lin_Ip_HwSetBaudRateDivisor/2
|
|
Availability: local
|
|
Function flags: count:1073741824 (estimated locally) body local optimize_size
|
|
Called by: Lpuart_Lin_Ip_Init/27 (inlined) (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
OsIf_GetCounter/73 (OsIf_GetCounter) @06b52e00
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Lpuart_Lin_Ip_AutoBaudCapture/25 (7631192 (estimated locally),0.01 per call)
|
|
Calls:
|
|
OsIf_MicrosToTicks/72 (OsIf_MicrosToTicks) @06b52d20
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Lpuart_Lin_Ip_AutoBaudCapture/25 (7631192 (estimated locally),0.01 per call)
|
|
Calls:
|
|
currentTick.4732/71 (currentTick) @06b60948
|
|
Type: variable definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References:
|
|
Referring: Lpuart_Lin_Ip_AutoBaudCapture/25 (addr)Lpuart_Lin_Ip_AutoBaudCapture/25 (write)
|
|
Availability: available
|
|
Varpool flags:
|
|
OsIf_GetElapsed/70 (OsIf_GetElapsed) @06b52b60
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Lpuart_Lin_Ip_AutoBaudCapture/25 (7631192 (estimated locally),0.01 per call)
|
|
Calls:
|
|
fallingEgdeCount.4733/69 (fallingEgdeCount) @06b608b8
|
|
Type: variable definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References:
|
|
Referring: Lpuart_Lin_Ip_AutoBaudCapture/25 (read)Lpuart_Lin_Ip_AutoBaudCapture/25 (write)
|
|
Availability: available
|
|
Varpool flags:
|
|
Lpuart_Lin_Ip_HwGetIntMode/68 (Lpuart_Lin_Ip_HwGetIntMode) @06b52460
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Lpuart_Lin_Ip_IRQHandler/43 (248034361 (estimated locally),0.23 per call) Lpuart_Lin_Ip_IRQHandler/43 (134699661 (estimated locally),0.13 per call) Lpuart_Lin_Ip_IRQHandler/43 (244419636 (estimated locally),0.23 per call) Lpuart_Lin_Ip_IRQHandler/43 (375809638 (estimated locally),0.35 per call) Lpuart_Lin_Ip_IRQHandler/43 (1073741823 (estimated locally),1.00 per call) Lpuart_Lin_Ip_FrameIrqHandler/46 (134699661 (estimated locally),0.13 per call)
|
|
Calls:
|
|
SchM_Exit_Lin_LIN_EXCLUSIVE_AREA_02/67 (SchM_Exit_Lin_LIN_EXCLUSIVE_AREA_02) @06b520e0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Lpuart_Lin_Ip_GotoIdleState/42 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Enter_Lin_LIN_EXCLUSIVE_AREA_02/66 (SchM_Enter_Lin_LIN_EXCLUSIVE_AREA_02) @06b52000
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Lpuart_Lin_Ip_GotoIdleState/42 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
Lin_Ip_ProcessParity/65 (Lin_Ip_ProcessParity) @06b3ad20
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Lpuart_Lin_Ip_ProcessFrameHeader/47 (1389090 (estimated locally),0.00 per call) Lpuart_Lin_Ip_MasterSendHeader/41 (84632867 (estimated locally),0.08 per call)
|
|
Calls:
|
|
SchM_Exit_Lin_LIN_EXCLUSIVE_AREA_01/64 (SchM_Exit_Lin_LIN_EXCLUSIVE_AREA_01) @06b3a2a0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Lpuart_Lin_Ip_AsyncReceiveFrameData/32 (354334802 (estimated locally),0.33 per call)
|
|
Calls:
|
|
SchM_Enter_Lin_LIN_EXCLUSIVE_AREA_01/63 (SchM_Enter_Lin_LIN_EXCLUSIVE_AREA_01) @06b3a1c0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Lpuart_Lin_Ip_AsyncReceiveFrameData/32 (354334802 (estimated locally),0.33 per call)
|
|
Calls:
|
|
Lin_Ip_MakeChecksumByte/62 (Lin_Ip_MakeChecksumByte) @06b28b60
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Lpuart_Lin_Ip_MakeChecksumByte/24 (248622363 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Exit_Lin_LIN_EXCLUSIVE_AREA_00/61 (SchM_Exit_Lin_LIN_EXCLUSIVE_AREA_00) @06b288c0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Lpuart_Lin_Ip_AsyncSendFrameData/29 (354334802 (estimated locally),0.33 per call)
|
|
Calls:
|
|
SchM_Enter_Lin_LIN_EXCLUSIVE_AREA_00/60 (SchM_Enter_Lin_LIN_EXCLUSIVE_AREA_00) @06b287e0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Lpuart_Lin_Ip_AsyncSendFrameData/29 (354334802 (estimated locally),0.33 per call)
|
|
Calls:
|
|
Lpuart_Lin_Ip_HwGetStatusFlag/59 (Lpuart_Lin_Ip_HwGetStatusFlag) @06b28620
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Lpuart_Lin_Ip_IRQHandler/43 (751619277 (estimated locally),0.70 per call) Lpuart_Lin_Ip_IRQHandler/43 (408180792 (estimated locally),0.38 per call) Lpuart_Lin_Ip_IRQHandler/43 (488839272 (estimated locally),0.46 per call) Lpuart_Lin_Ip_IRQHandler/43 (627602097 (estimated locally),0.58 per call) Lpuart_Lin_Ip_IRQHandler/43 (751619277 (estimated locally),0.70 per call) Lpuart_Lin_Ip_FrameIrqHandler/46 (408180791 (estimated locally),0.38 per call) Lpuart_Lin_Ip_ProcessSendFrameData/49 (16837458 (estimated locally),0.02 per call) Lpuart_Lin_Ip_AbortTransferData/34 (1073741824 (estimated locally),9.35 per call) Lpuart_Lin_Ip_SyncReceiveFrameData/33 (1014686025 (estimated locally),27.25 per call) Lpuart_Lin_Ip_SyncSendFrameData/30 (1073741824 (estimated locally),27.64 per call) Lpuart_Lin_Ip_Deinit/28 (1073741824 (estimated locally),9.35 per call)
|
|
Calls:
|
|
Lpuart_Lin_Ip_TimeoutExpired/58 (Lpuart_Lin_Ip_TimeoutExpired) @06b28380
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Lpuart_Lin_Ip_AbortTransferData/34 (1014686025 (estimated locally),8.83 per call) Lpuart_Lin_Ip_SyncReceiveFrameData/33 (1073741824 (estimated locally),28.84 per call) Lpuart_Lin_Ip_SyncSendFrameData/30 (1014686025 (estimated locally),26.12 per call) Lpuart_Lin_Ip_Deinit/28 (1014686025 (estimated locally),8.83 per call) Lpuart_Lin_Ip_HwSetReceiverCmd/1 (118111601 (estimated locally),9.09 per call) Lpuart_Lin_Ip_HwSetTransmitterCmd/0 (118111601 (estimated locally),9.09 per call)
|
|
Calls:
|
|
Lpuart_Lin_Ip_StartTimeout/57 (Lpuart_Lin_Ip_StartTimeout) @06b282a0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Lpuart_Lin_Ip_AbortTransferData/34 (114863532 (estimated locally),1.00 per call) Lpuart_Lin_Ip_SyncReceiveFrameData/33 (114863532 (estimated locally),3.08 per call) Lpuart_Lin_Ip_SyncSendFrameData/30 (114863532 (estimated locally),2.96 per call) Lpuart_Lin_Ip_Deinit/28 (114863532 (estimated locally),1.00 per call) Lpuart_Lin_Ip_HwSetReceiverCmd/1 (12992276 (estimated locally),1.00 per call) Lpuart_Lin_Ip_HwSetTransmitterCmd/0 (12992276 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Exit_Lin_LIN_EXCLUSIVE_AREA_04/56 (SchM_Exit_Lin_LIN_EXCLUSIVE_AREA_04) @06b280e0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Enter_Lin_LIN_EXCLUSIVE_AREA_04/55 (SchM_Enter_Lin_LIN_EXCLUSIVE_AREA_04) @06b28000
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
Lpuart_Lin_Ip_HwClearStatusFlag/54 (Lpuart_Lin_Ip_HwClearStatusFlag) @06b08a80
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Lpuart_Lin_Ip_IRQHandler/43 (221023419 (estimated locally),0.21 per call) Lpuart_Lin_Ip_IRQHandler/43 (81851339 (estimated locally),0.08 per call) Lpuart_Lin_Ip_IRQHandler/43 (322122547 (estimated locally),0.30 per call) Lpuart_Lin_Ip_ProcessWakeupDetect/26 (138762824 (estimated locally),0.13 per call) Lpuart_Lin_Ip_ProcessBreakDetect/44 (124017180 (estimated locally),0.12 per call) Lpuart_Lin_Ip_GoToSleepMode/36 (1073741824 (estimated locally),1.00 per call) Lpuart_Lin_Ip_Init/27 (1073741824 (estimated locally),1.00 per call) Lpuart_Lin_Ip_FrameErrorIrqHandler/23 (80658480 (estimated locally),0.08 per call)
|
|
Calls:
|
|
Lpuart_Lin_Ip_HwSetIntMode/53 (Lpuart_Lin_Ip_HwSetIntMode) @06b089a0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Lpuart_Lin_Ip_ProcessSendFrameData/49 (694545 (estimated locally),0.00 per call) Lpuart_Lin_Ip_AbortTransferData/34 (114863532 (estimated locally),1.00 per call) Lpuart_Lin_Ip_AbortTransferData/34 (114863532 (estimated locally),1.00 per call) Lpuart_Lin_Ip_AbortTransferData/34 (114863532 (estimated locally),1.00 per call) Lpuart_Lin_Ip_SyncReceiveFrameData/33 (12287527 (estimated locally),0.33 per call) Lpuart_Lin_Ip_SyncReceiveFrameData/33 (12287527 (estimated locally),0.33 per call) Lpuart_Lin_Ip_SyncSendFrameData/30 (12818615 (estimated locally),0.33 per call) Lpuart_Lin_Ip_SyncSendFrameData/30 (12818615 (estimated locally),0.33 per call) Lpuart_Lin_Ip_GotoIdleState/42 (354334802 (estimated locally),0.33 per call) Lpuart_Lin_Ip_GotoIdleState/42 (1073741824 (estimated locally),1.00 per call) Lpuart_Lin_Ip_GotoIdleState/42 (1073741824 (estimated locally),1.00 per call) Lpuart_Lin_Ip_GotoIdleState/42 (1073741824 (estimated locally),1.00 per call) Lpuart_Lin_Ip_MasterSendHeader/41 (84632867 (estimated locally),0.08 per call) Lpuart_Lin_Ip_ProcessBreakDetect/44 (20462835 (estimated locally),0.02 per call) Lpuart_Lin_Ip_ProcessBreakDetect/44 (124017180 (estimated locally),0.12 per call) Lpuart_Lin_Ip_ProcessBreakDetect/44 (124017180 (estimated locally),0.12 per call) Lpuart_Lin_Ip_GoToSleepMode/36 (1073741824 (estimated locally),1.00 per call) Lpuart_Lin_Ip_GoToSleepMode/36 (1073741824 (estimated locally),1.00 per call) Lpuart_Lin_Ip_GoToSleepMode/36 (1073741824 (estimated locally),1.00 per call) Lpuart_Lin_Ip_GoToSleepMode/36 (1073741824 (estimated locally),1.00 per call) Lpuart_Lin_Ip_Init/27 (1073741824 (estimated locally),1.00 per call) Lpuart_Lin_Ip_Init/27 (1073741824 (estimated locally),1.00 per call) Lpuart_Lin_Ip_Init/27 (536870913 (estimated locally),0.50 per call) Lpuart_Lin_Ip_AutoBaudCapture/25 (1865063 (estimated locally),0.00 per call)
|
|
Calls:
|
|
Lpuart_Lin_Ip_HwSetParityMode/52 (Lpuart_Lin_Ip_HwSetParityMode) @06b088c0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Lpuart_Lin_Ip_Init/27 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
Lpuart_Lin_Ip_HwSetBitCountPerChar/51 (Lpuart_Lin_Ip_HwSetBitCountPerChar) @06b087e0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Lpuart_Lin_Ip_Init/27 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
Lpuart_Lin_Ip_HwInit/50 (Lpuart_Lin_Ip_HwInit) @06b08700
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Lpuart_Lin_Ip_Init/27 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
Lpuart_Lin_Ip_ProcessSendFrameData/49 (Lpuart_Lin_Ip_ProcessSendFrameData) @06b082a0
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References: Lpuart_Lin_Ip_apxBases/16 (read)Lpuart_Lin_Ip_apxUserConfigs/18 (read)Lpuart_Lin_Ip_apxStateStructureArray/19 (read)
|
|
Referring:
|
|
Function Lpuart_Lin_Ip_ProcessSendFrameData/49 is inline copy in Lpuart_Lin_Ip_IRQHandler/43
|
|
Availability: local
|
|
Function flags: count:16837458 (estimated locally) body local optimize_size
|
|
Called by: Lpuart_Lin_Ip_FrameIrqHandler/46 (inlined) (16837458 (estimated locally),0.02 per call)
|
|
Calls: Lpuart_Lin_Ip_GotoIdleState/42 (339494 (estimated locally),0.00 per call) Lpuart_Lin_Ip_HwSetIntMode/53 (694545 (estimated locally),0.00 per call) Lpuart_Lin_Ip_GotoIdleState/42 (6314047 (estimated locally),0.01 per call) Lpuart_Lin_Ip_GotoIdleState/42 (8418729 (estimated locally),0.01 per call) Lpuart_Lin_Ip_HwGetStatusFlag/59 (16837458 (estimated locally),0.02 per call)
|
|
Indirect call(486182 (estimated locally),0.00 per call)
|
|
Indirect call(4419833 (estimated locally),0.00 per call)
|
|
Indirect call(5893110 (estimated locally),0.01 per call)
|
|
Lpuart_Lin_Ip_ProcessReceiveFrameData/48 (Lpuart_Lin_Ip_ProcessReceiveFrameData) @06b08000
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References: Lpuart_Lin_Ip_apxStateStructureArray/19 (read)Lpuart_Lin_Ip_apxUserConfigs/18 (read)
|
|
Referring:
|
|
Function Lpuart_Lin_Ip_ProcessReceiveFrameData/48 is inline copy in Lpuart_Lin_Ip_IRQHandler/43
|
|
Availability: local
|
|
Function flags: count:16837458 (estimated locally) body local optimize_size
|
|
Called by: Lpuart_Lin_Ip_FrameIrqHandler/46 (inlined) (16837458 (estimated locally),0.02 per call)
|
|
Calls: Lpuart_Lin_Ip_GotoIdleState/42 (8418729 (estimated locally),0.01 per call) Lpuart_Lin_Ip_GetBytetoBuffer/21 (16837458 (estimated locally),0.02 per call)
|
|
Indirect call(5893110 (estimated locally),0.01 per call)
|
|
Indirect call(2003658 (estimated locally),0.00 per call)
|
|
Lpuart_Lin_Ip_ProcessFrameHeader/47 (Lpuart_Lin_Ip_ProcessFrameHeader) @06af7b60
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References: Lpuart_Lin_Ip_apxBases/16 (read)Lpuart_Lin_Ip_apxUserConfigs/18 (read)Lpuart_Lin_Ip_apxStateStructureArray/19 (read)
|
|
Referring:
|
|
Function Lpuart_Lin_Ip_ProcessFrameHeader/47 is inline copy in Lpuart_Lin_Ip_IRQHandler/43
|
|
Availability: local
|
|
Function flags: count:16837458 (estimated locally) body local optimize_size
|
|
Called by: Lpuart_Lin_Ip_FrameIrqHandler/46 (inlined) (16837458 (estimated locally),0.02 per call)
|
|
Calls: Lpuart_Lin_Ip_GotoIdleState/42 (472291 (estimated locally),0.00 per call) Lin_Ip_ProcessParity/65 (1389090 (estimated locally),0.00 per call) Lpuart_Lin_Ip_GotoIdleState/42 (2778181 (estimated locally),0.00 per call)
|
|
Indirect call(330603 (estimated locally),0.00 per call)
|
|
Indirect call(641760 (estimated locally),0.00 per call)
|
|
Indirect call(1302967 (estimated locally),0.00 per call)
|
|
Indirect call(671225 (estimated locally),0.00 per call)
|
|
Indirect call(1944726 (estimated locally),0.00 per call)
|
|
Indirect call(1944726 (estimated locally),0.00 per call)
|
|
Lpuart_Lin_Ip_FrameIrqHandler/46 (Lpuart_Lin_Ip_FrameIrqHandler) @06af7620
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References: Lpuart_Lin_Ip_apxBases/16 (read)Lpuart_Lin_Ip_apxStateStructureArray/19 (read)
|
|
Referring:
|
|
Function Lpuart_Lin_Ip_FrameIrqHandler/46 is inline copy in Lpuart_Lin_Ip_IRQHandler/43
|
|
Availability: local
|
|
Function flags: count:408180791 (estimated locally) body local optimize_size
|
|
Called by: Lpuart_Lin_Ip_IRQHandler/43 (inlined) (408180791 (estimated locally),0.38 per call)
|
|
Calls: Lpuart_Lin_Ip_ProcessSendFrameData/49 (inlined) (16837458 (estimated locally),0.02 per call) Lpuart_Lin_Ip_ProcessReceiveFrameData/48 (inlined) (16837458 (estimated locally),0.02 per call) Lpuart_Lin_Ip_ProcessFrameHeader/47 (inlined) (16837458 (estimated locally),0.02 per call) Lpuart_Lin_Ip_HwGetIntMode/68 (134699661 (estimated locally),0.13 per call) Lpuart_Lin_Ip_HwGetStatusFlag/59 (408180791 (estimated locally),0.38 per call)
|
|
Lpuart_Lin_Ip_CheckWakeupSignal/45 (Lpuart_Lin_Ip_CheckWakeupSignal) @06af70e0
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References: Lpuart_Lin_Ip_apxUserConfigs/18 (read)Lpuart_Lin_Ip_apxBases/16 (read)Lpuart_Lin_Ip_apxStateStructureArray/19 (read)
|
|
Referring:
|
|
Function Lpuart_Lin_Ip_CheckWakeupSignal/45 is inline copy in Lpuart_Lin_Ip_IRQHandler/43
|
|
Availability: local
|
|
Function flags: count:46249649 (estimated locally) body local optimize_size
|
|
Called by: Lpuart_Lin_Ip_ProcessWakeupDetect/26 (inlined) (46249649 (estimated locally),0.04 per call)
|
|
Calls: Lpuart_Lin_Ip_GotoIdleState/42 (11562412 (estimated locally),0.01 per call)
|
|
Indirect call(8093689 (estimated locally),0.01 per call)
|
|
Indirect call(23124825 (estimated locally),0.02 per call)
|
|
Indirect call(23124825 (estimated locally),0.02 per call)
|
|
Lpuart_Lin_Ip_ProcessBreakDetect/44 (Lpuart_Lin_Ip_ProcessBreakDetect) @06af7d20
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References: Lpuart_Lin_Ip_apxUserConfigs/18 (read)Lpuart_Lin_Ip_apxBases/16 (read)Lpuart_Lin_Ip_apxStateStructureArray/19 (read)Lpuart_Lin_Ip_apxStateStructureArray/19 (read)Lpuart_Lin_Ip_apxStateStructureArray/19 (read)
|
|
Referring:
|
|
Function Lpuart_Lin_Ip_ProcessBreakDetect/44 is inline copy in Lpuart_Lin_Ip_IRQHandler/43
|
|
Availability: local
|
|
Function flags: count:124017180 (estimated locally) body local optimize_size
|
|
Called by: Lpuart_Lin_Ip_IRQHandler/43 (inlined) (124017180 (estimated locally),0.12 per call)
|
|
Calls: Lpuart_Lin_Ip_HwSetReceiverCmd/1 (20462835 (estimated locally),0.02 per call) Lpuart_Lin_Ip_HwSetTransmitterCmd/0 (20462835 (estimated locally),0.02 per call) Lpuart_Lin_Ip_HwSetIntMode/53 (20462835 (estimated locally),0.02 per call) Lpuart_Lin_Ip_HwSetIntMode/53 (124017180 (estimated locally),0.12 per call) Lpuart_Lin_Ip_HwSetIntMode/53 (124017180 (estimated locally),0.12 per call) Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13 (124017180 (estimated locally),0.12 per call) Lpuart_Lin_Ip_HwClearStatusFlag/54 (124017180 (estimated locally),0.12 per call)
|
|
Lpuart_Lin_Ip_IRQHandler/43 (Lpuart_Lin_Ip_IRQHandler) @06af7a80
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: Lpuart_Lin_Ip_apxUserConfigs/18 (read)Lpuart_Lin_Ip_apxBases/16 (read)Lpuart_Lin_Ip_apxStateStructureArray/19 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741823 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: Lpuart_Lin_Ip_HwClearStatusFlag/54 (221023419 (estimated locally),0.21 per call) Lpuart_Lin_Ip_HwClearStatusFlag/54 (81851339 (estimated locally),0.08 per call) Lpuart_Lin_Ip_HwGetIntMode/68 (248034361 (estimated locally),0.23 per call) Lpuart_Lin_Ip_HwGetStatusFlag/59 (751619277 (estimated locally),0.70 per call) Lpuart_Lin_Ip_FrameIrqHandler/46 (inlined) (408180791 (estimated locally),0.38 per call) Lpuart_Lin_Ip_HwGetIntMode/68 (134699661 (estimated locally),0.13 per call) Lpuart_Lin_Ip_HwGetStatusFlag/59 (408180792 (estimated locally),0.38 per call) Lpuart_Lin_Ip_GotoIdleState/42 (80658480 (estimated locally),0.08 per call) Lpuart_Lin_Ip_FrameErrorIrqHandler/23 (inlined) (80658480 (estimated locally),0.08 per call) Lpuart_Lin_Ip_HwGetIntMode/68 (244419636 (estimated locally),0.23 per call) Lpuart_Lin_Ip_HwGetStatusFlag/59 (488839272 (estimated locally),0.46 per call) Lpuart_Lin_Ip_ProcessWakeupDetect/26 (inlined) (138762824 (estimated locally),0.13 per call) Lpuart_Lin_Ip_HwGetStatusFlag/59 (627602097 (estimated locally),0.58 per call) Lpuart_Lin_Ip_ProcessBreakDetect/44 (inlined) (124017180 (estimated locally),0.12 per call) Lpuart_Lin_Ip_HwGetIntMode/68 (375809638 (estimated locally),0.35 per call) Lpuart_Lin_Ip_HwGetStatusFlag/59 (751619277 (estimated locally),0.70 per call) Lpuart_Lin_Ip_HwClearStatusFlag/54 (322122547 (estimated locally),0.30 per call) Lpuart_Lin_Ip_HwGetIntMode/68 (1073741823 (estimated locally),1.00 per call)
|
|
Indirect call(57295937 (estimated locally),0.05 per call)
|
|
Lpuart_Lin_Ip_GotoIdleState/42 (Lpuart_Lin_Ip_GotoIdleState) @06af77e0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: Lpuart_Lin_Ip_apxStateStructureArray/19 (read)Lpuart_Lin_Ip_apxBases/16 (read)Lpuart_Lin_Ip_apxUserConfigs/18 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by: Lpuart_Lin_Ip_IRQHandler/43 (80658480 (estimated locally),0.08 per call) Lpuart_Lin_Ip_ProcessSendFrameData/49 (339494 (estimated locally),0.00 per call) Lpuart_Lin_Ip_ProcessSendFrameData/49 (6314047 (estimated locally),0.01 per call) Lpuart_Lin_Ip_ProcessSendFrameData/49 (8418729 (estimated locally),0.01 per call) Lpuart_Lin_Ip_ProcessReceiveFrameData/48 (8418729 (estimated locally),0.01 per call) Lpuart_Lin_Ip_ProcessFrameHeader/47 (472291 (estimated locally),0.00 per call) Lpuart_Lin_Ip_ProcessFrameHeader/47 (2778181 (estimated locally),0.00 per call) Lpuart_Lin_Ip_CheckWakeupSignal/45 (11562412 (estimated locally),0.01 per call) Lpuart_Lin_Ip_AbortTransferData/34 (114863532 (estimated locally),1.00 per call) Lpuart_Lin_Ip_SyncReceiveFrameData/33 (12287526 (estimated locally),0.33 per call) Lpuart_Lin_Ip_SyncSendFrameData/30 (12818614 (estimated locally),0.33 per call)
|
|
Calls: SchM_Exit_Lin_LIN_EXCLUSIVE_AREA_02/67 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Lin_LIN_EXCLUSIVE_AREA_02/66 (1073741824 (estimated locally),1.00 per call) Lpuart_Lin_Ip_HwSetIntMode/53 (354334802 (estimated locally),0.33 per call) Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13 (354334802 (estimated locally),0.33 per call) Lpuart_Lin_Ip_HwSetIntMode/53 (1073741824 (estimated locally),1.00 per call) Lpuart_Lin_Ip_HwSetIntMode/53 (1073741824 (estimated locally),1.00 per call) Lpuart_Lin_Ip_HwSetIntMode/53 (1073741824 (estimated locally),1.00 per call)
|
|
Lpuart_Lin_Ip_MasterSendHeader/41 (Lpuart_Lin_Ip_MasterSendHeader) @06af7540
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: Lpuart_Lin_Ip_apxUserConfigs/18 (read)Lpuart_Lin_Ip_apxBases/16 (read)Lpuart_Lin_Ip_apxStateStructureArray/19 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: Lpuart_Lin_Ip_HwSetIntMode/53 (84632867 (estimated locally),0.08 per call) Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13 (84632867 (estimated locally),0.08 per call) Lin_Ip_ProcessParity/65 (84632867 (estimated locally),0.08 per call)
|
|
Lpuart_Lin_Ip_SetTimeoutCounter/40 (Lpuart_Lin_Ip_SetTimeoutCounter) @06af72a0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: Lpuart_Lin_Ip_apxStateStructureArray/19 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Lpuart_Lin_Ip_TimeoutService/39 (Lpuart_Lin_Ip_TimeoutService) @06af7000
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: Lpuart_Lin_Ip_apxStateStructureArray/19 (read)Lpuart_Lin_Ip_apxUserConfigs/18 (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)
|
|
Lpuart_Lin_Ip_GetCurrentNodeState/38 (Lpuart_Lin_Ip_GetCurrentNodeState) @06a3fb60
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: Lpuart_Lin_Ip_apxStateStructureArray/19 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Lpuart_Lin_Ip_SendWakeupSignal/37 (Lpuart_Lin_Ip_SendWakeupSignal) @06a3f620
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: Lpuart_Lin_Ip_apxStateStructureArray/19 (read)Lpuart_Lin_Ip_apxBases/16 (read)Lpuart_Lin_Ip_au8WakeupSignal/15 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Lpuart_Lin_Ip_GoToSleepMode/36 (Lpuart_Lin_Ip_GoToSleepMode) @06a3f0e0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: Lpuart_Lin_Ip_apxStateStructureArray/19 (read)Lpuart_Lin_Ip_apxBases/16 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: Lpuart_Lin_Ip_HwSetIntMode/53 (1073741824 (estimated locally),1.00 per call) Lpuart_Lin_Ip_HwSetIntMode/53 (1073741824 (estimated locally),1.00 per call) Lpuart_Lin_Ip_HwSetIntMode/53 (1073741824 (estimated locally),1.00 per call) Lpuart_Lin_Ip_HwSetIntMode/53 (1073741824 (estimated locally),1.00 per call) Lpuart_Lin_Ip_HwClearStatusFlag/54 (1073741824 (estimated locally),1.00 per call)
|
|
Lpuart_Lin_Ip_GetReceiveStatus/35 (Lpuart_Lin_Ip_GetReceiveStatus) @06a3fd20
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: Lpuart_Lin_Ip_apxStateStructureArray/19 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Lpuart_Lin_Ip_AbortTransferData/34 (Lpuart_Lin_Ip_AbortTransferData) @06a3fa80
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: Lpuart_Lin_Ip_apxStateStructureArray/19 (read)Lpuart_Lin_Ip_apxBases/16 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:114863532 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: Lpuart_Lin_Ip_GotoIdleState/42 (114863532 (estimated locally),1.00 per call) Lpuart_Lin_Ip_TimeoutExpired/58 (1014686025 (estimated locally),8.83 per call) Lpuart_Lin_Ip_HwGetStatusFlag/59 (1073741824 (estimated locally),9.35 per call) Lpuart_Lin_Ip_StartTimeout/57 (114863532 (estimated locally),1.00 per call) Lpuart_Lin_Ip_HwSetIntMode/53 (114863532 (estimated locally),1.00 per call) Lpuart_Lin_Ip_HwSetIntMode/53 (114863532 (estimated locally),1.00 per call) Lpuart_Lin_Ip_HwSetIntMode/53 (114863532 (estimated locally),1.00 per call)
|
|
Lpuart_Lin_Ip_SyncReceiveFrameData/33 (Lpuart_Lin_Ip_SyncReceiveFrameData) @06a3f7e0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: Lpuart_Lin_Ip_apxStateStructureArray/19 (read)Lpuart_Lin_Ip_apxBases/16 (read)Lpuart_Lin_Ip_apxUserConfigs/18 (read)Lpuart_Lin_Ip_apxStateStructureArray/19 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:37234929 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: Lpuart_Lin_Ip_GotoIdleState/42 (12287526 (estimated locally),0.33 per call) Lpuart_Lin_Ip_GetBytetoBuffer/21 (18952483 (estimated locally),0.51 per call) Lpuart_Lin_Ip_TimeoutExpired/58 (1073741824 (estimated locally),28.84 per call) Lpuart_Lin_Ip_HwGetStatusFlag/59 (1014686025 (estimated locally),27.25 per call) Lpuart_Lin_Ip_StartTimeout/57 (114863532 (estimated locally),3.08 per call) Lpuart_Lin_Ip_HwSetIntMode/53 (12287527 (estimated locally),0.33 per call) Lpuart_Lin_Ip_HwSetIntMode/53 (12287527 (estimated locally),0.33 per call) Lpuart_Lin_Ip_StatusBeforeTransfer/22 (37234929 (estimated locally),1.00 per call)
|
|
Lpuart_Lin_Ip_AsyncReceiveFrameData/32 (Lpuart_Lin_Ip_AsyncReceiveFrameData) @06a3f540
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: Lpuart_Lin_Ip_apxStateStructureArray/19 (read)Lpuart_Lin_Ip_apxBases/16 (read)Lpuart_Lin_Ip_apxUserConfigs/18 (read)Lpuart_Lin_Ip_apxStateStructureArray/19 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13 (354334802 (estimated locally),0.33 per call) SchM_Exit_Lin_LIN_EXCLUSIVE_AREA_01/64 (354334802 (estimated locally),0.33 per call) SchM_Enter_Lin_LIN_EXCLUSIVE_AREA_01/63 (354334802 (estimated locally),0.33 per call) Lpuart_Lin_Ip_StatusBeforeTransfer/22 (1073741824 (estimated locally),1.00 per call)
|
|
Lpuart_Lin_Ip_GetTransmitStatus/31 (Lpuart_Lin_Ip_GetTransmitStatus) @06a3f2a0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: Lpuart_Lin_Ip_apxStateStructureArray/19 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls:
|
|
Lpuart_Lin_Ip_SyncSendFrameData/30 (Lpuart_Lin_Ip_SyncSendFrameData) @06a3f000
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: Lpuart_Lin_Ip_apxStateStructureArray/19 (read)Lpuart_Lin_Ip_apxBases/16 (read)Lpuart_Lin_Ip_apxUserConfigs/18 (read)Lpuart_Lin_Ip_apxStateStructureArray/19 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:38844287 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: Lpuart_Lin_Ip_GotoIdleState/42 (12818614 (estimated locally),0.33 per call) Lpuart_Lin_Ip_TimeoutExpired/58 (1014686025 (estimated locally),26.12 per call) Lpuart_Lin_Ip_HwGetStatusFlag/59 (1073741824 (estimated locally),27.64 per call) Lpuart_Lin_Ip_StartTimeout/57 (114863532 (estimated locally),2.96 per call) Lpuart_Lin_Ip_MakeChecksumByte/24 (12818615 (estimated locally),0.33 per call) Lpuart_Lin_Ip_HwSetIntMode/53 (12818615 (estimated locally),0.33 per call) Lpuart_Lin_Ip_HwSetIntMode/53 (12818615 (estimated locally),0.33 per call) Lpuart_Lin_Ip_StatusBeforeTransfer/22 (38844287 (estimated locally),1.00 per call)
|
|
Lpuart_Lin_Ip_AsyncSendFrameData/29 (Lpuart_Lin_Ip_AsyncSendFrameData) @06a36b60
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: Lpuart_Lin_Ip_apxStateStructureArray/19 (read)Lpuart_Lin_Ip_apxBases/16 (read)Lpuart_Lin_Ip_apxUserConfigs/18 (read)Lpuart_Lin_Ip_apxStateStructureArray/19 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13 (354334802 (estimated locally),0.33 per call) SchM_Exit_Lin_LIN_EXCLUSIVE_AREA_00/61 (354334802 (estimated locally),0.33 per call) SchM_Enter_Lin_LIN_EXCLUSIVE_AREA_00/60 (354334802 (estimated locally),0.33 per call) Lpuart_Lin_Ip_MakeChecksumByte/24 (354334802 (estimated locally),0.33 per call) Lpuart_Lin_Ip_StatusBeforeTransfer/22 (1073741824 (estimated locally),1.00 per call)
|
|
Lpuart_Lin_Ip_Deinit/28 (Lpuart_Lin_Ip_Deinit) @06a36620
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: Lpuart_Lin_Ip_apxBases/16 (read)Lpuart_Lin_Ip_apxStateStructureArray/19 (read)Lpuart_Lin_Ip_apxStateStructureArray/19 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:114863532 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: Lpuart_Lin_Ip_HwSetReceiverCmd/1 (114863532 (estimated locally),1.00 per call) Lpuart_Lin_Ip_HwSetTransmitterCmd/0 (114863532 (estimated locally),1.00 per call) Lpuart_Lin_Ip_TimeoutExpired/58 (1014686025 (estimated locally),8.83 per call) Lpuart_Lin_Ip_HwGetStatusFlag/59 (1073741824 (estimated locally),9.35 per call) Lpuart_Lin_Ip_StartTimeout/57 (114863532 (estimated locally),1.00 per call)
|
|
Lpuart_Lin_Ip_Init/27 (Lpuart_Lin_Ip_Init) @06a360e0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: Lpuart_Lin_Ip_apxBases/16 (read)Lpuart_Lin_Ip_apxUserConfigs/18 (write)Lpuart_Lin_Ip_au8WakeupSignal/15 (write)Lpuart_Lin_Ip_apxStateStructureArray/19 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: Lpuart_Lin_Ip_HwSetReceiverCmd/1 (714038314 (estimated locally),0.67 per call) Lpuart_Lin_Ip_HwSetTransmitterCmd/0 (714038314 (estimated locally),0.67 per call) Lpuart_Lin_Ip_HwSetIntMode/53 (1073741824 (estimated locally),1.00 per call) Lpuart_Lin_Ip_HwSetIntMode/53 (1073741824 (estimated locally),1.00 per call) Lpuart_Lin_Ip_HwClearStatusFlag/54 (1073741824 (estimated locally),1.00 per call) Lpuart_Lin_Ip_HwSetIntMode/53 (536870913 (estimated locally),0.50 per call) Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13 (536870913 (estimated locally),0.50 per call) Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13 (536870913 (estimated locally),0.50 per call) Lpuart_Lin_Ip_HwSetBreakCharTransmitLength/12 (inlined) (536870913 (estimated locally),0.50 per call) Lpuart_Lin_Ip_HwSetParityMode/52 (1073741824 (estimated locally),1.00 per call) Lpuart_Lin_Ip_HwSetBitCountPerChar/51 (1073741824 (estimated locally),1.00 per call) Lpuart_Lin_Ip_HwSetBaudRateDivisor/96 (inlined) (1073741824 (estimated locally),1.00 per call) Lpuart_Lin_Ip_HwSetOversamplingRatio/4 (inlined) (1073741824 (estimated locally),1.00 per call) Lpuart_Lin_Ip_HwInit/50 (1073741824 (estimated locally),1.00 per call)
|
|
Lpuart_Lin_Ip_ProcessWakeupDetect/26 (Lpuart_Lin_Ip_ProcessWakeupDetect) @06a36d20
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References: Lpuart_Lin_Ip_apxStateStructureArray/19 (read)Lpuart_Lin_Ip_apxBases/16 (read)
|
|
Referring:
|
|
Function Lpuart_Lin_Ip_ProcessWakeupDetect/26 is inline copy in Lpuart_Lin_Ip_IRQHandler/43
|
|
Availability: local
|
|
Function flags: count:138762824 (estimated locally) body local optimize_size
|
|
Called by: Lpuart_Lin_Ip_IRQHandler/43 (inlined) (138762824 (estimated locally),0.13 per call)
|
|
Calls: Lpuart_Lin_Ip_AutoBaudCapture/25 (inlined) (15262384 (estimated locally),0.01 per call) Lpuart_Lin_Ip_CheckWakeupSignal/45 (inlined) (46249649 (estimated locally),0.04 per call) Lpuart_Lin_Ip_HwClearStatusFlag/54 (138762824 (estimated locally),0.13 per call)
|
|
Lpuart_Lin_Ip_AutoBaudCapture/25 (Lpuart_Lin_Ip_AutoBaudCapture) @06a36a80
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References: Lpuart_Lin_Ip_apxStateStructureArray/19 (read)Lpuart_Lin_Ip_apxBases/16 (read)Lpuart_Lin_Ip_apxUserConfigs/18 (read)fallingEgdeCount.4733/69 (read)fallingEgdeCount.4733/69 (write)currentTick.4732/71 (addr)Lpuart_Lin_Ip_au8WakeupSignal/15 (write)currentTick.4732/71 (write)
|
|
Referring:
|
|
Function Lpuart_Lin_Ip_AutoBaudCapture/25 is inline copy in Lpuart_Lin_Ip_IRQHandler/43
|
|
Availability: local
|
|
Function flags: count:15262384 (estimated locally) body local optimize_size
|
|
Called by: Lpuart_Lin_Ip_ProcessWakeupDetect/26 (inlined) (15262384 (estimated locally),0.01 per call)
|
|
Calls: OsIf_GetCounter/73 (7631192 (estimated locally),0.01 per call) Lpuart_Lin_Ip_HwSetIntMode/53 (1865063 (estimated locally),0.00 per call) Lpuart_Lin_Ip_HwSetBaudRateDivisor/2 (inlined) (1865063 (estimated locally),0.00 per call) OsIf_MicrosToTicks/72 (7631192 (estimated locally),0.01 per call) OsIf_GetElapsed/70 (7631192 (estimated locally),0.01 per call)
|
|
Indirect call(1305544 (estimated locally),0.00 per call)
|
|
Lpuart_Lin_Ip_MakeChecksumByte/24 (Lpuart_Lin_Ip_MakeChecksumByte) @06a367e0
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References: Lpuart_Lin_Ip_apxStateStructureArray/19 (read)
|
|
Referring:
|
|
Availability: local
|
|
Function flags: count:248622364 (estimated locally) body local optimize_size
|
|
Called by: Lpuart_Lin_Ip_SyncSendFrameData/30 (12818615 (estimated locally),0.33 per call) Lpuart_Lin_Ip_AsyncSendFrameData/29 (354334802 (estimated locally),0.33 per call) Lpuart_Lin_Ip_GetBytetoBuffer/21 (354334802 (estimated locally),0.33 per call)
|
|
Calls: Lin_Ip_MakeChecksumByte/62 (248622363 (estimated locally),1.00 per call)
|
|
Lpuart_Lin_Ip_FrameErrorIrqHandler/23 (Lpuart_Lin_Ip_FrameErrorIrqHandler) @06a36540
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References: Lpuart_Lin_Ip_apxBases/16 (read)Lpuart_Lin_Ip_apxStateStructureArray/19 (read)Lpuart_Lin_Ip_apxUserConfigs/18 (read)
|
|
Referring:
|
|
Function Lpuart_Lin_Ip_FrameErrorIrqHandler/23 is inline copy in Lpuart_Lin_Ip_IRQHandler/43
|
|
Availability: local
|
|
Function flags: count:80658480 (estimated locally) body local optimize_size
|
|
Called by: Lpuart_Lin_Ip_IRQHandler/43 (inlined) (80658480 (estimated locally),0.08 per call)
|
|
Calls: Lpuart_Lin_Ip_HwClearStatusFlag/54 (80658480 (estimated locally),0.08 per call)
|
|
Indirect call(12669834 (estimated locally),0.01 per call)
|
|
Indirect call(19196718 (estimated locally),0.02 per call)
|
|
Lpuart_Lin_Ip_StatusBeforeTransfer/22 (Lpuart_Lin_Ip_StatusBeforeTransfer) @06a362a0
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References:
|
|
Referring:
|
|
Availability: local
|
|
Function flags: count:1073741824 (estimated locally) body local optimize_size
|
|
Called by: Lpuart_Lin_Ip_SyncReceiveFrameData/33 (37234929 (estimated locally),1.00 per call) Lpuart_Lin_Ip_SyncSendFrameData/30 (38844287 (estimated locally),1.00 per call) Lpuart_Lin_Ip_AsyncReceiveFrameData/32 (1073741824 (estimated locally),1.00 per call) Lpuart_Lin_Ip_AsyncSendFrameData/29 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
Lpuart_Lin_Ip_GetBytetoBuffer/21 (Lpuart_Lin_Ip_GetBytetoBuffer) @06a36000
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References: Lpuart_Lin_Ip_apxBases/16 (read)Lpuart_Lin_Ip_apxStateStructureArray/19 (read)
|
|
Referring:
|
|
Availability: local
|
|
Function flags: count:1073741824 (estimated locally) body local optimize_size
|
|
Called by: Lpuart_Lin_Ip_ProcessReceiveFrameData/48 (16837458 (estimated locally),0.02 per call) Lpuart_Lin_Ip_SyncReceiveFrameData/33 (18952483 (estimated locally),0.51 per call)
|
|
Calls: Lpuart_Lin_Ip_MakeChecksumByte/24 (354334802 (estimated locally),0.33 per call)
|
|
Lpuart_Lin_Ip_apxStateStructureArray/19 (Lpuart_Lin_Ip_apxStateStructureArray) @06a2d2d0
|
|
Type: variable definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References:
|
|
Referring: Lpuart_Lin_Ip_GetBytetoBuffer/21 (read)Lpuart_Lin_Ip_ProcessWakeupDetect/26 (read)Lpuart_Lin_Ip_AutoBaudCapture/25 (read)Lpuart_Lin_Ip_TimeoutService/39 (read)Lpuart_Lin_Ip_FrameIrqHandler/46 (read)Lpuart_Lin_Ip_MasterSendHeader/41 (read)Lpuart_Lin_Ip_Init/27 (write)Lpuart_Lin_Ip_SetTimeoutCounter/40 (read)Lpuart_Lin_Ip_GotoIdleState/42 (read)Lpuart_Lin_Ip_FrameErrorIrqHandler/23 (read)Lpuart_Lin_Ip_SyncSendFrameData/30 (read)Lpuart_Lin_Ip_Deinit/28 (write)Lpuart_Lin_Ip_GetTransmitStatus/31 (read)Lpuart_Lin_Ip_GetReceiveStatus/35 (read)Lpuart_Lin_Ip_GoToSleepMode/36 (read)Lpuart_Lin_Ip_SendWakeupSignal/37 (read)Lpuart_Lin_Ip_GetCurrentNodeState/38 (read)Lpuart_Lin_Ip_AsyncReceiveFrameData/32 (read)Lpuart_Lin_Ip_ProcessBreakDetect/44 (read)Lpuart_Lin_Ip_ProcessSendFrameData/49 (read)Lpuart_Lin_Ip_AsyncSendFrameData/29 (read)Lpuart_Lin_Ip_AbortTransferData/34 (read)Lpuart_Lin_Ip_SyncReceiveFrameData/33 (read)Lpuart_Lin_Ip_MakeChecksumByte/24 (read)Lpuart_Lin_Ip_ProcessFrameHeader/47 (read)Lpuart_Lin_Ip_ProcessReceiveFrameData/48 (read)Lpuart_Lin_Ip_CheckWakeupSignal/45 (read)Lpuart_Lin_Ip_Deinit/28 (read)Lpuart_Lin_Ip_AsyncSendFrameData/29 (read)Lpuart_Lin_Ip_AsyncReceiveFrameData/32 (read)Lpuart_Lin_Ip_ProcessBreakDetect/44 (read)Lpuart_Lin_Ip_ProcessBreakDetect/44 (read)Lpuart_Lin_Ip_SyncSendFrameData/30 (read)Lpuart_Lin_Ip_SyncReceiveFrameData/33 (read)Lpuart_Lin_Ip_IRQHandler/43 (read)
|
|
Availability: available
|
|
Varpool flags:
|
|
Lpuart_Lin_Ip_apxUserConfigs/18 (Lpuart_Lin_Ip_apxUserConfigs) @06a2d240
|
|
Type: variable definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References:
|
|
Referring: Lpuart_Lin_Ip_FrameErrorIrqHandler/23 (read)Lpuart_Lin_Ip_Init/27 (write)Lpuart_Lin_Ip_MasterSendHeader/41 (read)Lpuart_Lin_Ip_TimeoutService/39 (read)Lpuart_Lin_Ip_GotoIdleState/42 (read)Lpuart_Lin_Ip_AutoBaudCapture/25 (read)Lpuart_Lin_Ip_AsyncReceiveFrameData/32 (read)Lpuart_Lin_Ip_ProcessBreakDetect/44 (read)Lpuart_Lin_Ip_ProcessReceiveFrameData/48 (read)Lpuart_Lin_Ip_AsyncSendFrameData/29 (read)Lpuart_Lin_Ip_SyncSendFrameData/30 (read)Lpuart_Lin_Ip_ProcessSendFrameData/49 (read)Lpuart_Lin_Ip_ProcessFrameHeader/47 (read)Lpuart_Lin_Ip_SyncReceiveFrameData/33 (read)Lpuart_Lin_Ip_CheckWakeupSignal/45 (read)Lpuart_Lin_Ip_IRQHandler/43 (read)
|
|
Availability: available
|
|
Varpool flags:
|
|
Lpuart_Lin_Ip_axStateStructure/17 (Lpuart_Lin_Ip_axStateStructure) @06a2d1b0
|
|
Type: variable definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Varpool flags:
|
|
Lpuart_Lin_Ip_apxBases/16 (Lpuart_Lin_Ip_apxBases) @06a2d120
|
|
Type: variable definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References:
|
|
Referring: Lpuart_Lin_Ip_GetBytetoBuffer/21 (read)Lpuart_Lin_Ip_AutoBaudCapture/25 (read)Lpuart_Lin_Ip_GoToSleepMode/36 (read)Lpuart_Lin_Ip_MasterSendHeader/41 (read)Lpuart_Lin_Ip_SendWakeupSignal/37 (read)Lpuart_Lin_Ip_GotoIdleState/42 (read)Lpuart_Lin_Ip_FrameIrqHandler/46 (read)Lpuart_Lin_Ip_SyncSendFrameData/30 (read)Lpuart_Lin_Ip_Init/27 (read)Lpuart_Lin_Ip_Deinit/28 (read)Lpuart_Lin_Ip_AsyncReceiveFrameData/32 (read)Lpuart_Lin_Ip_ProcessBreakDetect/44 (read)Lpuart_Lin_Ip_ProcessSendFrameData/49 (read)Lpuart_Lin_Ip_AsyncSendFrameData/29 (read)Lpuart_Lin_Ip_AbortTransferData/34 (read)Lpuart_Lin_Ip_SyncReceiveFrameData/33 (read)Lpuart_Lin_Ip_FrameErrorIrqHandler/23 (read)Lpuart_Lin_Ip_ProcessWakeupDetect/26 (read)Lpuart_Lin_Ip_ProcessFrameHeader/47 (read)Lpuart_Lin_Ip_CheckWakeupSignal/45 (read)Lpuart_Lin_Ip_IRQHandler/43 (read)
|
|
Availability: available
|
|
Varpool flags: initialized read-only const-value-known
|
|
Lpuart_Lin_Ip_au8WakeupSignal/15 (Lpuart_Lin_Ip_au8WakeupSignal) @06a2d048
|
|
Type: variable definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References:
|
|
Referring: Lpuart_Lin_Ip_Init/27 (write)Lpuart_Lin_Ip_AutoBaudCapture/25 (write)Lpuart_Lin_Ip_SendWakeupSignal/37 (read)
|
|
Availability: available
|
|
Varpool flags:
|
|
Lpuart_Lin_Ip_HwSetBreakCharDetectLength/13 (Lpuart_Lin_Ip_HwSetBreakCharDetectLength) @06a1e0e0
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References:
|
|
Referring:
|
|
Availability: local
|
|
Function flags: count:1073741824 (estimated locally) body local optimize_size
|
|
Called by: Lpuart_Lin_Ip_GotoIdleState/42 (354334802 (estimated locally),0.33 per call) Lpuart_Lin_Ip_MasterSendHeader/41 (84632867 (estimated locally),0.08 per call) Lpuart_Lin_Ip_ProcessBreakDetect/44 (124017180 (estimated locally),0.12 per call) Lpuart_Lin_Ip_AsyncReceiveFrameData/32 (354334802 (estimated locally),0.33 per call) Lpuart_Lin_Ip_AsyncSendFrameData/29 (354334802 (estimated locally),0.33 per call) Lpuart_Lin_Ip_Init/27 (536870913 (estimated locally),0.50 per call) Lpuart_Lin_Ip_Init/27 (536870913 (estimated locally),0.50 per call)
|
|
Calls: SchM_Exit_Lin_LIN_EXCLUSIVE_AREA_04/56 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Lin_LIN_EXCLUSIVE_AREA_04/55 (1073741824 (estimated locally),1.00 per call)
|
|
Lpuart_Lin_Ip_HwSetBreakCharTransmitLength/12 (Lpuart_Lin_Ip_HwSetBreakCharTransmitLength) @06a1ae00
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References:
|
|
Referring:
|
|
Function Lpuart_Lin_Ip_HwSetBreakCharTransmitLength/12 is inline copy in Lpuart_Lin_Ip_Init/27
|
|
Availability: local
|
|
Function flags: count:536870913 (estimated locally) body local optimize_size
|
|
Called by: Lpuart_Lin_Ip_Init/27 (inlined) (536870913 (estimated locally),0.50 per call)
|
|
Calls:
|
|
Lpuart_Lin_Ip_HwSetOversamplingRatio/4 (Lpuart_Lin_Ip_HwSetOversamplingRatio) @06a06380
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References:
|
|
Referring:
|
|
Function Lpuart_Lin_Ip_HwSetOversamplingRatio/4 is inline copy in Lpuart_Lin_Ip_Init/27
|
|
Availability: local
|
|
Function flags: count:1073741824 (estimated locally) body local optimize_size
|
|
Called by: Lpuart_Lin_Ip_Init/27 (inlined) (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
Lpuart_Lin_Ip_HwSetBaudRateDivisor/2 (Lpuart_Lin_Ip_HwSetBaudRateDivisor) @069ffd20
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
previous sharing asm name: 96
|
|
References:
|
|
Referring:
|
|
Function Lpuart_Lin_Ip_HwSetBaudRateDivisor/2 is inline copy in Lpuart_Lin_Ip_IRQHandler/43
|
|
Availability: local
|
|
Function flags: count:1865063 (estimated locally) body local optimize_size
|
|
Called by: Lpuart_Lin_Ip_AutoBaudCapture/25 (inlined) (1865063 (estimated locally),0.00 per call)
|
|
Calls:
|
|
Lpuart_Lin_Ip_HwSetReceiverCmd/1 (Lpuart_Lin_Ip_HwSetReceiverCmd) @069ffa80
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References:
|
|
Referring:
|
|
Availability: local
|
|
Function flags: count:12992276 (estimated locally) body local optimize_size
|
|
Called by: Lpuart_Lin_Ip_ProcessBreakDetect/44 (20462835 (estimated locally),0.02 per call) Lpuart_Lin_Ip_Deinit/28 (114863532 (estimated locally),1.00 per call) Lpuart_Lin_Ip_Init/27 (714038314 (estimated locally),0.67 per call)
|
|
Calls: Lpuart_Lin_Ip_TimeoutExpired/58 (118111601 (estimated locally),9.09 per call) Lpuart_Lin_Ip_StartTimeout/57 (12992276 (estimated locally),1.00 per call)
|
|
Lpuart_Lin_Ip_HwSetTransmitterCmd/0 (Lpuart_Lin_Ip_HwSetTransmitterCmd) @069ff7e0
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
References:
|
|
Referring:
|
|
Availability: local
|
|
Function flags: count:12992276 (estimated locally) body local optimize_size
|
|
Called by: Lpuart_Lin_Ip_ProcessBreakDetect/44 (20462835 (estimated locally),0.02 per call) Lpuart_Lin_Ip_Deinit/28 (114863532 (estimated locally),1.00 per call) Lpuart_Lin_Ip_Init/27 (714038314 (estimated locally),0.67 per call)
|
|
Calls: Lpuart_Lin_Ip_TimeoutExpired/58 (118111601 (estimated locally),9.09 per call) Lpuart_Lin_Ip_StartTimeout/57 (12992276 (estimated locally),1.00 per call)
|
|
|
|
;; Function Lpuart_Lin_Ip_StatusBeforeTransfer (Lpuart_Lin_Ip_StatusBeforeTransfer, funcdef_no=17, decl_uid=4678, cgraph_uid=18, symbol_order=22)
|
|
|
|
Lpuart_Lin_Ip_StatusBeforeTransfer (const uint8 u8Size, const struct Lpuart_Lin_Ip_StateStructType * linCurrentState)
|
|
{
|
|
Lpuart_Lin_Ip_StatusType retVal;
|
|
<unnamed type> _1;
|
|
unsigned char _2;
|
|
_Bool _3;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG retVal => 0
|
|
# DEBUG BEGIN_STMT
|
|
_1 ={v} linCurrentState_6(D)->currentNodeState;
|
|
# DEBUG checkSleepMode => _1 == 1
|
|
# DEBUG BEGIN_STMT
|
|
_2 = u8Size_7(D) + 255;
|
|
if (_2 > 7)
|
|
goto <bb 6>; [50.00%]
|
|
else
|
|
goto <bb 3>; [50.00%]
|
|
|
|
<bb 3> [local count: 536870913]:
|
|
if (_1 == 1)
|
|
goto <bb 6>; [34.00%]
|
|
else
|
|
goto <bb 4>; [66.00%]
|
|
|
|
<bb 4> [local count: 354334802]:
|
|
# DEBUG BEGIN_STMT
|
|
_3 ={v} linCurrentState_6(D)->isBusBusy;
|
|
if (_3 != 0)
|
|
goto <bb 5>; [35.00%]
|
|
else
|
|
goto <bb 6>; [65.00%]
|
|
|
|
<bb 5> [local count: 124017181]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG retVal => 2
|
|
|
|
<bb 6> [local count: 1073741824]:
|
|
# retVal_4 = PHI <1(3), 0(4), 2(5), 1(2)>
|
|
# DEBUG retVal => retVal_4
|
|
# DEBUG BEGIN_STMT
|
|
return retVal_4;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Lpuart_Lin_Ip_HwSetBreakCharDetectLength (Lpuart_Lin_Ip_HwSetBreakCharDetectLength, funcdef_no=13, decl_uid=4577, cgraph_uid=14, symbol_order=13)
|
|
|
|
Lpuart_Lin_Ip_HwSetBreakCharDetectLength (struct LPUART_Type * base, uint8 length)
|
|
{
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
long unsigned int _5;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Lin_LIN_EXCLUSIVE_AREA_04 ();
|
|
# DEBUG BEGIN_STMT
|
|
_1 ={v} base_8(D)->STAT;
|
|
_2 = _1 & 1038106623;
|
|
_3 = (long unsigned int) length_9(D);
|
|
_4 = _3 << 25;
|
|
_5 = _2 | _4;
|
|
base_8(D)->STAT ={v} _5;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Lin_LIN_EXCLUSIVE_AREA_04 ();
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Lpuart_Lin_Ip_HwSetTransmitterCmd (Lpuart_Lin_Ip_HwSetTransmitterCmd, funcdef_no=0, decl_uid=4492, cgraph_uid=1, symbol_order=0)
|
|
|
|
Lpuart_Lin_Ip_HwSetTransmitterCmd (struct LPUART_Type * base, boolean enable)
|
|
{
|
|
uint32 timeoutTicks;
|
|
uint32 startTime;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
long unsigned int _5;
|
|
_Bool _6;
|
|
long unsigned int startTime.1_7;
|
|
long unsigned int timeoutTicks.2_8;
|
|
_Bool _9;
|
|
long unsigned int iftmp.0_10;
|
|
|
|
<bb 2> [local count: 12992276]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
_1 ={v} base_13(D)->CTRL;
|
|
_2 = _1 & 4294443007;
|
|
if (enable_14(D) != 0)
|
|
goto <bb 4>; [50.00%]
|
|
else
|
|
goto <bb 3>; [50.00%]
|
|
|
|
<bb 3> [local count: 6496138]:
|
|
|
|
<bb 4> [local count: 12992276]:
|
|
# iftmp.0_10 = PHI <524288(2), 0(3)>
|
|
_3 = _2 | iftmp.0_10;
|
|
base_13(D)->CTRL ={v} _3;
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_StartTimeout (&startTime, &timeoutTicks, 65535, 0);
|
|
|
|
<bb 5> [local count: 118111600]:
|
|
|
|
<bb 6> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
_4 ={v} base_13(D)->CTRL;
|
|
_5 = _4 & 524288;
|
|
_6 = _5 != 0;
|
|
if (_6 != enable_14(D))
|
|
goto <bb 10>; [89.00%]
|
|
else
|
|
goto <bb 7>; [11.00%]
|
|
|
|
<bb 10> [local count: 955630224]:
|
|
goto <bb 6>; [100.00%]
|
|
|
|
<bb 7> [local count: 118111601]:
|
|
# DEBUG BEGIN_STMT
|
|
startTime.1_7 = startTime;
|
|
timeoutTicks.2_8 = timeoutTicks;
|
|
_9 = Lpuart_Lin_Ip_TimeoutExpired (startTime.1_7, timeoutTicks.2_8, 0);
|
|
if (_9 != 0)
|
|
goto <bb 8>; [11.00%]
|
|
else
|
|
goto <bb 9>; [89.00%]
|
|
|
|
<bb 9> [local count: 105119325]:
|
|
goto <bb 5>; [100.00%]
|
|
|
|
<bb 8> [local count: 12992276]:
|
|
startTime ={v} {CLOBBER};
|
|
timeoutTicks ={v} {CLOBBER};
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Lpuart_Lin_Ip_HwSetReceiverCmd (Lpuart_Lin_Ip_HwSetReceiverCmd, funcdef_no=1, decl_uid=4503, cgraph_uid=2, symbol_order=1)
|
|
|
|
Lpuart_Lin_Ip_HwSetReceiverCmd (struct LPUART_Type * base, boolean enable)
|
|
{
|
|
uint32 timeoutTicks;
|
|
uint32 startTime;
|
|
long unsigned int _1;
|
|
long unsigned int _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
long unsigned int _5;
|
|
_Bool _6;
|
|
long unsigned int startTime.4_7;
|
|
long unsigned int timeoutTicks.5_8;
|
|
_Bool _9;
|
|
long unsigned int iftmp.3_10;
|
|
|
|
<bb 2> [local count: 12992276]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
_1 ={v} base_13(D)->CTRL;
|
|
_2 = _1 & 4294705151;
|
|
if (enable_14(D) != 0)
|
|
goto <bb 4>; [50.00%]
|
|
else
|
|
goto <bb 3>; [50.00%]
|
|
|
|
<bb 3> [local count: 6496138]:
|
|
|
|
<bb 4> [local count: 12992276]:
|
|
# iftmp.3_10 = PHI <262144(2), 0(3)>
|
|
_3 = _2 | iftmp.3_10;
|
|
base_13(D)->CTRL ={v} _3;
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_StartTimeout (&startTime, &timeoutTicks, 65535, 0);
|
|
|
|
<bb 5> [local count: 118111600]:
|
|
|
|
<bb 6> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
_4 ={v} base_13(D)->CTRL;
|
|
_5 = _4 & 262144;
|
|
_6 = _5 != 0;
|
|
if (_6 != enable_14(D))
|
|
goto <bb 10>; [89.00%]
|
|
else
|
|
goto <bb 7>; [11.00%]
|
|
|
|
<bb 10> [local count: 955630224]:
|
|
goto <bb 6>; [100.00%]
|
|
|
|
<bb 7> [local count: 118111601]:
|
|
# DEBUG BEGIN_STMT
|
|
startTime.4_7 = startTime;
|
|
timeoutTicks.5_8 = timeoutTicks;
|
|
_9 = Lpuart_Lin_Ip_TimeoutExpired (startTime.4_7, timeoutTicks.5_8, 0);
|
|
if (_9 != 0)
|
|
goto <bb 8>; [11.00%]
|
|
else
|
|
goto <bb 9>; [89.00%]
|
|
|
|
<bb 9> [local count: 105119325]:
|
|
goto <bb 5>; [100.00%]
|
|
|
|
<bb 8> [local count: 12992276]:
|
|
startTime ={v} {CLOBBER};
|
|
timeoutTicks ={v} {CLOBBER};
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Lpuart_Lin_Ip_MakeChecksumByte (Lpuart_Lin_Ip_MakeChecksumByte, funcdef_no=19, decl_uid=4669, cgraph_uid=20, symbol_order=24)
|
|
|
|
Lpuart_Lin_Ip_MakeChecksumByte (const uint32 u32Instance, const uint8 * buffer, const uint8 sizeBuffer, const uint8 PID)
|
|
{
|
|
const uint8 numOfClassicPID;
|
|
const struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
uint8 retVal;
|
|
const uint8 * classicPID;
|
|
uint8 checkSum;
|
|
sizetype _1;
|
|
const uint8 * _2;
|
|
unsigned char _3;
|
|
|
|
<bb 2> [local count: 248622364]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG checkSum => PID_6(D)
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG retVal => 0
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_9 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_8(D)];
|
|
# DEBUG linCurrentState => linCurrentState_9
|
|
# DEBUG BEGIN_STMT
|
|
numOfClassicPID_10 = linCurrentState_9->numOfClassicPID;
|
|
# DEBUG numOfClassicPID => numOfClassicPID_10
|
|
# DEBUG BEGIN_STMT
|
|
classicPID_11 = linCurrentState_9->classicPID;
|
|
# DEBUG classicPID => classicPID_11
|
|
# DEBUG BEGIN_STMT
|
|
if (numOfClassicPID_10 == 255)
|
|
goto <bb 7>; [34.00%]
|
|
else
|
|
goto <bb 3>; [66.00%]
|
|
|
|
<bb 3> [local count: 164090760]:
|
|
# DEBUG BEGIN_STMT
|
|
if (classicPID_11 != 0B)
|
|
goto <bb 8>; [70.00%]
|
|
else
|
|
goto <bb 7>; [30.00%]
|
|
|
|
<bb 8> [local count: 114863532]:
|
|
goto <bb 6>; [100.00%]
|
|
|
|
<bb 4> [local count: 1014686025]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = (sizetype) retVal_5;
|
|
_2 = classicPID_11 + _1;
|
|
_3 = *_2;
|
|
if (_3 == PID_6(D))
|
|
goto <bb 7>; [5.50%]
|
|
else
|
|
goto <bb 5>; [94.50%]
|
|
|
|
<bb 5> [local count: 958878293]:
|
|
# DEBUG BEGIN_STMT
|
|
retVal_12 = retVal_5 + 1;
|
|
# DEBUG retVal => retVal_12
|
|
|
|
<bb 6> [local count: 1073741824]:
|
|
# retVal_5 = PHI <retVal_12(5), 0(8)>
|
|
# DEBUG retVal => retVal_5
|
|
# DEBUG BEGIN_STMT
|
|
if (retVal_5 < numOfClassicPID_10)
|
|
goto <bb 4>; [94.50%]
|
|
else
|
|
goto <bb 7>; [5.50%]
|
|
|
|
<bb 7> [local count: 248622363]:
|
|
# checkSum_4 = PHI <0(2), PID_6(D)(3), 0(4), PID_6(D)(6)>
|
|
# DEBUG checkSum => checkSum_4
|
|
# DEBUG BEGIN_STMT
|
|
retVal_16 = Lin_Ip_MakeChecksumByte (buffer_13(D), sizeBuffer_14(D), checkSum_4);
|
|
# DEBUG retVal => retVal_16
|
|
# DEBUG BEGIN_STMT
|
|
return retVal_16;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Lpuart_Lin_Ip_GetBytetoBuffer (Lpuart_Lin_Ip_GetBytetoBuffer, funcdef_no=16, decl_uid=4683, cgraph_uid=17, symbol_order=21)
|
|
|
|
Lpuart_Lin_Ip_GetBytetoBuffer (const uint8 byteCnt, const uint8 u8BuffSize, uint8 * pBuff, const uint32 u32Instance)
|
|
{
|
|
struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
const struct LPUART_Type * base;
|
|
Lpuart_Lin_Ip_StatusType retVal;
|
|
sizetype _1;
|
|
uint8 * _2;
|
|
unsigned char _3;
|
|
unsigned char _4;
|
|
long unsigned int _18;
|
|
unsigned char _19;
|
|
long unsigned int _20;
|
|
unsigned char _21;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG retVal => 0
|
|
# DEBUG BEGIN_STMT
|
|
base_9 = Lpuart_Lin_Ip_apxBases[u32Instance_8(D)];
|
|
# DEBUG base => base_9
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_10 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_8(D)];
|
|
# DEBUG linCurrentState => linCurrentState_10
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
if (byteCnt_11(D) < u8BuffSize_12(D))
|
|
goto <bb 3>; [67.00%]
|
|
else
|
|
goto <bb 4>; [33.00%]
|
|
|
|
<bb 3> [local count: 719407023]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = (sizetype) byteCnt_11(D);
|
|
_2 = pBuff_13(D) + _1;
|
|
# DEBUG base => base_9
|
|
# DEBUG readData => _2
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwGetchar
|
|
# DEBUG BEGIN_STMT
|
|
_18 ={v} base_9->DATA;
|
|
_19 = (unsigned char) _18;
|
|
*_2 = _19;
|
|
goto <bb 7>; [100.00%]
|
|
|
|
<bb 4> [local count: 354334802]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG base => base_9
|
|
# DEBUG readData => &checkSum
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwGetchar
|
|
# DEBUG BEGIN_STMT
|
|
_20 ={v} base_9->DATA;
|
|
_21 = (unsigned char) _20;
|
|
# DEBUG checkSum => _21
|
|
# DEBUG base => NULL
|
|
# DEBUG readData => NULL
|
|
# DEBUG BEGIN_STMT
|
|
_3 = linCurrentState_10->currentPid;
|
|
_4 = Lpuart_Lin_Ip_MakeChecksumByte (u32Instance_8(D), pBuff_13(D), u8BuffSize_12(D), _3);
|
|
if (_4 != _21)
|
|
goto <bb 5>; [66.00%]
|
|
else
|
|
goto <bb 6>; [34.00%]
|
|
|
|
<bb 5> [local count: 233860969]:
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_10->currentEventId ={v} 10;
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG retVal => 1
|
|
goto <bb 7>; [100.00%]
|
|
|
|
<bb 6> [local count: 120473833]:
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_10->currentEventId ={v} 12;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_10->currentNodeState ={v} 8;
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG retVal => 0
|
|
|
|
<bb 7> [local count: 1073741824]:
|
|
# retVal_5 = PHI <0(3), 1(5), 0(6)>
|
|
# DEBUG base => NULL
|
|
# DEBUG readData => NULL
|
|
# DEBUG retVal => retVal_5
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG D#3 => {CLOBBER}
|
|
# DEBUG checkSum => D#3
|
|
return retVal_5;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Lpuart_Lin_Ip_Init (Lpuart_Lin_Ip_Init, funcdef_no=22, decl_uid=4601, cgraph_uid=23, symbol_order=27)
|
|
|
|
|
|
Symbols to be put in SSA form
|
|
{ D.5287 }
|
|
Incremental SSA update started at block: 0
|
|
Number of blocks in CFG: 20
|
|
Number of blocks to update: 19 ( 95%)
|
|
|
|
|
|
Merging blocks 7 and 17
|
|
Merging blocks 8 and 19
|
|
Merging blocks 7 and 16
|
|
Merging blocks 7 and 15
|
|
Merging blocks 7 and 14
|
|
Merging blocks 8 and 18
|
|
;; 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 { 3 5 }
|
|
;; 3 succs { 4 5 }
|
|
;; 4 succs { 5 }
|
|
;; 5 succs { 6 7 }
|
|
;; 6 succs { 7 }
|
|
;; 7 succs { 8 9 }
|
|
;; 8 succs { 10 }
|
|
;; 9 succs { 10 }
|
|
;; 10 succs { 12 11 }
|
|
;; 11 succs { 12 13 }
|
|
;; 12 succs { 13 }
|
|
;; 13 succs { 1 }
|
|
Lpuart_Lin_Ip_Init (const uint32 u32Instance, const struct Lpuart_Lin_Ip_UserConfigType * pUserConfig)
|
|
{
|
|
uint32 baudRegValTemp;
|
|
uint32 baudRegValTemp;
|
|
struct Lpuart_Lin_Ip_StateStructType * pCrtStateStruct;
|
|
struct LPUART_Type * base;
|
|
_Bool _1;
|
|
_Bool _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
long unsigned int _5;
|
|
_Bool _6;
|
|
unsigned char _7;
|
|
unsigned char _8;
|
|
unsigned char _9;
|
|
uint8 * _10;
|
|
unsigned char _11;
|
|
unsigned char _12;
|
|
_Bool _13;
|
|
_Bool _14;
|
|
struct Lpuart_Lin_Ip_StateStructType * _15;
|
|
long unsigned int _52;
|
|
long unsigned int _53;
|
|
long unsigned int _54;
|
|
long unsigned int _55;
|
|
long unsigned int _60;
|
|
long unsigned int _64;
|
|
long unsigned int _65;
|
|
long unsigned int _67;
|
|
long unsigned int _68;
|
|
long unsigned int _69;
|
|
long unsigned int _70;
|
|
long unsigned int _71;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
base_22 = Lpuart_Lin_Ip_apxBases[u32Instance_21(D)];
|
|
# DEBUG base => base_22
|
|
# DEBUG BEGIN_STMT
|
|
pCrtStateStruct_24 = pUserConfig_23(D)->pStateStruct;
|
|
# DEBUG pCrtStateStruct => pCrtStateStruct_24
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_apxUserConfigs[u32Instance_21(D)] = pUserConfig_23(D);
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwInit (base_22);
|
|
# DEBUG BEGIN_STMT
|
|
_1 = pUserConfig_23(D)->autobaudEnable;
|
|
if (_1 != 0)
|
|
goto <bb 3>; [50.00%]
|
|
else
|
|
goto <bb 5>; [50.00%]
|
|
|
|
<bb 3> [local count: 536870913]:
|
|
_2 = pUserConfig_23(D)->nodeFunction;
|
|
if (_2 != 0)
|
|
goto <bb 5>; [50.00%]
|
|
else
|
|
goto <bb 4>; [50.00%]
|
|
|
|
<bb 4> [local count: 268435456]:
|
|
# DEBUG BEGIN_STMT
|
|
pCrtStateStruct_24->fallingEdgeInterruptCount ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
pCrtStateStruct_24->baudrateEvalEnable ={v} 1;
|
|
|
|
<bb 5> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
_3 = pUserConfig_23(D)->u32OverSamplingRatio;
|
|
if (_3 <= 7)
|
|
goto <bb 6>; [50.00%]
|
|
else
|
|
goto <bb 7>; [50.00%]
|
|
|
|
<bb 6> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG base => base_22
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwEnableBothEdgeSamplingCmd
|
|
# DEBUG BEGIN_STMT
|
|
_52 ={v} base_22->BAUD;
|
|
_53 = _52 | 131072;
|
|
base_22->BAUD ={v} _53;
|
|
|
|
<bb 7> [local count: 1073741824]:
|
|
# DEBUG base => NULL
|
|
# DEBUG BEGIN_STMT
|
|
_4 = _3 + 4294967295;
|
|
# DEBUG base => base_22
|
|
# DEBUG overSamplingRatio => _4
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwSetOversamplingRatio
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
baudRegValTemp_62 ={v} base_22->BAUD;
|
|
# DEBUG baudRegValTemp => baudRegValTemp_62
|
|
# DEBUG BEGIN_STMT
|
|
baudRegValTemp_63 = baudRegValTemp_62 & 3774873599;
|
|
# DEBUG baudRegValTemp => baudRegValTemp_63
|
|
# DEBUG BEGIN_STMT
|
|
_64 = _4 << 24;
|
|
_65 = _64 & 520093696;
|
|
baudRegValTemp_66 = baudRegValTemp_63 | _65;
|
|
# DEBUG baudRegValTemp => baudRegValTemp_66
|
|
# DEBUG BEGIN_STMT
|
|
base_22->BAUD ={v} baudRegValTemp_66;
|
|
# DEBUG base => NULL
|
|
# DEBUG overSamplingRatio => NULL
|
|
# DEBUG baudRegValTemp => NULL
|
|
# DEBUG BEGIN_STMT
|
|
_5 = pUserConfig_23(D)->u32BaudRateDivisor;
|
|
# DEBUG base => base_22
|
|
# DEBUG baudRateDivisor => _5
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwSetBaudRateDivisor
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
baudRegValTemp_58 ={v} base_22->BAUD;
|
|
# DEBUG baudRegValTemp => baudRegValTemp_58
|
|
# DEBUG BEGIN_STMT
|
|
baudRegValTemp_59 = baudRegValTemp_58 & 4294959104;
|
|
# DEBUG baudRegValTemp => baudRegValTemp_59
|
|
# DEBUG BEGIN_STMT
|
|
_60 = _5 & 8191;
|
|
baudRegValTemp_61 = baudRegValTemp_59 | _60;
|
|
# DEBUG baudRegValTemp => baudRegValTemp_61
|
|
# DEBUG BEGIN_STMT
|
|
base_22->BAUD ={v} baudRegValTemp_61;
|
|
# DEBUG base => NULL
|
|
# DEBUG baudRateDivisor => NULL
|
|
# DEBUG baudRegValTemp => NULL
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetBitCountPerChar (base_22, 0, 0);
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetParityMode (base_22, 0);
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG base => base_22
|
|
# DEBUG stopBitCount => 0
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwSetStopBitCount
|
|
# DEBUG BEGIN_STMT
|
|
_54 ={v} base_22->BAUD;
|
|
_55 = _54 & 4294959103;
|
|
base_22->BAUD ={v} _55;
|
|
# DEBUG base => NULL
|
|
# DEBUG stopBitCount => NULL
|
|
# DEBUG BEGIN_STMT
|
|
_6 = pUserConfig_23(D)->nodeFunction;
|
|
if (_6 != 0)
|
|
goto <bb 8>; [50.00%]
|
|
else
|
|
goto <bb 9>; [50.00%]
|
|
|
|
<bb 8> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
_7 = pUserConfig_23(D)->u8BreakLength;
|
|
# DEBUG base => base_22
|
|
# DEBUG length => _7
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwSetBreakCharTransmitLength
|
|
# DEBUG BEGIN_STMT
|
|
_67 ={v} base_22->STAT;
|
|
_68 = _67 & 1004552191;
|
|
_69 = (long unsigned int) _7;
|
|
_70 = _69 << 26;
|
|
_71 = _68 | _70;
|
|
base_22->STAT ={v} _71;
|
|
# DEBUG base => NULL
|
|
# DEBUG length => NULL
|
|
# DEBUG BEGIN_STMT
|
|
_8 = pUserConfig_23(D)->u8BreakLengthDetect;
|
|
Lpuart_Lin_Ip_HwSetBreakCharDetectLength (base_22, _8);
|
|
goto <bb 10>; [100.00%]
|
|
|
|
<bb 9> [local count: 536870913]:
|
|
# DEBUG BEGIN_STMT
|
|
_9 = pUserConfig_23(D)->u8BreakLengthDetect;
|
|
Lpuart_Lin_Ip_HwSetBreakCharDetectLength (base_22, _9);
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetIntMode (base_22, 65551, 1);
|
|
|
|
<bb 10> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwClearStatusFlag (base_22, 0);
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetIntMode (base_22, 196629, 0);
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetIntMode (base_22, 196633, 1);
|
|
# DEBUG BEGIN_STMT
|
|
pCrtStateStruct_24->currentNodeState ={v} 2;
|
|
# DEBUG BEGIN_STMT
|
|
pCrtStateStruct_24->isTxBusy ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
pCrtStateStruct_24->isRxBusy ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
pCrtStateStruct_24->isBusBusy ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
pCrtStateStruct_24->timeoutCounterFlag ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
pCrtStateStruct_24->timeoutCounter ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
_10 = pUserConfig_23(D)->classicPID;
|
|
pCrtStateStruct_24->classicPID = _10;
|
|
# DEBUG BEGIN_STMT
|
|
_11 = pUserConfig_23(D)->numOfClassicPID;
|
|
pCrtStateStruct_24->numOfClassicPID = _11;
|
|
# DEBUG BEGIN_STMT
|
|
_12 = pUserConfig_23(D)->u8WakeupByte;
|
|
Lpuart_Lin_Ip_au8WakeupSignal[u32Instance_21(D)] = _12;
|
|
# DEBUG BEGIN_STMT
|
|
_13 = pUserConfig_23(D)->autobaudEnable;
|
|
if (_13 != 0)
|
|
goto <bb 11>; [67.00%]
|
|
else
|
|
goto <bb 12>; [33.00%]
|
|
|
|
<bb 11> [local count: 719407023]:
|
|
_14 = pUserConfig_23(D)->nodeFunction;
|
|
if (_14 != 0)
|
|
goto <bb 12>; [50.00%]
|
|
else
|
|
goto <bb 13>; [50.00%]
|
|
|
|
<bb 12> [local count: 714038314]:
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetTransmitterCmd (base_22, 1);
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetReceiverCmd (base_22, 1);
|
|
|
|
<bb 13> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
_15 = pUserConfig_23(D)->pStateStruct;
|
|
Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_21(D)] = _15;
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Lpuart_Lin_Ip_Deinit (Lpuart_Lin_Ip_Deinit, funcdef_no=23, decl_uid=4603, cgraph_uid=24, symbol_order=28)
|
|
|
|
Lpuart_Lin_Ip_Deinit (const uint32 u32Instance)
|
|
{
|
|
uint32 timeoutTicks;
|
|
uint32 startTime;
|
|
struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
struct LPUART_Type * base;
|
|
_Bool _1;
|
|
long unsigned int startTime.6_2;
|
|
long unsigned int timeoutTicks.7_3;
|
|
_Bool _4;
|
|
|
|
<bb 2> [local count: 114863532]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
base_9 = Lpuart_Lin_Ip_apxBases[u32Instance_8(D)];
|
|
# DEBUG base => base_9
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_10 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_8(D)];
|
|
# DEBUG linCurrentState => linCurrentState_10
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_StartTimeout (&startTime, &timeoutTicks, 65535, 0);
|
|
|
|
<bb 3> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
_1 = Lpuart_Lin_Ip_HwGetStatusFlag (base_9, 131094);
|
|
if (_1 != 0)
|
|
goto <bb 5>; [5.50%]
|
|
else
|
|
goto <bb 4>; [94.50%]
|
|
|
|
<bb 4> [local count: 1014686025]:
|
|
# DEBUG BEGIN_STMT
|
|
startTime.6_2 = startTime;
|
|
timeoutTicks.7_3 = timeoutTicks;
|
|
_4 = Lpuart_Lin_Ip_TimeoutExpired (startTime.6_2, timeoutTicks.7_3, 0);
|
|
if (_4 != 0)
|
|
goto <bb 5>; [5.50%]
|
|
else
|
|
goto <bb 6>; [94.50%]
|
|
|
|
<bb 6> [local count: 958878293]:
|
|
goto <bb 3>; [100.00%]
|
|
|
|
<bb 5> [local count: 114863532]:
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetTransmitterCmd (base_9, 0);
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetReceiverCmd (base_9, 0);
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_10->currentNodeState ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_8(D)] = 0B;
|
|
startTime ={v} {CLOBBER};
|
|
timeoutTicks ={v} {CLOBBER};
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Lpuart_Lin_Ip_AsyncSendFrameData (Lpuart_Lin_Ip_AsyncSendFrameData, funcdef_no=24, decl_uid=4607, cgraph_uid=25, symbol_order=29)
|
|
|
|
Lpuart_Lin_Ip_AsyncSendFrameData (const uint32 u32Instance, const uint8 * pTxBuff, const uint8 u8TxSize)
|
|
{
|
|
struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
const struct Lpuart_Lin_Ip_UserConfigType * pUserConfig;
|
|
struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
struct LPUART_Type * base;
|
|
Lpuart_Lin_Ip_StatusType retVal;
|
|
unsigned char _1;
|
|
unsigned char _2;
|
|
unsigned char _3;
|
|
long unsigned int _4;
|
|
long unsigned int _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
long unsigned int _8;
|
|
long unsigned int _9;
|
|
const uint8 * _10;
|
|
unsigned char _11;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG retVal => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_15 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_14(D)];
|
|
# DEBUG linCurrentState => linCurrentState_15
|
|
# DEBUG BEGIN_STMT
|
|
base_16 = Lpuart_Lin_Ip_apxBases[u32Instance_14(D)];
|
|
# DEBUG base => base_16
|
|
# DEBUG BEGIN_STMT
|
|
retVal_19 = Lpuart_Lin_Ip_StatusBeforeTransfer (u8TxSize_17(D), linCurrentState_15);
|
|
# DEBUG retVal => retVal_19
|
|
# DEBUG BEGIN_STMT
|
|
if (retVal_19 != 0)
|
|
goto <bb 4>; [67.00%]
|
|
else
|
|
goto <bb 3>; [33.00%]
|
|
|
|
<bb 3> [local count: 354334802]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = linCurrentState_15->currentPid;
|
|
_2 = Lpuart_Lin_Ip_MakeChecksumByte (u32Instance_14(D), pTxBuff_20(D), u8TxSize_17(D), _1);
|
|
linCurrentState_15->checkSum = _2;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Lin_LIN_EXCLUSIVE_AREA_00 ();
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_15->txBuff = pTxBuff_20(D);
|
|
# DEBUG BEGIN_STMT
|
|
_3 = u8TxSize_17(D) + 1;
|
|
linCurrentState_15->txSize ={v} _3;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_15->cntByte = 0;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_15->currentNodeState ={v} 9;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_15->currentEventId ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_15->isBusBusy ={v} 1;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_15->isTxBusy ={v} 1;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Lin_LIN_EXCLUSIVE_AREA_00 ();
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetBreakCharDetectLength (base_16, 0);
|
|
# DEBUG BEGIN_STMT
|
|
pUserConfig_33 = Lpuart_Lin_Ip_apxUserConfigs[u32Instance_14(D)];
|
|
# DEBUG pUserConfig => pUserConfig_33
|
|
# DEBUG BEGIN_STMT
|
|
_4 = pUserConfig_33->u32ResponseTimeoutValue;
|
|
_5 = (long unsigned int) u8TxSize_17(D);
|
|
_6 = _5 + 1;
|
|
_7 = _4 * _6;
|
|
_8 = _7 / 500;
|
|
_9 = _8 + 1;
|
|
# DEBUG u32Instance => u32Instance_14(D)
|
|
# DEBUG u32TimeoutValue => _9
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_SetTimeoutCounter
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_34 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_14(D)];
|
|
# DEBUG linCurrentState => linCurrentState_34
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_34->timeoutCounterFlag ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_34->timeoutCounter ={v} _9;
|
|
# DEBUG u32Instance => NULL
|
|
# DEBUG u32TimeoutValue => NULL
|
|
# DEBUG linCurrentState => NULL
|
|
# DEBUG BEGIN_STMT
|
|
_10 = linCurrentState_15->txBuff;
|
|
_11 = *_10;
|
|
# DEBUG base => base_16
|
|
# DEBUG data => _11
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwPutchar
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG D#1 => &base_16->DATA
|
|
# DEBUG dataRegBytes => D#1
|
|
# DEBUG BEGIN_STMT
|
|
MEM[(volatile uint8 *)base_16 + 28B] ={v} _11;
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
# DEBUG base => NULL
|
|
# DEBUG data => NULL
|
|
# DEBUG BEGIN_STMT
|
|
return retVal_19;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Lpuart_Lin_Ip_GetTransmitStatus (Lpuart_Lin_Ip_GetTransmitStatus, funcdef_no=26, decl_uid=4614, cgraph_uid=27, symbol_order=31)
|
|
|
|
Lpuart_Lin_Ip_GetTransmitStatus (const uint32 u32Instance, uint8 * const pBytesRemaining)
|
|
{
|
|
uint8 u8LocalBytesRemaining;
|
|
const struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
Lpuart_Lin_Ip_StatusType retVal;
|
|
unsigned char _1;
|
|
unsigned char _2;
|
|
<unnamed type> _3;
|
|
_Bool _4;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG retVal => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG bBytesCountReturn => pBytesRemaining_7(D) != 0B
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u8LocalBytesRemaining => 0
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_10 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_9(D)];
|
|
# DEBUG linCurrentState => linCurrentState_10
|
|
# DEBUG BEGIN_STMT
|
|
_1 ={v} linCurrentState_10->txSize;
|
|
_2 = linCurrentState_10->cntByte;
|
|
u8LocalBytesRemaining_11 = _1 - _2;
|
|
# DEBUG u8LocalBytesRemaining => u8LocalBytesRemaining_11
|
|
# DEBUG BEGIN_STMT
|
|
_3 ={v} linCurrentState_10->currentEventId;
|
|
if (_3 == 0)
|
|
goto <bb 3>; [50.00%]
|
|
else
|
|
goto <bb 6>; [50.00%]
|
|
|
|
<bb 3> [local count: 536870913]:
|
|
if (u8LocalBytesRemaining_11 != 0)
|
|
goto <bb 4>; [50.00%]
|
|
else
|
|
goto <bb 6>; [50.00%]
|
|
|
|
<bb 4> [local count: 268435456]:
|
|
# DEBUG BEGIN_STMT
|
|
_4 ={v} linCurrentState_10->timeoutCounterFlag;
|
|
if (_4 != 0)
|
|
goto <bb 5>; [50.00%]
|
|
else
|
|
goto <bb 6>; [50.00%]
|
|
|
|
<bb 5> [local count: 134217728]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG retVal => 3
|
|
|
|
<bb 6> [local count: 1073741824]:
|
|
# retVal_5 = PHI <0(2), 0(3), 2(4), 3(5)>
|
|
# DEBUG retVal => retVal_5
|
|
# DEBUG BEGIN_STMT
|
|
if (pBytesRemaining_7(D) != 0B)
|
|
goto <bb 7>; [70.00%]
|
|
else
|
|
goto <bb 8>; [30.00%]
|
|
|
|
<bb 7> [local count: 751619278]:
|
|
# DEBUG BEGIN_STMT
|
|
*pBytesRemaining_7(D) = u8LocalBytesRemaining_11;
|
|
|
|
<bb 8> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
return retVal_5;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Lpuart_Lin_Ip_AsyncReceiveFrameData (Lpuart_Lin_Ip_AsyncReceiveFrameData, funcdef_no=27, decl_uid=4618, cgraph_uid=28, symbol_order=32)
|
|
|
|
Lpuart_Lin_Ip_AsyncReceiveFrameData (const uint32 u32Instance, uint8 * pRxBuff, const uint8 u8RxSize)
|
|
{
|
|
struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
const struct Lpuart_Lin_Ip_UserConfigType * pUserConfig;
|
|
struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
struct LPUART_Type * base;
|
|
Lpuart_Lin_Ip_StatusType retVal;
|
|
unsigned char _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;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG retVal => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_11 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_10(D)];
|
|
# DEBUG linCurrentState => linCurrentState_11
|
|
# DEBUG BEGIN_STMT
|
|
base_12 = Lpuart_Lin_Ip_apxBases[u32Instance_10(D)];
|
|
# DEBUG base => base_12
|
|
# DEBUG BEGIN_STMT
|
|
retVal_15 = Lpuart_Lin_Ip_StatusBeforeTransfer (u8RxSize_13(D), linCurrentState_11);
|
|
# DEBUG retVal => retVal_15
|
|
# DEBUG BEGIN_STMT
|
|
if (retVal_15 != 0)
|
|
goto <bb 4>; [67.00%]
|
|
else
|
|
goto <bb 3>; [33.00%]
|
|
|
|
<bb 3> [local count: 354334802]:
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Lin_LIN_EXCLUSIVE_AREA_01 ();
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_11->rxBuff = pRxBuff_17(D);
|
|
# DEBUG BEGIN_STMT
|
|
_1 = u8RxSize_13(D) + 1;
|
|
linCurrentState_11->rxSize ={v} _1;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_11->cntByte = 0;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_11->currentNodeState ={v} 7;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_11->currentEventId ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_11->isBusBusy ={v} 1;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_11->isRxBusy ={v} 1;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Lin_LIN_EXCLUSIVE_AREA_01 ();
|
|
# DEBUG BEGIN_STMT
|
|
pUserConfig_26 = Lpuart_Lin_Ip_apxUserConfigs[u32Instance_10(D)];
|
|
# DEBUG pUserConfig => pUserConfig_26
|
|
# DEBUG BEGIN_STMT
|
|
_2 = pUserConfig_26->u32ResponseTimeoutValue;
|
|
_3 = (long unsigned int) u8RxSize_13(D);
|
|
_4 = _3 + 1;
|
|
_5 = _2 * _4;
|
|
_6 = _5 / 500;
|
|
_7 = _6 + 1;
|
|
# DEBUG u32Instance => u32Instance_10(D)
|
|
# DEBUG u32TimeoutValue => _7
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_SetTimeoutCounter
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_28 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_10(D)];
|
|
# DEBUG linCurrentState => linCurrentState_28
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_28->timeoutCounterFlag ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_28->timeoutCounter ={v} _7;
|
|
# DEBUG u32Instance => NULL
|
|
# DEBUG u32TimeoutValue => NULL
|
|
# DEBUG linCurrentState => NULL
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetBreakCharDetectLength (base_12, 0);
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
return retVal_15;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Lpuart_Lin_Ip_GetReceiveStatus (Lpuart_Lin_Ip_GetReceiveStatus, funcdef_no=30, decl_uid=4627, cgraph_uid=31, symbol_order=35)
|
|
|
|
Lpuart_Lin_Ip_GetReceiveStatus (const uint32 u32Instance, uint8 * const pBytesRemaining)
|
|
{
|
|
Lpuart_Lin_Ip_StatusType retVal;
|
|
const struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
unsigned char _1;
|
|
unsigned char _2;
|
|
unsigned char _3;
|
|
<unnamed type> _4;
|
|
_Bool _5;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG retVal => 0
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_9 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_8(D)];
|
|
# DEBUG linCurrentState => linCurrentState_9
|
|
# DEBUG BEGIN_STMT
|
|
_1 ={v} linCurrentState_9->rxSize;
|
|
_2 = linCurrentState_9->cntByte;
|
|
_3 = _1 - _2;
|
|
*pBytesRemaining_10(D) = _3;
|
|
# DEBUG BEGIN_STMT
|
|
_4 ={v} linCurrentState_9->currentEventId;
|
|
if (_4 == 0)
|
|
goto <bb 3>; [50.00%]
|
|
else
|
|
goto <bb 6>; [50.00%]
|
|
|
|
<bb 3> [local count: 536870913]:
|
|
if (_3 != 0)
|
|
goto <bb 4>; [50.00%]
|
|
else
|
|
goto <bb 6>; [50.00%]
|
|
|
|
<bb 4> [local count: 268435456]:
|
|
# DEBUG BEGIN_STMT
|
|
_5 ={v} linCurrentState_9->timeoutCounterFlag;
|
|
if (_5 != 0)
|
|
goto <bb 5>; [50.00%]
|
|
else
|
|
goto <bb 6>; [50.00%]
|
|
|
|
<bb 5> [local count: 134217728]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG retVal => 3
|
|
|
|
<bb 6> [local count: 1073741824]:
|
|
# retVal_6 = PHI <0(2), 0(3), 2(4), 3(5)>
|
|
# DEBUG retVal => retVal_6
|
|
# DEBUG BEGIN_STMT
|
|
return retVal_6;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Lpuart_Lin_Ip_GoToSleepMode (Lpuart_Lin_Ip_GoToSleepMode, funcdef_no=31, decl_uid=4629, cgraph_uid=32, symbol_order=36)
|
|
|
|
Lpuart_Lin_Ip_GoToSleepMode (const uint32 u32Instance)
|
|
{
|
|
struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
struct LPUART_Type * base;
|
|
long unsigned int _14;
|
|
long unsigned int _15;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_3 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_2(D)];
|
|
# DEBUG linCurrentState => linCurrentState_3
|
|
# DEBUG BEGIN_STMT
|
|
base_4 = Lpuart_Lin_Ip_apxBases[u32Instance_2(D)];
|
|
# DEBUG base => base_4
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_3->currentNodeState ={v} 1;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_3->isTxBusy ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_3->isRxBusy ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_3->isBusBusy ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwClearStatusFlag (base_4, 131102);
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG base => base_4
|
|
# DEBUG polarity => 0
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwSetRxDataPolarity
|
|
# DEBUG BEGIN_STMT
|
|
_14 ={v} base_4->STAT;
|
|
_15 = _14 & 803225599;
|
|
base_4->STAT ={v} _15;
|
|
# DEBUG base => NULL
|
|
# DEBUG polarity => NULL
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetIntMode (base_4, 196629, 0);
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetIntMode (base_4, 65550, 1);
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetIntMode (base_4, 196633, 0);
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetIntMode (base_4, 65551, 0);
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Lpuart_Lin_Ip_SendWakeupSignal (Lpuart_Lin_Ip_SendWakeupSignal, funcdef_no=32, decl_uid=4633, cgraph_uid=33, symbol_order=37)
|
|
|
|
Lpuart_Lin_Ip_SendWakeupSignal (const uint32 u32Instance)
|
|
{
|
|
Lpuart_Lin_Ip_StatusType retVal;
|
|
const struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
struct LPUART_Type * base;
|
|
_Bool _1;
|
|
unsigned char _2;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG retVal => 0
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_7 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_6(D)];
|
|
# DEBUG linCurrentState => linCurrentState_7
|
|
# DEBUG BEGIN_STMT
|
|
base_8 = Lpuart_Lin_Ip_apxBases[u32Instance_6(D)];
|
|
# DEBUG base => base_8
|
|
# DEBUG BEGIN_STMT
|
|
_1 ={v} linCurrentState_7->isBusBusy;
|
|
if (_1 != 0)
|
|
goto <bb 4>; [35.00%]
|
|
else
|
|
goto <bb 3>; [65.00%]
|
|
|
|
<bb 3> [local count: 697932186]:
|
|
# DEBUG BEGIN_STMT
|
|
_2 = Lpuart_Lin_Ip_au8WakeupSignal[u32Instance_6(D)];
|
|
# DEBUG base => base_8
|
|
# DEBUG data => _2
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwPutchar
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG D#1 => &base_8->DATA
|
|
# DEBUG dataRegBytes => D#1
|
|
# DEBUG BEGIN_STMT
|
|
MEM[(volatile uint8 *)base_8 + 28B] ={v} _2;
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
# retVal_3 = PHI <0(3), 2(2)>
|
|
# DEBUG base => NULL
|
|
# DEBUG data => NULL
|
|
# DEBUG retVal => retVal_3
|
|
# DEBUG BEGIN_STMT
|
|
return retVal_3;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Lpuart_Lin_Ip_GetCurrentNodeState (Lpuart_Lin_Ip_GetCurrentNodeState, funcdef_no=33, decl_uid=4635, cgraph_uid=34, symbol_order=38)
|
|
|
|
Lpuart_Lin_Ip_GetCurrentNodeState (const uint32 u32Instance)
|
|
{
|
|
const struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
Lpuart_Lin_Ip_NodeStateType retVal;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG retVal => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_4 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_3(D)];
|
|
# DEBUG linCurrentState => linCurrentState_4
|
|
# DEBUG BEGIN_STMT
|
|
if (linCurrentState_4 != 0B)
|
|
goto <bb 3>; [70.00%]
|
|
else
|
|
goto <bb 4>; [30.00%]
|
|
|
|
<bb 3> [local count: 751619278]:
|
|
# DEBUG BEGIN_STMT
|
|
retVal_5 ={v} linCurrentState_4->currentNodeState;
|
|
# DEBUG retVal => retVal_5
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
# retVal_1 = PHI <0(2), retVal_5(3)>
|
|
# DEBUG retVal => retVal_1
|
|
# DEBUG BEGIN_STMT
|
|
return retVal_1;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Lpuart_Lin_Ip_TimeoutService (Lpuart_Lin_Ip_TimeoutService, funcdef_no=34, decl_uid=4637, cgraph_uid=35, symbol_order=39)
|
|
|
|
Lpuart_Lin_Ip_TimeoutService (const uint32 u32Instance)
|
|
{
|
|
Lpuart_Lin_Ip_NodeStateType state;
|
|
struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
const struct Lpuart_Lin_Ip_UserConfigType * pUserConfig;
|
|
long unsigned int _1;
|
|
void (*<T2e6>) (uint32, void *) _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
_Bool _5;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_9 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_8(D)];
|
|
# DEBUG linCurrentState => linCurrentState_9
|
|
# DEBUG BEGIN_STMT
|
|
pUserConfig_10 = Lpuart_Lin_Ip_apxUserConfigs[u32Instance_8(D)];
|
|
# DEBUG pUserConfig => pUserConfig_10
|
|
# DEBUG BEGIN_STMT
|
|
state_11 ={v} linCurrentState_9->currentNodeState;
|
|
# DEBUG state => state_11
|
|
# DEBUG BEGIN_STMT
|
|
switch (state_11) <default: <L14> [50.00%], case 4 ... 7: <L0> [50.00%], case 9: <L0> [50.00%]>
|
|
|
|
<bb 3> [local count: 536870913]:
|
|
<L0>:
|
|
# DEBUG BEGIN_STMT
|
|
_1 ={v} linCurrentState_9->timeoutCounter;
|
|
if (_1 == 0)
|
|
goto <bb 4>; [50.00%]
|
|
else
|
|
goto <bb 6>; [50.00%]
|
|
|
|
<bb 4> [local count: 268435456]:
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_9->timeoutCounterFlag ={v} 1;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_9->isTxBusy ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_9->currentEventId ={v} 14;
|
|
# DEBUG BEGIN_STMT
|
|
_2 = pUserConfig_10->Callback;
|
|
if (_2 != 0B)
|
|
goto <bb 5>; [70.00%]
|
|
else
|
|
goto <bb 7>; [30.00%]
|
|
|
|
<bb 5> [local count: 187904819]:
|
|
# DEBUG BEGIN_STMT
|
|
_2 (u32Instance_8(D), linCurrentState_9);
|
|
goto <bb 7>; [100.00%]
|
|
|
|
<bb 6> [local count: 268435456]:
|
|
# DEBUG BEGIN_STMT
|
|
_3 ={v} linCurrentState_9->timeoutCounter;
|
|
_4 = _3 + 4294967295;
|
|
linCurrentState_9->timeoutCounter ={v} _4;
|
|
|
|
<bb 7> [local count: 1073741824]:
|
|
<L14>:
|
|
# DEBUG BEGIN_STMT
|
|
_5 ={v} linCurrentState_9->timeoutCounterFlag;
|
|
# DEBUG BEGIN_STMT
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Lpuart_Lin_Ip_SetTimeoutCounter (Lpuart_Lin_Ip_SetTimeoutCounter, funcdef_no=35, decl_uid=4640, cgraph_uid=36, symbol_order=40)
|
|
|
|
Lpuart_Lin_Ip_SetTimeoutCounter (const uint32 u32Instance, const uint32 u32TimeoutValue)
|
|
{
|
|
struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_3 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_2(D)];
|
|
# DEBUG linCurrentState => linCurrentState_3
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_3->timeoutCounterFlag ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_3->timeoutCounter ={v} u32TimeoutValue_5(D);
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Lpuart_Lin_Ip_MasterSendHeader (Lpuart_Lin_Ip_MasterSendHeader, funcdef_no=36, decl_uid=4643, cgraph_uid=37, symbol_order=41)
|
|
|
|
Lpuart_Lin_Ip_MasterSendHeader (const uint32 u32Instance, const uint8 u8Id)
|
|
{
|
|
struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
struct LPUART_Type * base;
|
|
const struct Lpuart_Lin_Ip_UserConfigType * pUserConfig;
|
|
Lpuart_Lin_Ip_StatusType retVal;
|
|
<unnamed type> _1;
|
|
_Bool _2;
|
|
_Bool _3;
|
|
unsigned char _4;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG retVal => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
pUserConfig_9 = Lpuart_Lin_Ip_apxUserConfigs[u32Instance_8(D)];
|
|
# DEBUG pUserConfig => pUserConfig_9
|
|
# DEBUG BEGIN_STMT
|
|
base_10 = Lpuart_Lin_Ip_apxBases[u32Instance_8(D)];
|
|
# DEBUG base => base_10
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_11 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_8(D)];
|
|
# DEBUG linCurrentState => linCurrentState_11
|
|
# DEBUG BEGIN_STMT
|
|
_1 ={v} linCurrentState_11->currentNodeState;
|
|
# DEBUG checkSleepMode => _1 == 1
|
|
# DEBUG BEGIN_STMT
|
|
_2 = pUserConfig_9->nodeFunction;
|
|
if (_2 != 0)
|
|
goto <bb 3>; [50.00%]
|
|
else
|
|
goto <bb 7>; [50.00%]
|
|
|
|
<bb 3> [local count: 536870913]:
|
|
if (u8Id_12(D) > 63)
|
|
goto <bb 7>; [50.00%]
|
|
else
|
|
goto <bb 4>; [50.00%]
|
|
|
|
<bb 4> [local count: 268435456]:
|
|
if (_1 == 1)
|
|
goto <bb 7>; [34.00%]
|
|
else
|
|
goto <bb 5>; [66.00%]
|
|
|
|
<bb 5> [local count: 177167401]:
|
|
# DEBUG BEGIN_STMT
|
|
_3 ={v} linCurrentState_11->isBusBusy;
|
|
if (_3 != 0)
|
|
goto <bb 7>; [52.23%]
|
|
else
|
|
goto <bb 6>; [47.77%]
|
|
|
|
<bb 6> [local count: 84632867]:
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_11->currentId = u8Id_12(D);
|
|
# DEBUG BEGIN_STMT
|
|
_4 = Lin_Ip_ProcessParity (u8Id_12(D), 1);
|
|
linCurrentState_11->currentPid = _4;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_11->currentNodeState ={v} 3;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_11->currentEventId ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_11->isBusBusy ={v} 1;
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetBreakCharDetectLength (base_10, 1);
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetIntMode (base_10, 65551, 1);
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG base => base_10
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwQueueBreakField
|
|
# DEBUG BEGIN_STMT
|
|
base_10->DATA ={v} 8192;
|
|
|
|
<bb 7> [local count: 1073741824]:
|
|
# retVal_5 = PHI <1(3), 2(5), 0(6), 1(2), 1(4)>
|
|
# DEBUG base => NULL
|
|
# DEBUG retVal => retVal_5
|
|
# DEBUG BEGIN_STMT
|
|
return retVal_5;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Lpuart_Lin_Ip_GotoIdleState (Lpuart_Lin_Ip_GotoIdleState, funcdef_no=37, decl_uid=4631, cgraph_uid=38, symbol_order=42)
|
|
|
|
Lpuart_Lin_Ip_GotoIdleState (const uint32 u32Instance)
|
|
{
|
|
const struct Lpuart_Lin_Ip_UserConfigType * pUserConfig;
|
|
struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
struct LPUART_Type * base;
|
|
_Bool _1;
|
|
unsigned char _2;
|
|
long unsigned int _22;
|
|
long unsigned int _23;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_6 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_5(D)];
|
|
# DEBUG linCurrentState => linCurrentState_6
|
|
# DEBUG BEGIN_STMT
|
|
base_7 = Lpuart_Lin_Ip_apxBases[u32Instance_5(D)];
|
|
# DEBUG base => base_7
|
|
# DEBUG BEGIN_STMT
|
|
pUserConfig_8 = Lpuart_Lin_Ip_apxUserConfigs[u32Instance_5(D)];
|
|
# DEBUG pUserConfig => pUserConfig_8
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_6->currentEventId ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG base => base_7
|
|
# DEBUG polarity => 0
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwSetRxDataPolarity
|
|
# DEBUG BEGIN_STMT
|
|
_22 ={v} base_7->STAT;
|
|
_23 = _22 & 803225599;
|
|
base_7->STAT ={v} _23;
|
|
# DEBUG base => NULL
|
|
# DEBUG polarity => NULL
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetIntMode (base_7, 65550, 0);
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetIntMode (base_7, 196633, 1);
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetIntMode (base_7, 196629, 0);
|
|
# DEBUG BEGIN_STMT
|
|
_1 = pUserConfig_8->nodeFunction;
|
|
if (_1 != 0)
|
|
goto <bb 4>; [67.00%]
|
|
else
|
|
goto <bb 3>; [33.00%]
|
|
|
|
<bb 3> [local count: 354334802]:
|
|
# DEBUG BEGIN_STMT
|
|
_2 = pUserConfig_8->u8BreakLengthDetect;
|
|
Lpuart_Lin_Ip_HwSetBreakCharDetectLength (base_7, _2);
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetIntMode (base_7, 65551, 1);
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Lin_LIN_EXCLUSIVE_AREA_02 ();
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_6->currentNodeState ={v} 2;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_6->isBusBusy ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_6->isTxBusy ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_6->isRxBusy ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_6->timeoutCounterFlag ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Lin_LIN_EXCLUSIVE_AREA_02 ();
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Lpuart_Lin_Ip_SyncSendFrameData (Lpuart_Lin_Ip_SyncSendFrameData, funcdef_no=25, decl_uid=4611, cgraph_uid=26, symbol_order=30)
|
|
|
|
Lpuart_Lin_Ip_SyncSendFrameData (const uint32 u32Instance, const uint8 * pTxBuff, const uint8 u8TxSize)
|
|
{
|
|
struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
const struct Lpuart_Lin_Ip_UserConfigType * pUserConfig;
|
|
uint32 timeoutTicks;
|
|
uint32 startTime;
|
|
uint8 sendByte;
|
|
uint8 byteCnt;
|
|
struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
struct LPUART_Type * base;
|
|
Lpuart_Lin_Ip_StatusType retVal;
|
|
unsigned char _1;
|
|
unsigned char _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
long unsigned int _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
long unsigned int _8;
|
|
<unnamed type> _9;
|
|
sizetype _10;
|
|
const uint8 * _11;
|
|
_Bool _12;
|
|
long unsigned int startTime.10_13;
|
|
long unsigned int timeoutTicks.11_14;
|
|
_Bool _15;
|
|
long unsigned int _50;
|
|
unsigned char _51;
|
|
|
|
<bb 2> [local count: 38844287]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG retVal => 1
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG byteCnt => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_28 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_27(D)];
|
|
# DEBUG linCurrentState => linCurrentState_28
|
|
# DEBUG BEGIN_STMT
|
|
base_29 = Lpuart_Lin_Ip_apxBases[u32Instance_27(D)];
|
|
# DEBUG base => base_29
|
|
# DEBUG BEGIN_STMT
|
|
retVal_32 = Lpuart_Lin_Ip_StatusBeforeTransfer (u8TxSize_30(D), linCurrentState_28);
|
|
# DEBUG retVal => retVal_32
|
|
# DEBUG BEGIN_STMT
|
|
if (retVal_32 != 0)
|
|
goto <bb 17>; [67.00%]
|
|
else
|
|
goto <bb 3>; [33.00%]
|
|
|
|
<bb 3> [local count: 12818615]:
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetIntMode (base_29, 196629, 0);
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetIntMode (base_29, 65551, 0);
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_28->currentEventId ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
_1 = linCurrentState_28->currentPid;
|
|
_2 = Lpuart_Lin_Ip_MakeChecksumByte (u32Instance_27(D), pTxBuff_36(D), u8TxSize_30(D), _1);
|
|
linCurrentState_28->checkSum = _2;
|
|
# DEBUG BEGIN_STMT
|
|
pUserConfig_39 = Lpuart_Lin_Ip_apxUserConfigs[u32Instance_27(D)];
|
|
# DEBUG pUserConfig => pUserConfig_39
|
|
# DEBUG BEGIN_STMT
|
|
_3 = pUserConfig_39->u32ResponseTimeoutValue;
|
|
_4 = (long unsigned int) u8TxSize_30(D);
|
|
_5 = _4 + 1;
|
|
_6 = _3 * _5;
|
|
_7 = _6 / 500;
|
|
_8 = _7 + 1;
|
|
# DEBUG u32Instance => u32Instance_27(D)
|
|
# DEBUG u32TimeoutValue => _8
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_SetTimeoutCounter
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_45 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_27(D)];
|
|
# DEBUG linCurrentState => linCurrentState_45
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_45->timeoutCounterFlag ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_45->timeoutCounter ={v} _8;
|
|
|
|
<bb 4> [local count: 121451518]:
|
|
# byteCnt_19 = PHI <0(3), byteCnt_46(18)>
|
|
# DEBUG u32Instance => NULL
|
|
# DEBUG u32TimeoutValue => NULL
|
|
# DEBUG linCurrentState => NULL
|
|
# DEBUG byteCnt => byteCnt_19
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
_9 ={v} linCurrentState_28->currentEventId;
|
|
if (_9 != 0)
|
|
goto <bb 16>; [2.75%]
|
|
else
|
|
goto <bb 5>; [97.25%]
|
|
|
|
<bb 5> [local count: 118111601]:
|
|
if (byteCnt_19 > u8TxSize_30(D))
|
|
goto <bb 16>; [2.75%]
|
|
else
|
|
goto <bb 6>; [97.25%]
|
|
|
|
<bb 6> [local count: 114863532]:
|
|
# DEBUG BEGIN_STMT
|
|
if (byteCnt_19 < u8TxSize_30(D))
|
|
goto <bb 7>; [50.00%]
|
|
else
|
|
goto <bb 8>; [50.00%]
|
|
|
|
<bb 7> [local count: 57431766]:
|
|
# DEBUG BEGIN_STMT
|
|
_10 = (sizetype) byteCnt_19;
|
|
_11 = pTxBuff_36(D) + _10;
|
|
sendByte_41 = *_11;
|
|
# DEBUG sendByte => sendByte_41
|
|
goto <bb 9>; [100.00%]
|
|
|
|
<bb 8> [local count: 57431766]:
|
|
# DEBUG BEGIN_STMT
|
|
sendByte_40 = linCurrentState_28->checkSum;
|
|
# DEBUG sendByte => sendByte_40
|
|
|
|
<bb 9> [local count: 114863532]:
|
|
# sendByte_20 = PHI <sendByte_41(7), sendByte_40(8)>
|
|
# DEBUG sendByte => sendByte_20
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG base => base_29
|
|
# DEBUG data => sendByte_20
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwPutchar
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG D#1 => &base_29->DATA
|
|
# DEBUG dataRegBytes => D#1
|
|
# DEBUG BEGIN_STMT
|
|
MEM[(volatile uint8 *)base_29 + 28B] ={v} sendByte_20;
|
|
# DEBUG base => NULL
|
|
# DEBUG data => NULL
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG retVal => 3
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_StartTimeout (&startTime, &timeoutTicks, 65535, 0);
|
|
|
|
<bb 10> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
_12 = Lpuart_Lin_Ip_HwGetStatusFlag (base_29, 131093);
|
|
if (_12 != 0)
|
|
goto <bb 11>; [5.50%]
|
|
else
|
|
goto <bb 13>; [94.50%]
|
|
|
|
<bb 11> [local count: 59055800]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG base => base_29
|
|
# DEBUG readData => &readbackByte
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwGetchar
|
|
# DEBUG BEGIN_STMT
|
|
_50 ={v} MEM[(const struct LPUART_Type *)base_29].DATA;
|
|
_51 = (unsigned char) _50;
|
|
# DEBUG readbackByte => _51
|
|
# DEBUG base => NULL
|
|
# DEBUG readData => NULL
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG readbackByte => _51
|
|
# DEBUG sendByte => sendByte_20
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_CheckReadbackByte
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG retVal => 0
|
|
# DEBUG BEGIN_STMT
|
|
if (sendByte_20 != _51)
|
|
goto <bb 12>; [66.00%]
|
|
else
|
|
goto <bb 14>; [34.00%]
|
|
|
|
<bb 12> [local count: 38976828]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG retVal => 1
|
|
goto <bb 14>; [100.00%]
|
|
|
|
<bb 13> [local count: 1014686025]:
|
|
# DEBUG BEGIN_STMT
|
|
startTime.10_13 = startTime;
|
|
timeoutTicks.11_14 = timeoutTicks;
|
|
_15 = Lpuart_Lin_Ip_TimeoutExpired (startTime.10_13, timeoutTicks.11_14, 0);
|
|
if (_15 != 0)
|
|
goto <bb 14>; [5.50%]
|
|
else
|
|
goto <bb 19>; [94.50%]
|
|
|
|
<bb 19> [local count: 958878293]:
|
|
goto <bb 10>; [100.00%]
|
|
|
|
<bb 14> [local count: 114863532]:
|
|
# retVal_16 = PHI <1(12), 3(13), 0(11)>
|
|
# DEBUG readbackByte => NULL
|
|
# DEBUG sendByte => NULL
|
|
# DEBUG retVal => NULL
|
|
# DEBUG retVal => retVal_16
|
|
# DEBUG BEGIN_STMT
|
|
byteCnt_46 = byteCnt_19 + 1;
|
|
# DEBUG byteCnt => byteCnt_46
|
|
if (byteCnt_19 < u8TxSize_30(D))
|
|
goto <bb 15>; [97.25%]
|
|
else
|
|
goto <bb 16>; [2.75%]
|
|
|
|
<bb 15> [local count: 111704785]:
|
|
if (retVal_16 == 0)
|
|
goto <bb 18>; [97.25%]
|
|
else
|
|
goto <bb 16>; [2.75%]
|
|
|
|
<bb 18> [local count: 108632903]:
|
|
goto <bb 4>; [100.00%]
|
|
|
|
<bb 16> [local count: 12818614]:
|
|
# retVal_17 = PHI <1(5), retVal_16(14), retVal_16(15), 1(4)>
|
|
# DEBUG retVal => retVal_17
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_GotoIdleState (u32Instance_27(D));
|
|
|
|
<bb 17> [local count: 38844287]:
|
|
# retVal_18 = PHI <retVal_32(2), retVal_17(16)>
|
|
# DEBUG retVal => retVal_18
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG D#5 => {CLOBBER}
|
|
# DEBUG readbackByte => D#5
|
|
startTime ={v} {CLOBBER};
|
|
timeoutTicks ={v} {CLOBBER};
|
|
return retVal_18;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Lpuart_Lin_Ip_SyncReceiveFrameData (Lpuart_Lin_Ip_SyncReceiveFrameData, funcdef_no=28, decl_uid=4622, cgraph_uid=29, symbol_order=33)
|
|
|
|
Lpuart_Lin_Ip_SyncReceiveFrameData (const uint32 u32Instance, uint8 * pRxBuff, const uint8 u8RxSize)
|
|
{
|
|
struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
const struct Lpuart_Lin_Ip_UserConfigType * pUserConfig;
|
|
uint32 startTime;
|
|
uint32 timeoutTicks;
|
|
uint8 byteCnt;
|
|
struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
struct LPUART_Type * base;
|
|
volatile Lpuart_Lin_Ip_StatusType retVal;
|
|
<unnamed type> _1;
|
|
<unnamed type> retVal.13_2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
long unsigned int _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
long unsigned int _8;
|
|
_Bool _9;
|
|
long unsigned int startTime.14_10;
|
|
long unsigned int timeoutTicks.15_11;
|
|
_Bool _12;
|
|
<unnamed type> _13;
|
|
<unnamed type> retVal.16_14;
|
|
<unnamed type> _15;
|
|
<unnamed type> retVal.17_16;
|
|
Lpuart_Lin_Ip_StatusType _47;
|
|
|
|
<bb 2> [local count: 37234929]:
|
|
# DEBUG BEGIN_STMT
|
|
retVal ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG byteCnt => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_26 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_25(D)];
|
|
# DEBUG linCurrentState => linCurrentState_26
|
|
# DEBUG BEGIN_STMT
|
|
base_27 = Lpuart_Lin_Ip_apxBases[u32Instance_25(D)];
|
|
# DEBUG base => base_27
|
|
# DEBUG BEGIN_STMT
|
|
_1 = Lpuart_Lin_Ip_StatusBeforeTransfer (u8RxSize_28(D), linCurrentState_26);
|
|
retVal ={v} _1;
|
|
# DEBUG BEGIN_STMT
|
|
retVal.13_2 ={v} retVal;
|
|
if (retVal.13_2 != 0)
|
|
goto <bb 16>; [67.00%]
|
|
else
|
|
goto <bb 3>; [33.00%]
|
|
|
|
<bb 3> [local count: 12287527]:
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetIntMode (base_27, 196629, 0);
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetIntMode (base_27, 65551, 0);
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_26->currentEventId ={v} 0;
|
|
|
|
<bb 4> [local count: 114863532]:
|
|
# byteCnt_17 = PHI <0(3), byteCnt_45(17)>
|
|
# DEBUG byteCnt => byteCnt_17
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
pUserConfig_34 = Lpuart_Lin_Ip_apxUserConfigs[u32Instance_25(D)];
|
|
# DEBUG pUserConfig => pUserConfig_34
|
|
# DEBUG BEGIN_STMT
|
|
_3 = pUserConfig_34->u32ResponseTimeoutValue;
|
|
_4 = (long unsigned int) u8RxSize_28(D);
|
|
_5 = _4 + 1;
|
|
_6 = _3 * _5;
|
|
_7 = _6 / 500;
|
|
_8 = _7 + 1;
|
|
# DEBUG u32Instance => u32Instance_25(D)
|
|
# DEBUG u32TimeoutValue => _8
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_SetTimeoutCounter
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_50 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_25(D)];
|
|
# DEBUG linCurrentState => linCurrentState_50
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_50->timeoutCounterFlag ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_50->timeoutCounter ={v} _8;
|
|
# DEBUG u32Instance => NULL
|
|
# DEBUG u32TimeoutValue => NULL
|
|
# DEBUG linCurrentState => NULL
|
|
# DEBUG BEGIN_STMT
|
|
retVal ={v} 3;
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_StartTimeout (&startTime, &timeoutTicks, 65535, 0);
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 7>; [100.00%]
|
|
|
|
<bb 5> [local count: 1014686025]:
|
|
# DEBUG BEGIN_STMT
|
|
_9 = Lpuart_Lin_Ip_HwGetStatusFlag (base_27, 131093);
|
|
if (_9 != 0)
|
|
goto <bb 6>; [5.50%]
|
|
else
|
|
goto <bb 18>; [94.50%]
|
|
|
|
<bb 6> [local count: 55807731]:
|
|
# DEBUG BEGIN_STMT
|
|
retVal ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 8>; [100.00%]
|
|
|
|
<bb 18> [local count: 958878294]:
|
|
|
|
<bb 7> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
startTime.14_10 = startTime;
|
|
timeoutTicks.15_11 = timeoutTicks;
|
|
_12 = Lpuart_Lin_Ip_TimeoutExpired (startTime.14_10, timeoutTicks.15_11, 0);
|
|
if (_12 != 0)
|
|
goto <bb 8>; [5.50%]
|
|
else
|
|
goto <bb 5>; [94.50%]
|
|
|
|
<bb 8> [local count: 114863532]:
|
|
# DEBUG BEGIN_STMT
|
|
_13 ={v} linCurrentState_26->currentEventId;
|
|
if (_13 != 0)
|
|
goto <bb 9>; [50.00%]
|
|
else
|
|
goto <bb 10>; [50.00%]
|
|
|
|
<bb 9> [local count: 57431766]:
|
|
# DEBUG BEGIN_STMT
|
|
retVal ={v} 1;
|
|
goto <bb 13>; [100.00%]
|
|
|
|
<bb 10> [local count: 57431766]:
|
|
# DEBUG BEGIN_STMT
|
|
retVal.16_14 ={v} retVal;
|
|
if (retVal.16_14 == 0)
|
|
goto <bb 11>; [33.00%]
|
|
else
|
|
goto <bb 12>; [67.00%]
|
|
|
|
<bb 11> [local count: 18952483]:
|
|
# DEBUG BEGIN_STMT
|
|
_15 = Lpuart_Lin_Ip_GetBytetoBuffer (byteCnt_17, u8RxSize_28(D), pRxBuff_41(D), u32Instance_25(D));
|
|
retVal ={v} _15;
|
|
goto <bb 13>; [100.00%]
|
|
|
|
<bb 12> [local count: 38479283]:
|
|
# DEBUG BEGIN_STMT
|
|
retVal ={v} 3;
|
|
|
|
<bb 13> [local count: 114863532]:
|
|
# DEBUG BEGIN_STMT
|
|
retVal.17_16 ={v} retVal;
|
|
if (retVal.17_16 != 0)
|
|
goto <bb 15>; [5.50%]
|
|
else
|
|
goto <bb 14>; [94.50%]
|
|
|
|
<bb 14> [local count: 108546037]:
|
|
# DEBUG BEGIN_STMT
|
|
byteCnt_45 = byteCnt_17 + 1;
|
|
# DEBUG byteCnt => byteCnt_45
|
|
if (byteCnt_17 < u8RxSize_28(D))
|
|
goto <bb 17>; [94.50%]
|
|
else
|
|
goto <bb 15>; [5.50%]
|
|
|
|
<bb 17> [local count: 102576005]:
|
|
goto <bb 4>; [100.00%]
|
|
|
|
<bb 15> [local count: 12287526]:
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_GotoIdleState (u32Instance_25(D));
|
|
|
|
<bb 16> [local count: 37234929]:
|
|
# DEBUG BEGIN_STMT
|
|
_47 ={v} retVal;
|
|
timeoutTicks ={v} {CLOBBER};
|
|
startTime ={v} {CLOBBER};
|
|
return _47;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Lpuart_Lin_Ip_AbortTransferData (Lpuart_Lin_Ip_AbortTransferData, funcdef_no=29, decl_uid=4624, cgraph_uid=30, symbol_order=34)
|
|
|
|
Lpuart_Lin_Ip_AbortTransferData (const uint32 u32Instance)
|
|
{
|
|
uint32 timeoutTicks;
|
|
uint32 startTime;
|
|
struct LPUART_Type * base;
|
|
struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
_Bool _1;
|
|
long unsigned int startTime.20_2;
|
|
long unsigned int timeoutTicks.21_3;
|
|
_Bool _4;
|
|
|
|
<bb 2> [local count: 114863532]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_9 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_8(D)];
|
|
# DEBUG linCurrentState => linCurrentState_9
|
|
# DEBUG BEGIN_STMT
|
|
base_10 = Lpuart_Lin_Ip_apxBases[u32Instance_8(D)];
|
|
# DEBUG base => base_10
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetIntMode (base_10, 196629, 0);
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetIntMode (base_10, 196633, 0);
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetIntMode (base_10, 65551, 0);
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_StartTimeout (&startTime, &timeoutTicks, 65535, 0);
|
|
|
|
<bb 3> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
_1 = Lpuart_Lin_Ip_HwGetStatusFlag (base_10, 131094);
|
|
if (_1 != 0)
|
|
goto <bb 5>; [5.50%]
|
|
else
|
|
goto <bb 4>; [94.50%]
|
|
|
|
<bb 4> [local count: 1014686025]:
|
|
# DEBUG BEGIN_STMT
|
|
startTime.20_2 = startTime;
|
|
timeoutTicks.21_3 = timeoutTicks;
|
|
_4 = Lpuart_Lin_Ip_TimeoutExpired (startTime.20_2, timeoutTicks.21_3, 0);
|
|
if (_4 != 0)
|
|
goto <bb 5>; [5.50%]
|
|
else
|
|
goto <bb 6>; [94.50%]
|
|
|
|
<bb 6> [local count: 958878293]:
|
|
goto <bb 3>; [100.00%]
|
|
|
|
<bb 5> [local count: 114863532]:
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_GotoIdleState (u32Instance_8(D));
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_9->isTxBusy ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_9->isRxBusy ={v} 0;
|
|
startTime ={v} {CLOBBER};
|
|
timeoutTicks ={v} {CLOBBER};
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Lpuart_Lin_Ip_IRQHandler (Lpuart_Lin_Ip_IRQHandler, funcdef_no=38, decl_uid=4645, cgraph_uid=39, symbol_order=43)
|
|
|
|
|
|
Symbols to be put in SSA form
|
|
{ D.5310 }
|
|
Incremental SSA update started at block: 0
|
|
Number of blocks in CFG: 151
|
|
Number of blocks to update: 149 ( 99%)
|
|
|
|
|
|
Removing basic block 6
|
|
Removing basic block 9
|
|
Removing basic block 12
|
|
Merging blocks 16 and 83
|
|
Removing basic block 25
|
|
Removing basic block 33
|
|
Removing basic block 35
|
|
Removing basic block 37
|
|
Removing basic block 39
|
|
Removing basic block 47
|
|
Removing basic block 67
|
|
Merging blocks 73 and 72
|
|
Merging blocks 81 and 74
|
|
Removing basic block 82
|
|
Merging blocks 86 and 92
|
|
Removing basic block 87
|
|
Merging blocks 88 and 127
|
|
Removing basic block 91
|
|
Removing basic block 115
|
|
Removing basic block 126
|
|
;; 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 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
|
|
;; 2 succs { 3 4 }
|
|
;; 3 succs { 129 }
|
|
;; 4 succs { 5 13 }
|
|
;; 5 succs { 6 13 }
|
|
;; 6 succs { 7 9 }
|
|
;; 7 succs { 8 12 }
|
|
;; 8 succs { 12 }
|
|
;; 9 succs { 10 11 }
|
|
;; 10 succs { 11 }
|
|
;; 11 succs { 12 }
|
|
;; 12 succs { 123 }
|
|
;; 13 succs { 14 49 }
|
|
;; 14 succs { 15 49 }
|
|
;; 15 succs { 48 16 23 }
|
|
;; 16 succs { 17 18 }
|
|
;; 17 succs { 22 }
|
|
;; 18 succs { 19 22 }
|
|
;; 19 succs { 20 21 }
|
|
;; 20 succs { 21 }
|
|
;; 21 succs { 22 }
|
|
;; 22 succs { 48 }
|
|
;; 23 succs { 24 48 }
|
|
;; 24 succs { 25 46 }
|
|
;; 25 succs { 26 28 }
|
|
;; 26 succs { 27 28 }
|
|
;; 27 succs { 28 }
|
|
;; 28 succs { 29 31 }
|
|
;; 29 succs { 30 31 }
|
|
;; 30 succs { 31 }
|
|
;; 31 succs { 32 34 }
|
|
;; 32 succs { 33 34 }
|
|
;; 33 succs { 34 }
|
|
;; 34 succs { 35 37 }
|
|
;; 35 succs { 36 37 }
|
|
;; 36 succs { 37 }
|
|
;; 37 succs { 38 39 }
|
|
;; 38 succs { 40 39 }
|
|
;; 39 succs { 40 41 }
|
|
;; 40 succs { 41 }
|
|
;; 41 succs { 42 47 }
|
|
;; 42 succs { 43 47 }
|
|
;; 43 succs { 44 45 }
|
|
;; 44 succs { 45 }
|
|
;; 45 succs { 47 }
|
|
;; 46 succs { 47 }
|
|
;; 47 succs { 48 }
|
|
;; 48 succs { 123 }
|
|
;; 49 succs { 50 58 }
|
|
;; 50 succs { 51 58 }
|
|
;; 51 succs { 52 54 }
|
|
;; 52 succs { 53 57 }
|
|
;; 53 succs { 57 }
|
|
;; 54 succs { 55 57 }
|
|
;; 55 succs { 56 57 }
|
|
;; 56 succs { 57 }
|
|
;; 57 succs { 123 }
|
|
;; 58 succs { 59 61 }
|
|
;; 59 succs { 61 60 }
|
|
;; 60 succs { 61 }
|
|
;; 61 succs { 62 122 }
|
|
;; 62 succs { 63 122 }
|
|
;; 63 succs { 121 64 87 97 }
|
|
;; 64 succs { 86 65 70 74 }
|
|
;; 65 succs { 66 67 }
|
|
;; 66 succs { 86 }
|
|
;; 67 succs { 68 69 }
|
|
;; 68 succs { 69 }
|
|
;; 69 succs { 86 }
|
|
;; 70 succs { 71 72 }
|
|
;; 71 succs { 86 }
|
|
;; 72 succs { 73 86 }
|
|
;; 73 succs { 86 }
|
|
;; 74 succs { 75 80 }
|
|
;; 75 succs { 76 78 }
|
|
;; 76 succs { 77 86 }
|
|
;; 77 succs { 86 }
|
|
;; 78 succs { 79 86 }
|
|
;; 79 succs { 86 }
|
|
;; 80 succs { 81 83 }
|
|
;; 81 succs { 82 86 }
|
|
;; 82 succs { 86 }
|
|
;; 83 succs { 84 85 }
|
|
;; 84 succs { 85 }
|
|
;; 85 succs { 86 }
|
|
;; 86 succs { 122 }
|
|
;; 87 succs { 88 89 }
|
|
;; 88 succs { 89 }
|
|
;; 89 succs { 90 93 }
|
|
;; 90 succs { 91 96 }
|
|
;; 91 succs { 92 96 }
|
|
;; 92 succs { 96 }
|
|
;; 93 succs { 94 95 }
|
|
;; 94 succs { 95 }
|
|
;; 95 succs { 96 }
|
|
;; 96 succs { 122 }
|
|
;; 97 succs { 98 101 }
|
|
;; 98 succs { 99 100 }
|
|
;; 99 succs { 100 }
|
|
;; 100 succs { 120 }
|
|
;; 101 succs { 102 103 }
|
|
;; 102 succs { 104 103 }
|
|
;; 103 succs { 104 }
|
|
;; 104 succs { 105 106 }
|
|
;; 105 succs { 107 106 }
|
|
;; 106 succs { 107 }
|
|
;; 107 succs { 109 108 }
|
|
;; 108 succs { 109 112 }
|
|
;; 109 succs { 110 111 }
|
|
;; 110 succs { 111 }
|
|
;; 111 succs { 120 }
|
|
;; 112 succs { 113 116 }
|
|
;; 113 succs { 114 115 }
|
|
;; 114 succs { 120 }
|
|
;; 115 succs { 120 }
|
|
;; 116 succs { 117 118 }
|
|
;; 117 succs { 118 }
|
|
;; 118 succs { 119 120 }
|
|
;; 119 succs { 120 }
|
|
;; 120 succs { 122 }
|
|
;; 121 succs { 122 }
|
|
;; 122 succs { 123 }
|
|
;; 123 succs { 124 127 }
|
|
;; 124 succs { 125 127 }
|
|
;; 125 succs { 126 129 }
|
|
;; 126 succs { 129 }
|
|
;; 127 succs { 128 129 }
|
|
;; 128 succs { 129 }
|
|
;; 129 succs { 1 }
|
|
Lpuart_Lin_Ip_IRQHandler (const uint32 u32Instance)
|
|
{
|
|
uint8 tmpSize;
|
|
boolean tmpCheckSumAndSize;
|
|
boolean tmpBuffAndSize;
|
|
struct LPUART_Type * base;
|
|
const struct Lpuart_Lin_Ip_UserConfigType * pUserConfig;
|
|
struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
Lpuart_Lin_Ip_StatusType retVal;
|
|
const struct Lpuart_Lin_Ip_UserConfigType * pUserConfig;
|
|
struct LPUART_Type * base;
|
|
const struct Lpuart_Lin_Ip_UserConfigType * pUserConfig;
|
|
struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
const struct LPUART_Type * base;
|
|
const struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
struct LPUART_Type * base;
|
|
struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
const struct Lpuart_Lin_Ip_UserConfigType * pUserConfig;
|
|
uint32 baudRegValTemp;
|
|
uint32 u32ElapsedTicks;
|
|
uint32 tickPerMicros;
|
|
uint32 masterBaudrateDivisor;
|
|
uint8 wakeupByte;
|
|
const struct Lpuart_Lin_Ip_UserConfigType * pUserConfig;
|
|
struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
struct LPUART_Type * base;
|
|
static uint8 fallingEgdeCount;
|
|
static uint32 currentTick;
|
|
uint32 wakeupSignalLength;
|
|
const struct Lpuart_Lin_Ip_UserConfigType * pUserConfig;
|
|
struct LPUART_Type * base;
|
|
struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
const struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
struct LPUART_Type * base;
|
|
const struct Lpuart_Lin_Ip_UserConfigType * pUserConfig;
|
|
struct LPUART_Type * base;
|
|
struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
boolean bSpuriousIntAvailable;
|
|
boolean activeEdgeIntState;
|
|
struct Lpuart_Lin_Ip_StateStructType * linCurrentState;
|
|
struct LPUART_Type * base;
|
|
const struct Lpuart_Lin_Ip_UserConfigType * pUserConfig;
|
|
_Bool _1;
|
|
_Bool _2;
|
|
_Bool _3;
|
|
_Bool _4;
|
|
_Bool _5;
|
|
_Bool _6;
|
|
_Bool _7;
|
|
_Bool _8;
|
|
_Bool _9;
|
|
void (*<T2e6>) (uint32, void *) _10;
|
|
int iftmp.23_12;
|
|
long unsigned int _49;
|
|
_Bool _50;
|
|
<unnamed type> _51;
|
|
long unsigned int _52;
|
|
long unsigned int _53;
|
|
long unsigned int _54;
|
|
_Bool _56;
|
|
long unsigned int _57;
|
|
long unsigned int _58;
|
|
long unsigned int _59;
|
|
<unnamed type> _63;
|
|
_Bool _64;
|
|
long unsigned int _68;
|
|
long unsigned int _69;
|
|
_Bool _70;
|
|
uint32 (*<T2e1>) (uint32, uint32 *) _71;
|
|
long unsigned int _72;
|
|
long unsigned int _73;
|
|
long unsigned int _74;
|
|
long unsigned int _75;
|
|
long unsigned int _76;
|
|
uint32 (*<T2e1>) (uint32, uint32 *) _77;
|
|
long unsigned int wakeupSignalLength.24_78;
|
|
void (*<T2e6>) (uint32, void *) _79;
|
|
unsigned char fallingEgdeCount.25_83;
|
|
unsigned char _84;
|
|
long unsigned int _87;
|
|
long unsigned int _88;
|
|
long unsigned int _89;
|
|
long unsigned int _90;
|
|
long unsigned int _91;
|
|
long unsigned int _92;
|
|
long unsigned int _93;
|
|
long unsigned int _94;
|
|
long unsigned int _95;
|
|
long unsigned int _96;
|
|
long unsigned int _98;
|
|
long unsigned int _99;
|
|
long unsigned int _101;
|
|
long unsigned int _104;
|
|
void (*<T2e6>) (uint32, void *) _106;
|
|
long unsigned int _107;
|
|
long unsigned int _114;
|
|
long unsigned int _119;
|
|
<unnamed type> _120;
|
|
void (*<T2e6>) (uint32, void *) _121;
|
|
<unnamed type> _122;
|
|
void (*<T2e6>) (uint32, void *) _123;
|
|
_Bool _126;
|
|
_Bool _127;
|
|
<unnamed type> _128;
|
|
long unsigned int _129;
|
|
unsigned char _130;
|
|
long unsigned int _131;
|
|
unsigned char _132;
|
|
long unsigned int _133;
|
|
<unnamed type> _137;
|
|
void (*<T2e6>) (uint32, void *) _138;
|
|
unsigned char _139;
|
|
void (*<T2e6>) (uint32, void *) _140;
|
|
_Bool _141;
|
|
unsigned char _142;
|
|
void (*<T2e6>) (uint32, void *) _143;
|
|
void (*<T2e6>) (uint32, void *) _144;
|
|
unsigned char _145;
|
|
void (*<T2e6>) (uint32, void *) _146;
|
|
void (*<T2e6>) (uint32, void *) _147;
|
|
unsigned char _150;
|
|
unsigned char _151;
|
|
unsigned char _152;
|
|
uint8 * _153;
|
|
unsigned char _155;
|
|
unsigned char _156;
|
|
unsigned char _157;
|
|
unsigned char _158;
|
|
unsigned char _159;
|
|
void (*<T2e6>) (uint32, void *) _160;
|
|
void (*<T2e6>) (uint32, void *) _161;
|
|
_Bool _165;
|
|
void (*<T2e6>) (uint32, void *) _166;
|
|
unsigned char _167;
|
|
unsigned char _168;
|
|
unsigned char _170;
|
|
int iftmp.29_171;
|
|
const uint8 * _173;
|
|
unsigned char _174;
|
|
int iftmp.30_175;
|
|
void (*<T2e6>) (uint32, void *) _177;
|
|
const uint8 * _178;
|
|
unsigned char _179;
|
|
unsigned char _180;
|
|
unsigned char _181;
|
|
int _182;
|
|
int _183;
|
|
int _184;
|
|
unsigned char _185;
|
|
unsigned char _186;
|
|
void (*<T2e6>) (uint32, void *) _187;
|
|
<unnamed type> _188;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG bSpuriousIntAvailable => 0
|
|
# DEBUG BEGIN_STMT
|
|
pUserConfig_21 = Lpuart_Lin_Ip_apxUserConfigs[u32Instance_20(D)];
|
|
# DEBUG pUserConfig => pUserConfig_21
|
|
# DEBUG BEGIN_STMT
|
|
base_22 = Lpuart_Lin_Ip_apxBases[u32Instance_20(D)];
|
|
# DEBUG base => base_22
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_23 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_20(D)];
|
|
# DEBUG linCurrentState => linCurrentState_23
|
|
# DEBUG BEGIN_STMT
|
|
activeEdgeIntState_25 = Lpuart_Lin_Ip_HwGetIntMode (base_22, 65550);
|
|
# DEBUG activeEdgeIntState => activeEdgeIntState_25
|
|
# DEBUG BEGIN_STMT
|
|
if (linCurrentState_23 == 0B)
|
|
goto <bb 3>; [30.00%]
|
|
else
|
|
goto <bb 4>; [70.00%]
|
|
|
|
<bb 3> [local count: 322122547]:
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwClearStatusFlag (base_22, 0);
|
|
goto <bb 129>; [100.00%]
|
|
|
|
<bb 4> [local count: 751619278]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = Lpuart_Lin_Ip_HwGetStatusFlag (base_22, 131103);
|
|
if (_1 != 0)
|
|
goto <bb 5>; [50.00%]
|
|
else
|
|
goto <bb 13>; [50.00%]
|
|
|
|
<bb 5> [local count: 375809639]:
|
|
_2 = Lpuart_Lin_Ip_HwGetIntMode (base_22, 65551);
|
|
if (_2 != 0)
|
|
goto <bb 6>; [33.00%]
|
|
else
|
|
goto <bb 13>; [67.00%]
|
|
|
|
<bb 6> [local count: 124017181]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Instance => u32Instance_20(D)
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_ProcessBreakDetect
|
|
# DEBUG BEGIN_STMT
|
|
pUserConfig_46 = Lpuart_Lin_Ip_apxUserConfigs[u32Instance_20(D)];
|
|
# DEBUG pUserConfig => pUserConfig_46
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
base_47 = Lpuart_Lin_Ip_apxBases[u32Instance_20(D)];
|
|
# DEBUG base => base_47
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_48 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_20(D)];
|
|
# DEBUG linCurrentState => linCurrentState_48
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwClearStatusFlag (base_47, 131103);
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetBreakCharDetectLength (base_47, 0);
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetIntMode (base_47, 65551, 0);
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG base => base_47
|
|
# DEBUG readData => &discardData
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwGetchar
|
|
# DEBUG BEGIN_STMT
|
|
_49 ={v} MEM[(const struct LPUART_Type *)base_47].DATA;
|
|
# DEBUG discardData => (unsigned char) _49
|
|
# DEBUG base => NULL
|
|
# DEBUG readData => NULL
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetIntMode (base_47, 196629, 1);
|
|
# DEBUG BEGIN_STMT
|
|
_50 = pUserConfig_46->nodeFunction;
|
|
if (_50 != 0)
|
|
goto <bb 7>; [50.00%]
|
|
else
|
|
goto <bb 9>; [50.00%]
|
|
|
|
<bb 7> [local count: 62008590]:
|
|
# DEBUG BEGIN_STMT
|
|
_51 ={v} linCurrentState_48->currentNodeState;
|
|
if (_51 == 3)
|
|
goto <bb 8>; [34.00%]
|
|
else
|
|
goto <bb 12>; [66.00%]
|
|
|
|
<bb 8> [local count: 21082921]:
|
|
# DEBUG BEGIN_STMT
|
|
_52 = pUserConfig_46->u32HeaderTimeoutValue;
|
|
_53 = _52 / 500;
|
|
_54 = _53 + 1;
|
|
# DEBUG u32Instance => u32Instance_20(D)
|
|
# DEBUG u32TimeoutValue => _54
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_SetTimeoutCounter
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_55 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_20(D)];
|
|
# DEBUG linCurrentState => linCurrentState_55
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_55->timeoutCounterFlag ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_55->timeoutCounter ={v} _54;
|
|
# DEBUG u32Instance => NULL
|
|
# DEBUG u32TimeoutValue => NULL
|
|
# DEBUG linCurrentState => NULL
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_48->currentNodeState ={v} 5;
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG base => base_47
|
|
# DEBUG data => 85
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwPutchar
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG D#1 => &base_47->DATA
|
|
# DEBUG dataRegBytes => D#1
|
|
# DEBUG BEGIN_STMT
|
|
MEM[(volatile uint8 *)base_47 + 28B] ={v} 85;
|
|
goto <bb 12>; [100.00%]
|
|
|
|
<bb 9> [local count: 62008590]:
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_48->isBusBusy ={v} 1;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_48->currentEventId ={v} 3;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_48->currentNodeState ={v} 4;
|
|
# DEBUG BEGIN_STMT
|
|
_56 ={v} linCurrentState_48->baudrateEvalEnable;
|
|
if (_56 != 0)
|
|
goto <bb 10>; [33.00%]
|
|
else
|
|
goto <bb 11>; [67.00%]
|
|
|
|
<bb 10> [local count: 20462835]:
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetIntMode (base_47, 65550, 1);
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_48->fallingEdgeInterruptCount ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetTransmitterCmd (base_47, 1);
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetReceiverCmd (base_47, 1);
|
|
|
|
<bb 11> [local count: 62008590]:
|
|
# DEBUG BEGIN_STMT
|
|
_57 = pUserConfig_46->u32HeaderTimeoutValue;
|
|
_58 = _57 / 500;
|
|
_59 = _58 + 1;
|
|
# DEBUG u32Instance => u32Instance_20(D)
|
|
# DEBUG u32TimeoutValue => _59
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_SetTimeoutCounter
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_60 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_20(D)];
|
|
# DEBUG linCurrentState => linCurrentState_60
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_60->timeoutCounterFlag ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_60->timeoutCounter ={v} _59;
|
|
|
|
<bb 12> [local count: 124017181]:
|
|
# DEBUG u32Instance => NULL
|
|
# DEBUG u32TimeoutValue => NULL
|
|
# DEBUG linCurrentState => NULL
|
|
# DEBUG base => NULL
|
|
# DEBUG data => NULL
|
|
# DEBUG D#4 => {CLOBBER}
|
|
# DEBUG discardData => D#4
|
|
goto <bb 123>; [100.00%]
|
|
|
|
<bb 13> [local count: 627602098]:
|
|
# DEBUG BEGIN_STMT
|
|
_3 = Lpuart_Lin_Ip_HwGetStatusFlag (base_22, 131102);
|
|
if (_3 != 0)
|
|
goto <bb 14>; [67.00%]
|
|
else
|
|
goto <bb 49>; [33.00%]
|
|
|
|
<bb 14> [local count: 420493405]:
|
|
if (activeEdgeIntState_25 != 0)
|
|
goto <bb 15>; [33.00%]
|
|
else
|
|
goto <bb 49>; [67.00%]
|
|
|
|
<bb 15> [local count: 138762824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Instance => u32Instance_20(D)
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_ProcessWakeupDetect
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_61 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_20(D)];
|
|
# DEBUG linCurrentState => linCurrentState_61
|
|
# DEBUG BEGIN_STMT
|
|
base_62 = Lpuart_Lin_Ip_apxBases[u32Instance_20(D)];
|
|
# DEBUG base => base_62
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwClearStatusFlag (base_62, 131102);
|
|
# DEBUG BEGIN_STMT
|
|
_63 ={v} linCurrentState_61->currentNodeState;
|
|
switch (_63) <default: <L29> [33.33%], case 1: <L38> [33.33%], case 4: <L28> [33.33%]>
|
|
|
|
<bb 16> [local count: 46249649]:
|
|
<L38>:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Instance => u32Instance_20(D)
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_CheckWakeupSignal
|
|
# DEBUG BEGIN_STMT
|
|
wakeupSignalLength = 0;
|
|
# DEBUG BEGIN_STMT
|
|
pUserConfig_65 = Lpuart_Lin_Ip_apxUserConfigs[u32Instance_20(D)];
|
|
# DEBUG pUserConfig => pUserConfig_65
|
|
# DEBUG BEGIN_STMT
|
|
base_66 = Lpuart_Lin_Ip_apxBases[u32Instance_20(D)];
|
|
# DEBUG base => base_66
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_67 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_20(D)];
|
|
# DEBUG linCurrentState => linCurrentState_67
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG base => base_66
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwGetRxDataPolarity
|
|
# DEBUG BEGIN_STMT
|
|
_68 ={v} MEM[(const struct LPUART_Type *)base_66].STAT;
|
|
_69 = _68 >> 28;
|
|
_70 = (_Bool) _69;
|
|
# DEBUG base => NULL
|
|
if (_70 != 0)
|
|
goto <bb 18>; [50.00%]
|
|
else
|
|
goto <bb 17>; [50.00%]
|
|
|
|
<bb 17> [local count: 23124825]:
|
|
# DEBUG BEGIN_STMT
|
|
_71 = pUserConfig_65->timerGetTimeIntervalCallback;
|
|
_71 (u32Instance_20(D), &wakeupSignalLength);
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG base => base_66
|
|
# DEBUG polarity => 1
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwSetRxDataPolarity
|
|
# DEBUG BEGIN_STMT
|
|
_72 ={v} base_66->STAT;
|
|
_73 = _72 & 803225599;
|
|
_74 = _73 | 268435456;
|
|
base_66->STAT ={v} _74;
|
|
goto <bb 22>; [100.00%]
|
|
|
|
<bb 18> [local count: 23124825]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG base => base_66
|
|
# DEBUG polarity => 0
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwSetRxDataPolarity
|
|
# DEBUG BEGIN_STMT
|
|
_75 ={v} base_66->STAT;
|
|
_76 = _75 & 803225599;
|
|
base_66->STAT ={v} _76;
|
|
# DEBUG base => NULL
|
|
# DEBUG polarity => NULL
|
|
# DEBUG BEGIN_STMT
|
|
_77 = pUserConfig_65->timerGetTimeIntervalCallback;
|
|
_77 (u32Instance_20(D), &wakeupSignalLength);
|
|
# DEBUG BEGIN_STMT
|
|
wakeupSignalLength.24_78 = wakeupSignalLength;
|
|
if (wakeupSignalLength.24_78 > 149999)
|
|
goto <bb 19>; [50.00%]
|
|
else
|
|
goto <bb 22>; [50.00%]
|
|
|
|
<bb 19> [local count: 11562412]:
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_67->currentEventId ={v} 1;
|
|
# DEBUG BEGIN_STMT
|
|
_79 = pUserConfig_65->Callback;
|
|
if (_79 != 0B)
|
|
goto <bb 20>; [70.00%]
|
|
else
|
|
goto <bb 21>; [30.00%]
|
|
|
|
<bb 20> [local count: 8093689]:
|
|
# DEBUG BEGIN_STMT
|
|
_79 (u32Instance_20(D), linCurrentState_67);
|
|
|
|
<bb 21> [local count: 11562412]:
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_GotoIdleState (u32Instance_20(D));
|
|
|
|
<bb 22> [local count: 46249649]:
|
|
# DEBUG base => NULL
|
|
# DEBUG polarity => NULL
|
|
wakeupSignalLength ={v} {CLOBBER};
|
|
goto <bb 48>; [100.00%]
|
|
|
|
<bb 23> [local count: 46249649]:
|
|
<L28>:
|
|
# DEBUG BEGIN_STMT
|
|
_64 ={v} linCurrentState_61->baudrateEvalEnable;
|
|
if (_64 != 0)
|
|
goto <bb 24>; [33.00%]
|
|
else
|
|
goto <bb 48>; [67.00%]
|
|
|
|
<bb 24> [local count: 15262384]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Instance => u32Instance_20(D)
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_AutoBaudCapture
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG masterBaudrateDivisor => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG wakeupByte => 248
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_80 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_20(D)];
|
|
# DEBUG linCurrentState => linCurrentState_80
|
|
# DEBUG BEGIN_STMT
|
|
base_81 = Lpuart_Lin_Ip_apxBases[u32Instance_20(D)];
|
|
# DEBUG base => base_81
|
|
# DEBUG BEGIN_STMT
|
|
pUserConfig_82 = Lpuart_Lin_Ip_apxUserConfigs[u32Instance_20(D)];
|
|
# DEBUG pUserConfig => pUserConfig_82
|
|
# DEBUG BEGIN_STMT
|
|
fallingEgdeCount.25_83 = fallingEgdeCount;
|
|
_84 = fallingEgdeCount.25_83 + 1;
|
|
fallingEgdeCount = _84;
|
|
if (fallingEgdeCount.25_83 != 0)
|
|
goto <bb 25>; [50.00%]
|
|
else
|
|
goto <bb 46>; [50.00%]
|
|
|
|
<bb 25> [local count: 7631192]:
|
|
# DEBUG BEGIN_STMT
|
|
u32ElapsedTicks_85 = OsIf_GetElapsed (¤tTick, 0);
|
|
# DEBUG u32ElapsedTicks => u32ElapsedTicks_85
|
|
# DEBUG BEGIN_STMT
|
|
tickPerMicros_86 = OsIf_MicrosToTicks (1000000, 0);
|
|
# DEBUG tickPerMicros => tickPerMicros_86
|
|
# DEBUG BEGIN_STMT
|
|
_87 = tickPerMicros_86 * 51041;
|
|
if (u32ElapsedTicks_85 >= _87)
|
|
goto <bb 26>; [50.00%]
|
|
else
|
|
goto <bb 28>; [50.00%]
|
|
|
|
<bb 26> [local count: 3815596]:
|
|
_88 = tickPerMicros_86 * 53125;
|
|
if (u32ElapsedTicks_85 <= _88)
|
|
goto <bb 27>; [50.00%]
|
|
else
|
|
goto <bb 28>; [50.00%]
|
|
|
|
<bb 27> [local count: 1907798]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG masterBaudrateDivisor => 19200
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG wakeupByte => 128
|
|
|
|
<bb 28> [local count: 7631192]:
|
|
# masterBaudrateDivisor_108 = PHI <0(25), 0(26), 19200(27)>
|
|
# wakeupByte_109 = PHI <248(25), 248(26), 128(27)>
|
|
# DEBUG wakeupByte => wakeupByte_109
|
|
# DEBUG masterBaudrateDivisor => masterBaudrateDivisor_108
|
|
# DEBUG BEGIN_STMT
|
|
_89 = tickPerMicros_86 * 68055;
|
|
if (u32ElapsedTicks_85 >= _89)
|
|
goto <bb 29>; [50.00%]
|
|
else
|
|
goto <bb 31>; [50.00%]
|
|
|
|
<bb 29> [local count: 3815596]:
|
|
_90 = tickPerMicros_86 * 70833;
|
|
if (u32ElapsedTicks_85 <= _90)
|
|
goto <bb 30>; [50.00%]
|
|
else
|
|
goto <bb 31>; [50.00%]
|
|
|
|
<bb 30> [local count: 1907798]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG masterBaudrateDivisor => 14400
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG wakeupByte => 128
|
|
|
|
<bb 31> [local count: 7631192]:
|
|
# masterBaudrateDivisor_110 = PHI <masterBaudrateDivisor_108(28), masterBaudrateDivisor_108(29), 14400(30)>
|
|
# wakeupByte_105 = PHI <wakeupByte_109(28), wakeupByte_109(29), 128(30)>
|
|
# DEBUG wakeupByte => wakeupByte_105
|
|
# DEBUG masterBaudrateDivisor => masterBaudrateDivisor_110
|
|
# DEBUG BEGIN_STMT
|
|
_91 = tickPerMicros_86 * 102083;
|
|
if (u32ElapsedTicks_85 >= _91)
|
|
goto <bb 32>; [50.00%]
|
|
else
|
|
goto <bb 34>; [50.00%]
|
|
|
|
<bb 32> [local count: 3815596]:
|
|
_92 = tickPerMicros_86 * 106250;
|
|
if (u32ElapsedTicks_85 <= _92)
|
|
goto <bb 33>; [50.00%]
|
|
else
|
|
goto <bb 34>; [50.00%]
|
|
|
|
<bb 33> [local count: 1907798]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG masterBaudrateDivisor => 9600
|
|
|
|
<bb 34> [local count: 7631192]:
|
|
# masterBaudrateDivisor_111 = PHI <masterBaudrateDivisor_110(31), masterBaudrateDivisor_110(32), 9600(33)>
|
|
# DEBUG masterBaudrateDivisor => masterBaudrateDivisor_111
|
|
# DEBUG BEGIN_STMT
|
|
_93 = tickPerMicros_86 * 204166;
|
|
if (u32ElapsedTicks_85 >= _93)
|
|
goto <bb 35>; [50.00%]
|
|
else
|
|
goto <bb 37>; [50.00%]
|
|
|
|
<bb 35> [local count: 3815596]:
|
|
_94 = tickPerMicros_86 * 212500;
|
|
if (u32ElapsedTicks_85 <= _94)
|
|
goto <bb 36>; [50.00%]
|
|
else
|
|
goto <bb 37>; [50.00%]
|
|
|
|
<bb 36> [local count: 1907798]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG masterBaudrateDivisor => 4800
|
|
|
|
<bb 37> [local count: 7631192]:
|
|
# masterBaudrateDivisor_97 = PHI <masterBaudrateDivisor_111(34), masterBaudrateDivisor_111(35), 4800(36)>
|
|
# DEBUG masterBaudrateDivisor => masterBaudrateDivisor_97
|
|
# DEBUG BEGIN_STMT
|
|
_95 = tickPerMicros_86 * 408333;
|
|
if (u32ElapsedTicks_85 >= _95)
|
|
goto <bb 38>; [50.00%]
|
|
else
|
|
goto <bb 39>; [50.00%]
|
|
|
|
<bb 38> [local count: 3815596]:
|
|
_96 = tickPerMicros_86 * 425000;
|
|
if (u32ElapsedTicks_85 <= _96)
|
|
goto <bb 40>; [50.00%]
|
|
else
|
|
goto <bb 39>; [50.00%]
|
|
|
|
<bb 39> [local count: 5723394]:
|
|
# DEBUG masterBaudrateDivisor => masterBaudrateDivisor_97
|
|
# DEBUG BEGIN_STMT
|
|
if (masterBaudrateDivisor_97 != 0)
|
|
goto <bb 40>; [50.00%]
|
|
else
|
|
goto <bb 41>; [50.00%]
|
|
|
|
<bb 40> [local count: 4769495]:
|
|
# masterBaudrateDivisor_100 = PHI <2400(38), masterBaudrateDivisor_97(39)>
|
|
# DEBUG masterBaudrateDivisor => NULL
|
|
# DEBUG BEGIN_STMT
|
|
_98 = pUserConfig_82->u32ChannelClock;
|
|
_99 = pUserConfig_82->u32OverSamplingRatio;
|
|
_101 = _99 * masterBaudrateDivisor_100;
|
|
masterBaudrateDivisor_102 = _98 / _101;
|
|
# DEBUG masterBaudrateDivisor => masterBaudrateDivisor_102
|
|
|
|
<bb 41> [local count: 7631192]:
|
|
# masterBaudrateDivisor_103 = PHI <masterBaudrateDivisor_97(39), masterBaudrateDivisor_102(40)>
|
|
# DEBUG masterBaudrateDivisor => masterBaudrateDivisor_103
|
|
# DEBUG BEGIN_STMT
|
|
if (masterBaudrateDivisor_103 != 0)
|
|
goto <bb 42>; [50.00%]
|
|
else
|
|
goto <bb 47>; [50.00%]
|
|
|
|
<bb 42> [local count: 3815596]:
|
|
_104 = pUserConfig_82->u32BaudRateDivisor;
|
|
if (masterBaudrateDivisor_103 != _104)
|
|
goto <bb 43>; [48.88%]
|
|
else
|
|
goto <bb 47>; [51.12%]
|
|
|
|
<bb 43> [local count: 1865063]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG base => base_81
|
|
# DEBUG baudRateDivisor => masterBaudrateDivisor_103
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwSetBaudRateDivisor
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
baudRegValTemp_112 ={v} base_81->BAUD;
|
|
# DEBUG baudRegValTemp => baudRegValTemp_112
|
|
# DEBUG BEGIN_STMT
|
|
baudRegValTemp_113 = baudRegValTemp_112 & 4294959104;
|
|
# DEBUG baudRegValTemp => baudRegValTemp_113
|
|
# DEBUG BEGIN_STMT
|
|
_114 = masterBaudrateDivisor_103 & 8191;
|
|
baudRegValTemp_115 = baudRegValTemp_113 | _114;
|
|
# DEBUG baudRegValTemp => baudRegValTemp_115
|
|
# DEBUG BEGIN_STMT
|
|
base_81->BAUD ={v} baudRegValTemp_115;
|
|
# DEBUG base => NULL
|
|
# DEBUG baudRateDivisor => NULL
|
|
# DEBUG baudRegValTemp => NULL
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_au8WakeupSignal[u32Instance_20(D)] = wakeupByte_105;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_80->currentEventId ={v} 2;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_80->baudrateEvalEnable ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
_106 = pUserConfig_82->Callback;
|
|
if (_106 != 0B)
|
|
goto <bb 44>; [70.00%]
|
|
else
|
|
goto <bb 45>; [30.00%]
|
|
|
|
<bb 44> [local count: 1305544]:
|
|
# DEBUG BEGIN_STMT
|
|
_106 (u32Instance_20(D), linCurrentState_80);
|
|
|
|
<bb 45> [local count: 1865063]:
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetIntMode (base_81, 65550, 0);
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_80->currentNodeState ={v} 6;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_80->currentEventId ={v} 4;
|
|
goto <bb 47>; [100.00%]
|
|
|
|
<bb 46> [local count: 7631192]:
|
|
# DEBUG BEGIN_STMT
|
|
_107 = OsIf_GetCounter (0);
|
|
currentTick = _107;
|
|
|
|
<bb 47> [local count: 15262384]:
|
|
|
|
<bb 48> [local count: 138748948]:
|
|
<L29>:
|
|
# DEBUG u32Instance => NULL
|
|
# DEBUG base => NULL
|
|
# DEBUG linCurrentState => NULL
|
|
# DEBUG pUserConfig => NULL
|
|
# DEBUG wakeupByte => NULL
|
|
# DEBUG masterBaudrateDivisor => NULL
|
|
# DEBUG tickPerMicros => NULL
|
|
# DEBUG u32ElapsedTicks => NULL
|
|
# DEBUG u32Instance => NULL
|
|
# DEBUG linCurrentState => NULL
|
|
# DEBUG base => NULL
|
|
# DEBUG pUserConfig => NULL
|
|
# DEBUG wakeupSignalLength => NULL
|
|
goto <bb 123>; [100.00%]
|
|
|
|
<bb 49> [local count: 488839273]:
|
|
# DEBUG BEGIN_STMT
|
|
_4 = Lpuart_Lin_Ip_HwGetStatusFlag (base_22, 131089);
|
|
if (_4 != 0)
|
|
goto <bb 50>; [50.00%]
|
|
else
|
|
goto <bb 58>; [50.00%]
|
|
|
|
<bb 50> [local count: 244419636]:
|
|
_5 = Lpuart_Lin_Ip_HwGetIntMode (base_22, 196633);
|
|
if (_5 != 0)
|
|
goto <bb 51>; [33.00%]
|
|
else
|
|
goto <bb 58>; [67.00%]
|
|
|
|
<bb 51> [local count: 80658480]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Instance => u32Instance_20(D)
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_FrameErrorIrqHandler
|
|
# DEBUG BEGIN_STMT
|
|
base_116 = Lpuart_Lin_Ip_apxBases[u32Instance_20(D)];
|
|
# DEBUG base => base_116
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_117 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_20(D)];
|
|
# DEBUG linCurrentState => linCurrentState_117
|
|
# DEBUG BEGIN_STMT
|
|
pUserConfig_118 = Lpuart_Lin_Ip_apxUserConfigs[u32Instance_20(D)];
|
|
# DEBUG pUserConfig => pUserConfig_118
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwClearStatusFlag (base_116, 131089);
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG base => base_116
|
|
# DEBUG readData => &tmpByte
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwGetchar
|
|
# DEBUG BEGIN_STMT
|
|
_119 ={v} MEM[(const struct LPUART_Type *)base_116].DATA;
|
|
# DEBUG tmpByte => (unsigned char) _119
|
|
# DEBUG base => NULL
|
|
# DEBUG readData => NULL
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_117->currentEventId ={v} 8;
|
|
# DEBUG BEGIN_STMT
|
|
_120 ={v} linCurrentState_117->currentNodeState;
|
|
if (_120 == 9)
|
|
goto <bb 52>; [34.00%]
|
|
else
|
|
goto <bb 54>; [66.00%]
|
|
|
|
<bb 52> [local count: 27423883]:
|
|
# DEBUG BEGIN_STMT
|
|
_121 = pUserConfig_118->Callback;
|
|
if (_121 != 0B)
|
|
goto <bb 53>; [70.00%]
|
|
else
|
|
goto <bb 57>; [30.00%]
|
|
|
|
<bb 53> [local count: 19196718]:
|
|
# DEBUG BEGIN_STMT
|
|
_121 (u32Instance_20(D), linCurrentState_117);
|
|
goto <bb 57>; [100.00%]
|
|
|
|
<bb 54> [local count: 53234597]:
|
|
# DEBUG BEGIN_STMT
|
|
_122 ={v} linCurrentState_117->currentNodeState;
|
|
if (_122 == 7)
|
|
goto <bb 55>; [34.00%]
|
|
else
|
|
goto <bb 57>; [66.00%]
|
|
|
|
<bb 55> [local count: 18099763]:
|
|
# DEBUG BEGIN_STMT
|
|
_123 = pUserConfig_118->Callback;
|
|
if (_123 != 0B)
|
|
goto <bb 56>; [70.00%]
|
|
else
|
|
goto <bb 57>; [30.00%]
|
|
|
|
<bb 56> [local count: 12669834]:
|
|
# DEBUG BEGIN_STMT
|
|
_123 (u32Instance_20(D), linCurrentState_117);
|
|
|
|
<bb 57> [local count: 80658480]:
|
|
# DEBUG D#2 => {CLOBBER}
|
|
# DEBUG tmpByte => D#2
|
|
# DEBUG u32Instance => NULL
|
|
# DEBUG pUserConfig => NULL
|
|
# DEBUG linCurrentState => NULL
|
|
# DEBUG base => NULL
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_GotoIdleState (u32Instance_20(D));
|
|
goto <bb 123>; [100.00%]
|
|
|
|
<bb 58> [local count: 408180793]:
|
|
# DEBUG BEGIN_STMT
|
|
_6 = Lpuart_Lin_Ip_HwGetStatusFlag (base_22, 131093);
|
|
if (_6 != 0)
|
|
goto <bb 59>; [33.00%]
|
|
else
|
|
goto <bb 61>; [67.00%]
|
|
|
|
<bb 59> [local count: 134699662]:
|
|
_7 = Lpuart_Lin_Ip_HwGetIntMode (base_22, 196629);
|
|
if (_7 != 0)
|
|
goto <bb 61>; [50.00%]
|
|
else
|
|
goto <bb 60>; [50.00%]
|
|
|
|
<bb 60> [local count: 67349831]:
|
|
|
|
<bb 61> [local count: 408180792]:
|
|
# iftmp.23_12 = PHI <1(59), 0(60), 0(58)>
|
|
bSpuriousIntAvailable_37 = (boolean) iftmp.23_12;
|
|
# DEBUG bSpuriousIntAvailable => bSpuriousIntAvailable_37
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Instance => u32Instance_20(D)
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_FrameIrqHandler
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
base_124 = Lpuart_Lin_Ip_apxBases[u32Instance_20(D)];
|
|
# DEBUG base => base_124
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_125 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_20(D)];
|
|
# DEBUG linCurrentState => linCurrentState_125
|
|
# DEBUG BEGIN_STMT
|
|
_126 = Lpuart_Lin_Ip_HwGetStatusFlag (base_124, 131093);
|
|
if (_126 != 0)
|
|
goto <bb 62>; [33.00%]
|
|
else
|
|
goto <bb 122>; [67.00%]
|
|
|
|
<bb 62> [local count: 134699661]:
|
|
_127 = Lpuart_Lin_Ip_HwGetIntMode (base_124, 196629);
|
|
if (_127 != 0)
|
|
goto <bb 63>; [50.00%]
|
|
else
|
|
goto <bb 122>; [50.00%]
|
|
|
|
<bb 63> [local count: 67349831]:
|
|
# DEBUG BEGIN_STMT
|
|
_128 ={v} linCurrentState_125->currentNodeState;
|
|
switch (_128) <default: <L33> [25.00%], case 4 ... 6: <L30> [25.00%], case 7: <L39> [25.00%], case 9: <L32> [25.00%]>
|
|
|
|
<bb 64> [local count: 16837458]:
|
|
<L30>:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG base => base_124
|
|
# DEBUG readData => &tmpByte
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwGetchar
|
|
# DEBUG BEGIN_STMT
|
|
_129 ={v} base_124->DATA;
|
|
_130 = (unsigned char) _129;
|
|
# DEBUG tmpByte => _130
|
|
# DEBUG base => NULL
|
|
# DEBUG readData => NULL
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Instance => u32Instance_20(D)
|
|
# DEBUG tmpByte => _130
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_ProcessFrameHeader
|
|
# DEBUG BEGIN_STMT
|
|
base_134 = Lpuart_Lin_Ip_apxBases[u32Instance_20(D)];
|
|
# DEBUG base => base_134
|
|
# DEBUG BEGIN_STMT
|
|
pUserConfig_135 = Lpuart_Lin_Ip_apxUserConfigs[u32Instance_20(D)];
|
|
# DEBUG pUserConfig => pUserConfig_135
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_136 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_20(D)];
|
|
# DEBUG linCurrentState => linCurrentState_136
|
|
# DEBUG BEGIN_STMT
|
|
_137 ={v} linCurrentState_136->currentNodeState;
|
|
switch (_137) <default: <L37> [25.00%], case 4: <L34> [25.00%], case 5: <L35> [25.00%], case 6: <L36> [25.00%]>
|
|
|
|
<bb 65> [local count: 4209364]:
|
|
<L34>:
|
|
# DEBUG BEGIN_STMT
|
|
if (_130 == 85)
|
|
goto <bb 66>; [34.00%]
|
|
else
|
|
goto <bb 67>; [66.00%]
|
|
|
|
<bb 66> [local count: 1431184]:
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_136->currentEventId ={v} 4;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_136->currentNodeState ={v} 6;
|
|
goto <bb 86>; [100.00%]
|
|
|
|
<bb 67> [local count: 2778181]:
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_136->currentEventId ={v} 5;
|
|
# DEBUG BEGIN_STMT
|
|
_138 = pUserConfig_135->Callback;
|
|
if (_138 != 0B)
|
|
goto <bb 68>; [70.00%]
|
|
else
|
|
goto <bb 69>; [30.00%]
|
|
|
|
<bb 68> [local count: 1944726]:
|
|
# DEBUG BEGIN_STMT
|
|
_138 (u32Instance_20(D), linCurrentState_136);
|
|
|
|
<bb 69> [local count: 2778181]:
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_GotoIdleState (u32Instance_20(D));
|
|
goto <bb 86>; [100.00%]
|
|
|
|
<bb 70> [local count: 4209364]:
|
|
<L35>:
|
|
# DEBUG BEGIN_STMT
|
|
if (_130 == 85)
|
|
goto <bb 71>; [34.00%]
|
|
else
|
|
goto <bb 72>; [66.00%]
|
|
|
|
<bb 71> [local count: 1431184]:
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_136->currentNodeState ={v} 6;
|
|
# DEBUG BEGIN_STMT
|
|
_139 = linCurrentState_136->currentPid;
|
|
# DEBUG base => base_134
|
|
# DEBUG data => _139
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwPutchar
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG D#1 => &base_134->DATA
|
|
# DEBUG dataRegBytes => D#1
|
|
# DEBUG BEGIN_STMT
|
|
MEM[(volatile uint8 *)base_134 + 28B] ={v} _139;
|
|
goto <bb 86>; [100.00%]
|
|
|
|
<bb 72> [local count: 2778181]:
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_136->currentEventId ={v} 9;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_136->isBusBusy ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
_140 = pUserConfig_135->Callback;
|
|
if (_140 != 0B)
|
|
goto <bb 73>; [70.00%]
|
|
else
|
|
goto <bb 86>; [30.00%]
|
|
|
|
<bb 73> [local count: 1944726]:
|
|
# DEBUG BEGIN_STMT
|
|
_140 (u32Instance_20(D), linCurrentState_136);
|
|
goto <bb 86>; [100.00%]
|
|
|
|
<bb 74> [local count: 4209364]:
|
|
<L36>:
|
|
# DEBUG BEGIN_STMT
|
|
_141 = pUserConfig_135->nodeFunction;
|
|
if (_141 != 0)
|
|
goto <bb 75>; [67.00%]
|
|
else
|
|
goto <bb 80>; [33.00%]
|
|
|
|
<bb 75> [local count: 2820274]:
|
|
# DEBUG BEGIN_STMT
|
|
_142 = linCurrentState_136->currentPid;
|
|
if (_130 == _142)
|
|
goto <bb 76>; [34.00%]
|
|
else
|
|
goto <bb 78>; [66.00%]
|
|
|
|
<bb 76> [local count: 958893]:
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_136->currentEventId ={v} 6;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_136->isBusBusy ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
_143 = pUserConfig_135->Callback;
|
|
if (_143 != 0B)
|
|
goto <bb 77>; [70.00%]
|
|
else
|
|
goto <bb 86>; [30.00%]
|
|
|
|
<bb 77> [local count: 671225]:
|
|
# DEBUG BEGIN_STMT
|
|
_143 (u32Instance_20(D), linCurrentState_136);
|
|
goto <bb 86>; [100.00%]
|
|
|
|
<bb 78> [local count: 1861381]:
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_136->currentEventId ={v} 9;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_136->isBusBusy ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
_144 = pUserConfig_135->Callback;
|
|
if (_144 != 0B)
|
|
goto <bb 79>; [70.00%]
|
|
else
|
|
goto <bb 86>; [30.00%]
|
|
|
|
<bb 79> [local count: 1302967]:
|
|
# DEBUG BEGIN_STMT
|
|
_144 (u32Instance_20(D), linCurrentState_136);
|
|
goto <bb 86>; [100.00%]
|
|
|
|
<bb 80> [local count: 1389090]:
|
|
# DEBUG BEGIN_STMT
|
|
_145 = Lin_Ip_ProcessParity (_130, 0);
|
|
linCurrentState_136->currentId = _145;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_136->currentPid = _130;
|
|
# DEBUG BEGIN_STMT
|
|
if (_145 != 255)
|
|
goto <bb 81>; [66.00%]
|
|
else
|
|
goto <bb 83>; [34.00%]
|
|
|
|
<bb 81> [local count: 916800]:
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_136->currentEventId ={v} 6;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_136->isBusBusy ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
_146 = pUserConfig_135->Callback;
|
|
if (_146 != 0B)
|
|
goto <bb 82>; [70.00%]
|
|
else
|
|
goto <bb 86>; [30.00%]
|
|
|
|
<bb 82> [local count: 641760]:
|
|
# DEBUG BEGIN_STMT
|
|
_146 (u32Instance_20(D), linCurrentState_136);
|
|
goto <bb 86>; [100.00%]
|
|
|
|
<bb 83> [local count: 472291]:
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_136->currentEventId ={v} 7;
|
|
# DEBUG BEGIN_STMT
|
|
_147 = pUserConfig_135->Callback;
|
|
if (_147 != 0B)
|
|
goto <bb 84>; [70.00%]
|
|
else
|
|
goto <bb 85>; [30.00%]
|
|
|
|
<bb 84> [local count: 330603]:
|
|
# DEBUG BEGIN_STMT
|
|
_147 (u32Instance_20(D), linCurrentState_136);
|
|
|
|
<bb 85> [local count: 472291]:
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_GotoIdleState (u32Instance_20(D));
|
|
|
|
<bb 86> [local count: 16837458]:
|
|
<L37>:
|
|
# DEBUG base => NULL
|
|
# DEBUG data => NULL
|
|
goto <bb 122>; [100.00%]
|
|
|
|
<bb 87> [local count: 16837458]:
|
|
<L39>:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Instance => u32Instance_20(D)
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_ProcessReceiveFrameData
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_148 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_20(D)];
|
|
# DEBUG linCurrentState => linCurrentState_148
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
pUserConfig_149 = Lpuart_Lin_Ip_apxUserConfigs[u32Instance_20(D)];
|
|
# DEBUG pUserConfig => pUserConfig_149
|
|
# DEBUG BEGIN_STMT
|
|
_150 = linCurrentState_148->cntByte;
|
|
_151 ={v} linCurrentState_148->rxSize;
|
|
_152 = _151 + 255;
|
|
_153 = linCurrentState_148->rxBuff;
|
|
retVal_154 = Lpuart_Lin_Ip_GetBytetoBuffer (_150, _152, _153, u32Instance_20(D));
|
|
# DEBUG retVal => retVal_154
|
|
# DEBUG BEGIN_STMT
|
|
_155 = linCurrentState_148->cntByte;
|
|
_156 ={v} linCurrentState_148->rxSize;
|
|
if (_155 < _156)
|
|
goto <bb 88>; [50.00%]
|
|
else
|
|
goto <bb 89>; [50.00%]
|
|
|
|
<bb 88> [local count: 8418729]:
|
|
# DEBUG BEGIN_STMT
|
|
_157 = _155 + 1;
|
|
linCurrentState_148->cntByte = _157;
|
|
|
|
<bb 89> [local count: 16837458]:
|
|
# DEBUG BEGIN_STMT
|
|
if (retVal_154 == 0)
|
|
goto <bb 90>; [50.00%]
|
|
else
|
|
goto <bb 93>; [50.00%]
|
|
|
|
<bb 90> [local count: 8418729]:
|
|
# DEBUG BEGIN_STMT
|
|
_158 ={v} linCurrentState_148->rxSize;
|
|
_159 = linCurrentState_148->cntByte;
|
|
if (_158 == _159)
|
|
goto <bb 91>; [34.00%]
|
|
else
|
|
goto <bb 96>; [66.00%]
|
|
|
|
<bb 91> [local count: 2862368]:
|
|
# DEBUG BEGIN_STMT
|
|
_160 = pUserConfig_149->Callback;
|
|
if (_160 != 0B)
|
|
goto <bb 92>; [70.00%]
|
|
else
|
|
goto <bb 96>; [30.00%]
|
|
|
|
<bb 92> [local count: 2003657]:
|
|
# DEBUG BEGIN_STMT
|
|
_160 (u32Instance_20(D), linCurrentState_148);
|
|
goto <bb 96>; [100.00%]
|
|
|
|
<bb 93> [local count: 8418729]:
|
|
# DEBUG BEGIN_STMT
|
|
_161 = pUserConfig_149->Callback;
|
|
if (_161 != 0B)
|
|
goto <bb 94>; [70.00%]
|
|
else
|
|
goto <bb 95>; [30.00%]
|
|
|
|
<bb 94> [local count: 5893110]:
|
|
# DEBUG BEGIN_STMT
|
|
_161 (u32Instance_20(D), linCurrentState_148);
|
|
|
|
<bb 95> [local count: 8418729]:
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_148->isRxBusy ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_GotoIdleState (u32Instance_20(D));
|
|
|
|
<bb 96> [local count: 16837458]:
|
|
goto <bb 122>; [100.00%]
|
|
|
|
<bb 97> [local count: 16837458]:
|
|
<L32>:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG base => base_124
|
|
# DEBUG readData => &tmpByte
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwGetchar
|
|
# DEBUG BEGIN_STMT
|
|
_131 ={v} base_124->DATA;
|
|
_132 = (unsigned char) _131;
|
|
# DEBUG tmpByte => _132
|
|
# DEBUG base => NULL
|
|
# DEBUG readData => NULL
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG u32Instance => u32Instance_20(D)
|
|
# DEBUG tmpByte => _132
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_ProcessSendFrameData
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG sendFlag => 1
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
base_162 = Lpuart_Lin_Ip_apxBases[u32Instance_20(D)];
|
|
# DEBUG base => base_162
|
|
# DEBUG BEGIN_STMT
|
|
pUserConfig_163 = Lpuart_Lin_Ip_apxUserConfigs[u32Instance_20(D)];
|
|
# DEBUG pUserConfig => pUserConfig_163
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_164 = Lpuart_Lin_Ip_apxStateStructureArray[u32Instance_20(D)];
|
|
# DEBUG linCurrentState => linCurrentState_164
|
|
# DEBUG BEGIN_STMT
|
|
_165 = Lpuart_Lin_Ip_HwGetStatusFlag (base_162, 131095);
|
|
if (_165 != 0)
|
|
goto <bb 101>; [50.00%]
|
|
else
|
|
goto <bb 98>; [50.00%]
|
|
|
|
<bb 98> [local count: 8418729]:
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_164->currentEventId ={v} 9;
|
|
# DEBUG BEGIN_STMT
|
|
_166 = pUserConfig_163->Callback;
|
|
if (_166 != 0B)
|
|
goto <bb 99>; [70.00%]
|
|
else
|
|
goto <bb 100>; [30.00%]
|
|
|
|
<bb 99> [local count: 5893110]:
|
|
# DEBUG BEGIN_STMT
|
|
_166 (u32Instance_20(D), linCurrentState_164);
|
|
|
|
<bb 100> [local count: 8418729]:
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_164->isTxBusy ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_GotoIdleState (u32Instance_20(D));
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG sendFlag => 0
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 120>; [100.00%]
|
|
|
|
<bb 101> [local count: 8418729]:
|
|
# DEBUG BEGIN_STMT
|
|
_167 ={v} linCurrentState_164->txSize;
|
|
_168 = linCurrentState_164->cntByte;
|
|
tmpSize_169 = _167 - _168;
|
|
# DEBUG tmpSize => tmpSize_169
|
|
# DEBUG BEGIN_STMT
|
|
if (tmpSize_169 == 1)
|
|
goto <bb 102>; [34.00%]
|
|
else
|
|
goto <bb 103>; [66.00%]
|
|
|
|
<bb 102> [local count: 2862368]:
|
|
_170 = linCurrentState_164->checkSum;
|
|
if (_132 != _170)
|
|
goto <bb 104>; [66.00%]
|
|
else
|
|
goto <bb 103>; [34.00%]
|
|
|
|
<bb 103> [local count: 6529566]:
|
|
|
|
<bb 104> [local count: 8418729]:
|
|
# iftmp.29_171 = PHI <1(102), 0(103)>
|
|
tmpCheckSumAndSize_172 = (boolean) iftmp.29_171;
|
|
# DEBUG tmpCheckSumAndSize => tmpCheckSumAndSize_172
|
|
# DEBUG BEGIN_STMT
|
|
_173 = linCurrentState_164->txBuff;
|
|
_174 = *_173;
|
|
if (_132 != _174)
|
|
goto <bb 105>; [66.00%]
|
|
else
|
|
goto <bb 106>; [34.00%]
|
|
|
|
<bb 105> [local count: 5556361]:
|
|
if (tmpSize_169 != 1)
|
|
goto <bb 107>; [66.00%]
|
|
else
|
|
goto <bb 106>; [34.00%]
|
|
|
|
<bb 106> [local count: 4751531]:
|
|
|
|
<bb 107> [local count: 8418729]:
|
|
# iftmp.30_175 = PHI <1(105), 0(106)>
|
|
tmpBuffAndSize_176 = (boolean) iftmp.30_175;
|
|
# DEBUG tmpBuffAndSize => tmpBuffAndSize_176
|
|
# DEBUG BEGIN_STMT
|
|
if (tmpBuffAndSize_176 != 0)
|
|
goto <bb 109>; [50.00%]
|
|
else
|
|
goto <bb 108>; [50.00%]
|
|
|
|
<bb 108> [local count: 4209364]:
|
|
if (tmpCheckSumAndSize_172 != 0)
|
|
goto <bb 109>; [50.00%]
|
|
else
|
|
goto <bb 112>; [50.00%]
|
|
|
|
<bb 109> [local count: 6314047]:
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_164->currentEventId ={v} 9;
|
|
# DEBUG BEGIN_STMT
|
|
_177 = pUserConfig_163->Callback;
|
|
if (_177 != 0B)
|
|
goto <bb 110>; [70.00%]
|
|
else
|
|
goto <bb 111>; [30.00%]
|
|
|
|
<bb 110> [local count: 4419833]:
|
|
# DEBUG BEGIN_STMT
|
|
_177 (u32Instance_20(D), linCurrentState_164);
|
|
|
|
<bb 111> [local count: 6314047]:
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_164->isTxBusy ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_GotoIdleState (u32Instance_20(D));
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG sendFlag => 0
|
|
# DEBUG BEGIN_STMT
|
|
goto <bb 120>; [100.00%]
|
|
|
|
<bb 112> [local count: 2104682]:
|
|
# DEBUG BEGIN_STMT
|
|
_178 = _173 + 1;
|
|
linCurrentState_164->txBuff = _178;
|
|
# DEBUG BEGIN_STMT
|
|
_179 = _168 + 1;
|
|
linCurrentState_164->cntByte = _179;
|
|
# DEBUG sendFlag => 1
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
_180 ={v} linCurrentState_164->txSize;
|
|
if (_179 < _180)
|
|
goto <bb 113>; [67.00%]
|
|
else
|
|
goto <bb 116>; [33.00%]
|
|
|
|
<bb 113> [local count: 1410137]:
|
|
# DEBUG BEGIN_STMT
|
|
_181 ={v} linCurrentState_164->txSize;
|
|
_182 = (int) _181;
|
|
_183 = (int) _179;
|
|
_184 = _182 - _183;
|
|
if (_184 == 1)
|
|
goto <bb 114>; [34.00%]
|
|
else
|
|
goto <bb 115>; [66.00%]
|
|
|
|
<bb 114> [local count: 479447]:
|
|
# DEBUG BEGIN_STMT
|
|
_185 = linCurrentState_164->checkSum;
|
|
# DEBUG base => base_162
|
|
# DEBUG data => _185
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwPutchar
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG D#1 => &base_162->DATA
|
|
# DEBUG dataRegBytes => D#1
|
|
# DEBUG BEGIN_STMT
|
|
MEM[(volatile uint8 *)base_162 + 28B] ={v} _185;
|
|
goto <bb 120>; [100.00%]
|
|
|
|
<bb 115> [local count: 930690]:
|
|
# DEBUG BEGIN_STMT
|
|
_186 = *_178;
|
|
# DEBUG base => base_162
|
|
# DEBUG data => _186
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwPutchar
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG D#1 => &base_162->DATA
|
|
# DEBUG dataRegBytes => D#1
|
|
# DEBUG BEGIN_STMT
|
|
MEM[(volatile uint8 *)base_162 + 28B] ={v} _186;
|
|
goto <bb 120>; [100.00%]
|
|
|
|
<bb 116> [local count: 694545]:
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_164->currentEventId ={v} 11;
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_164->currentNodeState ={v} 10;
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwSetIntMode (base_162, 196629, 0);
|
|
# DEBUG BEGIN_STMT
|
|
_187 = pUserConfig_163->Callback;
|
|
if (_187 != 0B)
|
|
goto <bb 117>; [70.00%]
|
|
else
|
|
goto <bb 118>; [30.00%]
|
|
|
|
<bb 117> [local count: 486182]:
|
|
# DEBUG BEGIN_STMT
|
|
_187 (u32Instance_20(D), linCurrentState_164);
|
|
|
|
<bb 118> [local count: 694545]:
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_164->isTxBusy ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
_188 ={v} linCurrentState_164->currentNodeState;
|
|
if (_188 != 1)
|
|
goto <bb 119>; [48.88%]
|
|
else
|
|
goto <bb 120>; [51.12%]
|
|
|
|
<bb 119> [local count: 339494]:
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_GotoIdleState (u32Instance_20(D));
|
|
|
|
<bb 120> [local count: 16837458]:
|
|
# DEBUG base => NULL
|
|
# DEBUG data => NULL
|
|
# DEBUG base => NULL
|
|
# DEBUG data => NULL
|
|
goto <bb 122>; [100.00%]
|
|
|
|
<bb 121> [local count: 16837458]:
|
|
<L33>:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG base => base_124
|
|
# DEBUG readData => &tmpByte
|
|
# DEBUG INLINE_ENTRY Lpuart_Lin_Ip_HwGetchar
|
|
# DEBUG BEGIN_STMT
|
|
_133 ={v} base_124->DATA;
|
|
# DEBUG tmpByte => (unsigned char) _133
|
|
|
|
<bb 122> [local count: 408180791]:
|
|
# DEBUG u32Instance => NULL
|
|
# DEBUG tmpByte => NULL
|
|
# DEBUG linCurrentState => NULL
|
|
# DEBUG pUserConfig => NULL
|
|
# DEBUG base => NULL
|
|
# DEBUG tmpBuffAndSize => NULL
|
|
# DEBUG tmpCheckSumAndSize => NULL
|
|
# DEBUG tmpSize => NULL
|
|
# DEBUG u32Instance => NULL
|
|
# DEBUG pUserConfig => NULL
|
|
# DEBUG retVal => NULL
|
|
# DEBUG linCurrentState => NULL
|
|
# DEBUG u32Instance => NULL
|
|
# DEBUG tmpByte => NULL
|
|
# DEBUG linCurrentState => NULL
|
|
# DEBUG pUserConfig => NULL
|
|
# DEBUG base => NULL
|
|
# DEBUG base => NULL
|
|
# DEBUG readData => NULL
|
|
# DEBUG D#6 => {CLOBBER}
|
|
# DEBUG tmpByte => D#6
|
|
|
|
<bb 123> [local count: 751605401]:
|
|
# bSpuriousIntAvailable_11 = PHI <0(12), 0(48), 0(57), bSpuriousIntAvailable_37(122)>
|
|
# DEBUG u32Instance => NULL
|
|
# DEBUG linCurrentState => NULL
|
|
# DEBUG base => NULL
|
|
# DEBUG u32Instance => NULL
|
|
# DEBUG base => NULL
|
|
# DEBUG linCurrentState => NULL
|
|
# DEBUG u32Instance => NULL
|
|
# DEBUG linCurrentState => NULL
|
|
# DEBUG linCurrentState => NULL
|
|
# DEBUG linCurrentState => NULL
|
|
# DEBUG base => NULL
|
|
# DEBUG pUserConfig => NULL
|
|
# DEBUG bSpuriousIntAvailable => bSpuriousIntAvailable_11
|
|
# DEBUG BEGIN_STMT
|
|
_8 = Lpuart_Lin_Ip_HwGetStatusFlag (base_22, 131091);
|
|
if (_8 != 0)
|
|
goto <bb 124>; [33.00%]
|
|
else
|
|
goto <bb 127>; [67.00%]
|
|
|
|
<bb 124> [local count: 248029782]:
|
|
_9 = Lpuart_Lin_Ip_HwGetIntMode (base_22, 196635);
|
|
if (_9 != 0)
|
|
goto <bb 125>; [33.00%]
|
|
else
|
|
goto <bb 127>; [67.00%]
|
|
|
|
<bb 125> [local count: 81849828]:
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwClearStatusFlag (base_22, 131091);
|
|
# DEBUG BEGIN_STMT
|
|
linCurrentState_23->currentEventId ={v} 13;
|
|
# DEBUG BEGIN_STMT
|
|
_10 = pUserConfig_21->Callback;
|
|
if (_10 != 0B)
|
|
goto <bb 126>; [70.00%]
|
|
else
|
|
goto <bb 129>; [30.00%]
|
|
|
|
<bb 126> [local count: 57294880]:
|
|
# DEBUG BEGIN_STMT
|
|
_10 (u32Instance_20(D), linCurrentState_23);
|
|
goto <bb 129>; [100.00%]
|
|
|
|
<bb 127> [local count: 669755573]:
|
|
# DEBUG BEGIN_STMT
|
|
if (bSpuriousIntAvailable_11 != 0)
|
|
goto <bb 128>; [33.00%]
|
|
else
|
|
goto <bb 129>; [67.00%]
|
|
|
|
<bb 128> [local count: 221019339]:
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Lin_Ip_HwClearStatusFlag (base_22, 0);
|
|
|
|
<bb 129> [local count: 1073727948]:
|
|
return;
|
|
|
|
}
|
|
|
|
|