mirror of
https://github.com/Dev-KATECH/ADM.git
synced 2026-05-17 09:53:59 +09:00
1092 lines
34 KiB
C++
1092 lines
34 KiB
C++
|
|
IPA constant propagation start:
|
|
|
|
IPA structures before propagation:
|
|
|
|
Jump functions:
|
|
Jump functions of caller SchM_Exit_Mcu_MCU_EXCLUSIVE_AREA_01/18:
|
|
Jump functions of caller SchM_Enter_Mcu_MCU_EXCLUSIVE_AREA_01/17:
|
|
Jump functions of caller ReportClockErrors/15:
|
|
Jump functions of caller ClockTimeoutExpired/14:
|
|
Jump functions of caller ClockStartTimeout/13:
|
|
Jump functions of caller McMeEnterKey/12:
|
|
Jump functions of caller Mcu_CMU_ClockFailInt/10:
|
|
Jump functions of caller GetStatusCmuFcFceRefCntLfrefHfref/9:
|
|
Jump functions of caller ClearStatusCmuFcFceRefCntLfrefHfref/8:
|
|
Jump functions of caller SetCmuFcFceRefCntLfrefHfref/7:
|
|
Jump functions of caller ResetCmuFcFceRefCntLfrefHfref/6:
|
|
callsite ResetCmuFcFceRefCntLfrefHfref/6 -> DisableCmuFcFceRefCntLfrefHfref/5 :
|
|
param 0: UNKNOWN
|
|
value: 0x0, mask: 0xff
|
|
Unknown VR
|
|
Jump functions of caller DisableCmuFcFceRefCntLfrefHfref/5:
|
|
Jump functions of caller ClockMonitorEmpty_GetStatus/4:
|
|
Jump functions of caller ClockMonitorEmpty_ClearStatus/3:
|
|
Jump functions of caller ClockMonitorEmpty_Disable/2:
|
|
Jump functions of caller ClockMonitorEmpty/1:
|
|
|
|
Propagating constants:
|
|
|
|
Not considering Mcu_CMU_ClockFailInt for cloning; -fipa-cp-clone disabled.
|
|
Not considering GetStatusCmuFcFceRefCntLfrefHfref for cloning; -fipa-cp-clone disabled.
|
|
Not considering ClearStatusCmuFcFceRefCntLfrefHfref for cloning; -fipa-cp-clone disabled.
|
|
Not considering SetCmuFcFceRefCntLfrefHfref for cloning; -fipa-cp-clone disabled.
|
|
Not considering ResetCmuFcFceRefCntLfrefHfref for cloning; -fipa-cp-clone disabled.
|
|
Not considering DisableCmuFcFceRefCntLfrefHfref for cloning; -fipa-cp-clone disabled.
|
|
Not considering ClockMonitorEmpty_GetStatus for cloning; -fipa-cp-clone disabled.
|
|
Function ClockMonitorEmpty_ClearStatus/3 is not versionable, reason: not a tree_versionable_function.
|
|
Not considering ClockMonitorEmpty_Disable for cloning; -fipa-cp-clone disabled.
|
|
Not considering ClockMonitorEmpty for cloning; -fipa-cp-clone disabled.
|
|
|
|
overall_size: 282, max_new_size: 11001
|
|
- context independent values, size: 3, time_benefit: 1.000000
|
|
- context independent values, size: 2, time_benefit: 1.000000
|
|
- context independent values, size: 3, time_benefit: 1.000000
|
|
|
|
IPA lattices after all propagation:
|
|
|
|
Lattices:
|
|
Node: Mcu_CMU_ClockFailInt/10:
|
|
Node: GetStatusCmuFcFceRefCntLfrefHfref/9:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: ClearStatusCmuFcFceRefCntLfrefHfref/8:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: SetCmuFcFceRefCntLfrefHfref/7:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: ResetCmuFcFceRefCntLfrefHfref/6:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: DisableCmuFcFceRefCntLfrefHfref/5:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: ClockMonitorEmpty_GetStatus/4:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: ClockMonitorEmpty_ClearStatus/3:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: ClockMonitorEmpty_Disable/2:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: ClockMonitorEmpty/1:
|
|
param [0]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
|
|
IPA decision stage:
|
|
|
|
|
|
IPA constant propagation end
|
|
|
|
Reclaiming functions:
|
|
Reclaiming variables:
|
|
Clearing address taken flags:
|
|
Symbol table:
|
|
|
|
clockConfig/20 (clockConfig) @06181ea0
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Mcu_CMU_ClockFailInt/10 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
cmuEntries/19 (cmuEntries) @061816c0
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: SetCmuFcFceRefCntLfrefHfref/7 (read)SetCmuFcFceRefCntLfrefHfref/7 (read)SetCmuFcFceRefCntLfrefHfref/7 (read)Mcu_CMU_ClockFailInt/10 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
SchM_Exit_Mcu_MCU_EXCLUSIVE_AREA_01/18 (SchM_Exit_Mcu_MCU_EXCLUSIVE_AREA_01) @06169460
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: DisableCmuFcFceRefCntLfrefHfref/5 (348071309 (estimated locally),1.00 per call)
|
|
Calls:
|
|
SchM_Enter_Mcu_MCU_EXCLUSIVE_AREA_01/17 (SchM_Enter_Mcu_MCU_EXCLUSIVE_AREA_01) @061692a0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: DisableCmuFcFceRefCntLfrefHfref/5 (348071309 (estimated locally),1.00 per call)
|
|
Calls:
|
|
cmu/16 (cmu) @06168480
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: GetStatusCmuFcFceRefCntLfrefHfref/9 (read)ClearStatusCmuFcFceRefCntLfrefHfref/8 (read)SetCmuFcFceRefCntLfrefHfref/7 (read)DisableCmuFcFceRefCntLfrefHfref/5 (read)Mcu_CMU_ClockFailInt/10 (read)
|
|
Availability: not_available
|
|
Varpool flags: read-only
|
|
ReportClockErrors/15 (ReportClockErrors) @06169000
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Mcu_CMU_ClockFailInt/10 (198427489 (estimated locally),0.92 per call) DisableCmuFcFceRefCntLfrefHfref/5 (37904965 (estimated locally),0.11 per call) DisableCmuFcFceRefCntLfrefHfref/5 (37904965 (estimated locally),0.11 per call) SetCmuFcFceRefCntLfrefHfref/7 (37904965 (estimated locally),0.11 per call) ClearStatusCmuFcFceRefCntLfrefHfref/8 (37904965 (estimated locally),0.11 per call) GetStatusCmuFcFceRefCntLfrefHfref/9 (37904965 (estimated locally),0.11 per call)
|
|
Calls:
|
|
ClockTimeoutExpired/14 (ClockTimeoutExpired) @06036d20
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: DisableCmuFcFceRefCntLfrefHfref/5 (1073741824 (estimated locally),3.08 per call) DisableCmuFcFceRefCntLfrefHfref/5 (1073741824 (estimated locally),3.08 per call) SetCmuFcFceRefCntLfrefHfref/7 (1073741824 (estimated locally),3.08 per call) ClearStatusCmuFcFceRefCntLfrefHfref/8 (1073741824 (estimated locally),3.08 per call) GetStatusCmuFcFceRefCntLfrefHfref/9 (1073741824 (estimated locally),3.08 per call)
|
|
Calls:
|
|
ClockStartTimeout/13 (ClockStartTimeout) @06036a80
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: DisableCmuFcFceRefCntLfrefHfref/5 (114863532 (estimated locally),0.33 per call) DisableCmuFcFceRefCntLfrefHfref/5 (114863532 (estimated locally),0.33 per call) SetCmuFcFceRefCntLfrefHfref/7 (114863532 (estimated locally),0.33 per call) ClearStatusCmuFcFceRefCntLfrefHfref/8 (114863532 (estimated locally),0.33 per call) GetStatusCmuFcFceRefCntLfrefHfref/9 (114863532 (estimated locally),0.33 per call)
|
|
Calls:
|
|
McMeEnterKey/12 (McMeEnterKey) @06036700
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: DisableCmuFcFceRefCntLfrefHfref/5 (114863532 (estimated locally),0.33 per call) SetCmuFcFceRefCntLfrefHfref/7 (114863532 (estimated locally),0.33 per call) ClearStatusCmuFcFceRefCntLfrefHfref/8 (114863532 (estimated locally),0.33 per call) GetStatusCmuFcFceRefCntLfrefHfref/9 (114863532 (estimated locally),0.33 per call)
|
|
Calls:
|
|
clockFeatures/11 (clockFeatures) @06168318
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: SetCmuFcFceRefCntLfrefHfref/7 (read)DisableCmuFcFceRefCntLfrefHfref/5 (read)ClearStatusCmuFcFceRefCntLfrefHfref/8 (read)GetStatusCmuFcFceRefCntLfrefHfref/9 (read)SetCmuFcFceRefCntLfrefHfref/7 (read)Mcu_CMU_ClockFailInt/10 (read)
|
|
Availability: not_available
|
|
Varpool flags: read-only
|
|
Mcu_CMU_ClockFailInt/10 (Mcu_CMU_ClockFailInt) @06036c40
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: cmuEntries/19 (read)clockFeatures/11 (read)cmu/16 (read)clockConfig/20 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:214748364 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: ReportClockErrors/15 (198427489 (estimated locally),0.92 per call)
|
|
GetStatusCmuFcFceRefCntLfrefHfref/9 (GetStatusCmuFcFceRefCntLfrefHfref) @060369a0
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
Address is taken.
|
|
References: clockFeatures/11 (read)cmu/16 (read)
|
|
Referring: cmuCallbacks/0 (addr)
|
|
Availability: available
|
|
Function flags: count:348071309 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: ReportClockErrors/15 (37904965 (estimated locally),0.11 per call) ClockTimeoutExpired/14 (1073741824 (estimated locally),3.08 per call) ClockStartTimeout/13 (114863532 (estimated locally),0.33 per call) McMeEnterKey/12 (114863532 (estimated locally),0.33 per call)
|
|
ClearStatusCmuFcFceRefCntLfrefHfref/8 (ClearStatusCmuFcFceRefCntLfrefHfref) @06036620
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
Address is taken.
|
|
References: clockFeatures/11 (read)cmu/16 (read)
|
|
Referring: cmuCallbacks/0 (addr)
|
|
Availability: available
|
|
Function flags: count:348071309 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: ReportClockErrors/15 (37904965 (estimated locally),0.11 per call) ClockTimeoutExpired/14 (1073741824 (estimated locally),3.08 per call) ClockStartTimeout/13 (114863532 (estimated locally),0.33 per call) McMeEnterKey/12 (114863532 (estimated locally),0.33 per call)
|
|
SetCmuFcFceRefCntLfrefHfref/7 (SetCmuFcFceRefCntLfrefHfref) @060362a0
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
Address is taken.
|
|
References: clockFeatures/11 (read)clockFeatures/11 (read)cmu/16 (read)cmuEntries/19 (read)cmuEntries/19 (read)cmuEntries/19 (read)
|
|
Referring: cmuCallbacks/0 (addr)
|
|
Availability: available
|
|
Function flags: count:348071309 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: ReportClockErrors/15 (37904965 (estimated locally),0.11 per call) ClockTimeoutExpired/14 (1073741824 (estimated locally),3.08 per call) ClockStartTimeout/13 (114863532 (estimated locally),0.33 per call) McMeEnterKey/12 (114863532 (estimated locally),0.33 per call)
|
|
ResetCmuFcFceRefCntLfrefHfref/6 (ResetCmuFcFceRefCntLfrefHfref) @06031ee0
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
Address is taken.
|
|
References:
|
|
Referring: cmuCallbacks/0 (addr)
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: DisableCmuFcFceRefCntLfrefHfref/5 (1073741824 (estimated locally),1.00 per call)
|
|
DisableCmuFcFceRefCntLfrefHfref/5 (DisableCmuFcFceRefCntLfrefHfref) @060319a0
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
Address is taken.
|
|
References: clockFeatures/11 (read)cmu/16 (read)
|
|
Referring: cmuCallbacks/0 (addr)
|
|
Availability: available
|
|
Function flags: count:348071309 (estimated locally) body optimize_size
|
|
Called by: ResetCmuFcFceRefCntLfrefHfref/6 (1073741824 (estimated locally),1.00 per call)
|
|
Calls: SchM_Exit_Mcu_MCU_EXCLUSIVE_AREA_01/18 (348071309 (estimated locally),1.00 per call) ReportClockErrors/15 (37904965 (estimated locally),0.11 per call) ClockTimeoutExpired/14 (1073741824 (estimated locally),3.08 per call) ClockStartTimeout/13 (114863532 (estimated locally),0.33 per call) SchM_Enter_Mcu_MCU_EXCLUSIVE_AREA_01/17 (348071309 (estimated locally),1.00 per call) ReportClockErrors/15 (37904965 (estimated locally),0.11 per call) ClockTimeoutExpired/14 (1073741824 (estimated locally),3.08 per call) ClockStartTimeout/13 (114863532 (estimated locally),0.33 per call) McMeEnterKey/12 (114863532 (estimated locally),0.33 per call)
|
|
ClockMonitorEmpty_GetStatus/4 (ClockMonitorEmpty_GetStatus) @06031e00
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
Address is taken.
|
|
References:
|
|
Referring: cmuCallbacks/0 (addr)
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls:
|
|
ClockMonitorEmpty_ClearStatus/3 (ClockMonitorEmpty_ClearStatus) @06031b60
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
Address is taken.
|
|
References:
|
|
Referring: cmuCallbacks/0 (addr)
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body icf_merged optimize_size
|
|
Called by:
|
|
Calls: ClockMonitorEmpty_Disable/2 (1073741824 (estimated locally),1.00 per call)
|
|
ClockMonitorEmpty_Disable/2 (ClockMonitorEmpty_Disable) @060318c0
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
Address is taken.
|
|
References:
|
|
Referring: cmuCallbacks/0 (addr)
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body icf_merged optimize_size
|
|
Called by: ClockMonitorEmpty_ClearStatus/3 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
ClockMonitorEmpty/1 (ClockMonitorEmpty) @06031620
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly
|
|
Address is taken.
|
|
References:
|
|
Referring: cmuCallbacks/0 (addr)cmuCallbacks/0 (addr)
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls:
|
|
cmuCallbacks/0 (cmuCallbacks) @0602f558
|
|
Type: variable definition analyzed
|
|
Visibility: externally_visible public
|
|
References: ClockMonitorEmpty/1 (addr)ClockMonitorEmpty/1 (addr)ClockMonitorEmpty_Disable/2 (addr)ClockMonitorEmpty_ClearStatus/3 (addr)ClockMonitorEmpty_GetStatus/4 (addr)ResetCmuFcFceRefCntLfrefHfref/6 (addr)SetCmuFcFceRefCntLfrefHfref/7 (addr)DisableCmuFcFceRefCntLfrefHfref/5 (addr)ClearStatusCmuFcFceRefCntLfrefHfref/8 (addr)GetStatusCmuFcFceRefCntLfrefHfref/9 (addr)
|
|
Referring:
|
|
Availability: available
|
|
Varpool flags: initialized read-only const-value-known
|
|
|
|
;; Function ClockMonitorEmpty (ClockMonitorEmpty, funcdef_no=0, decl_uid=5066, cgraph_uid=1, symbol_order=1)
|
|
|
|
Modification phase of node ClockMonitorEmpty/1
|
|
ClockMonitorEmpty (const struct Clock_Ip_CmuConfigType * config)
|
|
{
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function ClockMonitorEmpty_Disable (ClockMonitorEmpty_Disable, funcdef_no=1, decl_uid=5068, cgraph_uid=2, symbol_order=2)
|
|
|
|
Modification phase of node ClockMonitorEmpty_Disable/2
|
|
ClockMonitorEmpty_Disable (Clock_Ip_NameType name)
|
|
{
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function ClockMonitorEmpty_GetStatus (ClockMonitorEmpty_GetStatus, funcdef_no=3, decl_uid=5072, cgraph_uid=4, symbol_order=4)
|
|
|
|
Modification phase of node ClockMonitorEmpty_GetStatus/4
|
|
ClockMonitorEmpty_GetStatus (Clock_Ip_NameType name)
|
|
{
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
return 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function GetStatusCmuFcFceRefCntLfrefHfref (GetStatusCmuFcFceRefCntLfrefHfref, funcdef_no=8, decl_uid=5082, cgraph_uid=9, symbol_order=9)
|
|
|
|
Modification phase of node GetStatusCmuFcFceRefCntLfrefHfref/9
|
|
GetStatusCmuFcFceRefCntLfrefHfref (Clock_Ip_NameType name)
|
|
{
|
|
uint32 TimeoutTicks;
|
|
uint32 ElapsedTime;
|
|
uint32 StartTime;
|
|
boolean TimeoutOccurred;
|
|
uint32 instance;
|
|
Clock_Ip_CmuStatusType status;
|
|
uint32 cmuIsrValue;
|
|
int _1;
|
|
unsigned char _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
long unsigned int _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
long unsigned int _8;
|
|
long unsigned int _9;
|
|
long unsigned int _10;
|
|
long unsigned int TimeoutTicks.0_11;
|
|
long unsigned int _12;
|
|
long unsigned int _13;
|
|
volatile struct ClockMonitor_Type * _14;
|
|
long unsigned int _15;
|
|
long unsigned int _17;
|
|
long unsigned int _18;
|
|
long unsigned int _19;
|
|
long unsigned int _20;
|
|
long unsigned int _21;
|
|
|
|
<bb 2> [local count: 348071309]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG status => 3
|
|
# DEBUG BEGIN_STMT
|
|
_1 = (int) name_25(D);
|
|
_2 = clockFeatures[_1][6];
|
|
instance_27 = (uint32) _2;
|
|
# DEBUG instance => instance_27
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG TimeoutOccurred => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
_3 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_STAT;
|
|
_4 = _3 & 32768;
|
|
if (_4 == 0)
|
|
goto <bb 3>; [33.00%]
|
|
else
|
|
goto <bb 8>; [67.00%]
|
|
|
|
<bb 3> [local count: 114863532]:
|
|
# DEBUG BEGIN_STMT
|
|
_5 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_CLKEN;
|
|
_6 = _5 | 32768;
|
|
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_CLKEN ={v} _6;
|
|
# DEBUG BEGIN_STMT
|
|
_7 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PCONF;
|
|
_8 = _7 | 1;
|
|
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PCONF ={v} _8;
|
|
# DEBUG BEGIN_STMT
|
|
_9 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PUPD;
|
|
_10 = _9 | 1;
|
|
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PUPD ={v} _10;
|
|
# DEBUG BEGIN_STMT
|
|
McMeEnterKey ();
|
|
# DEBUG BEGIN_STMT
|
|
ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
TimeoutTicks.0_11 = TimeoutTicks;
|
|
TimeoutOccurred_34 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.0_11);
|
|
# DEBUG TimeoutOccurred => TimeoutOccurred_34
|
|
# DEBUG BEGIN_STMT
|
|
_12 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_STAT;
|
|
_13 = _12 & 32768;
|
|
if (_13 == 0)
|
|
goto <bb 5>; [94.50%]
|
|
else
|
|
goto <bb 6>; [5.50%]
|
|
|
|
<bb 5> [local count: 1014686025]:
|
|
if (TimeoutOccurred_34 != 0)
|
|
goto <bb 6>; [5.50%]
|
|
else
|
|
goto <bb 13>; [94.50%]
|
|
|
|
<bb 13> [local count: 958878292]:
|
|
goto <bb 4>; [100.00%]
|
|
|
|
<bb 6> [local count: 114863532]:
|
|
# TimeoutOccurred_16 = PHI <TimeoutOccurred_34(4), TimeoutOccurred_34(5)>
|
|
# DEBUG BEGIN_STMT
|
|
if (TimeoutOccurred_16 != 0)
|
|
goto <bb 7>; [33.00%]
|
|
else
|
|
goto <bb 8>; [67.00%]
|
|
|
|
<bb 7> [local count: 37904965]:
|
|
# DEBUG BEGIN_STMT
|
|
ReportClockErrors (1, 145);
|
|
|
|
<bb 8> [local count: 348071309]:
|
|
# DEBUG BEGIN_STMT
|
|
_14 = cmu[instance_27];
|
|
_15 ={v} _14->SR;
|
|
cmuIsrValue_36 = _15 & 3;
|
|
# DEBUG cmuIsrValue => cmuIsrValue_36
|
|
# DEBUG BEGIN_STMT
|
|
_17 ={v} _14->IER;
|
|
# DEBUG cmuIerValue => _17 & 3
|
|
# DEBUG BEGIN_STMT
|
|
cmuIsrValue_37 = _17 & cmuIsrValue_36;
|
|
# DEBUG cmuIsrValue => cmuIsrValue_37
|
|
# DEBUG BEGIN_STMT
|
|
_18 ={v} _14->GCR;
|
|
_19 = _18 & 1;
|
|
if (_19 != 0)
|
|
goto <bb 9>; [65.00%]
|
|
else
|
|
goto <bb 12>; [35.00%]
|
|
|
|
<bb 9> [local count: 226246351]:
|
|
# DEBUG BEGIN_STMT
|
|
_20 = cmuIsrValue_37 & 2;
|
|
if (_20 != 0)
|
|
goto <bb 12>; [50.00%]
|
|
else
|
|
goto <bb 10>; [50.00%]
|
|
|
|
<bb 10> [local count: 113123175]:
|
|
# DEBUG BEGIN_STMT
|
|
_21 = cmuIsrValue_37 & 1;
|
|
if (_21 != 0)
|
|
goto <bb 12>; [35.00%]
|
|
else
|
|
goto <bb 11>; [65.00%]
|
|
|
|
<bb 11> [local count: 73530064]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG status => 0
|
|
|
|
<bb 12> [local count: 348071309]:
|
|
# status_22 = PHI <3(8), 1(9), 2(10), 0(11)>
|
|
# DEBUG status => status_22
|
|
# DEBUG BEGIN_STMT
|
|
StartTime ={v} {CLOBBER};
|
|
ElapsedTime ={v} {CLOBBER};
|
|
TimeoutTicks ={v} {CLOBBER};
|
|
return status_22;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function ClearStatusCmuFcFceRefCntLfrefHfref (ClearStatusCmuFcFceRefCntLfrefHfref, funcdef_no=7, decl_uid=5080, cgraph_uid=8, symbol_order=8)
|
|
|
|
Modification phase of node ClearStatusCmuFcFceRefCntLfrefHfref/8
|
|
ClearStatusCmuFcFceRefCntLfrefHfref (Clock_Ip_NameType name)
|
|
{
|
|
uint32 TimeoutTicks;
|
|
uint32 ElapsedTime;
|
|
uint32 StartTime;
|
|
boolean TimeoutOccurred;
|
|
uint32 cmuIsrValue;
|
|
uint32 instance;
|
|
int _1;
|
|
unsigned char _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
long unsigned int _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
long unsigned int _8;
|
|
long unsigned int _9;
|
|
long unsigned int _10;
|
|
long unsigned int TimeoutTicks.1_11;
|
|
long unsigned int _12;
|
|
long unsigned int _13;
|
|
volatile struct ClockMonitor_Type * _14;
|
|
long unsigned int _15;
|
|
|
|
<bb 2> [local count: 348071309]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = (int) name_19(D);
|
|
_2 = clockFeatures[_1][6];
|
|
instance_21 = (uint32) _2;
|
|
# DEBUG instance => instance_21
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG TimeoutOccurred => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
_3 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_STAT;
|
|
_4 = _3 & 32768;
|
|
if (_4 == 0)
|
|
goto <bb 3>; [33.00%]
|
|
else
|
|
goto <bb 8>; [67.00%]
|
|
|
|
<bb 3> [local count: 114863532]:
|
|
# DEBUG BEGIN_STMT
|
|
_5 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_CLKEN;
|
|
_6 = _5 | 32768;
|
|
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_CLKEN ={v} _6;
|
|
# DEBUG BEGIN_STMT
|
|
_7 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PCONF;
|
|
_8 = _7 | 1;
|
|
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PCONF ={v} _8;
|
|
# DEBUG BEGIN_STMT
|
|
_9 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PUPD;
|
|
_10 = _9 | 1;
|
|
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PUPD ={v} _10;
|
|
# DEBUG BEGIN_STMT
|
|
McMeEnterKey ();
|
|
# DEBUG BEGIN_STMT
|
|
ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
TimeoutTicks.1_11 = TimeoutTicks;
|
|
TimeoutOccurred_28 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.1_11);
|
|
# DEBUG TimeoutOccurred => TimeoutOccurred_28
|
|
# DEBUG BEGIN_STMT
|
|
_12 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_STAT;
|
|
_13 = _12 & 32768;
|
|
if (_13 == 0)
|
|
goto <bb 5>; [94.50%]
|
|
else
|
|
goto <bb 6>; [5.50%]
|
|
|
|
<bb 5> [local count: 1014686025]:
|
|
if (TimeoutOccurred_28 != 0)
|
|
goto <bb 6>; [5.50%]
|
|
else
|
|
goto <bb 9>; [94.50%]
|
|
|
|
<bb 9> [local count: 958878292]:
|
|
goto <bb 4>; [100.00%]
|
|
|
|
<bb 6> [local count: 114863532]:
|
|
# TimeoutOccurred_16 = PHI <TimeoutOccurred_28(4), TimeoutOccurred_28(5)>
|
|
# DEBUG BEGIN_STMT
|
|
if (TimeoutOccurred_16 != 0)
|
|
goto <bb 7>; [33.00%]
|
|
else
|
|
goto <bb 8>; [67.00%]
|
|
|
|
<bb 7> [local count: 37904965]:
|
|
# DEBUG BEGIN_STMT
|
|
ReportClockErrors (1, 145);
|
|
|
|
<bb 8> [local count: 348071309]:
|
|
# DEBUG BEGIN_STMT
|
|
_14 = cmu[instance_21];
|
|
_15 ={v} _14->SR;
|
|
cmuIsrValue_30 = _15 & 3;
|
|
# DEBUG cmuIsrValue => cmuIsrValue_30
|
|
# DEBUG BEGIN_STMT
|
|
_14->SR ={v} cmuIsrValue_30;
|
|
StartTime ={v} {CLOBBER};
|
|
ElapsedTime ={v} {CLOBBER};
|
|
TimeoutTicks ={v} {CLOBBER};
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function SetCmuFcFceRefCntLfrefHfref (SetCmuFcFceRefCntLfrefHfref, funcdef_no=6, decl_uid=5076, cgraph_uid=7, symbol_order=7)
|
|
|
|
Modification phase of node SetCmuFcFceRefCntLfrefHfref/7
|
|
SetCmuFcFceRefCntLfrefHfref (const struct Clock_Ip_CmuConfigType * config)
|
|
{
|
|
uint32 TimeoutTicks;
|
|
uint32 ElapsedTime;
|
|
uint32 StartTime;
|
|
boolean TimeoutOccurred;
|
|
uint32 swIndex;
|
|
uint32 instance;
|
|
<unnamed type> _1;
|
|
int _2;
|
|
unsigned char _3;
|
|
unsigned char _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
long unsigned int _8;
|
|
long unsigned int _9;
|
|
long unsigned int _10;
|
|
long unsigned int _11;
|
|
long unsigned int _12;
|
|
long unsigned int _13;
|
|
long unsigned int TimeoutTicks.4_14;
|
|
long unsigned int _15;
|
|
long unsigned int _16;
|
|
volatile struct ClockMonitor_Type * _17;
|
|
long unsigned int _18;
|
|
long unsigned int _19;
|
|
long unsigned int _20;
|
|
long unsigned int _21;
|
|
unsigned char _22;
|
|
long unsigned int _23;
|
|
long unsigned int _24;
|
|
long unsigned int _25;
|
|
long unsigned int _26;
|
|
|
|
<bb 2> [local count: 348071309]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = config_31(D)->name;
|
|
_2 = (int) _1;
|
|
_3 = clockFeatures[_2][6];
|
|
instance_32 = (uint32) _3;
|
|
# DEBUG instance => instance_32
|
|
# DEBUG BEGIN_STMT
|
|
_5 = clockFeatures[_2][7];
|
|
swIndex_33 = (uint32) _5;
|
|
# DEBUG swIndex => swIndex_33
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG TimeoutOccurred => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
_6 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_STAT;
|
|
_7 = _6 & 32768;
|
|
if (_7 == 0)
|
|
goto <bb 3>; [33.00%]
|
|
else
|
|
goto <bb 8>; [67.00%]
|
|
|
|
<bb 3> [local count: 114863532]:
|
|
# DEBUG BEGIN_STMT
|
|
_8 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_CLKEN;
|
|
_9 = _8 | 32768;
|
|
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_CLKEN ={v} _9;
|
|
# DEBUG BEGIN_STMT
|
|
_10 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PCONF;
|
|
_11 = _10 | 1;
|
|
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PCONF ={v} _11;
|
|
# DEBUG BEGIN_STMT
|
|
_12 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PUPD;
|
|
_13 = _12 | 1;
|
|
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PUPD ={v} _13;
|
|
# DEBUG BEGIN_STMT
|
|
McMeEnterKey ();
|
|
# DEBUG BEGIN_STMT
|
|
ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
TimeoutTicks.4_14 = TimeoutTicks;
|
|
TimeoutOccurred_40 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.4_14);
|
|
# DEBUG TimeoutOccurred => TimeoutOccurred_40
|
|
# DEBUG BEGIN_STMT
|
|
_15 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_STAT;
|
|
_16 = _15 & 32768;
|
|
if (_16 == 0)
|
|
goto <bb 5>; [94.50%]
|
|
else
|
|
goto <bb 6>; [5.50%]
|
|
|
|
<bb 5> [local count: 1014686025]:
|
|
if (TimeoutOccurred_40 != 0)
|
|
goto <bb 6>; [5.50%]
|
|
else
|
|
goto <bb 12>; [94.50%]
|
|
|
|
<bb 12> [local count: 958878292]:
|
|
goto <bb 4>; [100.00%]
|
|
|
|
<bb 6> [local count: 114863532]:
|
|
# TimeoutOccurred_4 = PHI <TimeoutOccurred_40(4), TimeoutOccurred_40(5)>
|
|
# DEBUG BEGIN_STMT
|
|
if (TimeoutOccurred_4 != 0)
|
|
goto <bb 7>; [33.00%]
|
|
else
|
|
goto <bb 8>; [67.00%]
|
|
|
|
<bb 7> [local count: 37904965]:
|
|
# DEBUG BEGIN_STMT
|
|
ReportClockErrors (1, 145);
|
|
|
|
<bb 8> [local count: 348071309]:
|
|
# DEBUG BEGIN_STMT
|
|
_17 = cmu[instance_32];
|
|
_18 = cmuEntries[swIndex_33].refCount;
|
|
_17->RCCR ={v} _18;
|
|
# DEBUG BEGIN_STMT
|
|
_19 = cmuEntries[swIndex_33].hfRef;
|
|
_17->HTCR ={v} _19;
|
|
# DEBUG BEGIN_STMT
|
|
_20 = cmuEntries[swIndex_33].lfRef;
|
|
_17->LTCR ={v} _20;
|
|
# DEBUG BEGIN_STMT
|
|
_21 = config_31(D)->interrupt;
|
|
_17->IER ={v} _21;
|
|
# DEBUG BEGIN_STMT
|
|
_22 = config_31(D)->enable;
|
|
if (_22 != 0)
|
|
goto <bb 9>; [50.00%]
|
|
else
|
|
goto <bb 10>; [50.00%]
|
|
|
|
<bb 9> [local count: 174035654]:
|
|
# DEBUG BEGIN_STMT
|
|
_23 ={v} _17->GCR;
|
|
_24 = _23 | 1;
|
|
_17->GCR ={v} _24;
|
|
goto <bb 11>; [100.00%]
|
|
|
|
<bb 10> [local count: 174035654]:
|
|
# DEBUG BEGIN_STMT
|
|
_25 ={v} _17->GCR;
|
|
_26 = _25 & 4294967294;
|
|
_17->GCR ={v} _26;
|
|
|
|
<bb 11> [local count: 348071309]:
|
|
StartTime ={v} {CLOBBER};
|
|
ElapsedTime ={v} {CLOBBER};
|
|
TimeoutTicks ={v} {CLOBBER};
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function DisableCmuFcFceRefCntLfrefHfref (DisableCmuFcFceRefCntLfrefHfref, funcdef_no=4, decl_uid=5078, cgraph_uid=5, symbol_order=5)
|
|
|
|
Modification phase of node DisableCmuFcFceRefCntLfrefHfref/5
|
|
DisableCmuFcFceRefCntLfrefHfref (Clock_Ip_NameType name)
|
|
{
|
|
uint32 FrequencyCheckStatus;
|
|
uint32 TimeoutTicks;
|
|
uint32 ElapsedTime;
|
|
uint32 StartTime;
|
|
boolean TimeoutOccurred;
|
|
uint32 instance;
|
|
int _1;
|
|
unsigned char _2;
|
|
long unsigned int _3;
|
|
long unsigned int _4;
|
|
long unsigned int _5;
|
|
long unsigned int _6;
|
|
long unsigned int _7;
|
|
long unsigned int _8;
|
|
long unsigned int _9;
|
|
long unsigned int _10;
|
|
long unsigned int TimeoutTicks.2_11;
|
|
long unsigned int _12;
|
|
long unsigned int _13;
|
|
volatile struct ClockMonitor_Type * _14;
|
|
long unsigned int _15;
|
|
long unsigned int _16;
|
|
long unsigned int _18;
|
|
long unsigned int TimeoutTicks.3_19;
|
|
long unsigned int _21;
|
|
long unsigned int _22;
|
|
long unsigned int _23;
|
|
long unsigned int _24;
|
|
long unsigned int _25;
|
|
long unsigned int _26;
|
|
|
|
<bb 2> [local count: 348071309]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = (int) name_31(D);
|
|
_2 = clockFeatures[_1][6];
|
|
instance_33 = (uint32) _2;
|
|
# DEBUG instance => instance_33
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG TimeoutOccurred => 0
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
_3 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_STAT;
|
|
_4 = _3 & 32768;
|
|
if (_4 == 0)
|
|
goto <bb 3>; [33.00%]
|
|
else
|
|
goto <bb 8>; [67.00%]
|
|
|
|
<bb 3> [local count: 114863532]:
|
|
# DEBUG BEGIN_STMT
|
|
_5 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_CLKEN;
|
|
_6 = _5 | 32768;
|
|
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_CLKEN ={v} _6;
|
|
# DEBUG BEGIN_STMT
|
|
_7 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PCONF;
|
|
_8 = _7 | 1;
|
|
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PCONF ={v} _8;
|
|
# DEBUG BEGIN_STMT
|
|
_9 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PUPD;
|
|
_10 = _9 | 1;
|
|
MEM[(struct MC_ME_Type *)1076740096B].PRTN1_PUPD ={v} _10;
|
|
# DEBUG BEGIN_STMT
|
|
McMeEnterKey ();
|
|
# DEBUG BEGIN_STMT
|
|
ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
TimeoutTicks.2_11 = TimeoutTicks;
|
|
TimeoutOccurred_40 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.2_11);
|
|
# DEBUG TimeoutOccurred => TimeoutOccurred_40
|
|
# DEBUG BEGIN_STMT
|
|
_12 ={v} MEM[(struct MC_ME_Type *)1076740096B].PRTN1_COFB1_STAT;
|
|
_13 = _12 & 32768;
|
|
if (_13 == 0)
|
|
goto <bb 5>; [94.50%]
|
|
else
|
|
goto <bb 6>; [5.50%]
|
|
|
|
<bb 5> [local count: 1014686025]:
|
|
if (TimeoutOccurred_40 != 0)
|
|
goto <bb 6>; [5.50%]
|
|
else
|
|
goto <bb 17>; [94.50%]
|
|
|
|
<bb 17> [local count: 958878292]:
|
|
goto <bb 4>; [100.00%]
|
|
|
|
<bb 6> [local count: 114863532]:
|
|
# TimeoutOccurred_17 = PHI <TimeoutOccurred_40(4), TimeoutOccurred_40(5)>
|
|
# DEBUG BEGIN_STMT
|
|
if (TimeoutOccurred_17 != 0)
|
|
goto <bb 7>; [33.00%]
|
|
else
|
|
goto <bb 8>; [67.00%]
|
|
|
|
<bb 7> [local count: 37904965]:
|
|
# DEBUG BEGIN_STMT
|
|
ReportClockErrors (1, 145);
|
|
|
|
<bb 8> [local count: 348071309]:
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Enter_Mcu_MCU_EXCLUSIVE_AREA_01 ();
|
|
# DEBUG BEGIN_STMT
|
|
_14 = cmu[instance_33];
|
|
_15 ={v} _14->GCR;
|
|
_16 = _15 & 1;
|
|
if (_16 != 0)
|
|
goto <bb 9>; [33.00%]
|
|
else
|
|
goto <bb 15>; [67.00%]
|
|
|
|
<bb 9> [local count: 114863532]:
|
|
# DEBUG BEGIN_STMT
|
|
ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);
|
|
|
|
<bb 10> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
_18 ={v} _14->SR;
|
|
FrequencyCheckStatus_44 = _18 & 16;
|
|
# DEBUG FrequencyCheckStatus => FrequencyCheckStatus_44
|
|
# DEBUG BEGIN_STMT
|
|
TimeoutTicks.3_19 = TimeoutTicks;
|
|
TimeoutOccurred_46 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.3_19);
|
|
# DEBUG TimeoutOccurred => TimeoutOccurred_46
|
|
# DEBUG BEGIN_STMT
|
|
if (FrequencyCheckStatus_44 == 0)
|
|
goto <bb 11>; [94.50%]
|
|
else
|
|
goto <bb 12>; [5.50%]
|
|
|
|
<bb 11> [local count: 1014686023]:
|
|
if (TimeoutOccurred_46 != 0)
|
|
goto <bb 12>; [5.50%]
|
|
else
|
|
goto <bb 16>; [94.50%]
|
|
|
|
<bb 16> [local count: 958878291]:
|
|
goto <bb 10>; [100.00%]
|
|
|
|
<bb 12> [local count: 114863532]:
|
|
# TimeoutOccurred_20 = PHI <TimeoutOccurred_46(10), TimeoutOccurred_46(11)>
|
|
# DEBUG BEGIN_STMT
|
|
if (TimeoutOccurred_20 != 0)
|
|
goto <bb 13>; [33.00%]
|
|
else
|
|
goto <bb 14>; [67.00%]
|
|
|
|
<bb 13> [local count: 37904965]:
|
|
# DEBUG BEGIN_STMT
|
|
ReportClockErrors (1, name_31(D));
|
|
goto <bb 15>; [100.00%]
|
|
|
|
<bb 14> [local count: 76958566]:
|
|
# DEBUG BEGIN_STMT
|
|
_21 ={v} _14->GCR;
|
|
_22 = _21 & 4294967294;
|
|
_14->GCR ={v} _22;
|
|
|
|
<bb 15> [local count: 348071309]:
|
|
# DEBUG BEGIN_STMT
|
|
_23 ={v} _14->IER;
|
|
_24 = _23 & 4294967280;
|
|
_14->IER ={v} _24;
|
|
# DEBUG BEGIN_STMT
|
|
_14->RCCR ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
_14->HTCR ={v} 16777215;
|
|
# DEBUG BEGIN_STMT
|
|
_14->LTCR ={v} 0;
|
|
# DEBUG BEGIN_STMT
|
|
_25 ={v} _14->SR;
|
|
_26 = _25 | 19;
|
|
_14->SR ={v} _26;
|
|
# DEBUG BEGIN_STMT
|
|
SchM_Exit_Mcu_MCU_EXCLUSIVE_AREA_01 ();
|
|
StartTime ={v} {CLOBBER};
|
|
ElapsedTime ={v} {CLOBBER};
|
|
TimeoutTicks ={v} {CLOBBER};
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function ResetCmuFcFceRefCntLfrefHfref (ResetCmuFcFceRefCntLfrefHfref, funcdef_no=5, decl_uid=5074, cgraph_uid=6, symbol_order=6)
|
|
|
|
Modification phase of node ResetCmuFcFceRefCntLfrefHfref/6
|
|
ResetCmuFcFceRefCntLfrefHfref (const struct Clock_Ip_CmuConfigType * config)
|
|
{
|
|
<unnamed type> _1;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = config_3(D)->name;
|
|
DisableCmuFcFceRefCntLfrefHfref (_1);
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function ClockMonitorEmpty_ClearStatus (ClockMonitorEmpty_ClearStatus, funcdef_no=11, decl_uid=5070, cgraph_uid=3, symbol_order=3)
|
|
|
|
Modification phase of node ClockMonitorEmpty_ClearStatus/3
|
|
ClockMonitorEmpty_ClearStatus (Clock_Ip_NameType name)
|
|
{
|
|
<bb 2> [local count: 1073741824]:
|
|
ClockMonitorEmpty_Disable (name_1(D)); [tail call]
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Mcu_CMU_ClockFailInt (Mcu_CMU_ClockFailInt, funcdef_no=9, decl_uid=5043, cgraph_uid=10, symbol_order=10)
|
|
|
|
Modification phase of node Mcu_CMU_ClockFailInt/10
|
|
Mcu_CMU_ClockFailInt ()
|
|
{
|
|
Clock_Ip_NameType name;
|
|
uint32 indexCmuEntry;
|
|
uint32 instance;
|
|
uint32 cmuIsrValue;
|
|
int _1;
|
|
unsigned char _2;
|
|
volatile struct ClockMonitor_Type * _3;
|
|
long unsigned int _4;
|
|
const struct Clock_Ip_ClockConfigType * clockConfig.5_5;
|
|
long unsigned int _6;
|
|
|
|
<bb 2> [local count: 214748364]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG indexCmuEntry => 0
|
|
goto <bb 7>; [100.00%]
|
|
|
|
<bb 3> [local count: 858993459]:
|
|
# DEBUG BEGIN_STMT
|
|
name_11 = cmuEntries[indexCmuEntry_7].name;
|
|
# DEBUG name => name_11
|
|
# DEBUG BEGIN_STMT
|
|
_1 = (int) name_11;
|
|
_2 = clockFeatures[_1][6];
|
|
instance_12 = (uint32) _2;
|
|
# DEBUG instance => instance_12
|
|
# DEBUG BEGIN_STMT
|
|
_3 = cmu[instance_12];
|
|
_4 ={v} _3->SR;
|
|
cmuIsrValue_13 = _4 & 3;
|
|
# DEBUG cmuIsrValue => cmuIsrValue_13
|
|
# DEBUG BEGIN_STMT
|
|
_3->SR ={v} cmuIsrValue_13;
|
|
# DEBUG BEGIN_STMT
|
|
clockConfig.5_5 = clockConfig;
|
|
if (clockConfig.5_5 != 0B)
|
|
goto <bb 4>; [70.00%]
|
|
else
|
|
goto <bb 6>; [30.00%]
|
|
|
|
<bb 4> [local count: 601295421]:
|
|
# DEBUG BEGIN_STMT
|
|
_6 ={v} _3->IER;
|
|
# DEBUG cmuIerValue => _6 & 3
|
|
# DEBUG BEGIN_STMT
|
|
cmuIsrValue_15 = _6 & cmuIsrValue_13;
|
|
# DEBUG cmuIsrValue => cmuIsrValue_15
|
|
# DEBUG BEGIN_STMT
|
|
if (cmuIsrValue_15 != 0)
|
|
goto <bb 5>; [33.00%]
|
|
else
|
|
goto <bb 6>; [67.00%]
|
|
|
|
<bb 5> [local count: 198427489]:
|
|
# DEBUG BEGIN_STMT
|
|
ReportClockErrors (0, name_11);
|
|
|
|
<bb 6> [local count: 858993459]:
|
|
# DEBUG BEGIN_STMT
|
|
indexCmuEntry_17 = indexCmuEntry_7 + 1;
|
|
# DEBUG indexCmuEntry => indexCmuEntry_17
|
|
|
|
<bb 7> [local count: 1073741824]:
|
|
# indexCmuEntry_7 = PHI <0(2), indexCmuEntry_17(6)>
|
|
# DEBUG indexCmuEntry => indexCmuEntry_7
|
|
# DEBUG BEGIN_STMT
|
|
if (indexCmuEntry_7 != 4)
|
|
goto <bb 3>; [80.00%]
|
|
else
|
|
goto <bb 8>; [20.00%]
|
|
|
|
<bb 8> [local count: 214748365]:
|
|
return;
|
|
|
|
}
|
|
|
|
|