ADM/GW/Debug_FLASH/src/BMS/Charging_Status.c.072i.cp
2024-08-08 10:00:15 +09:00

134 lines
3.5 KiB
C++

IPA constant propagation start:
IPA structures before propagation:
Jump functions:
Jump functions of caller On_Charging_Status/1:
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: 16, max_new_size: 11001
IPA lattices after all propagation:
Lattices:
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:
GV_Charging_Status_Steer_Angle/4 (GV_Charging_Status_Steer_Angle) @06aa43f0
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: On_Charging_Status/1 (write)
Availability: not_available
Varpool flags:
GV_Charging_Status_val/3 (GV_Charging_Status_val) @06aa41b0
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) @06aa4168
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) @06aa22a0
Type: function definition analyzed
Visibility: externally_visible public
References: GV_Charging_Status_val/3 (read)GV_Charging_Status_Steer_Angle/4 (write)
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:
Check_Charging_Status/0 (Check_Charging_Status) @06aa2000
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=5274, 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;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
GV_Charging_Status_val.1_1 = GV_Charging_Status_val;
if (GV_Charging_Status_val.1_1 == 1)
goto <bb 3>; [34.00%]
else
goto <bb 4>; [66.00%]
<bb 3> [local count: 365072220]:
# DEBUG BEGIN_STMT
GV_Charging_Status_Steer_Angle = 0;
<bb 4> [local count: 1073741824]:
return;
}
;; Function Check_Charging_Status (Check_Charging_Status, funcdef_no=0, decl_uid=5276, 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;
}