ADM/GW/Debug_FLASH/src/MCU/Low_SOC_mode.c.077i.pure-const
2024-08-28 19:21:10 +09:00

136 lines
4.1 KiB
Plaintext

local analysis of Soc_Low_Torq_Limit
scanning: GV_SOC_Value.0_1 = GV_SOC_Value;
scanning: _2 = (double) GV_SOC_Value.0_1;
scanning: _3 = _2 * 1.0000000000000000208166817117216851329430937767e-2;
scanning: _4 = (float) _3;
scanning: GV_SoC_Torq_Gain = _4;
scanning: GV_SOC_STAT_Flag.1_5 = GV_SOC_STAT_Flag;
scanning: if (GV_SOC_STAT_Flag.1_5 == 1)
scanning: GV_SoC_Torq_Limit.2_6 = GV_SoC_Torq_Limit;
scanning: _7 = _4 * GV_SoC_Torq_Limit.2_6;
scanning: GV_VCU_TrqCmd = _7;
scanning: if (GV_SOC_STAT_Flag.1_5 == 2)
scanning: GV_VCU_TrqCmd = 0.0;
scanning: GV_SoC_Torq_Limit.5_8 = GV_SoC_Torq_Limit;
scanning: GV_VCU_TrqCmd = GV_SoC_Torq_Limit.5_8;
scanning: return;
Function is locally const.
callgraph:
Soc_Low_Torq_Limit/0 (Soc_Low_Torq_Limit) @06ac7b60
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065e61a0
References: GV_SOC_Value/1 (read)GV_SoC_Torq_Gain/2 (write)GV_SOC_STAT_Flag/3 (read)GV_SoC_Torq_Limit/4 (read)GV_VCU_TrqCmd/5 (write)GV_VCU_TrqCmd/5 (write)GV_SoC_Torq_Limit/4 (read)GV_VCU_TrqCmd/5 (write)
Referring:
Availability: available
Function flags: count:1073741823 (estimated locally) body optimize_size
Called by:
Calls:
ordered call graph: reduced for nothrow
Soc_Low_Torq_Limit/0 (Soc_Low_Torq_Limit) @06ac7b60
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065e61a0
References: GV_SOC_Value/1 (read)GV_SoC_Torq_Gain/2 (write)GV_SOC_STAT_Flag/3 (read)GV_SoC_Torq_Limit/4 (read)GV_VCU_TrqCmd/5 (write)GV_VCU_TrqCmd/5 (write)GV_SoC_Torq_Limit/4 (read)GV_VCU_TrqCmd/5 (write)
Referring:
Availability: available
Function flags: count:1073741823 (estimated locally) body optimize_size
Called by:
Calls:
MALLOC LATTICE Initial:
Soc_Low_Torq_Limit: malloc_bottom
MALLOC LATTICE after propagation:
Soc_Low_Torq_Limit: malloc_bottom
callgraph:
Soc_Low_Torq_Limit/0 (Soc_Low_Torq_Limit) @06ac7b60
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065e6120
References: GV_SOC_Value/1 (read)GV_SoC_Torq_Gain/2 (write)GV_SOC_STAT_Flag/3 (read)GV_SoC_Torq_Limit/4 (read)GV_VCU_TrqCmd/5 (write)GV_VCU_TrqCmd/5 (write)GV_SoC_Torq_Limit/4 (read)GV_VCU_TrqCmd/5 (write)
Referring:
Availability: available
Function flags: count:1073741823 (estimated locally) body optimize_size
Called by:
Calls:
ordered call graph: reduced
Soc_Low_Torq_Limit/0 (Soc_Low_Torq_Limit) @06ac7b60
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065e6120
References: GV_SOC_Value/1 (read)GV_SoC_Torq_Gain/2 (write)GV_SOC_STAT_Flag/3 (read)GV_SoC_Torq_Limit/4 (read)GV_VCU_TrqCmd/5 (write)GV_VCU_TrqCmd/5 (write)GV_SoC_Torq_Limit/4 (read)GV_VCU_TrqCmd/5 (write)
Referring:
Availability: available
Function flags: count:1073741823 (estimated locally) body optimize_size
Called by:
Calls:
Function found not to call free: Soc_Low_Torq_Limit
Soc_Low_Torq_Limit ()
{
float GV_SOC_Value.0_1;
double _2;
double _3;
float _4;
unsigned char GV_SOC_STAT_Flag.1_5;
float GV_SoC_Torq_Limit.2_6;
float _7;
float GV_SoC_Torq_Limit.5_8;
<bb 2> [local count: 1073741823]:
# DEBUG BEGIN_STMT
GV_SOC_Value.0_1 = GV_SOC_Value;
_2 = (double) GV_SOC_Value.0_1;
_3 = _2 * 1.0000000000000000208166817117216851329430937767e-2;
_4 = (float) _3;
GV_SoC_Torq_Gain = _4;
# DEBUG BEGIN_STMT
GV_SOC_STAT_Flag.1_5 = GV_SOC_STAT_Flag;
if (GV_SOC_STAT_Flag.1_5 == 1)
goto <bb 3>; [34.00%]
else
goto <bb 4>; [66.00%]
<bb 3> [local count: 365072220]:
# DEBUG BEGIN_STMT
GV_SoC_Torq_Limit.2_6 = GV_SoC_Torq_Limit;
_7 = _4 * GV_SoC_Torq_Limit.2_6;
GV_VCU_TrqCmd = _7;
goto <bb 7>; [100.00%]
<bb 4> [local count: 708669604]:
# DEBUG BEGIN_STMT
if (GV_SOC_STAT_Flag.1_5 == 2)
goto <bb 5>; [34.00%]
else
goto <bb 6>; [66.00%]
<bb 5> [local count: 240947665]:
# DEBUG BEGIN_STMT
GV_VCU_TrqCmd = 0.0;
goto <bb 7>; [100.00%]
<bb 6> [local count: 467721938]:
# DEBUG BEGIN_STMT
GV_SoC_Torq_Limit.5_8 = GV_SoC_Torq_Limit;
GV_VCU_TrqCmd = GV_SoC_Torq_Limit.5_8;
<bb 7> [local count: 1073741824]:
return;
}