mirror of
https://github.com/Dev-KATECH/ADM.git
synced 2026-05-17 09:53:59 +09:00
1379 lines
46 KiB
C++
1379 lines
46 KiB
C++
|
|
IPA constant propagation start:
|
|
|
|
IPA structures before propagation:
|
|
|
|
Jump functions:
|
|
Jump functions of caller SchM_Exit_Gpt_GPT_EXCLUSIVE_AREA_01/36:
|
|
Jump functions of caller SchM_Enter_Gpt_GPT_EXCLUSIVE_AREA_01/35:
|
|
Jump functions of caller SchM_Exit_Gpt_GPT_EXCLUSIVE_AREA_03/34:
|
|
Jump functions of caller SchM_Enter_Gpt_GPT_EXCLUSIVE_AREA_03/33:
|
|
Jump functions of caller SchM_Exit_Gpt_GPT_EXCLUSIVE_AREA_02/32:
|
|
Jump functions of caller SchM_Enter_Gpt_GPT_EXCLUSIVE_AREA_02/31:
|
|
Jump functions of caller SchM_Exit_Gpt_GPT_EXCLUSIVE_AREA_00/30:
|
|
Jump functions of caller SchM_Enter_Gpt_GPT_EXCLUSIVE_AREA_00/29:
|
|
Jump functions of caller PIT_0_ISR/28:
|
|
callsite PIT_0_ISR/28 -> Pit_Ip_ProcessCommonInterrupt/17 :
|
|
param 0: CONST: 0
|
|
value: 0x0, mask: 0x0
|
|
Unknown VR
|
|
param 1: UNKNOWN
|
|
value: 0x0, mask: 0x7
|
|
VR [0, 5]
|
|
callsite PIT_0_ISR/28 -> Pit_Ip_GetInterruptFlags/3 :
|
|
param 0: CONST: 0
|
|
value: 0x0, mask: 0x0
|
|
Unknown VR
|
|
param 1: UNKNOWN
|
|
value: 0x0, mask: 0x7
|
|
VR [0, 5]
|
|
Jump functions of caller Pit_Ip_GetLifetimeTimer/27:
|
|
Jump functions of caller Pit_Ip_SetLifetimeTimerCount/26:
|
|
callsite Pit_Ip_SetLifetimeTimerCount/26 -> Pit_Ip_EnableTimer/5 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 1: CONST: 0
|
|
value: 0x0, mask: 0x0
|
|
Unknown VR
|
|
param 2: CONST: 1
|
|
value: 0x1, mask: 0x0
|
|
Unknown VR
|
|
callsite Pit_Ip_SetLifetimeTimerCount/26 -> Pit_Ip_EnableTimer/5 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 1: CONST: 1
|
|
value: 0x1, mask: 0x0
|
|
Unknown VR
|
|
param 2: CONST: 1
|
|
value: 0x1, mask: 0x0
|
|
Unknown VR
|
|
callsite Pit_Ip_SetLifetimeTimerCount/26 -> Pit_Ip_SetChainMode/7 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 1: CONST: 1
|
|
value: 0x1, mask: 0x0
|
|
Unknown VR
|
|
param 2: CONST: 1
|
|
value: 0x1, mask: 0x0
|
|
Unknown VR
|
|
callsite Pit_Ip_SetLifetimeTimerCount/26 -> Pit_Ip_EnableInterrupt/12 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 1: CONST: 1
|
|
value: 0x1, mask: 0x0
|
|
Unknown VR
|
|
param 2: CONST: 0
|
|
value: 0x0, mask: 0x0
|
|
Unknown VR
|
|
Jump functions of caller Pit_Ip_DisableChannelInterrupt/25:
|
|
callsite Pit_Ip_DisableChannelInterrupt/25 -> Pit_Ip_ClearInterruptFlag/13 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 1: PASS THROUGH: 1, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
callsite Pit_Ip_DisableChannelInterrupt/25 -> Pit_Ip_EnableInterrupt/12 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 1: PASS THROUGH: 1, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 2: CONST: 0
|
|
value: 0x0, mask: 0x0
|
|
Unknown VR
|
|
Jump functions of caller Pit_Ip_EnableChannelInterrupt/24:
|
|
callsite Pit_Ip_EnableChannelInterrupt/24 -> Pit_Ip_EnableInterrupt/12 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 1: PASS THROUGH: 1, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 2: CONST: 1
|
|
value: 0x1, mask: 0x0
|
|
Unknown VR
|
|
callsite Pit_Ip_EnableChannelInterrupt/24 -> Pit_Ip_ClearInterruptFlag/13 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 1: PASS THROUGH: 1, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
Jump functions of caller Pit_Ip_GetCurrentTimer/23:
|
|
Jump functions of caller Pit_Ip_StopChannel/22:
|
|
callsite Pit_Ip_StopChannel/22 -> Pit_Ip_ClearInterruptFlag/13 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 1: PASS THROUGH: 1, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
callsite Pit_Ip_StopChannel/22 -> Pit_Ip_EnableTimer/5 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 1: PASS THROUGH: 1, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 2: CONST: 0
|
|
value: 0x0, mask: 0x0
|
|
Unknown VR
|
|
Jump functions of caller Pit_Ip_StartChannel/21:
|
|
callsite Pit_Ip_StartChannel/21 -> Pit_Ip_EnableTimer/5 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 1: PASS THROUGH: 1, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 2: CONST: 1
|
|
value: 0x1, mask: 0x0
|
|
Unknown VR
|
|
Jump functions of caller Pit_Ip_Deinit/20:
|
|
callsite Pit_Ip_Deinit/20 -> Pit_Ip_Reset/8 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 1: UNKNOWN
|
|
value: 0x0, mask: 0x5
|
|
VR [0, 5]
|
|
param 2: UNKNOWN
|
|
value: 0x0, mask: 0x1
|
|
Unknown VR
|
|
Jump functions of caller Pit_Ip_InitChannel/19:
|
|
callsite Pit_Ip_InitChannel/19 -> Pit_Ip_ClearInterruptFlag/13 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 1: UNKNOWN
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
callsite Pit_Ip_InitChannel/19 -> Pit_Ip_EnableInterrupt/12 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 1: UNKNOWN
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 2: CONST: 0
|
|
value: 0x0, mask: 0x0
|
|
Unknown VR
|
|
callsite Pit_Ip_InitChannel/19 -> Pit_Ip_EnableTimer/5 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 1: UNKNOWN
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 2: CONST: 0
|
|
value: 0x0, mask: 0x0
|
|
Unknown VR
|
|
Jump functions of caller Pit_Ip_Init/18:
|
|
callsite Pit_Ip_Init/18 -> Pit_Ip_SetDebugMode/6 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 1: UNKNOWN
|
|
value: 0x0, mask: 0x1
|
|
Unknown VR
|
|
callsite Pit_Ip_Init/18 -> Pit_Ip_EnableModule/4 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 1: CONST: 0
|
|
value: 0x0, mask: 0x0
|
|
Unknown VR
|
|
Jump functions of caller Pit_Ip_ProcessCommonInterrupt/17:
|
|
callsite Pit_Ip_ProcessCommonInterrupt/17 -> Pit_Ip_ClearInterruptFlag/13 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 1: PASS THROUGH: 1, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
callsite Pit_Ip_ProcessCommonInterrupt/17 -> Pit_Ip_GetInterruptFlags/3 :
|
|
param 0: PASS THROUGH: 0, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
param 1: PASS THROUGH: 1, op nop_expr
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
indirect simple callsite, calling param -1, offset 0, for stmt _2 (_3);
|
|
param 0: UNKNOWN
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
Jump functions of caller Pit_Ip_ClearInterruptFlag/13:
|
|
Jump functions of caller Pit_Ip_EnableInterrupt/12:
|
|
Jump functions of caller Pit_Ip_Reset/8:
|
|
Jump functions of caller Pit_Ip_SetChainMode/7:
|
|
Jump functions of caller Pit_Ip_SetDebugMode/6:
|
|
Jump functions of caller Pit_Ip_EnableTimer/5:
|
|
Jump functions of caller Pit_Ip_EnableModule/4:
|
|
Jump functions of caller Pit_Ip_GetInterruptFlags/3:
|
|
Jump functions of caller Pit_Ip_GetLoadValue/2:
|
|
|
|
Propagating constants:
|
|
|
|
Not considering PIT_0_ISR for cloning; -fipa-cp-clone disabled.
|
|
Not considering Pit_Ip_GetLifetimeTimer for cloning; -fipa-cp-clone disabled.
|
|
Not considering Pit_Ip_SetLifetimeTimerCount for cloning; -fipa-cp-clone disabled.
|
|
Not considering Pit_Ip_DisableChannelInterrupt for cloning; -fipa-cp-clone disabled.
|
|
Not considering Pit_Ip_EnableChannelInterrupt for cloning; -fipa-cp-clone disabled.
|
|
Not considering Pit_Ip_GetCurrentTimer for cloning; -fipa-cp-clone disabled.
|
|
Not considering Pit_Ip_StopChannel for cloning; -fipa-cp-clone disabled.
|
|
Not considering Pit_Ip_StartChannel for cloning; -fipa-cp-clone disabled.
|
|
Not considering Pit_Ip_Deinit for cloning; -fipa-cp-clone disabled.
|
|
Not considering Pit_Ip_InitChannel for cloning; -fipa-cp-clone disabled.
|
|
Not considering Pit_Ip_Init for cloning; -fipa-cp-clone disabled.
|
|
Not considering Pit_Ip_GetInterruptFlags for cloning; -fipa-cp-clone disabled.
|
|
Not considering Pit_Ip_GetLoadValue for cloning; -fipa-cp-clone disabled.
|
|
|
|
overall_size: 282, max_new_size: 11001
|
|
- context independent values, size: 28, time_benefit: 49.000000
|
|
Decided to specialize for all known contexts, code not going to grow.
|
|
- context independent values, size: 7, time_benefit: 53.000000
|
|
Decided to specialize for all known contexts, code not going to grow.
|
|
- context independent values, size: 6, time_benefit: 3.000000
|
|
Decided to specialize for all known contexts, code not going to grow.
|
|
|
|
IPA lattices after all propagation:
|
|
|
|
Lattices:
|
|
Node: PIT_0_ISR/28:
|
|
Node: Pit_Ip_GetLifetimeTimer/27:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Pit_Ip_SetLifetimeTimerCount/26:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Pit_Ip_DisableChannelInterrupt/25:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Pit_Ip_EnableChannelInterrupt/24:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Pit_Ip_GetCurrentTimer/23:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Pit_Ip_StopChannel/22:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Pit_Ip_StartChannel/21:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [2]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Pit_Ip_Deinit/20:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Pit_Ip_InitChannel/19:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Pit_Ip_Init/18:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Pit_Ip_ProcessCommonInterrupt/17:
|
|
param [0]: 0 [loc_time: 0, loc_size: 0, prop_time: 0, prop_size: 0]
|
|
ctxs: VARIABLE
|
|
Bits: value = 0x0, mask = 0x0
|
|
uint8 [0, 0]
|
|
AGGS VARIABLE
|
|
param [1]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits: value = 0x0, mask = 0x7
|
|
uint8 [0, 5]
|
|
AGGS VARIABLE
|
|
Node: Pit_Ip_ClearInterruptFlag/13:
|
|
param [0]: VARIABLE
|
|
0 [loc_time: 49, loc_size: 9, prop_time: 0, prop_size: 0]
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
param [1]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
Node: Pit_Ip_EnableInterrupt/12:
|
|
param [0]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
param [1]: VARIABLE
|
|
1 [loc_time: 49, loc_size: 15, prop_time: 0, prop_size: 0]
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
param [2]: 1 [loc_time: 3, loc_size: 9, prop_time: 0, prop_size: 0]
|
|
0 [loc_time: 3, loc_size: 9, prop_time: 0, prop_size: 0]
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
boolean [0, 1]
|
|
AGGS VARIABLE
|
|
Node: Pit_Ip_Reset/8:
|
|
param [0]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
param [1]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits: value = 0x0, mask = 0x5
|
|
uint8 [0, 5]
|
|
AGGS VARIABLE
|
|
param [2]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
Node: Pit_Ip_SetChainMode/7:
|
|
param [0]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
param [1]: 1 [loc_time: 0, loc_size: 0, prop_time: 0, prop_size: 0]
|
|
ctxs: VARIABLE
|
|
Bits: value = 0x1, mask = 0x0
|
|
uint8 [1, 1]
|
|
AGGS VARIABLE
|
|
param [2]: 1 [loc_time: 0, loc_size: 0, prop_time: 0, prop_size: 0]
|
|
ctxs: VARIABLE
|
|
Bits: value = 0x1, mask = 0x0
|
|
boolean [1, 1]
|
|
AGGS VARIABLE
|
|
Node: Pit_Ip_SetDebugMode/6:
|
|
param [0]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
param [1]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
Node: Pit_Ip_EnableTimer/5:
|
|
param [0]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
param [1]: VARIABLE
|
|
1 [loc_time: 49, loc_size: 15, prop_time: 0, prop_size: 0]
|
|
0 [loc_time: 49, loc_size: 15, prop_time: 0, prop_size: 0]
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
param [2]: 0 [loc_time: 3, loc_size: 9, prop_time: 0, prop_size: 0]
|
|
1 [loc_time: 3, loc_size: 9, prop_time: 0, prop_size: 0]
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
boolean [0, 1]
|
|
AGGS VARIABLE
|
|
Node: Pit_Ip_EnableModule/4:
|
|
param [0]: VARIABLE
|
|
ctxs: VARIABLE
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS VARIABLE
|
|
param [1]: 0 [loc_time: 0, loc_size: 0, prop_time: 0, prop_size: 0]
|
|
ctxs: VARIABLE
|
|
Bits: value = 0x0, mask = 0x0
|
|
uint8 [0, 0]
|
|
AGGS VARIABLE
|
|
Node: Pit_Ip_GetInterruptFlags/3:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Pit_Ip_GetLoadValue/2:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
param [1]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
|
|
IPA decision stage:
|
|
|
|
- Creating a specialized node of Pit_Ip_ProcessCommonInterrupt/17 for all known contexts.
|
|
replacing param #0 instance with const 0
|
|
- Creating a specialized node of Pit_Ip_SetChainMode/7 for all known contexts.
|
|
replacing param #1 channel with const 1
|
|
replacing param #2 enable with const 1
|
|
- Creating a specialized node of Pit_Ip_EnableModule/4 for all known contexts.
|
|
replacing param #1 timerType with const 0
|
|
Propagated bits info for function Pit_Ip_EnableModule.constprop/43:
|
|
param 1: value = 0x0, mask = 0x0
|
|
Propagated bits info for function Pit_Ip_SetChainMode.constprop/42:
|
|
param 1: value = 0x1, mask = 0x0
|
|
param 2: value = 0x1, mask = 0x0
|
|
Propagated bits info for function Pit_Ip_ProcessCommonInterrupt.constprop/41:
|
|
param 0: value = 0x0, mask = 0x0
|
|
param 1: value = 0x0, mask = 0x7
|
|
Propagated bits info for function Pit_Ip_ProcessCommonInterrupt/17:
|
|
param 0: value = 0x0, mask = 0x0
|
|
param 1: value = 0x0, mask = 0x7
|
|
Propagated bits info for function Pit_Ip_Reset/8:
|
|
param 1: value = 0x0, mask = 0x5
|
|
Propagated bits info for function Pit_Ip_SetChainMode/7:
|
|
param 1: value = 0x1, mask = 0x0
|
|
param 2: value = 0x1, mask = 0x0
|
|
Propagated bits info for function Pit_Ip_EnableModule/4:
|
|
param 1: value = 0x0, mask = 0x0
|
|
|
|
IPA constant propagation end
|
|
|
|
Reclaiming functions: Pit_Ip_ProcessCommonInterrupt/17 Pit_Ip_SetChainMode/7 Pit_Ip_EnableModule/4
|
|
Reclaiming variables:
|
|
Clearing address taken flags:
|
|
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
|
|
|
|
;; Function Pit_Ip_ClearInterruptFlag (Pit_Ip_ClearInterruptFlag, funcdef_no=11, decl_uid=4476, cgraph_uid=12, symbol_order=13)
|
|
|
|
Modification phase of node Pit_Ip_ClearInterruptFlag/13
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Pit_Ip_GetLoadValue (Pit_Ip_GetLoadValue, funcdef_no=0, decl_uid=4399, cgraph_uid=1, symbol_order=2)
|
|
|
|
Modification phase of node Pit_Ip_GetLoadValue/2
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Pit_Ip_GetInterruptFlags (Pit_Ip_GetInterruptFlags, funcdef_no=1, decl_uid=4402, cgraph_uid=2, symbol_order=3)
|
|
|
|
Modification phase of node Pit_Ip_GetInterruptFlags/3
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Pit_Ip_Init (Pit_Ip_Init, funcdef_no=16, decl_uid=4406, cgraph_uid=17, symbol_order=18)
|
|
|
|
Modification phase of node Pit_Ip_Init/18
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Pit_Ip_InitChannel (Pit_Ip_InitChannel, funcdef_no=17, decl_uid=4409, cgraph_uid=18, symbol_order=19)
|
|
|
|
Modification phase of node Pit_Ip_InitChannel/19
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Pit_Ip_Deinit (Pit_Ip_Deinit, funcdef_no=18, decl_uid=4411, cgraph_uid=19, symbol_order=20)
|
|
|
|
Modification phase of node Pit_Ip_Deinit/20
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Pit_Ip_StartChannel (Pit_Ip_StartChannel, funcdef_no=19, decl_uid=4415, cgraph_uid=20, symbol_order=21)
|
|
|
|
Modification phase of node Pit_Ip_StartChannel/21
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Pit_Ip_StopChannel (Pit_Ip_StopChannel, funcdef_no=20, decl_uid=4418, cgraph_uid=21, symbol_order=22)
|
|
|
|
Modification phase of node Pit_Ip_StopChannel/22
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Pit_Ip_GetCurrentTimer (Pit_Ip_GetCurrentTimer, funcdef_no=21, decl_uid=4421, cgraph_uid=22, symbol_order=23)
|
|
|
|
Modification phase of node Pit_Ip_GetCurrentTimer/23
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Pit_Ip_EnableChannelInterrupt (Pit_Ip_EnableChannelInterrupt, funcdef_no=22, decl_uid=4424, cgraph_uid=23, symbol_order=24)
|
|
|
|
Modification phase of node Pit_Ip_EnableChannelInterrupt/24
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Pit_Ip_DisableChannelInterrupt (Pit_Ip_DisableChannelInterrupt, funcdef_no=23, decl_uid=4427, cgraph_uid=24, symbol_order=25)
|
|
|
|
Modification phase of node Pit_Ip_DisableChannelInterrupt/25
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Pit_Ip_SetLifetimeTimerCount (Pit_Ip_SetLifetimeTimerCount, funcdef_no=24, decl_uid=4429, cgraph_uid=25, symbol_order=26)
|
|
|
|
Modification phase of node Pit_Ip_SetLifetimeTimerCount/26
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Pit_Ip_GetLifetimeTimer (Pit_Ip_GetLifetimeTimer, funcdef_no=25, decl_uid=4431, cgraph_uid=26, symbol_order=27)
|
|
|
|
Modification phase of node Pit_Ip_GetLifetimeTimer/27
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function PIT_0_ISR (PIT_0_ISR, funcdef_no=26, decl_uid=4435, cgraph_uid=27, symbol_order=28)
|
|
|
|
Modification phase of node PIT_0_ISR/28
|
|
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;
|
|
|
|
}
|
|
|
|
|