ADM/GW/Debug_RAM/RTD/src/Pit_Ip.c.075i.fnsummary
2024-08-08 10:00:15 +09:00

1681 lines
48 KiB
Plaintext

Analyzing function: PIT_0_ISR/28
;; 2 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4 5 6 7
;;
;; Loop 1
;; header 6, latch 5
;; depth 1, outer 0
;; nodes: 6 5 3 4
;; 2 succs { 6 }
;; 3 succs { 4 5 }
;; 4 succs { 5 }
;; 5 succs { 6 }
;; 6 succs { 3 7 }
;; 7 succs { 1 }
Analyzing function body size: PIT_0_ISR
IPA function summary for PIT_0_ISR/28 inlinable
global time: 106.119491
self size: 15
global size: 0
min size: 0
self stack: 0
global stack: 0
size:5.000000, time:26.994001
size:3.000000, time:2.000000, executed if:(not inlined)
calls:
Pit_Ip_ProcessCommonInterrupt/17 function not considered for inlining
loop depth: 1 freq:1.01 size: 3 time: 12
op0 is compile time invariant
Pit_Ip_GetInterruptFlags/3 function not considered for inlining
loop depth: 1 freq:5.00 size: 4 time: 13
op0 is compile time invariant
Analyzing function: Pit_Ip_GetLifetimeTimer/27
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2
;; 2 succs { 1 }
Analyzing function body size: Pit_Ip_GetLifetimeTimer
IPA function summary for Pit_Ip_GetLifetimeTimer/27 inlinable
global time: 7.000000
self size: 8
global size: 0
min size: 0
self stack: 0
global stack: 0
size:5.000000, time:5.000000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op0 changed)
calls:
Analyzing function: Pit_Ip_SetLifetimeTimerCount/26
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2
;; 2 succs { 1 }
Analyzing function body size: Pit_Ip_SetLifetimeTimerCount
IPA function summary for Pit_Ip_SetLifetimeTimerCount/26 inlinable
global time: 57.000000
self size: 22
global size: 0
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)
array index:(op0 changed)
calls:
Pit_Ip_EnableTimer/5 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13
op1 is compile time invariant
op2 is compile time invariant
Pit_Ip_EnableTimer/5 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13
op1 is compile time invariant
op2 is compile time invariant
Pit_Ip_SetChainMode/7 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13
op1 is compile time invariant
op2 is compile time invariant
Pit_Ip_EnableInterrupt/12 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13
op1 is compile time invariant
op2 is compile time invariant
Analyzing function: Pit_Ip_DisableChannelInterrupt/25
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2
;; 2 succs { 1 }
Analyzing function body size: Pit_Ip_DisableChannelInterrupt
IPA function summary for Pit_Ip_DisableChannelInterrupt/25 inlinable
global time: 27.000000
self size: 10
global size: 0
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:3.000000, time:2.000000, executed if:(not inlined)
calls:
Pit_Ip_ClearInterruptFlag/13 function not considered for inlining
loop depth: 0 freq:1.00 size: 3 time: 12
Pit_Ip_EnableInterrupt/12 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13
op2 is compile time invariant
Analyzing function: Pit_Ip_EnableChannelInterrupt/24
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2
;; 2 succs { 1 }
Analyzing function body size: Pit_Ip_EnableChannelInterrupt
IPA function summary for Pit_Ip_EnableChannelInterrupt/24 inlinable
global time: 27.000000
self size: 10
global size: 0
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:3.000000, time:2.000000, executed if:(not inlined)
calls:
Pit_Ip_EnableInterrupt/12 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13
op2 is compile time invariant
Pit_Ip_ClearInterruptFlag/13 function not considered for inlining
loop depth: 0 freq:1.00 size: 3 time: 12
Analyzing function: Pit_Ip_GetCurrentTimer/23
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2
;; 2 succs { 1 }
Analyzing function body size: Pit_Ip_GetCurrentTimer
IPA function summary for Pit_Ip_GetCurrentTimer/23 inlinable
global time: 4.000000
self size: 5
global size: 0
min size: 0
self stack: 0
global stack: 0
size:2.000000, time:2.000000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op1 changed) && (op0 changed)
calls:
Analyzing function: Pit_Ip_StopChannel/22
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2
;; 2 succs { 1 }
Analyzing function body size: Pit_Ip_StopChannel
IPA function summary for Pit_Ip_StopChannel/22 inlinable
global time: 27.000000
self size: 10
global size: 0
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:3.000000, time:2.000000, executed if:(not inlined)
calls:
Pit_Ip_ClearInterruptFlag/13 function not considered for inlining
loop depth: 0 freq:1.00 size: 3 time: 12
Pit_Ip_EnableTimer/5 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13
op2 is compile time invariant
Analyzing function: Pit_Ip_StartChannel/21
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;; 2 succs { 3 4 }
;; 3 succs { 4 }
;; 4 succs { 1 }
Analyzing function body size: Pit_Ip_StartChannel
IPA function summary for Pit_Ip_StartChannel/21 inlinable
global time: 10.950000
self size: 13
global size: 0
min size: 0
self stack: 0
global stack: 0
size:5.000000, time:4.330000
size:3.000000, time:2.000000, executed if:(not inlined)
size:1.000000, time:0.330000, nonconst if:(op2 changed)
array index:(op1 changed) && (op0 changed)
calls:
Pit_Ip_EnableTimer/5 function not considered for inlining
loop depth: 0 freq:0.33 size: 4 time: 13
op2 is compile time invariant
Analyzing function: Pit_Ip_Deinit/20
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4 5
;; 2 succs { 3 4 }
;; 3 succs { 5 }
;; 4 succs { 5 }
;; 5 succs { 1 }
Analyzing function body size: Pit_Ip_Deinit
IPA function summary for Pit_Ip_Deinit/20 inlinable
global time: 18.000000
self size: 11
global size: 0
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:2.000000, time:2.000000, nonconst if:(op0 changed)
size:2.000000, time:1.000000, executed if:(op0 <= 2)
array index:(op0 changed)
calls:
Pit_Ip_Reset/8 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13
Analyzing function: Pit_Ip_InitChannel/19
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2
;; 2 succs { 1 }
Analyzing function body size: Pit_Ip_InitChannel
IPA function summary for Pit_Ip_InitChannel/19 inlinable
global time: 49.000000
self size: 23
global size: 0
min size: 0
self stack: 0
global stack: 0
size:5.500000, time:5.500000
size:5.500000, time:4.500000, executed if:(not inlined)
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 0] changed) && (not inlined)
size:0.500000, time:0.500000, nonconst if:(op1[ref offset: 0] changed)
calls:
Pit_Ip_ClearInterruptFlag/13 function not considered for inlining
loop depth: 0 freq:1.00 size: 3 time: 12
Pit_Ip_EnableInterrupt/12 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13
op2 is compile time invariant
Pit_Ip_EnableTimer/5 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13
op2 is compile time invariant
Analyzing function: Pit_Ip_Init/18
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;; 2 succs { 3 4 }
;; 3 succs { 4 }
;; 4 succs { 1 }
Analyzing function body size: Pit_Ip_Init
IPA function summary for Pit_Ip_Init/18 inlinable
global time: 21.960000
self size: 13
global size: 0
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:(op1[ref offset: 0] changed) && (not inlined)
size:2.500000, time:2.500000, nonconst if:(op1[ref offset: 0] changed)
calls:
Pit_Ip_SetDebugMode/6 function not considered for inlining
loop depth: 0 freq:1.00 size: 3 time: 12
Pit_Ip_EnableModule/4 function not considered for inlining
loop depth: 0 freq:0.33 size: 3 time: 12 predicate: (op1[ref offset: 0] != 0)
op1 is compile time invariant
Analyzing function: Pit_Ip_ProcessCommonInterrupt/17
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4 5 6 7
;; 2 succs { 3 7 }
;; 3 succs { 4 7 }
;; 4 succs { 5 7 }
;; 5 succs { 6 7 }
;; 6 succs { 7 }
;; 7 succs { 1 }
Analyzing function body size: Pit_Ip_ProcessCommonInterrupt
IPA function summary for Pit_Ip_ProcessCommonInterrupt/17 inlinable
global time: 35.456500
self size: 29
global size: 0
min size: 0
self stack: 0
global stack: 0
size:15.000000, time:7.504500
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op1 changed) && (op0 changed)
calls:
Pit_Ip_ClearInterruptFlag/13 function not considered for inlining
loop depth: 0 freq:1.00 size: 3 time: 12
Pit_Ip_GetInterruptFlags/3 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13
indirect call loop depth: 0 freq:0.06 size: 4 time: 16
Analyzing function: Pit_Ip_ClearInterruptFlag/13
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2
;; 2 succs { 1 }
Analyzing function body size: Pit_Ip_ClearInterruptFlag
IPA function summary for Pit_Ip_ClearInterruptFlag/13 inlinable
global time: 26.000000
self size: 9
global size: 0
min size: 0
self stack: 0
global stack: 0
size:4.000000, time:4.000000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op1 changed) && (op0 changed)
calls:
SchM_Exit_Gpt_GPT_EXCLUSIVE_AREA_03/34 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
SchM_Enter_Gpt_GPT_EXCLUSIVE_AREA_03/33 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Analyzing function: Pit_Ip_EnableInterrupt/12
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4 5
;; 2 succs { 3 4 }
;; 3 succs { 5 }
;; 4 succs { 5 }
;; 5 succs { 1 }
Analyzing function body size: Pit_Ip_EnableInterrupt
IPA function summary for Pit_Ip_EnableInterrupt/12 inlinable
global time: 28.000000
self size: 15
global size: 0
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:2.000000, time:2.000000, nonconst if:(op2 changed)
size:4.000000, time:2.000000, executed if:(op2 == 0)
size:4.000000, time:2.000000, executed if:(op2 != 0)
array index:(op1 changed) && (op0 changed)
calls:
SchM_Exit_Gpt_GPT_EXCLUSIVE_AREA_02/32 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
SchM_Enter_Gpt_GPT_EXCLUSIVE_AREA_02/31 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Analyzing function: Pit_Ip_Reset/8
;; 2 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4 5 6 7
;;
;; Loop 1
;; header 6, latch 5
;; depth 1, outer 0
;; nodes: 6 5
;; 2 succs { 3 4 }
;; 3 succs { 4 }
;; 4 succs { 6 }
;; 5 succs { 6 }
;; 6 succs { 5 7 }
;; 7 succs { 1 }
Analyzing function body size: Pit_Ip_Reset
IPA function summary for Pit_Ip_Reset/8 inlinable
global time: 67.136364
self size: 19
global size: 0
min size: 0
self stack: 0
global stack: 0
size:9.000000, time:60.636364
size:3.000000, time:2.000000, executed if:(not inlined)
size:2.000000, time:2.000000, nonconst if:(op2 changed)
size:1.000000, time:0.500000, executed if:(op2 != 0), nonconst if:(op1 changed) && (op2 != 0)
size:4.000000, time:2.000000, executed if:(op2 != 0)
array index:(op0 changed)
calls:
Analyzing function: Pit_Ip_SetChainMode/7
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4 5 6
;; 2 succs { 3 5 }
;; 3 succs { 4 5 }
;; 4 succs { 6 }
;; 5 succs { 6 }
;; 6 succs { 1 }
Analyzing function body size: Pit_Ip_SetChainMode
IPA function summary for Pit_Ip_SetChainMode/7 inlinable
global time: 29.000000
self size: 17
global size: 0
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:2.000000, time:2.000000, nonconst if:(op2 changed)
size:2.000000, time:1.000000, executed if:(op2 != 0), nonconst if:(op1 changed) && (op2 != 0)
size:4.000000, time:3.000000, executed if:(op2 == 0 || op1 == 0)
size:4.000000, time:1.000000, executed if:(op1 != 0) && (op2 != 0)
array index:(op0 changed) && (op1 changed)
calls:
SchM_Exit_Gpt_GPT_EXCLUSIVE_AREA_01/36 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
SchM_Enter_Gpt_GPT_EXCLUSIVE_AREA_01/35 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Analyzing function: Pit_Ip_SetDebugMode/6
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4 5
;; 2 succs { 3 4 }
;; 3 succs { 5 }
;; 4 succs { 5 }
;; 5 succs { 1 }
Analyzing function body size: Pit_Ip_SetDebugMode
IPA function summary for Pit_Ip_SetDebugMode/6 inlinable
global time: 8.000000
self size: 13
global size: 0
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:2.000000, time:2.000000, nonconst if:(op1 changed)
size:4.000000, time:2.000000, executed if:(op1 == 0)
size:4.000000, time:2.000000, executed if:(op1 != 0)
array index:(op0 changed)
calls:
Analyzing function: Pit_Ip_EnableTimer/5
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4 5
;; 2 succs { 3 4 }
;; 3 succs { 5 }
;; 4 succs { 5 }
;; 5 succs { 1 }
Analyzing function body size: Pit_Ip_EnableTimer
IPA function summary for Pit_Ip_EnableTimer/5 inlinable
global time: 28.000000
self size: 15
global size: 0
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:2.000000, time:2.000000, nonconst if:(op2 changed)
size:4.000000, time:2.000000, executed if:(op2 == 0)
size:4.000000, time:2.000000, executed if:(op2 != 0)
array index:(op1 changed) && (op0 changed)
calls:
SchM_Exit_Gpt_GPT_EXCLUSIVE_AREA_00/30 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
SchM_Enter_Gpt_GPT_EXCLUSIVE_AREA_00/29 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Analyzing function: Pit_Ip_EnableModule/4
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;; 2 succs { 3 4 }
;; 3 succs { 4 }
;; 4 succs { 1 }
Analyzing function body size: Pit_Ip_EnableModule
IPA function summary for Pit_Ip_EnableModule/4 inlinable
global time: 6.000000
self size: 9
global size: 0
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:2.000000, time:2.000000, nonconst if:(op1 changed)
size:4.000000, time:2.000000, executed if:(op1 == 0)
array index:(op0 changed)
calls:
Analyzing function: Pit_Ip_GetInterruptFlags/3
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4 5
;; 2 succs { 3 4 }
;; 3 succs { 5 }
;; 4 succs { 5 }
;; 5 succs { 1 }
Analyzing function body size: Pit_Ip_GetInterruptFlags
IPA function summary for Pit_Ip_GetInterruptFlags/3 inlinable
global time: 7.000000
self size: 11
global size: 0
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:2.000000, time:2.000000, nonconst if:(op1 changed)
size:3.000000, time:1.980000, executed if:(op1 != 4)
size:3.000000, time:1.020000, executed if:(op1 == 4)
array index:(op0 changed) && (op1 changed)
calls:
Analyzing function: Pit_Ip_GetLoadValue/2
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2
;; 2 succs { 1 }
Analyzing function body size: Pit_Ip_GetLoadValue
IPA function summary for Pit_Ip_GetLoadValue/2 inlinable
global time: 4.000000
self size: 5
global size: 0
min size: 0
self stack: 0
global stack: 0
size:2.000000, time:2.000000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op1 changed) && (op0 changed)
calls:
Symbol table:
Pit_Ip_EnableModule.constprop.0/43 (Pit_Ip_EnableModule.constprop) @06974ee0
Type: function definition analyzed
Visibility:
References: pitBase/0 (read)
Referring:
Clone of Pit_Ip_EnableModule/4
Availability: local
Function flags: count:1073741824 (estimated locally) local optimize_size
Called by: Pit_Ip_Init/18 (354334802 (estimated locally),0.33 per call)
Calls:
Pit_Ip_SetChainMode.constprop.0/42 (Pit_Ip_SetChainMode.constprop) @06a7fc40
Type: function definition analyzed
Visibility:
References: pitBase/0 (read)pitBase/0 (read)
Referring:
Clone of Pit_Ip_SetChainMode/7
Availability: local
Function flags: count:1073741824 (estimated locally) local optimize_size
Called by: Pit_Ip_SetLifetimeTimerCount/26 (1073741824 (estimated locally),1.00 per call)
Calls: SchM_Enter_Gpt_GPT_EXCLUSIVE_AREA_01/35 (1073741824 (estimated locally),1.00 per call) SchM_Exit_Gpt_GPT_EXCLUSIVE_AREA_01/36 (1073741824 (estimated locally),1.00 per call)
Pit_Ip_ProcessCommonInterrupt.constprop.0/41 (Pit_Ip_ProcessCommonInterrupt.constprop) @06a7f9a0
Type: function definition analyzed
Visibility:
References: pitBase/0 (read)Pit_Ip_u32ChState/1 (read)Pit_Ip_u32ChState/1 (read)Pit_Ip_u32ChState/1 (read)
Referring:
Clone of Pit_Ip_ProcessCommonInterrupt/17
Availability: local
Function flags: count:1073741823 (estimated locally) local optimize_size
Called by: PIT_0_ISR/28 (181097210 (estimated locally),1.01 per call)
Calls: Pit_Ip_GetInterruptFlags/3 (1073741823 (estimated locally),1.00 per call) Pit_Ip_ClearInterruptFlag/13 (1073741823 (estimated locally),1.00 per call)
Indirect call(63887638 (estimated locally),0.06 per call)
CSWTCH.22/38 (CSWTCH.22) @06b13750
Type: variable definition analyzed
Visibility: prevailing_def_ironly artificial
References:
Referring: Pit_Ip_Deinit/20 (read)
Availability: available
Varpool flags: initialized read-only const-value-known
CSWTCH.21/37 (CSWTCH.21) @06b136c0
Type: variable definition analyzed
Visibility: prevailing_def_ironly artificial
References:
Referring: Pit_Ip_Deinit/20 (read)
Availability: available
Varpool flags: initialized read-only const-value-known
SchM_Exit_Gpt_GPT_EXCLUSIVE_AREA_01/36 (SchM_Exit_Gpt_GPT_EXCLUSIVE_AREA_01) @06a14a80
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Pit_Ip_SetChainMode.constprop/42 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Enter_Gpt_GPT_EXCLUSIVE_AREA_01/35 (SchM_Enter_Gpt_GPT_EXCLUSIVE_AREA_01) @06a149a0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Pit_Ip_SetChainMode.constprop/42 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Exit_Gpt_GPT_EXCLUSIVE_AREA_03/34 (SchM_Exit_Gpt_GPT_EXCLUSIVE_AREA_03) @06a05d20
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Pit_Ip_ClearInterruptFlag/13 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Enter_Gpt_GPT_EXCLUSIVE_AREA_03/33 (SchM_Enter_Gpt_GPT_EXCLUSIVE_AREA_03) @06a05c40
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Pit_Ip_ClearInterruptFlag/13 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Exit_Gpt_GPT_EXCLUSIVE_AREA_02/32 (SchM_Exit_Gpt_GPT_EXCLUSIVE_AREA_02) @06a05a80
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Pit_Ip_EnableInterrupt/12 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Enter_Gpt_GPT_EXCLUSIVE_AREA_02/31 (SchM_Enter_Gpt_GPT_EXCLUSIVE_AREA_02) @06a059a0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Pit_Ip_EnableInterrupt/12 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Exit_Gpt_GPT_EXCLUSIVE_AREA_00/30 (SchM_Exit_Gpt_GPT_EXCLUSIVE_AREA_00) @06a057e0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Pit_Ip_EnableTimer/5 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Enter_Gpt_GPT_EXCLUSIVE_AREA_00/29 (SchM_Enter_Gpt_GPT_EXCLUSIVE_AREA_00) @06a05700
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Pit_Ip_EnableTimer/5 (1073741824 (estimated locally),1.00 per call)
Calls:
PIT_0_ISR/28 (PIT_0_ISR) @06a867e0
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:178992762 (estimated locally) body optimize_size
Called by:
Calls: Pit_Ip_ProcessCommonInterrupt.constprop/41 (181097210 (estimated locally),1.01 per call) Pit_Ip_GetInterruptFlags/3 (894749063 (estimated locally),5.00 per call)
Pit_Ip_GetLifetimeTimer/27 (Pit_Ip_GetLifetimeTimer) @06a862a0
Type: function definition analyzed
Visibility: externally_visible public
References: pitBase/0 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
Pit_Ip_SetLifetimeTimerCount/26 (Pit_Ip_SetLifetimeTimerCount) @06a86ee0
Type: function definition analyzed
Visibility: externally_visible public
References: pitBase/0 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: Pit_Ip_EnableTimer/5 (1073741824 (estimated locally),1.00 per call) Pit_Ip_EnableTimer/5 (1073741824 (estimated locally),1.00 per call) Pit_Ip_SetChainMode.constprop/42 (1073741824 (estimated locally),1.00 per call) Pit_Ip_EnableInterrupt/12 (1073741824 (estimated locally),1.00 per call)
Pit_Ip_DisableChannelInterrupt/25 (Pit_Ip_DisableChannelInterrupt) @06a86c40
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: Pit_Ip_ClearInterruptFlag/13 (1073741824 (estimated locally),1.00 per call) Pit_Ip_EnableInterrupt/12 (1073741824 (estimated locally),1.00 per call)
Pit_Ip_EnableChannelInterrupt/24 (Pit_Ip_EnableChannelInterrupt) @06a869a0
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: Pit_Ip_EnableInterrupt/12 (1073741824 (estimated locally),1.00 per call) Pit_Ip_ClearInterruptFlag/13 (1073741824 (estimated locally),1.00 per call)
Pit_Ip_GetCurrentTimer/23 (Pit_Ip_GetCurrentTimer) @06a86700
Type: function definition analyzed
Visibility: externally_visible public
References: pitBase/0 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
Pit_Ip_StopChannel/22 (Pit_Ip_StopChannel) @06a86460
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: Pit_Ip_ClearInterruptFlag/13 (1073741824 (estimated locally),1.00 per call) Pit_Ip_EnableTimer/5 (1073741824 (estimated locally),1.00 per call)
Pit_Ip_StartChannel/21 (Pit_Ip_StartChannel) @06a861c0
Type: function definition analyzed
Visibility: externally_visible public
References: pitBase/0 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: Pit_Ip_EnableTimer/5 (354334802 (estimated locally),0.33 per call)
Pit_Ip_Deinit/20 (Pit_Ip_Deinit) @06a7fd20
Type: function definition analyzed
Visibility: externally_visible public
References: CSWTCH.21/37 (read)CSWTCH.22/38 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: Pit_Ip_Reset/8 (1073741824 (estimated locally),1.00 per call)
Pit_Ip_InitChannel/19 (Pit_Ip_InitChannel) @06a7f7e0
Type: function definition analyzed
Visibility: externally_visible public
References: Pit_Ip_u32ChState/1 (write)Pit_Ip_u32ChState/1 (write)Pit_Ip_u32ChState/1 (write)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: Pit_Ip_ClearInterruptFlag/13 (1073741824 (estimated locally),1.00 per call) Pit_Ip_EnableInterrupt/12 (1073741824 (estimated locally),1.00 per call) Pit_Ip_EnableTimer/5 (1073741824 (estimated locally),1.00 per call)
Pit_Ip_Init/18 (Pit_Ip_Init) @06a7f2a0
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: Pit_Ip_SetDebugMode/6 (1073741824 (estimated locally),1.00 per call) Pit_Ip_EnableModule.constprop/43 (354334802 (estimated locally),0.33 per call)
Pit_Ip_ProcessCommonInterrupt/17 (Pit_Ip_ProcessCommonInterrupt) @06a7fee0
Type: function
Body removed by symtab_remove_unreachable_nodes
Visibility: prevailing_def_ironly
References:
Referring:
Availability: not_available
Function flags: count:1073741823 (estimated locally) body optimize_size
Called by:
Calls:
Pit_Ip_ClearInterruptFlag/13 (Pit_Ip_ClearInterruptFlag) @06a7f460
Type: function definition analyzed
Visibility: prevailing_def_ironly
References: pitBase/0 (read)
Referring:
Availability: local
Function flags: count:1073741824 (estimated locally) body local optimize_size
Called by: Pit_Ip_ProcessCommonInterrupt.constprop/41 (1073741823 (estimated locally),1.00 per call) Pit_Ip_DisableChannelInterrupt/25 (1073741824 (estimated locally),1.00 per call) Pit_Ip_EnableChannelInterrupt/24 (1073741824 (estimated locally),1.00 per call) Pit_Ip_StopChannel/22 (1073741824 (estimated locally),1.00 per call) Pit_Ip_InitChannel/19 (1073741824 (estimated locally),1.00 per call)
Calls: SchM_Exit_Gpt_GPT_EXCLUSIVE_AREA_03/34 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Gpt_GPT_EXCLUSIVE_AREA_03/33 (1073741824 (estimated locally),1.00 per call)
Pit_Ip_EnableInterrupt/12 (Pit_Ip_EnableInterrupt) @06a7f1c0
Type: function definition analyzed
Visibility: prevailing_def_ironly
References: pitBase/0 (read)pitBase/0 (read)
Referring:
Availability: local
Function flags: count:1073741824 (estimated locally) body local optimize_size
Called by: Pit_Ip_SetLifetimeTimerCount/26 (1073741824 (estimated locally),1.00 per call) Pit_Ip_DisableChannelInterrupt/25 (1073741824 (estimated locally),1.00 per call) Pit_Ip_EnableChannelInterrupt/24 (1073741824 (estimated locally),1.00 per call) Pit_Ip_InitChannel/19 (1073741824 (estimated locally),1.00 per call)
Calls: SchM_Exit_Gpt_GPT_EXCLUSIVE_AREA_02/32 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Gpt_GPT_EXCLUSIVE_AREA_02/31 (1073741824 (estimated locally),1.00 per call)
Pit_Ip_Reset/8 (Pit_Ip_Reset) @069749a0
Type: function definition analyzed
Visibility: prevailing_def_ironly
References: pitBase/0 (read)pitBase/0 (read)pitBase/0 (read)
Referring:
Availability: local
Function flags: count:118111600 (estimated locally) body local optimize_size
Called by: Pit_Ip_Deinit/20 (1073741824 (estimated locally),1.00 per call)
Calls:
Pit_Ip_SetChainMode/7 (Pit_Ip_SetChainMode) @0696e8c0
Type: function
Body removed by symtab_remove_unreachable_nodes
Visibility: prevailing_def_ironly
References:
Referring:
Availability: not_available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
Pit_Ip_SetDebugMode/6 (Pit_Ip_SetDebugMode) @0696e380
Type: function definition analyzed
Visibility: prevailing_def_ironly
References: pitBase/0 (read)pitBase/0 (read)
Referring:
Availability: local
Function flags: count:1073741824 (estimated locally) body local optimize_size
Called by: Pit_Ip_Init/18 (1073741824 (estimated locally),1.00 per call)
Calls:
Pit_Ip_EnableTimer/5 (Pit_Ip_EnableTimer) @0696ed20
Type: function definition analyzed
Visibility: prevailing_def_ironly
References: pitBase/0 (read)pitBase/0 (read)
Referring:
Availability: local
Function flags: count:1073741824 (estimated locally) body local optimize_size
Called by: Pit_Ip_SetLifetimeTimerCount/26 (1073741824 (estimated locally),1.00 per call) Pit_Ip_SetLifetimeTimerCount/26 (1073741824 (estimated locally),1.00 per call) Pit_Ip_StopChannel/22 (1073741824 (estimated locally),1.00 per call) Pit_Ip_StartChannel/21 (354334802 (estimated locally),0.33 per call) Pit_Ip_InitChannel/19 (1073741824 (estimated locally),1.00 per call)
Calls: SchM_Exit_Gpt_GPT_EXCLUSIVE_AREA_00/30 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Gpt_GPT_EXCLUSIVE_AREA_00/29 (1073741824 (estimated locally),1.00 per call)
Pit_Ip_EnableModule/4 (Pit_Ip_EnableModule) @0696ea80
Type: function
Body removed by symtab_remove_unreachable_nodes
Visibility: prevailing_def_ironly
References:
Referring:
Availability: not_available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
Pit_Ip_GetInterruptFlags/3 (Pit_Ip_GetInterruptFlags) @0696e7e0
Type: function definition analyzed
Visibility: externally_visible public
References: pitBase/0 (read)pitBase/0 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by: Pit_Ip_ProcessCommonInterrupt.constprop/41 (1073741823 (estimated locally),1.00 per call) PIT_0_ISR/28 (894749063 (estimated locally),5.00 per call)
Calls:
Pit_Ip_GetLoadValue/2 (Pit_Ip_GetLoadValue) @0696e540
Type: function definition analyzed
Visibility: externally_visible public
References: pitBase/0 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
Pit_Ip_u32ChState/1 (Pit_Ip_u32ChState) @0696c000
Type: variable definition analyzed
Visibility: prevailing_def_ironly
References:
Referring: Pit_Ip_ProcessCommonInterrupt.constprop.0/41 (read)Pit_Ip_ProcessCommonInterrupt.constprop.0/41 (read)Pit_Ip_ProcessCommonInterrupt.constprop.0/41 (read)Pit_Ip_InitChannel/19 (write)Pit_Ip_InitChannel/19 (write)Pit_Ip_InitChannel/19 (write)
Availability: available
Varpool flags: initialized
pitBase/0 (pitBase) @06965ea0
Type: variable definition analyzed
Visibility: externally_visible public
References:
Referring: Pit_Ip_ClearInterruptFlag/13 (read)Pit_Ip_EnableModule.constprop.0/43 (read)Pit_Ip_SetChainMode.constprop.0/42 (read)Pit_Ip_GetInterruptFlags/3 (read)Pit_Ip_GetCurrentTimer/23 (read)Pit_Ip_EnableInterrupt/12 (read)Pit_Ip_StartChannel/21 (read)Pit_Ip_SetChainMode.constprop.0/42 (read)Pit_Ip_GetLoadValue/2 (read)Pit_Ip_SetDebugMode/6 (read)Pit_Ip_Reset/8 (read)Pit_Ip_SetDebugMode/6 (read)Pit_Ip_GetInterruptFlags/3 (read)Pit_Ip_ProcessCommonInterrupt.constprop.0/41 (read)Pit_Ip_Reset/8 (read)Pit_Ip_Reset/8 (read)Pit_Ip_SetLifetimeTimerCount/26 (read)Pit_Ip_EnableTimer/5 (read)Pit_Ip_EnableTimer/5 (read)Pit_Ip_EnableInterrupt/12 (read)Pit_Ip_GetLifetimeTimer/27 (read)
Availability: available
Varpool flags: initialized read-only const-value-known
PIT_0_ISR ()
{
uint32 temp;
uint8 channel;
<bb 2> [local count: 178992762]:
# DEBUG BEGIN_STMT
# DEBUG instance => 0
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG temp => 0
# DEBUG BEGIN_STMT
# DEBUG channel => 0
goto <bb 6>; [100.00%]
<bb 3> [local count: 894749063]:
# DEBUG BEGIN_STMT
temp_6 = Pit_Ip_GetInterruptFlags (0, channel_1);
# DEBUG temp => temp_6
# DEBUG BEGIN_STMT
if (temp_6 == 1)
goto <bb 4>; [20.24%]
else
goto <bb 5>; [79.76%]
<bb 4> [local count: 181097210]:
# DEBUG BEGIN_STMT
Pit_Ip_ProcessCommonInterrupt (0, channel_1);
<bb 5> [local count: 894749063]:
# DEBUG BEGIN_STMT
channel_8 = channel_1 + 1;
# DEBUG channel => channel_8
<bb 6> [local count: 1073741824]:
# channel_1 = PHI <0(2), channel_8(5)>
# DEBUG channel => channel_1
# DEBUG BEGIN_STMT
if (channel_1 != 5)
goto <bb 3>; [83.33%]
else
goto <bb 7>; [16.67%]
<bb 7> [local count: 178992762]:
return;
}
Pit_Ip_GetLifetimeTimer (uint8 instance)
{
uint32 upperValue;
uint32 lowerValue;
uint64 lifeTimeValue;
long long unsigned int _1;
long long unsigned int _2;
long long unsigned int _3;
int _8;
struct PIT_Type * _9;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG lifeTimeValue => 0
# DEBUG BEGIN_STMT
# DEBUG valueH => 0
# DEBUG BEGIN_STMT
# DEBUG valueL => 0
# DEBUG BEGIN_STMT
# DEBUG instance => instance_5(D)
# DEBUG INLINE_ENTRY Pit_Ip_GetUpperLifetimerValue
# DEBUG BEGIN_STMT
# DEBUG upperValue => 0
# DEBUG BEGIN_STMT
_8 = (int) instance_5(D);
_9 = pitBase[_8];
upperValue_10 ={v} _9->LTMR64H;
# DEBUG upperValue => upperValue_10
# DEBUG BEGIN_STMT
# DEBUG instance => NULL
# DEBUG upperValue => NULL
# DEBUG valueH => upperValue_10
# DEBUG BEGIN_STMT
# DEBUG instance => instance_5(D)
# DEBUG INLINE_ENTRY Pit_Ip_GetLowerLifetimerValue
# DEBUG BEGIN_STMT
# DEBUG lowerValue => 0
# DEBUG BEGIN_STMT
lowerValue_7 ={v} _9->LTMR64L;
# DEBUG lowerValue => lowerValue_7
# DEBUG BEGIN_STMT
# DEBUG instance => NULL
# DEBUG lowerValue => NULL
# DEBUG valueL => lowerValue_7
# DEBUG BEGIN_STMT
_1 = (long long unsigned int) upperValue_10;
_2 = _1 << 32;
_3 = (long long unsigned int) lowerValue_7;
lifeTimeValue_6 = _2 + _3;
# DEBUG lifeTimeValue => lifeTimeValue_6
# DEBUG BEGIN_STMT
return lifeTimeValue_6;
}
Pit_Ip_SetLifetimeTimerCount (uint8 instance)
{
int _7;
struct PIT_Type * _8;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG instance => instance_2(D)
# DEBUG channel => 1
# DEBUG value => 4294967295
# DEBUG INLINE_ENTRY Pit_Ip_SetCounterValue
# DEBUG BEGIN_STMT
_7 = (int) instance_2(D);
_8 = pitBase[_7];
_8->TIMER[1].LDVAL ={v} 4294967295;
# DEBUG instance => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
Pit_Ip_EnableInterrupt (instance_2(D), 1, 0);
# DEBUG BEGIN_STMT
Pit_Ip_SetChainMode (instance_2(D), 1, 1);
# DEBUG BEGIN_STMT
Pit_Ip_EnableTimer (instance_2(D), 1, 1);
# DEBUG BEGIN_STMT
# DEBUG instance => instance_2(D)
# DEBUG channel => 0
# DEBUG value => 4294967295
# DEBUG INLINE_ENTRY Pit_Ip_SetCounterValue
# DEBUG BEGIN_STMT
_8->TIMER[0].LDVAL ={v} 4294967295;
# DEBUG instance => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
Pit_Ip_EnableTimer (instance_2(D), 0, 1);
return;
}
Pit_Ip_DisableChannelInterrupt (uint8 instance, uint8 channel)
{
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
Pit_Ip_EnableInterrupt (instance_2(D), channel_3(D), 0);
# DEBUG BEGIN_STMT
Pit_Ip_ClearInterruptFlag (instance_2(D), channel_3(D));
return;
}
Pit_Ip_EnableChannelInterrupt (uint8 instance, uint8 channel)
{
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
Pit_Ip_ClearInterruptFlag (instance_2(D), channel_3(D));
# DEBUG BEGIN_STMT
Pit_Ip_EnableInterrupt (instance_2(D), channel_3(D), 1);
return;
}
Pit_Ip_GetCurrentTimer (uint8 instance, uint8 channel)
{
uint32 counterValue;
uint64 counterValue;
int _5;
struct PIT_Type * _6;
int _7;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG counterValue => 0
# DEBUG BEGIN_STMT
# DEBUG instance => instance_2(D)
# DEBUG channel => channel_3(D)
# DEBUG INLINE_ENTRY Pit_Ip_GetCounterValue
# DEBUG BEGIN_STMT
# DEBUG counterValue => 0
# DEBUG BEGIN_STMT
_5 = (int) instance_2(D);
_6 = pitBase[_5];
_7 = (int) channel_3(D);
counterValue_8 ={v} _6->TIMER[_7].CVAL;
# DEBUG counterValue => counterValue_8
# DEBUG BEGIN_STMT
# DEBUG instance => NULL
# DEBUG channel => NULL
# DEBUG counterValue => NULL
counterValue_4 = (uint64) counterValue_8;
# DEBUG counterValue => counterValue_4
# DEBUG BEGIN_STMT
return counterValue_4;
}
Pit_Ip_StopChannel (uint8 instance, uint8 channel)
{
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
Pit_Ip_EnableTimer (instance_2(D), channel_3(D), 0);
# DEBUG BEGIN_STMT
Pit_Ip_ClearInterruptFlag (instance_2(D), channel_3(D));
return;
}
Pit_Ip_StartChannel (uint8 instance, uint8 channel, uint32 countValue)
{
boolean isRunning;
long unsigned int _1;
int _8;
struct PIT_Type * _9;
int _10;
long unsigned int _11;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG isRunning => 0
# DEBUG BEGIN_STMT
# DEBUG instance => instance_4(D)
# DEBUG channel => channel_5(D)
# DEBUG INLINE_ENTRY Pit_Ip_IsChannelRunning
# DEBUG BEGIN_STMT
# DEBUG isRunning => 0
# DEBUG BEGIN_STMT
_8 = (int) instance_4(D);
_9 = pitBase[_8];
_10 = (int) channel_5(D);
_11 ={v} _9->TIMER[_10].TCTRL;
isRunning_12 = (boolean) _11;
# DEBUG isRunning => isRunning_12
# DEBUG BEGIN_STMT
# DEBUG instance => NULL
# DEBUG channel => NULL
# DEBUG isRunning => NULL
# DEBUG isRunning => isRunning_12
# DEBUG BEGIN_STMT
if (isRunning_12 != 0)
goto <bb 4>; [67.00%]
else
goto <bb 3>; [33.00%]
<bb 3> [local count: 354334802]:
# DEBUG BEGIN_STMT
_1 = countValue_6(D) + 4294967295;
# DEBUG instance => instance_4(D)
# DEBUG channel => channel_5(D)
# DEBUG value => _1
# DEBUG INLINE_ENTRY Pit_Ip_SetCounterValue
# DEBUG BEGIN_STMT
_9->TIMER[_10].LDVAL ={v} _1;
# DEBUG instance => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
Pit_Ip_EnableTimer (instance_4(D), channel_5(D), 1);
<bb 4> [local count: 1073741824]:
return;
}
Pit_Ip_Deinit (uint8 instance)
{
boolean rtiChannelExists;
uint8 channelNum;
unsigned char _1;
unsigned char _5;
_Bool _8;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG channelNum => 0
# DEBUG BEGIN_STMT
# DEBUG rtiChannelExists => 0
# DEBUG BEGIN_STMT
_1 = instance_6(D);
if (_1 <= 2)
goto <bb 4>; [50.00%]
else
goto <bb 3>; [50.00%]
<bb 3> [local count: 536870913]:
<L6>:
channelNum_9 = 0;
rtiChannelExists_10 = 0;
goto <bb 5>; [100.00%]
<bb 4> [local count: 536870913]:
<L7>:
_5 = CSWTCH.21[_1];
channelNum_4 = _5;
_8 = CSWTCH.22[_1];
rtiChannelExists_7 = _8;
<bb 5> [local count: 1073741824]:
# channelNum_2 = PHI <channelNum_4(4), channelNum_9(3)>
# rtiChannelExists_3 = PHI <rtiChannelExists_7(4), rtiChannelExists_10(3)>
<L8>:
<L5>:
# DEBUG rtiChannelExists => rtiChannelExists_3
# DEBUG channelNum => channelNum_2
# DEBUG BEGIN_STMT
Pit_Ip_Reset (instance_6(D), channelNum_2, rtiChannelExists_3);
return;
}
Pit_Ip_InitChannel (uint8 instance, const struct Pit_Ip_ChannelConfigType * chnlConfig)
{
unsigned char _1;
unsigned char _2;
unsigned char _3;
int _4;
unsigned char _5;
int _6;
void (*<T2d2>) (uint8) _7;
unsigned char _8;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = chnlConfig_10(D)->hwChannel;
Pit_Ip_EnableTimer (instance_11(D), _1, 0);
# DEBUG BEGIN_STMT
_2 = chnlConfig_10(D)->hwChannel;
Pit_Ip_EnableInterrupt (instance_11(D), _2, 0);
# DEBUG BEGIN_STMT
_3 = chnlConfig_10(D)->hwChannel;
Pit_Ip_ClearInterruptFlag (instance_11(D), _3);
# DEBUG BEGIN_STMT
_4 = (int) instance_11(D);
_5 = chnlConfig_10(D)->hwChannel;
_6 = (int) _5;
Pit_Ip_u32ChState[_4][_6].chInit = 1;
# DEBUG BEGIN_STMT
_7 = chnlConfig_10(D)->callback;
Pit_Ip_u32ChState[_4][_6].callback = _7;
# DEBUG BEGIN_STMT
_8 = chnlConfig_10(D)->callbackParam;
Pit_Ip_u32ChState[_4][_6].callbackParam = _8;
return;
}
Pit_Ip_Init (uint8 instance, const struct Pit_Ip_InstanceConfigType * config)
{
_Bool _1;
_Bool _2;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_1 = config_5(D)->enableStandardTimers;
if (_1 != 0)
goto <bb 3>; [33.00%]
else
goto <bb 4>; [67.00%]
<bb 3> [local count: 354334802]:
# DEBUG BEGIN_STMT
Pit_Ip_EnableModule (instance_6(D), 0);
<bb 4> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = config_5(D)->stopRunInDebug;
Pit_Ip_SetDebugMode (instance_6(D), _2);
return;
}
Pit_Ip_ClearInterruptFlag (uint8 instance, uint8 channel)
{
int _1;
struct PIT_Type * _2;
int _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
SchM_Enter_Gpt_GPT_EXCLUSIVE_AREA_03 ();
# DEBUG BEGIN_STMT
_1 = (int) instance_8(D);
_2 = pitBase[_1];
_3 = (int) channel_9(D);
_4 ={v} _2->TIMER[_3].TFLG;
_5 = _4 | 1;
_2->TIMER[_3].TFLG ={v} _5;
# DEBUG BEGIN_STMT
SchM_Exit_Gpt_GPT_EXCLUSIVE_AREA_03 ();
return;
}
Pit_Ip_EnableInterrupt (uint8 instance, uint8 channel, boolean enable)
{
int _1;
struct PIT_Type * _2;
int _3;
long unsigned int _4;
long unsigned int _5;
int _6;
struct PIT_Type * _7;
int _8;
long unsigned int _9;
long unsigned int _10;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
SchM_Enter_Gpt_GPT_EXCLUSIVE_AREA_02 ();
# DEBUG BEGIN_STMT
if (enable_14(D) != 0)
goto <bb 3>; [50.00%]
else
goto <bb 4>; [50.00%]
<bb 3> [local count: 536870913]:
# DEBUG BEGIN_STMT
_1 = (int) instance_15(D);
_2 = pitBase[_1];
_3 = (int) channel_16(D);
_4 ={v} _2->TIMER[_3].TCTRL;
_5 = _4 | 2;
_2->TIMER[_3].TCTRL ={v} _5;
goto <bb 5>; [100.00%]
<bb 4> [local count: 536870913]:
# DEBUG BEGIN_STMT
_6 = (int) instance_15(D);
_7 = pitBase[_6];
_8 = (int) channel_16(D);
_9 ={v} _7->TIMER[_8].TCTRL;
_10 = _9 & 4294967293;
_7->TIMER[_8].TCTRL ={v} _10;
<bb 5> [local count: 1073741824]:
# DEBUG BEGIN_STMT
SchM_Exit_Gpt_GPT_EXCLUSIVE_AREA_02 ();
return;
}
Pit_Ip_Reset (uint8 instance, uint8 channelNum, boolean available)
{
uint8 i;
uint32 channelIndex;
uint32 mask;
int _1;
struct PIT_Type * _2;
int _3;
struct PIT_Type * _4;
int _5;
long unsigned int _6;
int _7;
struct PIT_Type * _8;
<bb 2> [local count: 118111600]:
# DEBUG BEGIN_STMT
# DEBUG mask => 0
# DEBUG BEGIN_STMT
channelIndex_15 = (uint32) channelNum_14(D);
# DEBUG channelIndex => channelIndex_15
# DEBUG BEGIN_STMT
if (available_16(D) != 0)
goto <bb 3>; [50.00%]
else
goto <bb 4>; [50.00%]
<bb 3> [local count: 59055800]:
# DEBUG BEGIN_STMT
channelIndex_18 = channelIndex_15 + 4294967295;
# DEBUG channelIndex => channelIndex_18
# DEBUG BEGIN_STMT
_1 = (int) instance_19(D);
_2 = pitBase[_1];
_2->RTI_TCTRL ={v} 0;
# DEBUG BEGIN_STMT
_2->RTI_LDVAL ={v} 0;
# DEBUG BEGIN_STMT
_2->RTI_TFLG ={v} 1;
# DEBUG BEGIN_STMT
# DEBUG mask => 6
<bb 4> [local count: 118111600]:
# mask_9 = PHI <6(3), 2(2)>
# channelIndex_10 = PHI <channelIndex_18(3), channelIndex_15(2)>
# DEBUG channelIndex => channelIndex_10
# DEBUG mask => mask_9
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 6>; [100.00%]
<bb 5> [local count: 955630223]:
# DEBUG BEGIN_STMT
_3 = (int) instance_19(D);
_4 = pitBase[_3];
_5 = (int) i_11;
_4->TIMER[_5].TCTRL ={v} 0;
# DEBUG BEGIN_STMT
_4->TIMER[_5].LDVAL ={v} 0;
# DEBUG BEGIN_STMT
_4->TIMER[_5].TFLG ={v} 1;
# DEBUG BEGIN_STMT
i_27 = i_11 + 1;
# DEBUG i => i_27
<bb 6> [local count: 1073741824]:
# i_11 = PHI <0(4), i_27(5)>
# DEBUG i => i_11
# DEBUG BEGIN_STMT
_6 = (long unsigned int) i_11;
if (_6 < channelIndex_10)
goto <bb 5>; [89.00%]
else
goto <bb 7>; [11.00%]
<bb 7> [local count: 118111601]:
# DEBUG BEGIN_STMT
_7 = (int) instance_19(D);
_8 = pitBase[_7];
_8->MCR ={v} mask_9;
return;
}
Pit_Ip_SetDebugMode (uint8 instance, boolean stopRun)
{
int _1;
struct PIT_Type * _2;
long unsigned int _3;
long unsigned int _4;
int _5;
struct PIT_Type * _6;
long unsigned int _7;
long unsigned int _8;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
if (stopRun_10(D) != 0)
goto <bb 3>; [50.00%]
else
goto <bb 4>; [50.00%]
<bb 3> [local count: 536870913]:
# DEBUG BEGIN_STMT
_1 = (int) instance_11(D);
_2 = pitBase[_1];
_3 ={v} _2->MCR;
_4 = _3 | 1;
_2->MCR ={v} _4;
goto <bb 5>; [100.00%]
<bb 4> [local count: 536870913]:
# DEBUG BEGIN_STMT
_5 = (int) instance_11(D);
_6 = pitBase[_5];
_7 ={v} _6->MCR;
_8 = _7 & 4294967294;
_6->MCR ={v} _8;
<bb 5> [local count: 1073741824]:
return;
}
Pit_Ip_EnableTimer (uint8 instance, uint8 channel, boolean enable)
{
int _1;
struct PIT_Type * _2;
int _3;
long unsigned int _4;
long unsigned int _5;
int _6;
struct PIT_Type * _7;
int _8;
long unsigned int _9;
long unsigned int _10;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
SchM_Enter_Gpt_GPT_EXCLUSIVE_AREA_00 ();
# DEBUG BEGIN_STMT
if (enable_14(D) != 0)
goto <bb 3>; [50.00%]
else
goto <bb 4>; [50.00%]
<bb 3> [local count: 536870913]:
# DEBUG BEGIN_STMT
_1 = (int) instance_15(D);
_2 = pitBase[_1];
_3 = (int) channel_16(D);
_4 ={v} _2->TIMER[_3].TCTRL;
_5 = _4 | 1;
_2->TIMER[_3].TCTRL ={v} _5;
goto <bb 5>; [100.00%]
<bb 4> [local count: 536870913]:
# DEBUG BEGIN_STMT
_6 = (int) instance_15(D);
_7 = pitBase[_6];
_8 = (int) channel_16(D);
_9 ={v} _7->TIMER[_8].TCTRL;
_10 = _9 & 4294967294;
_7->TIMER[_8].TCTRL ={v} _10;
<bb 5> [local count: 1073741824]:
# DEBUG BEGIN_STMT
SchM_Exit_Gpt_GPT_EXCLUSIVE_AREA_00 ();
return;
}
Pit_Ip_GetInterruptFlags (uint8 instance, uint8 channel)
{
uint32 returnFlag;
int _1;
struct PIT_Type * _2;
long unsigned int _3;
int _4;
struct PIT_Type * _5;
int _6;
long unsigned int _7;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG returnFlag => 0
# DEBUG BEGIN_STMT
if (channel_9(D) == 4)
goto <bb 3>; [34.00%]
else
goto <bb 4>; [66.00%]
<bb 3> [local count: 365072220]:
# DEBUG BEGIN_STMT
_1 = (int) instance_10(D);
_2 = pitBase[_1];
_3 ={v} _2->RTI_TFLG;
returnFlag_13 = _3 & 1;
# DEBUG returnFlag => returnFlag_13
goto <bb 5>; [100.00%]
<bb 4> [local count: 708669605]:
# DEBUG BEGIN_STMT
_4 = (int) instance_10(D);
_5 = pitBase[_4];
_6 = (int) channel_9(D);
_7 ={v} _5->TIMER[_6].TFLG;
returnFlag_12 = _7 & 1;
# DEBUG returnFlag => returnFlag_12
<bb 5> [local count: 1073741824]:
# returnFlag_8 = PHI <returnFlag_13(3), returnFlag_12(4)>
# DEBUG returnFlag => returnFlag_8
# DEBUG BEGIN_STMT
return returnFlag_8;
}
Pit_Ip_GetLoadValue (uint8 instance, uint8 channel)
{
uint32 periodValue;
int _1;
struct PIT_Type * _2;
int _3;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG periodValue => 0
# DEBUG BEGIN_STMT
_1 = (int) instance_4(D);
_2 = pitBase[_1];
_3 = (int) channel_6(D);
periodValue_7 ={v} _2->TIMER[_3].LDVAL;
# DEBUG periodValue => periodValue_7
# DEBUG BEGIN_STMT
return periodValue_7;
}