mirror of
https://github.com/Dev-KATECH/ADM.git
synced 2026-05-17 01:43:59 +09:00
171 lines
5.0 KiB
C++
171 lines
5.0 KiB
C++
|
|
IPA constant propagation start:
|
|
|
|
IPA structures before propagation:
|
|
|
|
Jump functions:
|
|
Jump functions of caller On_Charging_Status.part.0/8:
|
|
Jump functions of caller On_Charging_Status/1:
|
|
callsite On_Charging_Status/1 -> On_Charging_Status.part.0/8 :
|
|
Jump functions of caller Check_Charging_Status/0:
|
|
callsite Check_Charging_Status/0 -> On_Charging_Status/1 :
|
|
|
|
Propagating constants:
|
|
|
|
Not considering On_Charging_Status for cloning; -fipa-cp-clone disabled.
|
|
Not considering Check_Charging_Status for cloning; -fipa-cp-clone disabled.
|
|
|
|
overall_size: 24, max_new_size: 11001
|
|
|
|
IPA lattices after all propagation:
|
|
|
|
Lattices:
|
|
Node: On_Charging_Status.part.0/8:
|
|
Node: On_Charging_Status/1:
|
|
Node: Check_Charging_Status/0:
|
|
|
|
IPA decision stage:
|
|
|
|
|
|
IPA constant propagation end
|
|
|
|
Reclaiming functions:
|
|
Reclaiming variables:
|
|
Clearing address taken flags:
|
|
Symbol table:
|
|
|
|
On_Charging_Status.part.0/8 (On_Charging_Status.part.0) @05fe31c0
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly artificial
|
|
References: GV_Charging_Status_M_Torq/4 (write)GV_VCU_TrqCmd/5 (write)GV_Charging_Status_Steer_Angle/6 (write)GV_VCU_Drive_Mode/7 (write)
|
|
Referring:
|
|
Availability: local
|
|
Function flags: count:1073741824 (estimated locally) first_run:1 body local split_part optimize_size
|
|
Called by: On_Charging_Status/1 (536870912 (estimated locally),0.50 per call)
|
|
Calls:
|
|
GV_VCU_Drive_Mode/7 (GV_VCU_Drive_Mode) @05d601b0
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: On_Charging_Status.part.0/8 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_Charging_Status_Steer_Angle/6 (GV_Charging_Status_Steer_Angle) @05d60168
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: On_Charging_Status.part.0/8 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_VCU_TrqCmd/5 (GV_VCU_TrqCmd) @05d60120
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: On_Charging_Status.part.0/8 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_Charging_Status_M_Torq/4 (GV_Charging_Status_M_Torq) @05d600d8
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: On_Charging_Status.part.0/8 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_Charging_Status_val/3 (GV_Charging_Status_val) @05fdfe10
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: On_Charging_Status/1 (read)Check_Charging_Status/0 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
ECU3/2 (ECU3) @05fdfdc8
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Check_Charging_Status/0 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
On_Charging_Status/1 (On_Charging_Status) @05fe3620
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: GV_Charging_Status_val/3 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by: Check_Charging_Status/0 (273804165 (estimated locally),0.25 per call)
|
|
Calls: On_Charging_Status.part.0/8 (536870912 (estimated locally),0.50 per call)
|
|
Check_Charging_Status/0 (Check_Charging_Status) @05fe3380
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: ECU3/2 (read)GV_Charging_Status_val/3 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: On_Charging_Status/1 (273804165 (estimated locally),0.25 per call)
|
|
|
|
;; Function On_Charging_Status (On_Charging_Status, funcdef_no=1, decl_uid=5302, cgraph_uid=2, symbol_order=1)
|
|
|
|
Modification phase of node On_Charging_Status/1
|
|
On_Charging_Status ()
|
|
{
|
|
unsigned char GV_Charging_Status_val.1_1;
|
|
unsigned char _2;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_Charging_Status_val.1_1 = GV_Charging_Status_val;
|
|
_2 = GV_Charging_Status_val.1_1 + 255;
|
|
if (_2 <= 2)
|
|
goto <bb 3>; [50.00%]
|
|
else
|
|
goto <bb 4>; [50.00%]
|
|
|
|
<bb 3> [local count: 536870912]:
|
|
On_Charging_Status.part.0 ();
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Check_Charging_Status (Check_Charging_Status, funcdef_no=0, decl_uid=5304, cgraph_uid=1, symbol_order=0)
|
|
|
|
Modification phase of node Check_Charging_Status/0
|
|
Check_Charging_Status ()
|
|
{
|
|
<unnamed-unsigned:3> _1;
|
|
unsigned char _2;
|
|
unsigned char _3;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = ECU3.RX.CH0_BCM_VCU_Signal2_0x580.ChargingStatus;
|
|
_2 = (unsigned char) _1;
|
|
GV_Charging_Status_val = _2;
|
|
# DEBUG BEGIN_STMT
|
|
_3 = _2 + 255;
|
|
if (_3 <= 1)
|
|
goto <bb 3>; [25.50%]
|
|
else
|
|
goto <bb 4>; [74.50%]
|
|
|
|
<bb 3> [local count: 273804165]:
|
|
# DEBUG BEGIN_STMT
|
|
On_Charging_Status ();
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
return;
|
|
|
|
}
|
|
|
|
|