mirror of
https://github.com/Dev-KATECH/ADM.git
synced 2026-05-17 09:53:59 +09:00
1175 lines
40 KiB
C++
1175 lines
40 KiB
C++
|
|
IPA constant propagation start:
|
|
|
|
IPA structures before propagation:
|
|
|
|
Jump functions:
|
|
Jump functions of caller Emergency_Stop_Mode_Func.part.0/70:
|
|
Jump functions of caller RC_Motor_Logic/35:
|
|
Jump functions of caller ACU_Motor_Logic/30:
|
|
Jump functions of caller HV_OFF_FUNC/21:
|
|
Jump functions of caller HV_ON_FUNC/13:
|
|
Jump functions of caller Operation_Mode_Func/7:
|
|
callsite Operation_Mode_Func/7 -> Default_Mode_Func/1 :
|
|
callsite Operation_Mode_Func/7 -> Emergency_Stop_Mode_Func/4 :
|
|
callsite Operation_Mode_Func/7 -> Mannual_Mode_Func/3 :
|
|
callsite Operation_Mode_Func/7 -> Autonomous_Mode_Func/2 :
|
|
callsite Operation_Mode_Func/7 -> Operation_Mode_Check/0 :
|
|
callsite Operation_Mode_Func/7 -> Vehicle_Environment/6 :
|
|
callsite Operation_Mode_Func/7 -> Operation_IDB_RWA/5 :
|
|
Jump functions of caller Vehicle_Environment/6:
|
|
Jump functions of caller Operation_IDB_RWA/5:
|
|
Jump functions of caller Emergency_Stop_Mode_Func/4:
|
|
callsite Emergency_Stop_Mode_Func/4 -> Emergency_Stop_Mode_Func.part.0/70 :
|
|
Jump functions of caller Mannual_Mode_Func/3:
|
|
Jump functions of caller Autonomous_Mode_Func/2:
|
|
Jump functions of caller Default_Mode_Func/1:
|
|
Jump functions of caller Operation_Mode_Check/0:
|
|
|
|
Propagating constants:
|
|
|
|
Not considering Operation_Mode_Func for cloning; -fipa-cp-clone disabled.
|
|
Not considering Vehicle_Environment for cloning; -fipa-cp-clone disabled.
|
|
Not considering Operation_IDB_RWA for cloning; -fipa-cp-clone disabled.
|
|
Not considering Emergency_Stop_Mode_Func for cloning; -fipa-cp-clone disabled.
|
|
Not considering Mannual_Mode_Func for cloning; -fipa-cp-clone disabled.
|
|
Not considering Autonomous_Mode_Func for cloning; -fipa-cp-clone disabled.
|
|
Not considering Default_Mode_Func for cloning; -fipa-cp-clone disabled.
|
|
Not considering Operation_Mode_Check for cloning; -fipa-cp-clone disabled.
|
|
|
|
overall_size: 188, max_new_size: 11001
|
|
|
|
IPA lattices after all propagation:
|
|
|
|
Lattices:
|
|
Node: Emergency_Stop_Mode_Func.part.0/70:
|
|
Node: Operation_Mode_Func/7:
|
|
Node: Vehicle_Environment/6:
|
|
Node: Operation_IDB_RWA/5:
|
|
Node: Emergency_Stop_Mode_Func/4:
|
|
Node: Mannual_Mode_Func/3:
|
|
Node: Autonomous_Mode_Func/2:
|
|
Node: Default_Mode_Func/1:
|
|
Node: Operation_Mode_Check/0:
|
|
|
|
IPA decision stage:
|
|
|
|
|
|
IPA constant propagation end
|
|
|
|
Reclaiming functions:
|
|
Reclaiming variables:
|
|
Clearing address taken flags:
|
|
Symbol table:
|
|
|
|
Emergency_Stop_Mode_Func.part.0/70 (Emergency_Stop_Mode_Func.part.0) @069f71c0
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly artificial
|
|
References: GV_Out_Lamp_BRAKE_CMD/22 (write)GV_Out_Lamp_Hazard_CMD/23 (write)GV_VCU_RC_Emergency_Stop/26 (write)GV_VCU_Drive_Mode/11 (write)
|
|
Referring:
|
|
Availability: local
|
|
Function flags: count:1073741824 (estimated locally) first_run:1 body local split_part optimize_size
|
|
Called by: Emergency_Stop_Mode_Func/4 (134217728 (estimated locally),0.12 per call)
|
|
Calls:
|
|
GV_Env_384_TimestampYear/69 (GV_Env_384_TimestampYear) @069f9120
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Vehicle_Environment/6 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_Env_384_TimestampSecond/68 (GV_Env_384_TimestampSecond) @069f90d8
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Vehicle_Environment/6 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_Env_384_TimestampMonth/67 (GV_Env_384_TimestampMonth) @069f9090
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Vehicle_Environment/6 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_Env_384_TimestampMinute/66 (GV_Env_384_TimestampMinute) @069f9048
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Vehicle_Environment/6 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_Env_384_TimestampHour/65 (GV_Env_384_TimestampHour) @069f9000
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Vehicle_Environment/6 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_Env_384_TimestampDay/64 (GV_Env_384_TimestampDay) @069f5f78
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Vehicle_Environment/6 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_Env_384_EnvironmentTemperatureValid/63 (GV_Env_384_EnvironmentTemperatureValid) @069f5f30
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Vehicle_Environment/6 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_Env_384_EnvironmentTemperature/62 (GV_Env_384_EnvironmentTemperature) @069f5ee8
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Vehicle_Environment/6 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RWS2_310_ModeCommand/61 (GV_RWS2_310_ModeCommand) @069f5dc8
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RWS2_310_WakeupCommand/60 (GV_RWS2_310_WakeupCommand) @069f5d80
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RWS2_040_RackAngleCmdValid/59 (GV_RWS2_040_RackAngleCmdValid) @069f5d38
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RWS1_310_ModeCommand/58 (GV_RWS1_310_ModeCommand) @069f5cf0
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RWS1_310_WakeupCommand/57 (GV_RWS1_310_WakeupCommand) @069f5ca8
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RWS1_040_RackAngleCmdValid/56 (GV_RWS1_040_RackAngleCmdValid) @069f5c60
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RWA2_310_WakeupCommand/55 (GV_RWA2_310_WakeupCommand) @069f5c18
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RWA2_310_ModeCommand/54 (GV_RWA2_310_ModeCommand) @069f5bd0
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RWA_310_WakeupCommand/53 (GV_RWA_310_WakeupCommand) @069f5b88
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RWA_310_ModeCommand/52 (GV_RWA_310_ModeCommand) @069f5b40
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RWA2_040_RackAngleCmdValid/51 (GV_RWA2_040_RackAngleCmdValid) @069f5af8
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RWA_040_RackAngleCmdValid/50 (GV_RWA_040_RackAngleCmdValid) @069f5ab0
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RCU_033_WakeUpCommand/49 (GV_RCU_033_WakeUpCommand) @069f5a68
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_IDB_032_WakeUpCommand/48 (GV_IDB_032_WakeUpCommand) @069f5a20
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RCU_GearPosition/47 (GV_RCU_GearPosition) @069f59d8
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RCU_PowertrainMode/46 (GV_RCU_PowertrainMode) @069f5990
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_GearPosition/45 (GV_GearPosition) @069f5948
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_PowertrainMode/44 (GV_PowertrainMode) @069f5900
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_DriveTorqueCommandValid/43 (GV_DriveTorqueCommandValid) @069f58b8
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_DriveTorqueCommand/42 (GV_DriveTorqueCommand) @069f5870
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_VCU_Vx_Limit/41 (GV_VCU_Vx_Limit) @069f53a8
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Mannual_Mode_Func/3 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RC_VX_Limit/40 (GV_RC_VX_Limit) @069f5360
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Mannual_Mode_Func/3 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RC_GearSelStat/39 (GV_RC_GearSelStat) @069f5318
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Mannual_Mode_Func/3 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RC_BrakeTorqueCommand/38 (GV_RC_BrakeTorqueCommand) @069f52d0
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Mannual_Mode_Func/3 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_VCU_RWA_Rack_Fbk/37 (GV_VCU_RWA_Rack_Fbk) @069f5288
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Mannual_Mode_Func/3 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RWA1_RackAngleFbk/36 (GV_RWA1_RackAngleFbk) @069f5240
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Mannual_Mode_Func/3 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
RC_Motor_Logic/35 (RC_Motor_Logic) @069daa80
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Mannual_Mode_Func/3 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
GV_RC_RWA_RackAngleCommand/34 (GV_RC_RWA_RackAngleCommand) @069f51b0
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Mannual_Mode_Func/3 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_MASTER_CLMAP_FORCE/33 (GV_MASTER_CLMAP_FORCE) @069f0ea0
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Autonomous_Mode_Func/2 (write)Mannual_Mode_Func/3 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_ACU_BrakeTorqueCommand/32 (GV_ACU_BrakeTorqueCommand) @069f0e58
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Autonomous_Mode_Func/2 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_ACU_VCU_GearPos/31 (GV_ACU_VCU_GearPos) @069f0e10
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Autonomous_Mode_Func/2 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
ACU_Motor_Logic/30 (ACU_Motor_Logic) @069da2a0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Autonomous_Mode_Func/2 (508506948 (estimated locally),0.47 per call)
|
|
Calls:
|
|
GV_VCU_GearSelStat/29 (GV_VCU_GearSelStat) @069f0d80
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Mannual_Mode_Func/3 (write)Autonomous_Mode_Func/2 (read)Autonomous_Mode_Func/2 (write)Operation_IDB_RWA/5 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_ACU_RWS_cmd_deg/28 (GV_ACU_RWS_cmd_deg) @069f0d38
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Autonomous_Mode_Func/2 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_ACU_RWA_cmd_deg/27 (GV_ACU_RWA_cmd_deg) @069f0cf0
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Autonomous_Mode_Func/2 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_VCU_RC_Emergency_Stop/26 (GV_VCU_RC_Emergency_Stop) @069f0900
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Autonomous_Mode_Func/2 (write)Mannual_Mode_Func/3 (write)Default_Mode_Func/1 (write)Emergency_Stop_Mode_Func.part.0/70 (write)Emergency_Stop_Mode_Func/4 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RC_Lamp_BRAKE_CMD/25 (GV_RC_Lamp_BRAKE_CMD) @069f08b8
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Default_Mode_Func/1 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RC_Lamp_Hazard_CMD/24 (GV_RC_Lamp_Hazard_CMD) @069f0870
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Default_Mode_Func/1 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_Out_Lamp_Hazard_CMD/23 (GV_Out_Lamp_Hazard_CMD) @069f0828
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Default_Mode_Func/1 (write)Emergency_Stop_Mode_Func.part.0/70 (write)Emergency_Stop_Mode_Func/4 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_Out_Lamp_BRAKE_CMD/22 (GV_Out_Lamp_BRAKE_CMD) @069f07e0
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Default_Mode_Func/1 (write)Emergency_Stop_Mode_Func.part.0/70 (write)Emergency_Stop_Mode_Func/4 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
HV_OFF_FUNC/21 (HV_OFF_FUNC) @069dad20
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Default_Mode_Func/1 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
GV_MASTER_RWS_RackAngleCommand/20 (GV_MASTER_RWS_RackAngleCommand) @069f0750
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Default_Mode_Func/1 (write)Autonomous_Mode_Func/2 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_MASTER_RWA_RackAngleCommand/19 (GV_MASTER_RWA_RackAngleCommand) @069f0708
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Default_Mode_Func/1 (write)Autonomous_Mode_Func/2 (write)Mannual_Mode_Func/3 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_VCU_TrqCmd/18 (GV_VCU_TrqCmd) @069f06c0
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Default_Mode_Func/1 (write)Emergency_Stop_Mode_Func/4 (write)Operation_IDB_RWA/5 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_Charging_Status_val/17 (GV_Charging_Status_val) @069f03f0
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_Mode_Check/0 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_Operation_Mode/16 (GV_Operation_Mode) @069f03a8
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_Mode_Check/0 (write)Operation_Mode_Check/0 (write)Operation_Mode_Func/7 (read)Operation_Mode_Func/7 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RC_Drive_Mode/15 (GV_RC_Drive_Mode) @069f0318
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_Mode_Check/0 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_HV_Apply_Check/14 (GV_HV_Apply_Check) @069f02d0
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_Mode_Check/0 (read)Operation_Mode_Check/0 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
HV_ON_FUNC/13 (HV_ON_FUNC) @069dab60
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Operation_Mode_Check/0 (66101419 (estimated locally),0.06 per call) Operation_Mode_Check/0 (70986421 (estimated locally),0.07 per call)
|
|
Calls:
|
|
GV_ACU_Drive_mode/12 (GV_ACU_Drive_mode) @069f0240
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_Mode_Check/0 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_VCU_Drive_Mode/11 (GV_VCU_Drive_Mode) @069f01f8
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_Mode_Check/0 (read)Operation_Mode_Check/0 (write)Operation_Mode_Check/0 (read)Operation_Mode_Check/0 (write)Operation_Mode_Check/0 (write)Operation_Mode_Check/0 (read)Operation_Mode_Check/0 (write)Operation_Mode_Check/0 (write)Operation_Mode_Check/0 (read)Operation_Mode_Check/0 (write)Operation_Mode_Check/0 (read)Operation_Mode_Check/0 (write)Emergency_Stop_Mode_Func.part.0/70 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_ACU_Emergency_Stop/10 (GV_ACU_Emergency_Stop) @069f01b0
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_Mode_Check/0 (read)Emergency_Stop_Mode_Func/4 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
EMEMERGNECY_BUTTEN/9 (EMEMERGNECY_BUTTEN) @069f0168
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_Mode_Check/0 (read)Default_Mode_Func/1 (read)Emergency_Stop_Mode_Func/4 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RC_Emergency_Stop/8 (GV_RC_Emergency_Stop) @069f0120
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_Mode_Check/0 (read)Default_Mode_Func/1 (read)Emergency_Stop_Mode_Func/4 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
Operation_Mode_Func/7 (Operation_Mode_Func) @069da460
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: GV_Operation_Mode/16 (read)GV_Operation_Mode/16 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: Default_Mode_Func/1 (138254943 (estimated locally),0.13 per call) Emergency_Stop_Mode_Func/4 (173338695 (estimated locally),0.16 per call) Mannual_Mode_Func/3 (217325345 (estimated locally),0.20 per call) Autonomous_Mode_Func/2 (354334802 (estimated locally),0.33 per call) Operation_Mode_Check/0 (1073741824 (estimated locally),1.00 per call) Vehicle_Environment/6 (1073741824 (estimated locally),1.00 per call) Operation_IDB_RWA/5 (1073741824 (estimated locally),1.00 per call)
|
|
Vehicle_Environment/6 (Vehicle_Environment) @069da1c0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: GV_Env_384_EnvironmentTemperature/62 (write)GV_Env_384_EnvironmentTemperatureValid/63 (write)GV_Env_384_TimestampDay/64 (write)GV_Env_384_TimestampHour/65 (write)GV_Env_384_TimestampMinute/66 (write)GV_Env_384_TimestampMonth/67 (write)GV_Env_384_TimestampSecond/68 (write)GV_Env_384_TimestampYear/69 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by: Operation_Mode_Func/7 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
Operation_IDB_RWA/5 (Operation_IDB_RWA) @069d2e00
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: GV_VCU_TrqCmd/18 (read)GV_DriveTorqueCommand/42 (write)GV_DriveTorqueCommandValid/43 (write)GV_PowertrainMode/44 (write)GV_VCU_GearSelStat/29 (read)GV_GearPosition/45 (write)GV_RCU_PowertrainMode/46 (write)GV_RCU_GearPosition/47 (write)GV_IDB_032_WakeUpCommand/48 (write)GV_RCU_033_WakeUpCommand/49 (write)GV_RWA_040_RackAngleCmdValid/50 (write)GV_RWA2_040_RackAngleCmdValid/51 (write)GV_RWA_310_ModeCommand/52 (write)GV_RWA_310_WakeupCommand/53 (write)GV_RWA2_310_ModeCommand/54 (write)GV_RWA2_310_WakeupCommand/55 (write)GV_RWS1_040_RackAngleCmdValid/56 (write)GV_RWS1_310_WakeupCommand/57 (write)GV_RWS1_310_ModeCommand/58 (write)GV_RWS2_040_RackAngleCmdValid/59 (write)GV_RWS2_310_WakeupCommand/60 (write)GV_RWS2_310_ModeCommand/61 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by: Operation_Mode_Func/7 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
Emergency_Stop_Mode_Func/4 (Emergency_Stop_Mode_Func) @069d28c0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: GV_Out_Lamp_BRAKE_CMD/22 (write)GV_Out_Lamp_Hazard_CMD/23 (write)GV_VCU_RC_Emergency_Stop/26 (write)GV_VCU_TrqCmd/18 (write)EMEMERGNECY_BUTTEN/9 (read)GV_RC_Emergency_Stop/8 (read)GV_ACU_Emergency_Stop/10 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by: Operation_Mode_Func/7 (173338695 (estimated locally),0.16 per call)
|
|
Calls: Emergency_Stop_Mode_Func.part.0/70 (134217728 (estimated locally),0.12 per call)
|
|
Mannual_Mode_Func/3 (Mannual_Mode_Func) @069d27e0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: GV_RC_RWA_RackAngleCommand/34 (read)GV_MASTER_RWA_RackAngleCommand/19 (write)GV_RWA1_RackAngleFbk/36 (read)GV_VCU_RWA_Rack_Fbk/37 (write)GV_RC_BrakeTorqueCommand/38 (read)GV_MASTER_CLMAP_FORCE/33 (write)GV_RC_GearSelStat/39 (read)GV_VCU_GearSelStat/29 (write)GV_VCU_RC_Emergency_Stop/26 (write)GV_RC_VX_Limit/40 (read)GV_VCU_Vx_Limit/41 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by: Operation_Mode_Func/7 (217325345 (estimated locally),0.20 per call)
|
|
Calls: RC_Motor_Logic/35 (1073741824 (estimated locally),1.00 per call)
|
|
Autonomous_Mode_Func/2 (Autonomous_Mode_Func) @069d2540
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: GV_ACU_RWA_cmd_deg/27 (read)GV_MASTER_RWA_RackAngleCommand/19 (write)GV_ACU_RWS_cmd_deg/28 (read)GV_MASTER_RWS_RackAngleCommand/20 (write)GV_VCU_GearSelStat/29 (read)GV_VCU_RC_Emergency_Stop/26 (write)GV_ACU_VCU_GearPos/31 (read)GV_VCU_GearSelStat/29 (write)GV_ACU_BrakeTorqueCommand/32 (read)GV_MASTER_CLMAP_FORCE/33 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by: Operation_Mode_Func/7 (354334802 (estimated locally),0.33 per call)
|
|
Calls: ACU_Motor_Logic/30 (508506948 (estimated locally),0.47 per call)
|
|
Default_Mode_Func/1 (Default_Mode_Func) @069d2d20
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: GV_VCU_TrqCmd/18 (write)GV_MASTER_RWA_RackAngleCommand/19 (write)GV_MASTER_RWS_RackAngleCommand/20 (write)EMEMERGNECY_BUTTEN/9 (read)GV_RC_Emergency_Stop/8 (read)GV_Out_Lamp_BRAKE_CMD/22 (write)GV_Out_Lamp_Hazard_CMD/23 (write)GV_RC_Lamp_Hazard_CMD/24 (write)GV_RC_Lamp_BRAKE_CMD/25 (write)GV_VCU_RC_Emergency_Stop/26 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by: Operation_Mode_Func/7 (138254943 (estimated locally),0.13 per call)
|
|
Calls: HV_OFF_FUNC/21 (1073741824 (estimated locally),1.00 per call)
|
|
Operation_Mode_Check/0 (Operation_Mode_Check) @069d2a80
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: GV_RC_Emergency_Stop/8 (read)EMEMERGNECY_BUTTEN/9 (read)GV_ACU_Emergency_Stop/10 (read)GV_VCU_Drive_Mode/11 (write)GV_ACU_Drive_mode/12 (read)GV_VCU_Drive_Mode/11 (read)GV_HV_Apply_Check/14 (read)GV_VCU_Drive_Mode/11 (write)GV_VCU_Drive_Mode/11 (write)GV_RC_Drive_Mode/15 (read)GV_VCU_Drive_Mode/11 (read)GV_HV_Apply_Check/14 (read)GV_VCU_Drive_Mode/11 (write)GV_VCU_Drive_Mode/11 (write)GV_VCU_Drive_Mode/11 (read)GV_VCU_Drive_Mode/11 (write)GV_VCU_Drive_Mode/11 (read)GV_VCU_Drive_Mode/11 (write)GV_VCU_Drive_Mode/11 (read)GV_Operation_Mode/16 (write)GV_Charging_Status_val/17 (read)GV_Operation_Mode/16 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by: Operation_Mode_Func/7 (1073741824 (estimated locally),1.00 per call)
|
|
Calls: HV_ON_FUNC/13 (66101419 (estimated locally),0.06 per call) HV_ON_FUNC/13 (70986421 (estimated locally),0.07 per call)
|
|
|
|
;; Function Operation_Mode_Check (Operation_Mode_Check, funcdef_no=0, decl_uid=4061, cgraph_uid=1, symbol_order=0)
|
|
|
|
Modification phase of node Operation_Mode_Check/0
|
|
Operation_Mode_Check ()
|
|
{
|
|
long unsigned int GV_RC_Emergency_Stop.0_1;
|
|
short unsigned int EMEMERGNECY_BUTTEN.1_2;
|
|
long unsigned int GV_ACU_Emergency_Stop.2_3;
|
|
long unsigned int GV_ACU_Drive_mode.3_4;
|
|
long unsigned int GV_VCU_Drive_Mode.4_5;
|
|
unsigned char GV_HV_Apply_Check.5_6;
|
|
long unsigned int GV_RC_Drive_Mode.6_7;
|
|
long unsigned int GV_VCU_Drive_Mode.7_8;
|
|
unsigned char GV_HV_Apply_Check.8_9;
|
|
long unsigned int GV_VCU_Drive_Mode.10_10;
|
|
long unsigned int GV_VCU_Drive_Mode.12_11;
|
|
long unsigned int GV_VCU_Drive_Mode.13_12;
|
|
unsigned char _13;
|
|
unsigned char GV_Charging_Status_val.14_14;
|
|
unsigned char _15;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_RC_Emergency_Stop.0_1 = GV_RC_Emergency_Stop;
|
|
if (GV_RC_Emergency_Stop.0_1 == 1)
|
|
goto <bb 3>; [34.00%]
|
|
else
|
|
goto <bb 6>; [66.00%]
|
|
|
|
<bb 3> [local count: 365072220]:
|
|
EMEMERGNECY_BUTTEN.1_2 = EMEMERGNECY_BUTTEN;
|
|
if (EMEMERGNECY_BUTTEN.1_2 == 1)
|
|
goto <bb 4>; [34.00%]
|
|
else
|
|
goto <bb 6>; [66.00%]
|
|
|
|
<bb 4> [local count: 124124555]:
|
|
GV_ACU_Emergency_Stop.2_3 = GV_ACU_Emergency_Stop;
|
|
if (GV_ACU_Emergency_Stop.2_3 == 1)
|
|
goto <bb 5>; [34.00%]
|
|
else
|
|
goto <bb 6>; [66.00%]
|
|
|
|
<bb 5> [local count: 42202349]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_VCU_Drive_Mode = 2;
|
|
goto <bb 22>; [100.00%]
|
|
|
|
<bb 6> [local count: 1031539476]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_ACU_Drive_mode.3_4 = GV_ACU_Drive_mode;
|
|
if (GV_ACU_Drive_mode.3_4 == 1)
|
|
goto <bb 7>; [34.00%]
|
|
else
|
|
goto <bb 11>; [66.00%]
|
|
|
|
<bb 7> [local count: 350723422]:
|
|
GV_VCU_Drive_Mode.4_5 = GV_VCU_Drive_Mode;
|
|
if (GV_VCU_Drive_Mode.4_5 == 3)
|
|
goto <bb 8>; [20.24%]
|
|
else
|
|
goto <bb 11>; [79.76%]
|
|
|
|
<bb 8> [local count: 70986421]:
|
|
# DEBUG BEGIN_STMT
|
|
HV_ON_FUNC ();
|
|
# DEBUG BEGIN_STMT
|
|
GV_HV_Apply_Check.5_6 = GV_HV_Apply_Check;
|
|
if (GV_HV_Apply_Check.5_6 == 1)
|
|
goto <bb 9>; [34.00%]
|
|
else
|
|
goto <bb 10>; [66.00%]
|
|
|
|
<bb 9> [local count: 24135383]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_VCU_Drive_Mode = 0;
|
|
goto <bb 22>; [100.00%]
|
|
|
|
<bb 10> [local count: 46851038]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_VCU_Drive_Mode = 3;
|
|
goto <bb 22>; [100.00%]
|
|
|
|
<bb 11> [local count: 960553055]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_RC_Drive_Mode.6_7 = GV_RC_Drive_Mode;
|
|
if (GV_RC_Drive_Mode.6_7 == 1)
|
|
goto <bb 12>; [34.00%]
|
|
else
|
|
goto <bb 16>; [66.00%]
|
|
|
|
<bb 12> [local count: 326588039]:
|
|
GV_VCU_Drive_Mode.7_8 = GV_VCU_Drive_Mode;
|
|
if (GV_VCU_Drive_Mode.7_8 == 3)
|
|
goto <bb 13>; [20.24%]
|
|
else
|
|
goto <bb 16>; [79.76%]
|
|
|
|
<bb 13> [local count: 66101419]:
|
|
# DEBUG BEGIN_STMT
|
|
HV_ON_FUNC ();
|
|
# DEBUG BEGIN_STMT
|
|
GV_HV_Apply_Check.8_9 = GV_HV_Apply_Check;
|
|
if (GV_HV_Apply_Check.8_9 == 1)
|
|
goto <bb 14>; [34.00%]
|
|
else
|
|
goto <bb 15>; [66.00%]
|
|
|
|
<bb 14> [local count: 22474482]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_VCU_Drive_Mode = 1;
|
|
goto <bb 22>; [100.00%]
|
|
|
|
<bb 15> [local count: 43626937]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_VCU_Drive_Mode = 3;
|
|
goto <bb 22>; [100.00%]
|
|
|
|
<bb 16> [local count: 894451637]:
|
|
# DEBUG BEGIN_STMT
|
|
if (GV_ACU_Drive_mode.3_4 == 0)
|
|
goto <bb 17>; [50.00%]
|
|
else
|
|
goto <bb 19>; [50.00%]
|
|
|
|
<bb 17> [local count: 447225818]:
|
|
GV_VCU_Drive_Mode.10_10 = GV_VCU_Drive_Mode;
|
|
if (GV_VCU_Drive_Mode.10_10 == 0)
|
|
goto <bb 18>; [50.00%]
|
|
else
|
|
goto <bb 19>; [50.00%]
|
|
|
|
<bb 18> [local count: 223612909]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_VCU_Drive_Mode = 3;
|
|
goto <bb 22>; [100.00%]
|
|
|
|
<bb 19> [local count: 670838728]:
|
|
# DEBUG BEGIN_STMT
|
|
if (GV_RC_Drive_Mode.6_7 == 0)
|
|
goto <bb 20>; [50.00%]
|
|
else
|
|
goto <bb 22>; [50.00%]
|
|
|
|
<bb 20> [local count: 335419363]:
|
|
GV_VCU_Drive_Mode.12_11 = GV_VCU_Drive_Mode;
|
|
if (GV_VCU_Drive_Mode.12_11 == 1)
|
|
goto <bb 21>; [34.00%]
|
|
else
|
|
goto <bb 22>; [66.00%]
|
|
|
|
<bb 21> [local count: 114042583]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_VCU_Drive_Mode = 3;
|
|
|
|
<bb 22> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_VCU_Drive_Mode.13_12 = GV_VCU_Drive_Mode;
|
|
_13 = (unsigned char) GV_VCU_Drive_Mode.13_12;
|
|
GV_Operation_Mode = _13;
|
|
# DEBUG BEGIN_STMT
|
|
GV_Charging_Status_val.14_14 = GV_Charging_Status_val;
|
|
_15 = GV_Charging_Status_val.14_14 + 255;
|
|
if (_15 <= 1)
|
|
goto <bb 23>; [41.00%]
|
|
else
|
|
goto <bb 24>; [59.00%]
|
|
|
|
<bb 23> [local count: 440234147]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_Operation_Mode = 0;
|
|
|
|
<bb 24> [local count: 1073741823]:
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Default_Mode_Func (Default_Mode_Func, funcdef_no=1, decl_uid=4063, cgraph_uid=2, symbol_order=1)
|
|
|
|
Modification phase of node Default_Mode_Func/1
|
|
Default_Mode_Func ()
|
|
{
|
|
short unsigned int EMEMERGNECY_BUTTEN.15_1;
|
|
long unsigned int GV_RC_Emergency_Stop.16_2;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_VCU_TrqCmd = 0.0;
|
|
# DEBUG BEGIN_STMT
|
|
GV_MASTER_RWA_RackAngleCommand = 0.0;
|
|
# DEBUG BEGIN_STMT
|
|
GV_MASTER_RWS_RackAngleCommand = 0.0;
|
|
# DEBUG BEGIN_STMT
|
|
HV_OFF_FUNC ();
|
|
# DEBUG BEGIN_STMT
|
|
EMEMERGNECY_BUTTEN.15_1 = EMEMERGNECY_BUTTEN;
|
|
if (EMEMERGNECY_BUTTEN.15_1 == 0)
|
|
goto <bb 3>; [50.00%]
|
|
else
|
|
goto <bb 5>; [50.00%]
|
|
|
|
<bb 3> [local count: 536870913]:
|
|
GV_RC_Emergency_Stop.16_2 = GV_RC_Emergency_Stop;
|
|
if (GV_RC_Emergency_Stop.16_2 == 0)
|
|
goto <bb 4>; [50.00%]
|
|
else
|
|
goto <bb 5>; [50.00%]
|
|
|
|
<bb 4> [local count: 268435456]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_Out_Lamp_BRAKE_CMD = 0;
|
|
# DEBUG BEGIN_STMT
|
|
GV_Out_Lamp_Hazard_CMD = 0;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RC_Lamp_Hazard_CMD = 0;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RC_Lamp_BRAKE_CMD = 0;
|
|
|
|
<bb 5> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_VCU_RC_Emergency_Stop = 0;
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Autonomous_Mode_Func (Autonomous_Mode_Func, funcdef_no=2, decl_uid=4057, cgraph_uid=3, symbol_order=2)
|
|
|
|
Modification phase of node Autonomous_Mode_Func/2
|
|
Autonomous_Mode_Func ()
|
|
{
|
|
float GV_ACU_RWA_cmd_deg.17_1;
|
|
float GV_ACU_RWS_cmd_deg.18_2;
|
|
long unsigned int GV_VCU_GearSelStat.19_3;
|
|
long unsigned int GV_ACU_VCU_GearPos.21_4;
|
|
float GV_ACU_BrakeTorqueCommand.22_5;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_ACU_RWA_cmd_deg.17_1 = GV_ACU_RWA_cmd_deg;
|
|
GV_MASTER_RWA_RackAngleCommand = GV_ACU_RWA_cmd_deg.17_1;
|
|
# DEBUG BEGIN_STMT
|
|
GV_ACU_RWS_cmd_deg.18_2 = GV_ACU_RWS_cmd_deg;
|
|
GV_MASTER_RWS_RackAngleCommand = GV_ACU_RWS_cmd_deg.18_2;
|
|
# DEBUG BEGIN_STMT
|
|
GV_VCU_GearSelStat.19_3 = GV_VCU_GearSelStat;
|
|
if (GV_VCU_GearSelStat.19_3 == 1)
|
|
goto <bb 4>; [20.24%]
|
|
else
|
|
goto <bb 3>; [79.76%]
|
|
|
|
<bb 3> [local count: 856416480]:
|
|
if (GV_VCU_GearSelStat.19_3 == 3)
|
|
goto <bb 4>; [34.00%]
|
|
else
|
|
goto <bb 5>; [66.00%]
|
|
|
|
<bb 4> [local count: 508506948]:
|
|
# DEBUG BEGIN_STMT
|
|
ACU_Motor_Logic ();
|
|
|
|
<bb 5> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_VCU_RC_Emergency_Stop = 0;
|
|
# DEBUG BEGIN_STMT
|
|
GV_ACU_VCU_GearPos.21_4 = GV_ACU_VCU_GearPos;
|
|
GV_VCU_GearSelStat = GV_ACU_VCU_GearPos.21_4;
|
|
# DEBUG BEGIN_STMT
|
|
GV_ACU_BrakeTorqueCommand.22_5 = GV_ACU_BrakeTorqueCommand;
|
|
GV_MASTER_CLMAP_FORCE = GV_ACU_BrakeTorqueCommand.22_5;
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Mannual_Mode_Func (Mannual_Mode_Func, funcdef_no=3, decl_uid=4059, cgraph_uid=4, symbol_order=3)
|
|
|
|
Modification phase of node Mannual_Mode_Func/3
|
|
Mannual_Mode_Func ()
|
|
{
|
|
float GV_RC_RWA_RackAngleCommand.23_1;
|
|
float GV_RWA1_RackAngleFbk.24_2;
|
|
float GV_RC_BrakeTorqueCommand.25_3;
|
|
long unsigned int GV_RC_GearSelStat.26_4;
|
|
long unsigned int GV_RC_VX_Limit.27_5;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_RC_RWA_RackAngleCommand.23_1 = GV_RC_RWA_RackAngleCommand;
|
|
GV_MASTER_RWA_RackAngleCommand = GV_RC_RWA_RackAngleCommand.23_1;
|
|
# DEBUG BEGIN_STMT
|
|
RC_Motor_Logic ();
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWA1_RackAngleFbk.24_2 = GV_RWA1_RackAngleFbk;
|
|
GV_VCU_RWA_Rack_Fbk = GV_RWA1_RackAngleFbk.24_2;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RC_BrakeTorqueCommand.25_3 = GV_RC_BrakeTorqueCommand;
|
|
GV_MASTER_CLMAP_FORCE = GV_RC_BrakeTorqueCommand.25_3;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RC_GearSelStat.26_4 = GV_RC_GearSelStat;
|
|
GV_VCU_GearSelStat = GV_RC_GearSelStat.26_4;
|
|
# DEBUG BEGIN_STMT
|
|
GV_VCU_RC_Emergency_Stop = 0;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RC_VX_Limit.27_5 = GV_RC_VX_Limit;
|
|
GV_VCU_Vx_Limit = GV_RC_VX_Limit.27_5;
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Emergency_Stop_Mode_Func (Emergency_Stop_Mode_Func, funcdef_no=4, decl_uid=4051, cgraph_uid=5, symbol_order=4)
|
|
|
|
Modification phase of node Emergency_Stop_Mode_Func/4
|
|
Emergency_Stop_Mode_Func ()
|
|
{
|
|
short unsigned int EMEMERGNECY_BUTTEN.28_1;
|
|
long unsigned int GV_RC_Emergency_Stop.29_2;
|
|
long unsigned int GV_ACU_Emergency_Stop.30_3;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_Out_Lamp_BRAKE_CMD = 2;
|
|
# DEBUG BEGIN_STMT
|
|
GV_Out_Lamp_Hazard_CMD = 2;
|
|
# DEBUG BEGIN_STMT
|
|
GV_VCU_RC_Emergency_Stop = 1;
|
|
# DEBUG BEGIN_STMT
|
|
GV_VCU_TrqCmd = 0.0;
|
|
# DEBUG BEGIN_STMT
|
|
EMEMERGNECY_BUTTEN.28_1 = EMEMERGNECY_BUTTEN;
|
|
if (EMEMERGNECY_BUTTEN.28_1 == 0)
|
|
goto <bb 3>; [50.00%]
|
|
else
|
|
goto <bb 6>; [50.00%]
|
|
|
|
<bb 3> [local count: 536870913]:
|
|
GV_RC_Emergency_Stop.29_2 = GV_RC_Emergency_Stop;
|
|
if (GV_RC_Emergency_Stop.29_2 == 0)
|
|
goto <bb 4>; [50.00%]
|
|
else
|
|
goto <bb 6>; [50.00%]
|
|
|
|
<bb 4> [local count: 268435456]:
|
|
GV_ACU_Emergency_Stop.30_3 = GV_ACU_Emergency_Stop;
|
|
if (GV_ACU_Emergency_Stop.30_3 == 0)
|
|
goto <bb 5>; [50.00%]
|
|
else
|
|
goto <bb 6>; [50.00%]
|
|
|
|
<bb 5> [local count: 134217728]:
|
|
Emergency_Stop_Mode_Func.part.0 ();
|
|
|
|
<bb 6> [local count: 1073741824]:
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Operation_IDB_RWA (Operation_IDB_RWA, funcdef_no=5, decl_uid=4053, cgraph_uid=6, symbol_order=5)
|
|
|
|
Modification phase of node Operation_IDB_RWA/5
|
|
Operation_IDB_RWA ()
|
|
{
|
|
float GV_VCU_TrqCmd.31_1;
|
|
long unsigned int _2;
|
|
long unsigned int GV_VCU_GearSelStat.32_3;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_VCU_TrqCmd.31_1 = GV_VCU_TrqCmd;
|
|
_2 = (long unsigned int) GV_VCU_TrqCmd.31_1;
|
|
GV_DriveTorqueCommand = _2;
|
|
# DEBUG BEGIN_STMT
|
|
GV_DriveTorqueCommandValid = 1;
|
|
# DEBUG BEGIN_STMT
|
|
GV_PowertrainMode = 1;
|
|
# DEBUG BEGIN_STMT
|
|
GV_VCU_GearSelStat.32_3 = GV_VCU_GearSelStat;
|
|
GV_GearPosition = GV_VCU_GearSelStat.32_3;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RCU_PowertrainMode = 1;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RCU_GearPosition = GV_VCU_GearSelStat.32_3;
|
|
# DEBUG BEGIN_STMT
|
|
GV_IDB_032_WakeUpCommand = 1;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RCU_033_WakeUpCommand = 1;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWA_040_RackAngleCmdValid = 1;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWA2_040_RackAngleCmdValid = 1;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWA_310_ModeCommand = 1;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWA_310_WakeupCommand = 1;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWA2_310_ModeCommand = 0;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWA2_310_WakeupCommand = 0;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWS1_040_RackAngleCmdValid = 1;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWS1_310_WakeupCommand = 1;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWS1_310_ModeCommand = 1;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWS2_040_RackAngleCmdValid = 1;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWS2_310_WakeupCommand = 0;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWS2_310_ModeCommand = 0;
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Vehicle_Environment (Vehicle_Environment, funcdef_no=6, decl_uid=4055, cgraph_uid=7, symbol_order=6)
|
|
|
|
Modification phase of node Vehicle_Environment/6
|
|
Vehicle_Environment ()
|
|
{
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_Env_384_EnvironmentTemperature = 0;
|
|
# DEBUG BEGIN_STMT
|
|
GV_Env_384_EnvironmentTemperatureValid = 0;
|
|
# DEBUG BEGIN_STMT
|
|
GV_Env_384_TimestampDay = 21;
|
|
# DEBUG BEGIN_STMT
|
|
GV_Env_384_TimestampHour = 0;
|
|
# DEBUG BEGIN_STMT
|
|
GV_Env_384_TimestampMinute = 0;
|
|
# DEBUG BEGIN_STMT
|
|
GV_Env_384_TimestampMonth = 6;
|
|
# DEBUG BEGIN_STMT
|
|
GV_Env_384_TimestampSecond = 0;
|
|
# DEBUG BEGIN_STMT
|
|
GV_Env_384_TimestampYear = 24;
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Operation_Mode_Func (Operation_Mode_Func, funcdef_no=7, decl_uid=4049, cgraph_uid=8, symbol_order=7)
|
|
|
|
Modification phase of node Operation_Mode_Func/7
|
|
Operation_Mode_Func ()
|
|
{
|
|
unsigned char GV_Operation_Mode.34_1;
|
|
unsigned char GV_Operation_Mode.35_2;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
Operation_IDB_RWA ();
|
|
# DEBUG BEGIN_STMT
|
|
Vehicle_Environment ();
|
|
# DEBUG BEGIN_STMT
|
|
Operation_Mode_Check ();
|
|
# DEBUG BEGIN_STMT
|
|
GV_Operation_Mode.34_1 = GV_Operation_Mode;
|
|
if (GV_Operation_Mode.34_1 == 0)
|
|
goto <bb 3>; [33.00%]
|
|
else
|
|
goto <bb 4>; [67.00%]
|
|
|
|
<bb 3> [local count: 354334802]:
|
|
# DEBUG BEGIN_STMT
|
|
Autonomous_Mode_Func ();
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_Operation_Mode.35_2 = GV_Operation_Mode;
|
|
if (GV_Operation_Mode.35_2 == 1)
|
|
goto <bb 5>; [20.24%]
|
|
else
|
|
goto <bb 6>; [79.76%]
|
|
|
|
<bb 5> [local count: 217325345]:
|
|
# DEBUG BEGIN_STMT
|
|
Mannual_Mode_Func ();
|
|
goto <bb 10>; [100.00%]
|
|
|
|
<bb 6> [local count: 856416480]:
|
|
# DEBUG BEGIN_STMT
|
|
if (GV_Operation_Mode.35_2 == 2)
|
|
goto <bb 7>; [20.24%]
|
|
else
|
|
goto <bb 8>; [79.76%]
|
|
|
|
<bb 7> [local count: 173338695]:
|
|
# DEBUG BEGIN_STMT
|
|
Emergency_Stop_Mode_Func ();
|
|
goto <bb 10>; [100.00%]
|
|
|
|
<bb 8> [local count: 683077784]:
|
|
# DEBUG BEGIN_STMT
|
|
if (GV_Operation_Mode.35_2 == 3)
|
|
goto <bb 9>; [20.24%]
|
|
else
|
|
goto <bb 10>; [79.76%]
|
|
|
|
<bb 9> [local count: 138254943]:
|
|
# DEBUG BEGIN_STMT
|
|
Default_Mode_Func ();
|
|
|
|
<bb 10> [local count: 1073741824]:
|
|
return;
|
|
|
|
}
|
|
|
|
|