mirror of
https://github.com/Dev-KATECH/ADM.git
synced 2026-05-17 01:43:59 +09:00
351 lines
10 KiB
C++
351 lines
10 KiB
C++
|
|
IPA constant propagation start:
|
|
|
|
IPA structures before propagation:
|
|
|
|
Jump functions:
|
|
Jump functions of caller Sys_GetCoreID/17:
|
|
Jump functions of caller Det_Start/16:
|
|
Jump functions of caller Det_ReportTransientFault/15:
|
|
Jump functions of caller Det_ReportRuntimeError/14:
|
|
Jump functions of caller Det_ReportError/13:
|
|
Jump functions of caller Det_Init/12:
|
|
|
|
Propagating constants:
|
|
|
|
Function Det_Start/16 is not versionable, reason: not a tree_versionable_function.
|
|
Not considering Det_ReportTransientFault for cloning; -fipa-cp-clone disabled.
|
|
Not considering Det_ReportRuntimeError for cloning; -fipa-cp-clone disabled.
|
|
Not considering Det_ReportError for cloning; -fipa-cp-clone disabled.
|
|
Not considering Det_Init for cloning; -fipa-cp-clone disabled.
|
|
|
|
overall_size: 34, max_new_size: 11001
|
|
|
|
IPA lattices after all propagation:
|
|
|
|
Lattices:
|
|
Node: Det_Start/16:
|
|
Node: Det_ReportTransientFault/15:
|
|
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
|
|
param [3]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Det_ReportRuntimeError/14:
|
|
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
|
|
param [3]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Det_ReportError/13:
|
|
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
|
|
param [3]: BOTTOM
|
|
ctxs: BOTTOM
|
|
Bits unusable (BOTTOM)
|
|
VARYING
|
|
AGGS BOTTOM
|
|
Node: Det_Init/12:
|
|
|
|
IPA decision stage:
|
|
|
|
|
|
IPA constant propagation end
|
|
|
|
Reclaiming functions:
|
|
Reclaiming variables:
|
|
Clearing address taken flags:
|
|
Symbol table:
|
|
|
|
Sys_GetCoreID/17 (Sys_GetCoreID) @05cc59a0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Det_ReportTransientFault/15 (1073741824 (estimated locally),1.00 per call) Det_ReportRuntimeError/14 (1073741824 (estimated locally),1.00 per call) Det_ReportError/13 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
Det_Start/16 (Det_Start) @05cc5460
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body icf_merged optimize_size
|
|
Called by:
|
|
Calls: Det_Init/12 (1073741824 (estimated locally),1.00 per call)
|
|
Det_ReportTransientFault/15 (Det_ReportTransientFault) @05cc51c0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: Det_TransientModuleId/9 (write)Det_TransientInstanceId/6 (write)Det_TransientApiId/7 (write)Det_TransientFaultId/8 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: Sys_GetCoreID/17 (1073741824 (estimated locally),1.00 per call)
|
|
Det_ReportRuntimeError/14 (Det_ReportRuntimeError) @05cc1d20
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: Det_RuntimeModuleId/11 (write)Det_RuntimeInstanceId/3 (write)Det_RuntimeApiId/4 (write)Det_RuntimeErrorId/5 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: Sys_GetCoreID/17 (1073741824 (estimated locally),1.00 per call)
|
|
Det_ReportError/13 (Det_ReportError) @05cc1ee0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: Det_ModuleId/10 (write)Det_InstanceId/0 (write)Det_ApiId/1 (write)Det_ErrorId/2 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: Sys_GetCoreID/17 (1073741824 (estimated locally),1.00 per call)
|
|
Det_Init/12 (Det_Init) @05cc1c40
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body icf_merged optimize_size
|
|
Called by: Det_Start/16 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
Det_RuntimeModuleId/11 (Det_RuntimeModuleId) @05cbba68
|
|
Type: variable definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring: Det_ReportRuntimeError/14 (write)
|
|
Availability: available
|
|
Varpool flags:
|
|
Det_ModuleId/10 (Det_ModuleId) @05cbba20
|
|
Type: variable definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring: Det_ReportError/13 (write)
|
|
Availability: available
|
|
Varpool flags:
|
|
Det_TransientModuleId/9 (Det_TransientModuleId) @05cbb9d8
|
|
Type: variable definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring: Det_ReportTransientFault/15 (write)
|
|
Availability: available
|
|
Varpool flags:
|
|
Det_TransientFaultId/8 (Det_TransientFaultId) @05cbb990
|
|
Type: variable definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring: Det_ReportTransientFault/15 (write)
|
|
Availability: available
|
|
Varpool flags:
|
|
Det_TransientApiId/7 (Det_TransientApiId) @05cbb948
|
|
Type: variable definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring: Det_ReportTransientFault/15 (write)
|
|
Availability: available
|
|
Varpool flags:
|
|
Det_TransientInstanceId/6 (Det_TransientInstanceId) @05cbb900
|
|
Type: variable definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring: Det_ReportTransientFault/15 (write)
|
|
Availability: available
|
|
Varpool flags:
|
|
Det_RuntimeErrorId/5 (Det_RuntimeErrorId) @05cbb8b8
|
|
Type: variable definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring: Det_ReportRuntimeError/14 (write)
|
|
Availability: available
|
|
Varpool flags:
|
|
Det_RuntimeApiId/4 (Det_RuntimeApiId) @05cbb870
|
|
Type: variable definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring: Det_ReportRuntimeError/14 (write)
|
|
Availability: available
|
|
Varpool flags:
|
|
Det_RuntimeInstanceId/3 (Det_RuntimeInstanceId) @05cbb828
|
|
Type: variable definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring: Det_ReportRuntimeError/14 (write)
|
|
Availability: available
|
|
Varpool flags:
|
|
Det_ErrorId/2 (Det_ErrorId) @05cbb7e0
|
|
Type: variable definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring: Det_ReportError/13 (write)
|
|
Availability: available
|
|
Varpool flags:
|
|
Det_ApiId/1 (Det_ApiId) @05cbb798
|
|
Type: variable definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring: Det_ReportError/13 (write)
|
|
Availability: available
|
|
Varpool flags:
|
|
Det_InstanceId/0 (Det_InstanceId) @05cbb750
|
|
Type: variable definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring: Det_ReportError/13 (write)
|
|
Availability: available
|
|
Varpool flags:
|
|
|
|
;; Function Det_Init (Det_Init, funcdef_no=0, decl_uid=4087, cgraph_uid=1, symbol_order=12)
|
|
|
|
Modification phase of node Det_Init/12
|
|
Det_Init ()
|
|
{
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Det_ReportError (Det_ReportError, funcdef_no=1, decl_uid=4092, cgraph_uid=2, symbol_order=13)
|
|
|
|
Modification phase of node Det_ReportError/13
|
|
Det_ReportError (uint16 ModuleId, uint8 InstanceId, uint8 ApiId, uint8 ErrorId)
|
|
{
|
|
uint32 u32CoreId;
|
|
unsigned char _1;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = Sys_GetCoreID ();
|
|
u32CoreId_4 = (uint32) _1;
|
|
# DEBUG u32CoreId => u32CoreId_4
|
|
# DEBUG BEGIN_STMT
|
|
Det_ModuleId[u32CoreId_4] = ModuleId_5(D);
|
|
# DEBUG BEGIN_STMT
|
|
Det_InstanceId[u32CoreId_4] = InstanceId_7(D);
|
|
# DEBUG BEGIN_STMT
|
|
Det_ApiId[u32CoreId_4] = ApiId_9(D);
|
|
# DEBUG BEGIN_STMT
|
|
Det_ErrorId[u32CoreId_4] = ErrorId_11(D);
|
|
# DEBUG BEGIN_STMT
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Det_ReportRuntimeError (Det_ReportRuntimeError, funcdef_no=2, decl_uid=4097, cgraph_uid=3, symbol_order=14)
|
|
|
|
Modification phase of node Det_ReportRuntimeError/14
|
|
Det_ReportRuntimeError (uint16 ModuleId, uint8 InstanceId, uint8 ApiId, uint8 ErrorId)
|
|
{
|
|
uint32 u32CoreId;
|
|
unsigned char _1;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = Sys_GetCoreID ();
|
|
u32CoreId_4 = (uint32) _1;
|
|
# DEBUG u32CoreId => u32CoreId_4
|
|
# DEBUG BEGIN_STMT
|
|
Det_RuntimeModuleId[u32CoreId_4] = ModuleId_5(D);
|
|
# DEBUG BEGIN_STMT
|
|
Det_RuntimeInstanceId[u32CoreId_4] = InstanceId_7(D);
|
|
# DEBUG BEGIN_STMT
|
|
Det_RuntimeApiId[u32CoreId_4] = ApiId_9(D);
|
|
# DEBUG BEGIN_STMT
|
|
Det_RuntimeErrorId[u32CoreId_4] = ErrorId_11(D);
|
|
# DEBUG BEGIN_STMT
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Det_ReportTransientFault (Det_ReportTransientFault, funcdef_no=3, decl_uid=4102, cgraph_uid=4, symbol_order=15)
|
|
|
|
Modification phase of node Det_ReportTransientFault/15
|
|
Det_ReportTransientFault (uint16 ModuleId, uint8 InstanceId, uint8 ApiId, uint8 FaultId)
|
|
{
|
|
uint32 u32CoreId;
|
|
unsigned char _1;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = Sys_GetCoreID ();
|
|
u32CoreId_4 = (uint32) _1;
|
|
# DEBUG u32CoreId => u32CoreId_4
|
|
# DEBUG BEGIN_STMT
|
|
Det_TransientModuleId[u32CoreId_4] = ModuleId_5(D);
|
|
# DEBUG BEGIN_STMT
|
|
Det_TransientInstanceId[u32CoreId_4] = InstanceId_7(D);
|
|
# DEBUG BEGIN_STMT
|
|
Det_TransientApiId[u32CoreId_4] = ApiId_9(D);
|
|
# DEBUG BEGIN_STMT
|
|
Det_TransientFaultId[u32CoreId_4] = FaultId_11(D);
|
|
# DEBUG BEGIN_STMT
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Det_Start (Det_Start, funcdef_no=6, decl_uid=4104, cgraph_uid=5, symbol_order=16)
|
|
|
|
Modification phase of node Det_Start/16
|
|
Det_Start ()
|
|
{
|
|
<bb 2> [local count: 1073741824]:
|
|
Det_Init (); [tail call]
|
|
return;
|
|
|
|
}
|
|
|
|
|