ADM/GW/Debug_FLASH/src/BMS/BMS_SOC.c.072i.cp
2024-08-22 18:10:45 +09:00

124 lines
2.9 KiB
C++

IPA constant propagation start:
IPA structures before propagation:
Jump functions:
Jump functions of caller Soc_Check_befor_IGN/1:
Jump functions of caller Soc_Check/0:
Propagating constants:
Not considering Soc_Check_befor_IGN for cloning; -fipa-cp-clone disabled.
Not considering Soc_Check for cloning; -fipa-cp-clone disabled.
overall_size: 15, max_new_size: 11001
IPA lattices after all propagation:
Lattices:
Node: Soc_Check_befor_IGN/1:
Node: Soc_Check/0:
IPA decision stage:
IPA constant propagation end
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Symbol table:
GV_SOC_STAT_Flag/4 (GV_SOC_STAT_Flag) @06aa2438
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: Soc_Check_befor_IGN/1 (write)
Availability: not_available
Varpool flags:
GV_SOC_Value/3 (GV_SOC_Value) @06aa2240
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: Soc_Check/0 (write)Soc_Check_befor_IGN/1 (write)
Availability: not_available
Varpool flags:
ECU3/2 (ECU3) @06aa21f8
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: Soc_Check/0 (read)Soc_Check_befor_IGN/1 (read)
Availability: not_available
Varpool flags:
Soc_Check_befor_IGN/1 (Soc_Check_befor_IGN) @06aa1000
Type: function definition analyzed
Visibility: externally_visible public
References: ECU3/2 (read)GV_SOC_Value/3 (write)GV_SOC_STAT_Flag/4 (write)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
Soc_Check/0 (Soc_Check) @06a97b60
Type: function definition analyzed
Visibility: externally_visible public
References: ECU3/2 (read)GV_SOC_Value/3 (write)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
;; Function Soc_Check (Soc_Check, funcdef_no=0, decl_uid=5271, cgraph_uid=1, symbol_order=0)
Modification phase of node Soc_Check/0
Soc_Check ()
{
unsigned char _1;
float _2;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = ECU3.RX.CH0_BCM_VCU_Signal2_0x580.BMS_SOC;
_2 = (float) _1;
GV_SOC_Value = _2;
return;
}
;; Function Soc_Check_befor_IGN (Soc_Check_befor_IGN, funcdef_no=1, decl_uid=5273, cgraph_uid=2, symbol_order=1)
Modification phase of node Soc_Check_befor_IGN/1
Soc_Check_befor_IGN ()
{
unsigned char _1;
float _2;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = ECU3.RX.CH0_BCM_VCU_Signal2_0x580.BMS_SOC;
_2 = (float) _1;
GV_SOC_Value = _2;
# DEBUG BEGIN_STMT
if (_2 <= 3.0e+1)
goto <bb 3>; [50.00%]
else
goto <bb 4>; [50.00%]
<bb 3> [local count: 536870913]:
# DEBUG BEGIN_STMT
GV_SOC_STAT_Flag = 3;
<bb 4> [local count: 1073741824]:
return;
}