VCU C code first commit

This commit is contained in:
S2-CHICKEN 2024-08-08 10:00:15 +09:00
parent 3854fbc169
commit 77297108b6
5386 changed files with 5312257 additions and 0 deletions

1097
GW/.cproject Normal file

File diff suppressed because it is too large Load Diff

26
GW/.project Normal file
View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>GW</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
<triggers>clean,full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
</natures>
</projectDescription>

View File

@ -0,0 +1,2 @@
com.freescale.s32ds.cross.sdk.support.attachedSDKs=PlatformSDK_S32K3_2021_03_S32K344_M7_1.0.0_PATH|Debug_FLASH|Release_FLASH|Debug_RAM|Release_RAM
eclipse.preferences.version=1

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,9 @@
com.nxp.s32ds.cle.runtime.component.registry.archetype.id=application
com.nxp.s32ds.cle.runtime.component.registry.archetype.platform.id=
com.nxp.s32ds.cle.runtime.hardware.registry.core.id=CortexM7
com.nxp.s32ds.cle.runtime.hardware.registry.device.id=S32K344
com.nxp.s32ds.cle.runtime.hardware.registry.device.revision.id=
com.nxp.s32ds.cle.runtime.hardware.registry.deviceCore.id=S32K344_M7
com.nxp.s32ds.cle.runtime.hardware.registry.family.id=S32K3
com.nxp.s32ds.cle.runtime.lang.registry.lang.id=c
eclipse.preferences.version=1

View File

@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project>
<configuration id="com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.debug.1470704758" name="Debug_FLASH">
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="com.freescale.s32ds.cross.gnu.CrossGCCBuiltinSpecsDetector" console="false" env-hash="841898159947572829" id="com.freescale.s32ds.cross.gnu.CrossGCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT S32DS Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
</extension>
</configuration>
<configuration id="com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.release.726059843" name="Release_FLASH">
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="com.freescale.s32ds.cross.gnu.CrossGCCBuiltinSpecsDetector" console="false" env-hash="777653421916939325" id="com.freescale.s32ds.cross.gnu.CrossGCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT S32DS Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
</extension>
</configuration>
<configuration id="com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.debug.ram.1925879754" name="Debug_RAM">
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="com.freescale.s32ds.cross.gnu.CrossGCCBuiltinSpecsDetector" console="false" env-hash="777653421916939325" id="com.freescale.s32ds.cross.gnu.CrossGCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT S32DS Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
</extension>
</configuration>
<configuration id="com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.release.ram.1668789500" name="Release_RAM">
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="com.freescale.s32ds.cross.gnu.CrossGCCBuiltinSpecsDetector" console="false" env-hash="777653421916939325" id="com.freescale.s32ds.cross.gnu.CrossGCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT S32DS Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
</extension>
</configuration>
</project>

View File

@ -0,0 +1,3 @@
eclipse.preferences.version=1
inEditor=false
onBuild=false

View File

@ -0,0 +1,33 @@
eclipse.preferences.version=1
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.debug.1470704758/PATH/delimiter=;
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.debug.1470704758/PATH/operation=prepend
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.debug.1470704758/PATH/value=
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.debug.1470704758/S32DS_ARM32_NEWLIB_DIR/delimiter=;
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.debug.1470704758/S32DS_ARM32_NEWLIB_DIR/operation=replace
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.debug.1470704758/S32DS_ARM32_NEWLIB_DIR/value=${S32DS_K3_ARM32_GNU_9_2_TOOLCHAIN_DIR}/arm-none-eabi/newlib
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.debug.1470704758/append=true
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.debug.1470704758/appendContributed=true
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.debug.ram.1925879754/PATH/delimiter=;
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.debug.ram.1925879754/PATH/operation=prepend
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.debug.ram.1925879754/PATH/value=
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.debug.ram.1925879754/S32DS_ARM32_NEWLIB_DIR/delimiter=;
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.debug.ram.1925879754/S32DS_ARM32_NEWLIB_DIR/operation=replace
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.debug.ram.1925879754/S32DS_ARM32_NEWLIB_DIR/value=${S32DS_K3_ARM32_GNU_9_2_TOOLCHAIN_DIR}/arm-none-eabi/newlib
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.debug.ram.1925879754/append=true
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.debug.ram.1925879754/appendContributed=true
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.release.726059843/PATH/delimiter=;
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.release.726059843/PATH/operation=prepend
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.release.726059843/PATH/value=
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.release.726059843/S32DS_ARM32_NEWLIB_DIR/delimiter=;
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.release.726059843/S32DS_ARM32_NEWLIB_DIR/operation=replace
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.release.726059843/S32DS_ARM32_NEWLIB_DIR/value=${S32DS_K3_ARM32_GNU_9_2_TOOLCHAIN_DIR}/arm-none-eabi/newlib
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.release.726059843/append=true
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.release.726059843/appendContributed=true
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.release.ram.1668789500/PATH/delimiter=;
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.release.ram.1668789500/PATH/operation=prepend
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.release.ram.1668789500/PATH/value=
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.release.ram.1668789500/S32DS_ARM32_NEWLIB_DIR/delimiter=;
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.release.ram.1668789500/S32DS_ARM32_NEWLIB_DIR/operation=replace
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.release.ram.1668789500/S32DS_ARM32_NEWLIB_DIR/value=${S32DS_K3_ARM32_GNU_9_2_TOOLCHAIN_DIR}/arm-none-eabi/newlib
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.release.ram.1668789500/append=true
environment/project/com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.9.2.exe.release.ram.1668789500/appendContributed=true

View File

@ -0,0 +1,4 @@
eclipse.preferences.version=1
encoding//src/CRC/CRC_UDM.c=UTF-8
encoding//src/board.c=UTF-8
encoding//src/define.h=UTF-8

40
GW/.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,40 @@
{
"files.associations": {
"*.cp": "c",
"xcp_user.h": "c",
"def_xcp.h": "c",
"schm_fls.h": "c",
"fls.h": "c",
"c40_ip.h": "c",
"lpi2c_ip_board_initperipherals_pbcfg.h": "c",
"*.rh": "c",
"main.h": "c",
"stdint.h": "c",
"watchdog_hal.h": "c",
"swt_ip.h": "c",
"swt_ip_board_initperipherals_pbcfg.h": "c",
"lpuart_uart_ip_irq.h": "c",
"lpuart_uart_ip.h": "c",
"uds_defines.h": "c",
"xcp_can.h": "c",
"uds.h": "c",
"can.h": "c",
"vcruntime.h": "c",
"flexcan_ip.h": "c",
"stdbool.h": "c",
"define.h": "c",
"rpcndr.h": "c",
"rtwtypes.h": "c",
"dcu_dcu_for_sfunc_newseq_2018a_ver2.h": "c",
"mr_control.h": "c",
"intctrl_ip.h": "c",
"rc_safety.h": "c",
"def_uds.h": "c",
"string.h": "c",
"pit_ip.h": "c",
"siul2_dio_ip.h": "c",
"kateck_logic.h": "c",
"adc_sar_ip.h": "c",
"lpspi_ip.h": "c"
}
}

133
GW/Debug_FLASH/GW.args Normal file
View File

@ -0,0 +1,133 @@
-nostartfiles
--entry=Reset_Handler
-ggdb3
-T
"C:/Users/SUPYO/Desktop/0709_VCU/20240709_MASTER_V6_.zip_expanded/GW/Project_Settings/Linker_Files/linker_flash.ld"
-Wl,-Map,"GW.map"
-Xlinker
--gc-sections
-u _printf_float
-u _scanf_float
-n
-mcpu=cortex-m7
-mthumb
-mlittle-endian
-mfloat-abi=soft
-specs=nano.specs
-specs=nosys.specs
--sysroot="C:/NXP/S32DS.3.4/S32DS/build_tools/gcc_v9.2/gcc-9.2-arm32-eabi/arm-none-eabi/newlib"
"./Project_Settings/Startup_Code/Vector_Table.o"
"./Project_Settings/Startup_Code/exceptions.o"
"./Project_Settings/Startup_Code/nvic.o"
"./Project_Settings/Startup_Code/startup.o"
"./Project_Settings/Startup_Code/startup_cm7.o"
"./Project_Settings/Startup_Code/system.o"
"./RTD/src/Adc_Sar_Ip.o"
"./RTD/src/Adc_Sar_Ip_Isr.o"
"./RTD/src/Clock_Ip.o"
"./RTD/src/Clock_Ip_Divider.o"
"./RTD/src/Clock_Ip_DividerTrigger.o"
"./RTD/src/Clock_Ip_ExtOsc.o"
"./RTD/src/Clock_Ip_FracDiv.o"
"./RTD/src/Clock_Ip_Gate.o"
"./RTD/src/Clock_Ip_IntOsc.o"
"./RTD/src/Clock_Ip_Irq.o"
"./RTD/src/Clock_Ip_Monitor.o"
"./RTD/src/Clock_Ip_Pll.o"
"./RTD/src/Clock_Ip_ProgFreqSwitch.o"
"./RTD/src/Clock_Ip_Selector.o"
"./RTD/src/Clock_Ip_Specific.o"
"./RTD/src/Det.o"
"./RTD/src/Det_stub.o"
"./RTD/src/Emios_Mcl_Ip.o"
"./RTD/src/Emios_Mcl_Ip_Irq.o"
"./RTD/src/Emios_Pwm_Ip.o"
"./RTD/src/Emios_Pwm_Ip_Irq.o"
"./RTD/src/FlexCAN_Ip.o"
"./RTD/src/FlexCAN_Ip_HwAccess.o"
"./RTD/src/FlexCAN_Ip_Irq.o"
"./RTD/src/Flexio_Mcl_Ip.o"
"./RTD/src/Flexio_Mcl_Ip_HwAccess.o"
"./RTD/src/Flexio_Mcl_Ip_Irq.o"
"./RTD/src/IntCtrl_Ip.o"
"./RTD/src/Lin_Ip_Common.o"
"./RTD/src/Lpi2c_Ip.o"
"./RTD/src/Lpi2c_Ip_HwAccess.o"
"./RTD/src/Lpi2c_Ip_Irq.o"
"./RTD/src/Lpspi_Ip.o"
"./RTD/src/Lpspi_Ip_Irq.o"
"./RTD/src/Lpuart_Lin_Ip.o"
"./RTD/src/Lpuart_Lin_Ip_Hw_Access.o"
"./RTD/src/Lpuart_Lin_Ip_Irq.o"
"./RTD/src/Lpuart_Uart_Ip.o"
"./RTD/src/Lpuart_Uart_Ip_Irq.o"
"./RTD/src/OsIf_Timer.o"
"./RTD/src/OsIf_Timer_System.o"
"./RTD/src/Os_counter_api.o"
"./RTD/src/Os_multicore.o"
"./RTD/src/Pit_Ip.o"
"./RTD/src/SchM_Adc.o"
"./RTD/src/SchM_Can.o"
"./RTD/src/SchM_Gpt.o"
"./RTD/src/SchM_Lin.o"
"./RTD/src/SchM_Mcl.o"
"./RTD/src/SchM_Mcu.o"
"./RTD/src/SchM_Pwm.o"
"./RTD/src/SchM_Spi.o"
"./RTD/src/SchM_Uart.o"
"./RTD/src/SchM_Wdg.o"
"./RTD/src/Siul2_Dio_Ip.o"
"./RTD/src/Siul2_Port_Ip.o"
"./RTD/src/Swt_Ip.o"
"./RTD/src/Swt_Ip_Irq.o"
"./board/Clock_Ip_Cfg.o"
"./board/Clock_Ip_PBcfg.o"
"./board/Siul2_Port_Ip_Cfg.o"
"./generate/include/OsIf_Cfg.o"
"./generate/src/Adc_Sar_Ip_BOARD_InitPeripherals_PBcfg.o"
"./generate/src/Emios_Mcl_Ip_BOARD_InitPeripherals_PBcfg.o"
"./generate/src/Emios_Pwm_Ip_BOARD_InitPeripherals_PBcfg.o"
"./generate/src/FlexCAN_Ip_Sa_BOARD_InitPeripherals_PBcfg.o"
"./generate/src/Flexio_Mcl_Ip_BOARD_InitPeripherals_PBcfg.o"
"./generate/src/IntCtrl_Ip_Cfg.o"
"./generate/src/Lpi2c_Ip_BOARD_InitPeripherals_PBcfg.o"
"./generate/src/Lpspi_Ip_BOARD_InitPeripherals_PBcfg.o"
"./generate/src/Lpuart_Lin_Ip_BOARD_InitPeripherals_PBcfg.o"
"./generate/src/Lpuart_Uart_Ip_BOARD_InitPeripherals_PBcfg.o"
"./generate/src/Pit_Ip_BOARD_InitPeripherals_PBcfg.o"
"./generate/src/Swt_Ip_BOARD_InitPeripherals_PBcfg.o"
"./src/BCM/HMI_LAMP.o"
"./src/BCM/LAMP_CMD.o"
"./src/BCM/NO_BCM_SIG.o"
"./src/BCM/PWM.o"
"./src/BCM/WIPER.o"
"./src/BMS/BMS_SOC.o"
"./src/BMS/CE_ON_CMD.o"
"./src/BMS/Charging_Status.o"
"./src/CRC/CAN_CHECK.o"
"./src/CRC/CRC_UDM.o"
"./src/Global_Variable.o"
"./src/KATECK_Logic.o"
"./src/board.o"
"./src/can.o"
"./src/main.o"
"./src/HAL/watchdog_hal/src/watchdog_hal.o"
"./src/IDB_RCU/BREAK_Speed.o"
"./src/MCU/Low_SOC_mode.o"
"./src/MCU/Motor_logic.o"
"./src/MCU/NO_MCU_SIG.o"
"./src/MCU/SPEED.o"
"./src/Operation_Mode_Layer/Operation_Mode.o"
"./src/RWA/Angle_Speed.o"
"./src/VCU/SW_VER.o"
"./src/Vehicle_System_Mode_Layer/EMERGENCY/Emergency.o"
"./src/Vehicle_System_Mode_Layer/IGN/Ignition.o"
"./src/Vehicle_System_Mode_Layer/IGN/Ignition_off.o"
"./src/Vehicle_System_Mode_Layer/System_Check.o"
"./src/uds/ctl_dtc.o"
"./src/uds/debug_util.o"
"./src/uds/uds.o"
"./src/uds/uds_table.o"
-lc
-lm
-lgcc

BIN
GW/Debug_FLASH/GW.elf Normal file

Binary file not shown.

14156
GW/Debug_FLASH/GW.map Normal file

File diff suppressed because it is too large Load Diff

10852
GW/Debug_FLASH/GW.srec Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,21 @@
-c
-I../RTD/include
-I"C:/Users/SUPYO/Desktop/0709_VCU/20240709_MASTER_V6_.zip_expanded/GW/generate/include"
-I"C:/Users/SUPYO/Desktop/0709_VCU/20240709_MASTER_V6_.zip_expanded/GW/src/HAL/watchdog_hal/inc"
-I"C:/Users/SUPYO/Desktop/0709_VCU/20240709_MASTER_V6_.zip_expanded/GW/RTD/include"
-I"C:/Users/SUPYO/Desktop/0709_VCU/20240709_MASTER_V6_.zip_expanded/GW/src/uds"
-I"C:/Users/SUPYO/Desktop/0709_VCU/20240709_MASTER_V6_.zip_expanded/GW/board"
-I"C:/Users/SUPYO/Desktop/0709_VCU/20240709_MASTER_V6_.zip_expanded/GW/generate/src"
-I"C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/header"
-I"C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include"
-I"C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Platform_TS_T40D34M9I0R0/include"
-I"C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Platform_TS_T40D34M9I0R0/startup/include"
-x assembler-with-cpp
-g3
-mcpu=cortex-m7
-mthumb
-mlittle-endian
-mfloat-abi=soft
-specs=nano.specs
-specs=nosys.specs
--sysroot="C:/NXP/S32DS.3.4/S32DS/build_tools/gcc_v9.2/gcc-9.2-arm32-eabi/arm-none-eabi/newlib"

View File

@ -0,0 +1,47 @@
-std=c99
-DD_CACHE_ENABLE
-DI_CACHE_ENABLE
-DGCC
-DS32K3XX
-DCPU_S32K344
-I../RTD/include
-I"C:/Users/SUPYO/Desktop/0709_VCU/20240709_MASTER_V6_.zip_expanded/GW"
-I"C:/Users/SUPYO/Desktop/0709_VCU/20240709_MASTER_V6_.zip_expanded/GW"
-I"C:/Users/SUPYO/Desktop/0709_VCU/RemoteSystemsTempFiles"
-IC:/Users/SUPYO/Desktop/0709_VCU/20240709_MASTER_V6_.zip_expanded/GW/generate/include
-I"C:/Users/SUPYO/Desktop/0709_VCU/20240709_MASTER_V6_.zip_expanded/GW/src/HAL/watchdog_hal/inc"
-IC:/Users/SUPYO/Desktop/0709_VCU/20240709_MASTER_V6_.zip_expanded/GW/RTD/include
-I"C:/Users/SUPYO/Desktop/0709_VCU/20240709_MASTER_V6_.zip_expanded/GW/src/uds"
-I"C:/Users/SUPYO/Desktop/0709_VCU/20240709_MASTER_V6_.zip_expanded/GW/board"
-I"C:/Users/SUPYO/Desktop/0709_VCU/20240709_MASTER_V6_.zip_expanded/GW/generate/src"
-I"C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/header"
-I"C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include"
-I"C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Platform_TS_T40D34M9I0R0/include"
-I"C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Platform_TS_T40D34M9I0R0/startup/include"
-Os
-fshort-enums
-funsigned-char
-fstack-usage
-fdump-ipa-all
-fomit-frame-pointer
-fno-zero-initialized-in-bss
-ggdb3
-pedantic
-Wall
-Wextra
-c
-fmessage-length=0
-funsigned-bitfields
-fno-common
-Wunused
-Wstrict-prototypes
-Wsign-compare
-Werror=implicit-function-declaration
-Wundef
-mcpu=cortex-m7
-mthumb
-mlittle-endian
-mfloat-abi=soft
-specs=nano.specs
-specs=nosys.specs
--sysroot="C:/NXP/S32DS.3.4/S32DS/build_tools/gcc_v9.2/gcc-9.2-arm32-eabi/arm-none-eabi/newlib"

View File

@ -0,0 +1,608 @@
Trivially needed symbols: undefined_handler SysTick_Handler PendSV_Handler DebugMon_Handler SVCHandler_main SVC_Handler UsageFault_Handler BusFault_Handler MemManage_Handler HardFault_Handler NMI_Handler
Initial Symbol table:
undefined_handler/10 (undefined_handler) @06996b60
Type: function definition analyzed
Visibility: public
Aux: @01733ea0
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
SysTick_Handler/9 (SysTick_Handler) @06996620
Type: function definition analyzed
Visibility: public weak
Aux: @06996b60
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
PendSV_Handler/8 (PendSV_Handler) @06996000
Type: function definition analyzed
Visibility: public weak
Aux: @06996620
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
DebugMon_Handler/7 (DebugMon_Handler) @06996d20
Type: function definition analyzed
Visibility: public weak
Aux: @06996000
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
SVCHandler_main/6 (SVCHandler_main) @06996a80
Type: function definition analyzed
Visibility: public
Aux: @06996d20
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
SVC_Handler/5 (SVC_Handler) @069967e0
Type: function definition analyzed
Visibility: public weak
Aux: @06996a80
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
UsageFault_Handler/4 (UsageFault_Handler) @06996460
Type: function definition analyzed
Visibility: public weak
Aux: @069967e0
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
BusFault_Handler/3 (BusFault_Handler) @069961c0
Type: function definition analyzed
Visibility: public weak
Aux: @06996460
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
MemManage_Handler/2 (MemManage_Handler) @0698fd20
Type: function definition analyzed
Visibility: public weak
Aux: @069961c0
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
HardFault_Handler/1 (HardFault_Handler) @0698fee0
Type: function definition analyzed
Visibility: public weak
Aux: @0698fd20
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
NMI_Handler/0 (NMI_Handler) @0698fc40
Type: function definition analyzed
Visibility: public weak
Aux: @0698fee0
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
Removing unused symbols:
Reclaimed Symbol table:
undefined_handler/10 (undefined_handler) @06996b60
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
SysTick_Handler/9 (SysTick_Handler) @06996620
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
PendSV_Handler/8 (PendSV_Handler) @06996000
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
DebugMon_Handler/7 (DebugMon_Handler) @06996d20
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
SVCHandler_main/6 (SVCHandler_main) @06996a80
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
SVC_Handler/5 (SVC_Handler) @069967e0
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
UsageFault_Handler/4 (UsageFault_Handler) @06996460
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
BusFault_Handler/3 (BusFault_Handler) @069961c0
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
MemManage_Handler/2 (MemManage_Handler) @0698fd20
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
HardFault_Handler/1 (HardFault_Handler) @0698fee0
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
NMI_Handler/0 (NMI_Handler) @0698fc40
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
Initial Symbol table:
undefined_handler/10 (undefined_handler) @06996b60
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
SysTick_Handler/9 (SysTick_Handler) @06996620
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
PendSV_Handler/8 (PendSV_Handler) @06996000
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
DebugMon_Handler/7 (DebugMon_Handler) @06996d20
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
SVCHandler_main/6 (SVCHandler_main) @06996a80
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
SVC_Handler/5 (SVC_Handler) @069967e0
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
UsageFault_Handler/4 (UsageFault_Handler) @06996460
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
BusFault_Handler/3 (BusFault_Handler) @069961c0
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
MemManage_Handler/2 (MemManage_Handler) @0698fd20
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
HardFault_Handler/1 (HardFault_Handler) @0698fee0
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
NMI_Handler/0 (NMI_Handler) @0698fc40
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
Removing unused symbols:
Reclaimed Symbol table:
undefined_handler/10 (undefined_handler) @06996b60
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
SysTick_Handler/9 (SysTick_Handler) @06996620
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
PendSV_Handler/8 (PendSV_Handler) @06996000
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
DebugMon_Handler/7 (DebugMon_Handler) @06996d20
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
SVCHandler_main/6 (SVCHandler_main) @06996a80
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
SVC_Handler/5 (SVC_Handler) @069967e0
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
UsageFault_Handler/4 (UsageFault_Handler) @06996460
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
BusFault_Handler/3 (BusFault_Handler) @069961c0
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
MemManage_Handler/2 (MemManage_Handler) @0698fd20
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
HardFault_Handler/1 (HardFault_Handler) @0698fee0
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
NMI_Handler/0 (NMI_Handler) @0698fc40
Type: function definition analyzed
Visibility: public weak
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Optimized Symbol table:
undefined_handler/10 (undefined_handler) @06996b60
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:107374 (estimated locally) body nonfreeing_fn executed_once optimize_size
Called by:
Calls:
SysTick_Handler/9 (SysTick_Handler) @06996620
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
PendSV_Handler/8 (PendSV_Handler) @06996000
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
DebugMon_Handler/7 (DebugMon_Handler) @06996d20
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
SVCHandler_main/6 (SVCHandler_main) @06996a80
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741823 (estimated locally) body optimize_size
Called by:
Calls:
SVC_Handler/5 (SVC_Handler) @069967e0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
UsageFault_Handler/4 (UsageFault_Handler) @06996460
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
BusFault_Handler/3 (BusFault_Handler) @069961c0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
MemManage_Handler/2 (MemManage_Handler) @0698fd20
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
HardFault_Handler/1 (HardFault_Handler) @0698fee0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
NMI_Handler/0 (NMI_Handler) @0698fc40
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
Materializing clones
Materialization Call site updates done.
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Time profile order in expand_all_functions:NMI_Handler:0
Time profile order in expand_all_functions:HardFault_Handler:0
Time profile order in expand_all_functions:MemManage_Handler:0
Time profile order in expand_all_functions:BusFault_Handler:0
Time profile order in expand_all_functions:UsageFault_Handler:0
Time profile order in expand_all_functions:SVC_Handler:0
Time profile order in expand_all_functions:SVCHandler_main:0
Time profile order in expand_all_functions:DebugMon_Handler:0
Time profile order in expand_all_functions:PendSV_Handler:0
Time profile order in expand_all_functions:SysTick_Handler:0
Time profile order in expand_all_functions:undefined_handler:0
Trivially needed variables:
Removing variables:
Final Symbol table:
undefined_handler/10 (undefined_handler) @06996b60
Type: function definition analyzed
Visibility: externally_visible asm_written public
References:
Referring:
Availability: available
Function flags: count:107374 (estimated locally) nonfreeing_fn executed_once optimize_size
Called by:
Calls:
SysTick_Handler/9 (SysTick_Handler) @06996620
Type: function definition analyzed
Visibility: externally_visible asm_written public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) optimize_size
Called by:
Calls:
PendSV_Handler/8 (PendSV_Handler) @06996000
Type: function definition analyzed
Visibility: externally_visible asm_written public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) optimize_size
Called by:
Calls:
DebugMon_Handler/7 (DebugMon_Handler) @06996d20
Type: function definition analyzed
Visibility: externally_visible asm_written public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) optimize_size
Called by:
Calls:
SVCHandler_main/6 (SVCHandler_main) @06996a80
Type: function definition analyzed
Visibility: externally_visible asm_written public
References:
Referring:
Availability: available
Function flags: count:1073741823 (estimated locally) optimize_size
Called by:
Calls:
SVC_Handler/5 (SVC_Handler) @069967e0
Type: function definition analyzed
Visibility: externally_visible asm_written public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) optimize_size
Called by:
Calls:
UsageFault_Handler/4 (UsageFault_Handler) @06996460
Type: function definition analyzed
Visibility: externally_visible asm_written public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) optimize_size
Called by:
Calls:
BusFault_Handler/3 (BusFault_Handler) @069961c0
Type: function definition analyzed
Visibility: externally_visible asm_written public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) optimize_size
Called by:
Calls:
MemManage_Handler/2 (MemManage_Handler) @0698fd20
Type: function definition analyzed
Visibility: externally_visible asm_written public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) optimize_size
Called by:
Calls:
HardFault_Handler/1 (HardFault_Handler) @0698fee0
Type: function definition analyzed
Visibility: externally_visible asm_written public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) optimize_size
Called by:
Calls:
NMI_Handler/0 (NMI_Handler) @0698fc40
Type: function definition analyzed
Visibility: externally_visible asm_written public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) optimize_size
Called by:
Calls:

View File

@ -0,0 +1,291 @@
Marking local functions:
Marking externally visible functions: undefined_handler SysTick_Handler PendSV_Handler DebugMon_Handler SVCHandler_main SVC_Handler UsageFault_Handler BusFault_Handler MemManage_Handler HardFault_Handler NMI_Handler
Marking externally visible variables:
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Symbol table:
undefined_handler/10 (undefined_handler) @06996b60
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: body optimize_size
Called by:
Calls:
SysTick_Handler/9 (SysTick_Handler) @06996620
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: body optimize_size
Called by:
Calls:
PendSV_Handler/8 (PendSV_Handler) @06996000
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: body optimize_size
Called by:
Calls:
DebugMon_Handler/7 (DebugMon_Handler) @06996d20
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: body optimize_size
Called by:
Calls:
SVCHandler_main/6 (SVCHandler_main) @06996a80
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: body optimize_size
Called by:
Calls:
SVC_Handler/5 (SVC_Handler) @069967e0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: body optimize_size
Called by:
Calls:
UsageFault_Handler/4 (UsageFault_Handler) @06996460
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: body optimize_size
Called by:
Calls:
BusFault_Handler/3 (BusFault_Handler) @069961c0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: body optimize_size
Called by:
Calls:
MemManage_Handler/2 (MemManage_Handler) @0698fd20
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: body optimize_size
Called by:
Calls:
HardFault_Handler/1 (HardFault_Handler) @0698fee0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: body optimize_size
Called by:
Calls:
NMI_Handler/0 (NMI_Handler) @0698fc40
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: body optimize_size
Called by:
Calls:
undefined_handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
__attribute__((weak))
SysTick_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
__attribute__((weak))
PendSV_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
__attribute__((weak))
DebugMon_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
SVCHandler_main (unsigned int * svc_args)
{
unsigned int svc_number;
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_1 = svc_args + 24;
_2 = *_1;
_3 = _2 + 4294967294;
_4 = (unsigned char *) _3;
_5 = *_4;
svc_number = (unsigned int) _5;
# DEBUG BEGIN_STMT
switch (svc_number) <default: <L6> [INV], case 0: <L1> [INV], case 1: <L0> [INV], case 2: <L2> [INV], case 3: <L3> [INV]>
<bb 3> :
<L0>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x1");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [INV]
<bb 4> :
<L1>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [INV]
<bb 5> :
<L2>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [INV]
<bb 6> :
<L3>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x10");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
<bb 7> :
<L6>:
return;
}
__attribute__((weak))
SVC_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
__attribute__((weak))
UsageFault_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
__attribute__((weak))
BusFault_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
__attribute__((weak))
MemManage_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
__attribute__((weak))
HardFault_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
__attribute__((weak))
NMI_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}

View File

@ -0,0 +1,177 @@
undefined_handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
__attribute__((weak))
SysTick_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
__attribute__((weak))
PendSV_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
__attribute__((weak))
DebugMon_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
SVCHandler_main (unsigned int * svc_args)
{
unsigned int svc_number;
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_1 = svc_args + 24;
_2 = *_1;
_3 = _2 + 4294967294;
_4 = (unsigned char *) _3;
_5 = *_4;
svc_number = (unsigned int) _5;
# DEBUG BEGIN_STMT
switch (svc_number) <default: <L6> [INV], case 0: <L1> [INV], case 1: <L0> [INV], case 2: <L2> [INV], case 3: <L3> [INV]>
<bb 3> :
<L0>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x1");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [INV]
<bb 4> :
<L1>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [INV]
<bb 5> :
<L2>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [INV]
<bb 6> :
<L3>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x10");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
<bb 7> :
<L6>:
return;
}
__attribute__((weak))
SVC_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
__attribute__((weak))
UsageFault_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
__attribute__((weak))
BusFault_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
__attribute__((weak))
MemManage_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
__attribute__((weak))
HardFault_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
__attribute__((weak))
NMI_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}

View File

@ -0,0 +1,183 @@
undefined_handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
__attribute__((weak))
SysTick_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
__attribute__((weak))
PendSV_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
__attribute__((weak))
DebugMon_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
SVCHandler_main (unsigned int * svc_args)
{
unsigned int svc_number;
unsigned int * _1;
unsigned int _2;
sizetype _3;
unsigned char * _4;
unsigned char _5;
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_1 = svc_args_7(D) + 24;
_2 = *_1;
_3 = _2 + 4294967294;
_4 = (unsigned char *) _3;
_5 = *_4;
svc_number_9 = (unsigned int) _5;
# DEBUG svc_number => svc_number_9
# DEBUG BEGIN_STMT
switch (svc_number_9) <default: <L6> [INV], case 0: <L1> [INV], case 1: <L0> [INV], case 2: <L2> [INV], case 3: <L3> [INV]>
<bb 3> :
<L0>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x1");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [INV]
<bb 4> :
<L1>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [INV]
<bb 5> :
<L2>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [INV]
<bb 6> :
<L3>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x10");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
<bb 7> :
<L6>:
return;
}
__attribute__((weak))
SVC_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
__attribute__((weak))
UsageFault_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
__attribute__((weak))
BusFault_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
__attribute__((weak))
MemManage_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
__attribute__((weak))
HardFault_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
__attribute__((weak))
NMI_Handler ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}

View File

@ -0,0 +1,324 @@
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Symbol table:
undefined_handler/10 (undefined_handler) @06996b60
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:107374 (estimated locally) body executed_once optimize_size
Called by:
Calls:
SysTick_Handler/9 (SysTick_Handler) @06996620
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
PendSV_Handler/8 (PendSV_Handler) @06996000
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
DebugMon_Handler/7 (DebugMon_Handler) @06996d20
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
SVCHandler_main/6 (SVCHandler_main) @06996a80
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741823 (estimated locally) body optimize_size
Called by:
Calls:
SVC_Handler/5 (SVC_Handler) @069967e0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
UsageFault_Handler/4 (UsageFault_Handler) @06996460
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
BusFault_Handler/3 (BusFault_Handler) @069961c0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
MemManage_Handler/2 (MemManage_Handler) @0698fd20
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
HardFault_Handler/1 (HardFault_Handler) @0698fee0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
NMI_Handler/0 (NMI_Handler) @0698fc40
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
undefined_handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
SysTick_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
PendSV_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
DebugMon_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
SVCHandler_main (unsigned int * svc_args)
{
unsigned int _1;
sizetype _2;
unsigned char * _3;
unsigned char _4;
<bb 2> [local count: 1073741823]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_1 = MEM[(unsigned int *)svc_args_6(D) + 24B];
_2 = _1 + 4294967294;
_3 = (unsigned char *) _2;
_4 = *_3;
# DEBUG svc_number => (unsigned int) _4
# DEBUG BEGIN_STMT
switch (_4) <default: <L6> [20.00%], case 0: <L1> [20.00%], case 1: <L0> [20.00%], case 2: <L2> [20.00%], case 3: <L3> [20.00%]>
<bb 3> [local count: 214748364]:
<L0>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x1");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 4> [local count: 214748364]:
<L1>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 5> [local count: 214748364]:
<L2>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 6> [local count: 214748364]:
<L3>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x10");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
<bb 7> [local count: 1073741824]:
<L6>:
return;
}
__attribute__((weak))
SVC_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
UsageFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
BusFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
MemManage_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
HardFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
NMI_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}

View File

@ -0,0 +1,219 @@
undefined_handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
SysTick_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
PendSV_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
DebugMon_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
SVCHandler_main (unsigned int * svc_args)
{
unsigned int _1;
sizetype _2;
unsigned char * _3;
unsigned char _4;
<bb 2> [local count: 1073741823]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_1 = MEM[(unsigned int *)svc_args_6(D) + 24B];
_2 = _1 + 4294967294;
_3 = (unsigned char *) _2;
_4 = *_3;
# DEBUG svc_number => (unsigned int) _4
# DEBUG BEGIN_STMT
switch (_4) <default: <L6> [20.00%], case 0: <L1> [20.00%], case 1: <L0> [20.00%], case 2: <L2> [20.00%], case 3: <L3> [20.00%]>
<bb 3> [local count: 214748364]:
<L0>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x1");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 4> [local count: 214748364]:
<L1>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 5> [local count: 214748364]:
<L2>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 6> [local count: 214748364]:
<L3>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x10");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
<bb 7> [local count: 1073741824]:
<L6>:
return;
}
__attribute__((weak))
SVC_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
UsageFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
BusFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
MemManage_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
HardFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
NMI_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}

View File

@ -0,0 +1,219 @@
undefined_handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
SysTick_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
PendSV_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
DebugMon_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
SVCHandler_main (unsigned int * svc_args)
{
unsigned int _1;
sizetype _2;
unsigned char * _3;
unsigned char _4;
<bb 2> [local count: 1073741823]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_1 = MEM[(unsigned int *)svc_args_6(D) + 24B];
_2 = _1 + 4294967294;
_3 = (unsigned char *) _2;
_4 = *_3;
# DEBUG svc_number => (unsigned int) _4
# DEBUG BEGIN_STMT
switch (_4) <default: <L6> [20.00%], case 0: <L1> [20.00%], case 1: <L0> [20.00%], case 2: <L2> [20.00%], case 3: <L3> [20.00%]>
<bb 3> [local count: 214748364]:
<L0>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x1");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 4> [local count: 214748364]:
<L1>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 5> [local count: 214748364]:
<L2>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 6> [local count: 214748364]:
<L3>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x10");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
<bb 7> [local count: 1073741824]:
<L6>:
return;
}
__attribute__((weak))
SVC_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
UsageFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
BusFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
MemManage_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
HardFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
NMI_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}

View File

@ -0,0 +1,334 @@
Marking local functions:
Marking externally visible functions: undefined_handler SysTick_Handler PendSV_Handler DebugMon_Handler SVCHandler_main SVC_Handler UsageFault_Handler BusFault_Handler MemManage_Handler HardFault_Handler NMI_Handler
Marking externally visible variables:
Clearing variable flags:
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Symbol table:
undefined_handler/10 (undefined_handler) @06996b60
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:107374 (estimated locally) body executed_once optimize_size
Called by:
Calls:
SysTick_Handler/9 (SysTick_Handler) @06996620
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
PendSV_Handler/8 (PendSV_Handler) @06996000
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
DebugMon_Handler/7 (DebugMon_Handler) @06996d20
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
SVCHandler_main/6 (SVCHandler_main) @06996a80
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741823 (estimated locally) body optimize_size
Called by:
Calls:
SVC_Handler/5 (SVC_Handler) @069967e0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
UsageFault_Handler/4 (UsageFault_Handler) @06996460
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
BusFault_Handler/3 (BusFault_Handler) @069961c0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
MemManage_Handler/2 (MemManage_Handler) @0698fd20
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
HardFault_Handler/1 (HardFault_Handler) @0698fee0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
NMI_Handler/0 (NMI_Handler) @0698fc40
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
undefined_handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
SysTick_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
PendSV_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
DebugMon_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
SVCHandler_main (unsigned int * svc_args)
{
unsigned int _1;
sizetype _2;
unsigned char * _3;
unsigned char _4;
<bb 2> [local count: 1073741823]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_1 = MEM[(unsigned int *)svc_args_6(D) + 24B];
_2 = _1 + 4294967294;
_3 = (unsigned char *) _2;
_4 = *_3;
# DEBUG svc_number => (unsigned int) _4
# DEBUG BEGIN_STMT
switch (_4) <default: <L6> [20.00%], case 0: <L1> [20.00%], case 1: <L0> [20.00%], case 2: <L2> [20.00%], case 3: <L3> [20.00%]>
<bb 3> [local count: 214748364]:
<L0>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x1");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 4> [local count: 214748364]:
<L1>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 5> [local count: 214748364]:
<L2>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 6> [local count: 214748364]:
<L3>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x10");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
<bb 7> [local count: 1073741824]:
<L6>:
return;
}
__attribute__((weak))
SVC_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
UsageFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
BusFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
MemManage_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
HardFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
NMI_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}

View File

@ -0,0 +1,220 @@
Histogram:
undefined_handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
SysTick_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
PendSV_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
DebugMon_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
SVCHandler_main (unsigned int * svc_args)
{
unsigned int _1;
sizetype _2;
unsigned char * _3;
unsigned char _4;
<bb 2> [local count: 1073741823]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_1 = MEM[(unsigned int *)svc_args_6(D) + 24B];
_2 = _1 + 4294967294;
_3 = (unsigned char *) _2;
_4 = *_3;
# DEBUG svc_number => (unsigned int) _4
# DEBUG BEGIN_STMT
switch (_4) <default: <L6> [20.00%], case 0: <L1> [20.00%], case 1: <L0> [20.00%], case 2: <L2> [20.00%], case 3: <L3> [20.00%]>
<bb 3> [local count: 214748364]:
<L0>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x1");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 4> [local count: 214748364]:
<L1>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 5> [local count: 214748364]:
<L2>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 6> [local count: 214748364]:
<L3>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x10");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
<bb 7> [local count: 1073741824]:
<L6>:
return;
}
__attribute__((weak))
SVC_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
UsageFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
BusFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
MemManage_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
HardFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
NMI_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}

View File

@ -0,0 +1,317 @@
Parsed function:undefined_handler
Parsed function:SysTick_Handler
Parsed function:PendSV_Handler
Parsed function:DebugMon_Handler
Parsed function:SVCHandler_main
Parsed function:SVC_Handler
Parsed function:UsageFault_Handler
Parsed function:BusFault_Handler
Parsed function:MemManage_Handler
Parsed function:HardFault_Handler
Parsed function:NMI_Handler
Dump after hash based groups
Congruence classes: 2 (unique hash values: 2), with total: 11 items
Class size histogram [num of members]: number of classe number of classess
[1]: 1 classes
[10]: 1 classes
Dump after WPA based types groups
Congruence classes: 3 (unique hash values: 2), with total: 11 items
Class size histogram [num of members]: number of classe number of classess
[1]: 2 classes
[9]: 1 classes
Worklist has been filled with: 0
Address reference subdivision created: 0 new classes.
Dump after callgraph-based congruence reduction
Congruence classes: 3 (unique hash values: 2), with total: 11 items
Class size histogram [num of members]: number of classe number of classess
[1]: 2 classes
[9]: 1 classes
Init called for 9 items (81.82%).
Dump after full equality comparison of groups
Congruence classes: 3 (unique hash values: 2), with total: 11 items
Class size histogram [num of members]: number of classe number of classess
[1]: 2 classes
[9]: 1 classes
Worklist has been filled with: 0
Address reference subdivision created: 0 new classes.
Congruence classes: 3 (unique hash values: 2), with total: 11 items
Class size histogram [num of members]: number of classe number of classess
[1]: 2 classes
[9]: 1 classes
Item count: 11
Congruent classes before: 3, after: 3
Average class size before: 3.67, after: 3.67
Average non-singular class size: 9.00, count: 1
Equal symbols: 8
Fraction of visited symbols: 72.73%
Semantic equality hit:NMI_Handler->HardFault_Handler
Assembler symbol names:NMI_Handler->HardFault_Handler
Wrapper creation is not profitable (function is too small).
Not unifying; cannot redirect callers nor produce wrapper
Semantic equality hit:NMI_Handler->MemManage_Handler
Assembler symbol names:NMI_Handler->MemManage_Handler
Wrapper creation is not profitable (function is too small).
Not unifying; cannot redirect callers nor produce wrapper
Semantic equality hit:NMI_Handler->BusFault_Handler
Assembler symbol names:NMI_Handler->BusFault_Handler
Wrapper creation is not profitable (function is too small).
Not unifying; cannot redirect callers nor produce wrapper
Semantic equality hit:NMI_Handler->UsageFault_Handler
Assembler symbol names:NMI_Handler->UsageFault_Handler
Wrapper creation is not profitable (function is too small).
Not unifying; cannot redirect callers nor produce wrapper
Semantic equality hit:NMI_Handler->DebugMon_Handler
Assembler symbol names:NMI_Handler->DebugMon_Handler
Wrapper creation is not profitable (function is too small).
Not unifying; cannot redirect callers nor produce wrapper
Semantic equality hit:NMI_Handler->PendSV_Handler
Assembler symbol names:NMI_Handler->PendSV_Handler
Wrapper creation is not profitable (function is too small).
Not unifying; cannot redirect callers nor produce wrapper
Semantic equality hit:NMI_Handler->SysTick_Handler
Assembler symbol names:NMI_Handler->SysTick_Handler
Wrapper creation is not profitable (function is too small).
Not unifying; cannot redirect callers nor produce wrapper
Semantic equality hit:NMI_Handler->SVC_Handler
Assembler symbol names:NMI_Handler->SVC_Handler
Wrapper creation is not profitable (function is too small).
Not unifying; cannot redirect callers nor produce wrapper
undefined_handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
SysTick_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
PendSV_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
DebugMon_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
SVCHandler_main (unsigned int * svc_args)
{
unsigned int _1;
sizetype _2;
unsigned char * _3;
unsigned char _4;
<bb 2> [local count: 1073741823]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_1 = MEM[(unsigned int *)svc_args_6(D) + 24B];
_2 = _1 + 4294967294;
_3 = (unsigned char *) _2;
_4 = *_3;
# DEBUG svc_number => (unsigned int) _4
# DEBUG BEGIN_STMT
switch (_4) <default: <L6> [20.00%], case 0: <L1> [20.00%], case 1: <L0> [20.00%], case 2: <L2> [20.00%], case 3: <L3> [20.00%]>
<bb 3> [local count: 214748364]:
<L0>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x1");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 4> [local count: 214748364]:
<L1>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 5> [local count: 214748364]:
<L2>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 6> [local count: 214748364]:
<L3>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x10");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
<bb 7> [local count: 1073741824]:
<L6>:
return;
}
__attribute__((weak))
SVC_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
UsageFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
BusFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
MemManage_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
HardFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
NMI_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}

View File

@ -0,0 +1,320 @@
Symbol table:
undefined_handler/10 (undefined_handler) @06996b60
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:107374 (estimated locally) body executed_once optimize_size
Called by:
Calls:
SysTick_Handler/9 (SysTick_Handler) @06996620
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
PendSV_Handler/8 (PendSV_Handler) @06996000
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
DebugMon_Handler/7 (DebugMon_Handler) @06996d20
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
SVCHandler_main/6 (SVCHandler_main) @06996a80
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741823 (estimated locally) body optimize_size
Called by:
Calls:
SVC_Handler/5 (SVC_Handler) @069967e0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
UsageFault_Handler/4 (UsageFault_Handler) @06996460
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
BusFault_Handler/3 (BusFault_Handler) @069961c0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
MemManage_Handler/2 (MemManage_Handler) @0698fd20
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
HardFault_Handler/1 (HardFault_Handler) @0698fee0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
NMI_Handler/0 (NMI_Handler) @0698fc40
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
undefined_handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
SysTick_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
PendSV_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
DebugMon_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
SVCHandler_main (unsigned int * svc_args)
{
unsigned int _1;
sizetype _2;
unsigned char * _3;
unsigned char _4;
<bb 2> [local count: 1073741823]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_1 = MEM[(unsigned int *)svc_args_6(D) + 24B];
_2 = _1 + 4294967294;
_3 = (unsigned char *) _2;
_4 = *_3;
# DEBUG svc_number => (unsigned int) _4
# DEBUG BEGIN_STMT
switch (_4) <default: <L6> [20.00%], case 0: <L1> [20.00%], case 1: <L0> [20.00%], case 2: <L2> [20.00%], case 3: <L3> [20.00%]>
<bb 3> [local count: 214748364]:
<L0>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x1");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 4> [local count: 214748364]:
<L1>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 5> [local count: 214748364]:
<L2>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 6> [local count: 214748364]:
<L3>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x10");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
<bb 7> [local count: 1073741824]:
<L6>:
return;
}
__attribute__((weak))
SVC_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
UsageFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
BusFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
MemManage_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
HardFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
NMI_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}

View File

@ -0,0 +1,426 @@
IPA constant propagation start:
IPA structures before propagation:
Jump functions:
Jump functions of caller undefined_handler/10:
Jump functions of caller SysTick_Handler/9:
Jump functions of caller PendSV_Handler/8:
Jump functions of caller DebugMon_Handler/7:
Jump functions of caller SVCHandler_main/6:
Jump functions of caller SVC_Handler/5:
Jump functions of caller UsageFault_Handler/4:
Jump functions of caller BusFault_Handler/3:
Jump functions of caller MemManage_Handler/2:
Jump functions of caller HardFault_Handler/1:
Jump functions of caller NMI_Handler/0:
Propagating constants:
Not considering undefined_handler for cloning; -fipa-cp-clone disabled.
Function SysTick_Handler/9 is not versionable, reason: insufficient body availability.
Function PendSV_Handler/8 is not versionable, reason: insufficient body availability.
Function DebugMon_Handler/7 is not versionable, reason: insufficient body availability.
Not considering SVCHandler_main for cloning; -fipa-cp-clone disabled.
Function SVC_Handler/5 is not versionable, reason: insufficient body availability.
Function UsageFault_Handler/4 is not versionable, reason: insufficient body availability.
Function BusFault_Handler/3 is not versionable, reason: insufficient body availability.
Function MemManage_Handler/2 is not versionable, reason: insufficient body availability.
Function HardFault_Handler/1 is not versionable, reason: insufficient body availability.
Function NMI_Handler/0 is not versionable, reason: insufficient body availability.
overall_size: 44, max_new_size: 11001
IPA lattices after all propagation:
Lattices:
Node: undefined_handler/10:
Node: SysTick_Handler/9:
Node: PendSV_Handler/8:
Node: DebugMon_Handler/7:
Node: SVCHandler_main/6:
param [0]: BOTTOM
ctxs: BOTTOM
Bits unusable (BOTTOM)
VARYING
AGGS BOTTOM
Node: SVC_Handler/5:
Node: UsageFault_Handler/4:
Node: BusFault_Handler/3:
Node: MemManage_Handler/2:
Node: HardFault_Handler/1:
Node: NMI_Handler/0:
IPA decision stage:
IPA constant propagation end
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Symbol table:
undefined_handler/10 (undefined_handler) @06996b60
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:107374 (estimated locally) body executed_once optimize_size
Called by:
Calls:
SysTick_Handler/9 (SysTick_Handler) @06996620
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
PendSV_Handler/8 (PendSV_Handler) @06996000
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
DebugMon_Handler/7 (DebugMon_Handler) @06996d20
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
SVCHandler_main/6 (SVCHandler_main) @06996a80
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741823 (estimated locally) body optimize_size
Called by:
Calls:
SVC_Handler/5 (SVC_Handler) @069967e0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
UsageFault_Handler/4 (UsageFault_Handler) @06996460
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
BusFault_Handler/3 (BusFault_Handler) @069961c0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
MemManage_Handler/2 (MemManage_Handler) @0698fd20
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
HardFault_Handler/1 (HardFault_Handler) @0698fee0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
NMI_Handler/0 (NMI_Handler) @0698fc40
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
;; Function NMI_Handler (NMI_Handler, funcdef_no=0, decl_uid=4059, cgraph_uid=1, symbol_order=0)
Modification phase of node NMI_Handler/0
__attribute__((weak))
NMI_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
;; Function HardFault_Handler (HardFault_Handler, funcdef_no=1, decl_uid=4061, cgraph_uid=2, symbol_order=1)
Modification phase of node HardFault_Handler/1
__attribute__((weak))
HardFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
;; Function MemManage_Handler (MemManage_Handler, funcdef_no=2, decl_uid=4063, cgraph_uid=3, symbol_order=2)
Modification phase of node MemManage_Handler/2
__attribute__((weak))
MemManage_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
;; Function BusFault_Handler (BusFault_Handler, funcdef_no=3, decl_uid=4065, cgraph_uid=4, symbol_order=3)
Modification phase of node BusFault_Handler/3
__attribute__((weak))
BusFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
;; Function UsageFault_Handler (UsageFault_Handler, funcdef_no=4, decl_uid=4067, cgraph_uid=5, symbol_order=4)
Modification phase of node UsageFault_Handler/4
__attribute__((weak))
UsageFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
;; Function SVC_Handler (SVC_Handler, funcdef_no=5, decl_uid=4099, cgraph_uid=6, symbol_order=5)
Modification phase of node SVC_Handler/5
__attribute__((weak))
SVC_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
;; Function SVCHandler_main (SVCHandler_main, funcdef_no=6, decl_uid=4077, cgraph_uid=7, symbol_order=6)
Modification phase of node SVCHandler_main/6
SVCHandler_main (unsigned int * svc_args)
{
unsigned int _1;
sizetype _2;
unsigned char * _3;
unsigned char _4;
<bb 2> [local count: 1073741823]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_1 = MEM[(unsigned int *)svc_args_6(D) + 24B];
_2 = _1 + 4294967294;
_3 = (unsigned char *) _2;
_4 = *_3;
# DEBUG svc_number => (unsigned int) _4
# DEBUG BEGIN_STMT
switch (_4) <default: <L6> [20.00%], case 0: <L1> [20.00%], case 1: <L0> [20.00%], case 2: <L2> [20.00%], case 3: <L3> [20.00%]>
<bb 3> [local count: 214748364]:
<L0>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x1");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 4> [local count: 214748364]:
<L1>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 5> [local count: 214748364]:
<L2>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 6> [local count: 214748364]:
<L3>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x10");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
<bb 7> [local count: 1073741824]:
<L6>:
return;
}
;; Function DebugMon_Handler (DebugMon_Handler, funcdef_no=7, decl_uid=4069, cgraph_uid=8, symbol_order=7)
Modification phase of node DebugMon_Handler/7
__attribute__((weak))
DebugMon_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
;; Function PendSV_Handler (PendSV_Handler, funcdef_no=8, decl_uid=4071, cgraph_uid=9, symbol_order=8)
Modification phase of node PendSV_Handler/8
__attribute__((weak))
PendSV_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
;; Function SysTick_Handler (SysTick_Handler, funcdef_no=9, decl_uid=4073, cgraph_uid=10, symbol_order=9)
Modification phase of node SysTick_Handler/9
__attribute__((weak))
SysTick_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
;; Function undefined_handler (undefined_handler, funcdef_no=10, decl_uid=4075, cgraph_uid=11, symbol_order=10) (executed once)
Modification phase of node undefined_handler/10
undefined_handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}

View File

@ -0,0 +1,648 @@
Analyzing function: undefined_handler/10
;; 2 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;;
;; Loop 1
;; header 3, latch 4
;; depth 1, outer 0
;; nodes: 3 4
;; 2 succs { 3 }
;; 3 succs { 4 }
;; 4 succs { 3 }
Analyzing function body size: undefined_handler
IPA function summary for undefined_handler/10 inlinable
global time: 0.000000
self size: 2
global size: 0
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
Analyzing function: SysTick_Handler/9
;; 2 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;;
;; Loop 1
;; header 3, latch 4
;; depth 1, outer 0
;; nodes: 3 4
;; 2 succs { 3 }
;; 3 succs { 4 }
;; 4 succs { 3 }
Analyzing function body size: SysTick_Handler
IPA function summary for SysTick_Handler/9 inlinable
global time: 0.000000
self size: 2
global size: 0
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
Analyzing function: PendSV_Handler/8
;; 2 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;;
;; Loop 1
;; header 3, latch 4
;; depth 1, outer 0
;; nodes: 3 4
;; 2 succs { 3 }
;; 3 succs { 4 }
;; 4 succs { 3 }
Analyzing function body size: PendSV_Handler
IPA function summary for PendSV_Handler/8 inlinable
global time: 0.000000
self size: 2
global size: 0
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
Analyzing function: DebugMon_Handler/7
;; 2 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;;
;; Loop 1
;; header 3, latch 4
;; depth 1, outer 0
;; nodes: 3 4
;; 2 succs { 3 }
;; 3 succs { 4 }
;; 4 succs { 3 }
Analyzing function body size: DebugMon_Handler
IPA function summary for DebugMon_Handler/7 inlinable
global time: 0.000000
self size: 2
global size: 0
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
Analyzing function: SVCHandler_main/6
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4 5 6 7
;; 2 succs { 7 4 3 5 6 }
;; 3 succs { 7 }
;; 4 succs { 7 }
;; 5 succs { 7 }
;; 6 succs { 7 }
;; 7 succs { 1 }
Analyzing function body size: SVCHandler_main
IPA function summary for SVCHandler_main/6 inlinable
global time: 10.600000
self size: 24
global size: 0
min size: 0
self stack: 0
global stack: 0
size:20.500000, time:8.100000
size:3.500000, time:2.500000, executed if:(not inlined)
calls:
Analyzing function: SVC_Handler/5
;; 2 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;;
;; Loop 1
;; header 3, latch 4
;; depth 1, outer 0
;; nodes: 3 4
;; 2 succs { 3 }
;; 3 succs { 4 }
;; 4 succs { 3 }
Analyzing function body size: SVC_Handler
IPA function summary for SVC_Handler/5 inlinable
global time: 0.000000
self size: 2
global size: 0
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
Analyzing function: UsageFault_Handler/4
;; 2 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;;
;; Loop 1
;; header 3, latch 4
;; depth 1, outer 0
;; nodes: 3 4
;; 2 succs { 3 }
;; 3 succs { 4 }
;; 4 succs { 3 }
Analyzing function body size: UsageFault_Handler
IPA function summary for UsageFault_Handler/4 inlinable
global time: 0.000000
self size: 2
global size: 0
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
Analyzing function: BusFault_Handler/3
;; 2 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;;
;; Loop 1
;; header 3, latch 4
;; depth 1, outer 0
;; nodes: 3 4
;; 2 succs { 3 }
;; 3 succs { 4 }
;; 4 succs { 3 }
Analyzing function body size: BusFault_Handler
IPA function summary for BusFault_Handler/3 inlinable
global time: 0.000000
self size: 2
global size: 0
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
Analyzing function: MemManage_Handler/2
;; 2 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;;
;; Loop 1
;; header 3, latch 4
;; depth 1, outer 0
;; nodes: 3 4
;; 2 succs { 3 }
;; 3 succs { 4 }
;; 4 succs { 3 }
Analyzing function body size: MemManage_Handler
IPA function summary for MemManage_Handler/2 inlinable
global time: 0.000000
self size: 2
global size: 0
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
Analyzing function: HardFault_Handler/1
;; 2 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;;
;; Loop 1
;; header 3, latch 4
;; depth 1, outer 0
;; nodes: 3 4
;; 2 succs { 3 }
;; 3 succs { 4 }
;; 4 succs { 3 }
Analyzing function body size: HardFault_Handler
IPA function summary for HardFault_Handler/1 inlinable
global time: 0.000000
self size: 2
global size: 0
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
Analyzing function: NMI_Handler/0
;; 2 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;;
;; Loop 1
;; header 3, latch 4
;; depth 1, outer 0
;; nodes: 3 4
;; 2 succs { 3 }
;; 3 succs { 4 }
;; 4 succs { 3 }
Analyzing function body size: NMI_Handler
IPA function summary for NMI_Handler/0 inlinable
global time: 0.000000
self size: 2
global size: 0
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
Symbol table:
undefined_handler/10 (undefined_handler) @06996b60
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:107374 (estimated locally) body executed_once optimize_size
Called by:
Calls:
SysTick_Handler/9 (SysTick_Handler) @06996620
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
PendSV_Handler/8 (PendSV_Handler) @06996000
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
DebugMon_Handler/7 (DebugMon_Handler) @06996d20
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
SVCHandler_main/6 (SVCHandler_main) @06996a80
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741823 (estimated locally) body optimize_size
Called by:
Calls:
SVC_Handler/5 (SVC_Handler) @069967e0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
UsageFault_Handler/4 (UsageFault_Handler) @06996460
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
BusFault_Handler/3 (BusFault_Handler) @069961c0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
MemManage_Handler/2 (MemManage_Handler) @0698fd20
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
HardFault_Handler/1 (HardFault_Handler) @0698fee0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
NMI_Handler/0 (NMI_Handler) @0698fc40
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
undefined_handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
SysTick_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
PendSV_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
DebugMon_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
SVCHandler_main (unsigned int * svc_args)
{
unsigned int _1;
sizetype _2;
unsigned char * _3;
unsigned char _4;
<bb 2> [local count: 1073741823]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_1 = MEM[(unsigned int *)svc_args_6(D) + 24B];
_2 = _1 + 4294967294;
_3 = (unsigned char *) _2;
_4 = *_3;
# DEBUG svc_number => (unsigned int) _4
# DEBUG BEGIN_STMT
switch (_4) <default: <L6> [20.00%], case 0: <L1> [20.00%], case 1: <L0> [20.00%], case 2: <L2> [20.00%], case 3: <L3> [20.00%]>
<bb 3> [local count: 214748364]:
<L0>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x1");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 4> [local count: 214748364]:
<L1>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 5> [local count: 214748364]:
<L2>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 6> [local count: 214748364]:
<L3>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x10");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
<bb 7> [local count: 1073741824]:
<L6>:
return;
}
__attribute__((weak))
SVC_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
UsageFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
BusFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
MemManage_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
HardFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
NMI_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}

View File

@ -0,0 +1,620 @@
IPA function summary for undefined_handler/10 inlinable
global time: 0.000000
self size: 2
global size: 2
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
IPA function summary for SysTick_Handler/9 inlinable
global time: 0.000000
self size: 2
global size: 2
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
IPA function summary for PendSV_Handler/8 inlinable
global time: 0.000000
self size: 2
global size: 2
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
IPA function summary for DebugMon_Handler/7 inlinable
global time: 0.000000
self size: 2
global size: 2
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
IPA function summary for SVCHandler_main/6 inlinable
global time: 10.600000
self size: 24
global size: 24
min size: 0
self stack: 0
global stack: 0
size:20.500000, time:8.100000
size:3.500000, time:2.500000, executed if:(not inlined)
calls:
IPA function summary for SVC_Handler/5 inlinable
global time: 0.000000
self size: 2
global size: 2
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
IPA function summary for UsageFault_Handler/4 inlinable
global time: 0.000000
self size: 2
global size: 2
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
IPA function summary for BusFault_Handler/3 inlinable
global time: 0.000000
self size: 2
global size: 2
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
IPA function summary for MemManage_Handler/2 inlinable
global time: 0.000000
self size: 2
global size: 2
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
IPA function summary for HardFault_Handler/1 inlinable
global time: 0.000000
self size: 2
global size: 2
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
IPA function summary for NMI_Handler/0 inlinable
global time: 0.000000
self size: 2
global size: 2
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
Flattening functions:
Overall time estimate: 10.600000 weighted by profile: 0.000000
Deciding on inlining of small functions. Starting with size 0.
Enqueueing calls in undefined_handler/10.
Enqueueing calls in SysTick_Handler/9.
Enqueueing calls in PendSV_Handler/8.
Enqueueing calls in DebugMon_Handler/7.
Enqueueing calls in SVCHandler_main/6.
Enqueueing calls in SVC_Handler/5.
Enqueueing calls in UsageFault_Handler/4.
Enqueueing calls in BusFault_Handler/3.
Enqueueing calls in MemManage_Handler/2.
Enqueueing calls in HardFault_Handler/1.
Enqueueing calls in NMI_Handler/0.
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Deciding on functions to be inlined into all callers and removing useless speculations:
Overall time estimate: 10.600000 weighted by profile: 0.000000
Why inlining failed?
IPA function summary for undefined_handler/10 inlinable
global time: 0.000000
self size: 2
global size: 2
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
IPA function summary for SysTick_Handler/9 inlinable
global time: 0.000000
self size: 2
global size: 2
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
IPA function summary for PendSV_Handler/8 inlinable
global time: 0.000000
self size: 2
global size: 2
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
IPA function summary for DebugMon_Handler/7 inlinable
global time: 0.000000
self size: 2
global size: 2
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
IPA function summary for SVCHandler_main/6 inlinable
global time: 10.600000
self size: 24
global size: 24
min size: 0
self stack: 0
global stack: 0
size:20.500000, time:8.100000
size:3.500000, time:2.500000, executed if:(not inlined)
calls:
IPA function summary for SVC_Handler/5 inlinable
global time: 0.000000
self size: 2
global size: 2
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
IPA function summary for UsageFault_Handler/4 inlinable
global time: 0.000000
self size: 2
global size: 2
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
IPA function summary for BusFault_Handler/3 inlinable
global time: 0.000000
self size: 2
global size: 2
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
IPA function summary for MemManage_Handler/2 inlinable
global time: 0.000000
self size: 2
global size: 2
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
IPA function summary for HardFault_Handler/1 inlinable
global time: 0.000000
self size: 2
global size: 2
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
IPA function summary for NMI_Handler/0 inlinable
global time: 0.000000
self size: 2
global size: 2
min size: 0
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:2.000000, time:0.000000, executed if:(not inlined)
calls:
Symbol table:
undefined_handler/10 (undefined_handler) @06996b60
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:107374 (estimated locally) body executed_once optimize_size
Called by:
Calls:
SysTick_Handler/9 (SysTick_Handler) @06996620
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
PendSV_Handler/8 (PendSV_Handler) @06996000
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
DebugMon_Handler/7 (DebugMon_Handler) @06996d20
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
SVCHandler_main/6 (SVCHandler_main) @06996a80
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741823 (estimated locally) body optimize_size
Called by:
Calls:
SVC_Handler/5 (SVC_Handler) @069967e0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
UsageFault_Handler/4 (UsageFault_Handler) @06996460
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
BusFault_Handler/3 (BusFault_Handler) @069961c0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
MemManage_Handler/2 (MemManage_Handler) @0698fd20
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
HardFault_Handler/1 (HardFault_Handler) @0698fee0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
NMI_Handler/0 (NMI_Handler) @0698fc40
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
;; Function NMI_Handler (NMI_Handler, funcdef_no=0, decl_uid=4059, cgraph_uid=1, symbol_order=0)
__attribute__((weak))
NMI_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
;; Function HardFault_Handler (HardFault_Handler, funcdef_no=1, decl_uid=4061, cgraph_uid=2, symbol_order=1)
__attribute__((weak))
HardFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
;; Function MemManage_Handler (MemManage_Handler, funcdef_no=2, decl_uid=4063, cgraph_uid=3, symbol_order=2)
__attribute__((weak))
MemManage_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
;; Function BusFault_Handler (BusFault_Handler, funcdef_no=3, decl_uid=4065, cgraph_uid=4, symbol_order=3)
__attribute__((weak))
BusFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
;; Function UsageFault_Handler (UsageFault_Handler, funcdef_no=4, decl_uid=4067, cgraph_uid=5, symbol_order=4)
__attribute__((weak))
UsageFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
;; Function SVC_Handler (SVC_Handler, funcdef_no=5, decl_uid=4099, cgraph_uid=6, symbol_order=5)
__attribute__((weak))
SVC_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
;; Function SVCHandler_main (SVCHandler_main, funcdef_no=6, decl_uid=4077, cgraph_uid=7, symbol_order=6)
SVCHandler_main (unsigned int * svc_args)
{
unsigned int _1;
sizetype _2;
unsigned char * _3;
unsigned char _4;
<bb 2> [local count: 1073741823]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_1 = MEM[(unsigned int *)svc_args_6(D) + 24B];
_2 = _1 + 4294967294;
_3 = (unsigned char *) _2;
_4 = *_3;
# DEBUG svc_number => (unsigned int) _4
# DEBUG BEGIN_STMT
switch (_4) <default: <L6> [20.00%], case 0: <L1> [20.00%], case 1: <L0> [20.00%], case 2: <L2> [20.00%], case 3: <L3> [20.00%]>
<bb 3> [local count: 214748364]:
<L0>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x1");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 4> [local count: 214748364]:
<L1>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 5> [local count: 214748364]:
<L2>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 6> [local count: 214748364]:
<L3>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x10");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
<bb 7> [local count: 1073741824]:
<L6>:
return;
}
;; Function DebugMon_Handler (DebugMon_Handler, funcdef_no=7, decl_uid=4069, cgraph_uid=8, symbol_order=7)
__attribute__((weak))
DebugMon_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
;; Function PendSV_Handler (PendSV_Handler, funcdef_no=8, decl_uid=4071, cgraph_uid=9, symbol_order=8)
__attribute__((weak))
PendSV_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
;; Function SysTick_Handler (SysTick_Handler, funcdef_no=9, decl_uid=4073, cgraph_uid=10, symbol_order=9)
__attribute__((weak))
SysTick_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
;; Function undefined_handler (undefined_handler, funcdef_no=10, decl_uid=4075, cgraph_uid=11, symbol_order=10) (executed once)
undefined_handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}

View File

@ -0,0 +1,951 @@
local analysis of undefined_handler
;; 2 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;;
;; Loop 1
;; header 3, latch 4
;; depth 1, outer 0
;; nodes: 3 4
;; 2 succs { 3 }
;; 3 succs { 4 }
;; 4 succs { 3 }
cannot prove finiteness of loop 1
Function is locally looping.
Function is locally const.
local analysis of SysTick_Handler
;; 2 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;;
;; Loop 1
;; header 3, latch 4
;; depth 1, outer 0
;; nodes: 3 4
;; 2 succs { 3 }
;; 3 succs { 4 }
;; 4 succs { 3 }
cannot prove finiteness of loop 1
Function is locally looping.
Function is locally const.
local analysis of PendSV_Handler
;; 2 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;;
;; Loop 1
;; header 3, latch 4
;; depth 1, outer 0
;; nodes: 3 4
;; 2 succs { 3 }
;; 3 succs { 4 }
;; 4 succs { 3 }
cannot prove finiteness of loop 1
Function is locally looping.
Function is locally const.
local analysis of DebugMon_Handler
;; 2 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;;
;; Loop 1
;; header 3, latch 4
;; depth 1, outer 0
;; nodes: 3 4
;; 2 succs { 3 }
;; 3 succs { 4 }
;; 4 succs { 3 }
cannot prove finiteness of loop 1
Function is locally looping.
Function is locally const.
local analysis of SVCHandler_main
scanning: _1 = MEM[(unsigned int *)svc_args_6(D) + 24B];
Indirect ref read is not const
scanning: _2 = _1 + 4294967294;
scanning: _3 = (unsigned char *) _2;
scanning: _4 = *_3;
Indirect ref read is not const
scanning: switch (_4) <default: <L6> [20.00%], case 0: <L1> [20.00%], case 1: <L0> [20.00%], case 2: <L2> [20.00%], case 3: <L3> [20.00%]>
scanning: <L0>:
scanning: __asm__ __volatile__("mov r0, #0x1");
memory asm clobber is not const/pure
volatile is not const/pure
scanning: __asm__ __volatile__("msr CONTROL, r0");
memory asm clobber is not const/pure
volatile is not const/pure
scanning: <L1>:
scanning: __asm__ __volatile__("mov r0, #0x0");
memory asm clobber is not const/pure
volatile is not const/pure
scanning: __asm__ __volatile__("msr CONTROL, r0");
memory asm clobber is not const/pure
volatile is not const/pure
scanning: <L2>:
scanning: __asm__ __volatile__("mov r0, #0x0");
memory asm clobber is not const/pure
volatile is not const/pure
scanning: __asm__ __volatile__(" msr BASEPRI, r0");
memory asm clobber is not const/pure
volatile is not const/pure
scanning: <L3>:
scanning: __asm__ __volatile__("mov r0, #0x10");
memory asm clobber is not const/pure
volatile is not const/pure
scanning: __asm__ __volatile__(" msr BASEPRI, r0");
memory asm clobber is not const/pure
volatile is not const/pure
scanning: <L6>:
scanning: return;
Function is locally looping.
Function can locally free.
local analysis of SVC_Handler
;; 2 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;;
;; Loop 1
;; header 3, latch 4
;; depth 1, outer 0
;; nodes: 3 4
;; 2 succs { 3 }
;; 3 succs { 4 }
;; 4 succs { 3 }
cannot prove finiteness of loop 1
Function is locally looping.
Function is locally const.
local analysis of UsageFault_Handler
;; 2 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;;
;; Loop 1
;; header 3, latch 4
;; depth 1, outer 0
;; nodes: 3 4
;; 2 succs { 3 }
;; 3 succs { 4 }
;; 4 succs { 3 }
cannot prove finiteness of loop 1
Function is locally looping.
Function is locally const.
local analysis of BusFault_Handler
;; 2 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;;
;; Loop 1
;; header 3, latch 4
;; depth 1, outer 0
;; nodes: 3 4
;; 2 succs { 3 }
;; 3 succs { 4 }
;; 4 succs { 3 }
cannot prove finiteness of loop 1
Function is locally looping.
Function is locally const.
local analysis of MemManage_Handler
;; 2 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;;
;; Loop 1
;; header 3, latch 4
;; depth 1, outer 0
;; nodes: 3 4
;; 2 succs { 3 }
;; 3 succs { 4 }
;; 4 succs { 3 }
cannot prove finiteness of loop 1
Function is locally looping.
Function is locally const.
local analysis of HardFault_Handler
;; 2 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;;
;; Loop 1
;; header 3, latch 4
;; depth 1, outer 0
;; nodes: 3 4
;; 2 succs { 3 }
;; 3 succs { 4 }
;; 4 succs { 3 }
cannot prove finiteness of loop 1
Function is locally looping.
Function is locally const.
local analysis of NMI_Handler
;; 2 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;;
;; Loop 1
;; header 3, latch 4
;; depth 1, outer 0
;; nodes: 3 4
;; 2 succs { 3 }
;; 3 succs { 4 }
;; 4 succs { 3 }
cannot prove finiteness of loop 1
Function is locally looping.
Function is locally const.
callgraph:
undefined_handler/10 (undefined_handler) @06996b60
Type: function definition analyzed
Visibility: externally_visible public
Aux: @02614d00
References:
Referring:
Availability: available
Function flags: count:107374 (estimated locally) body executed_once optimize_size
Called by:
Calls:
SysTick_Handler/9 (SysTick_Handler) @06996620
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614d20
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
PendSV_Handler/8 (PendSV_Handler) @06996000
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614de0
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
DebugMon_Handler/7 (DebugMon_Handler) @06996d20
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02615020
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
SVCHandler_main/6 (SVCHandler_main) @06996a80
Type: function definition analyzed
Visibility: externally_visible public
Aux: @02614d60
References:
Referring:
Availability: available
Function flags: count:1073741823 (estimated locally) body optimize_size
Called by:
Calls:
SVC_Handler/5 (SVC_Handler) @069967e0
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614e00
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
UsageFault_Handler/4 (UsageFault_Handler) @06996460
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02615040
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
BusFault_Handler/3 (BusFault_Handler) @069961c0
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02615000
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
MemManage_Handler/2 (MemManage_Handler) @0698fd20
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614fa0
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
HardFault_Handler/1 (HardFault_Handler) @0698fee0
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614ee0
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
NMI_Handler/0 (NMI_Handler) @0698fc40
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614ec0
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
ordered call graph: reduced for nothrow
undefined_handler/10 (undefined_handler) @06996b60
Type: function definition analyzed
Visibility: externally_visible public
Aux: @02614d00
References:
Referring:
Availability: available
Function flags: count:107374 (estimated locally) body executed_once optimize_size
Called by:
Calls:
SysTick_Handler/9 (SysTick_Handler) @06996620
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614d20
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
PendSV_Handler/8 (PendSV_Handler) @06996000
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614de0
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
DebugMon_Handler/7 (DebugMon_Handler) @06996d20
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02615020
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
SVCHandler_main/6 (SVCHandler_main) @06996a80
Type: function definition analyzed
Visibility: externally_visible public
Aux: @02614d60
References:
Referring:
Availability: available
Function flags: count:1073741823 (estimated locally) body optimize_size
Called by:
Calls:
SVC_Handler/5 (SVC_Handler) @069967e0
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614e00
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
UsageFault_Handler/4 (UsageFault_Handler) @06996460
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02615040
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
BusFault_Handler/3 (BusFault_Handler) @069961c0
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02615000
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
MemManage_Handler/2 (MemManage_Handler) @0698fd20
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614fa0
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
HardFault_Handler/1 (HardFault_Handler) @0698fee0
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614ee0
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
NMI_Handler/0 (NMI_Handler) @0698fc40
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614ec0
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
MALLOC LATTICE Initial:
undefined_handler: malloc_bottom
SysTick_Handler: malloc_bottom
PendSV_Handler: malloc_bottom
DebugMon_Handler: malloc_bottom
SVCHandler_main: malloc_bottom
SVC_Handler: malloc_bottom
UsageFault_Handler: malloc_bottom
BusFault_Handler: malloc_bottom
MemManage_Handler: malloc_bottom
HardFault_Handler: malloc_bottom
NMI_Handler: malloc_bottom
MALLOC LATTICE after propagation:
undefined_handler: malloc_bottom
SysTick_Handler: malloc_bottom
PendSV_Handler: malloc_bottom
DebugMon_Handler: malloc_bottom
SVCHandler_main: malloc_bottom
SVC_Handler: malloc_bottom
UsageFault_Handler: malloc_bottom
BusFault_Handler: malloc_bottom
MemManage_Handler: malloc_bottom
HardFault_Handler: malloc_bottom
NMI_Handler: malloc_bottom
callgraph:
undefined_handler/10 (undefined_handler) @06996b60
Type: function definition analyzed
Visibility: externally_visible public
Aux: @02614de0
References:
Referring:
Availability: available
Function flags: count:107374 (estimated locally) body executed_once optimize_size
Called by:
Calls:
SysTick_Handler/9 (SysTick_Handler) @06996620
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02615000
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
PendSV_Handler/8 (PendSV_Handler) @06996000
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614e60
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
DebugMon_Handler/7 (DebugMon_Handler) @06996d20
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614e20
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
SVCHandler_main/6 (SVCHandler_main) @06996a80
Type: function definition analyzed
Visibility: externally_visible public
Aux: @02614fa0
References:
Referring:
Availability: available
Function flags: count:1073741823 (estimated locally) body optimize_size
Called by:
Calls:
SVC_Handler/5 (SVC_Handler) @069967e0
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614e80
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
UsageFault_Handler/4 (UsageFault_Handler) @06996460
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614d00
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
BusFault_Handler/3 (BusFault_Handler) @069961c0
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614fc0
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
MemManage_Handler/2 (MemManage_Handler) @0698fd20
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614f00
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
HardFault_Handler/1 (HardFault_Handler) @0698fee0
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614cc0
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
NMI_Handler/0 (NMI_Handler) @0698fc40
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02615020
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
ordered call graph: reduced
undefined_handler/10 (undefined_handler) @06996b60
Type: function definition analyzed
Visibility: externally_visible public
Aux: @02614de0
References:
Referring:
Availability: available
Function flags: count:107374 (estimated locally) body executed_once optimize_size
Called by:
Calls:
SysTick_Handler/9 (SysTick_Handler) @06996620
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02615000
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
PendSV_Handler/8 (PendSV_Handler) @06996000
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614e60
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
DebugMon_Handler/7 (DebugMon_Handler) @06996d20
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614e20
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
SVCHandler_main/6 (SVCHandler_main) @06996a80
Type: function definition analyzed
Visibility: externally_visible public
Aux: @02614fa0
References:
Referring:
Availability: available
Function flags: count:1073741823 (estimated locally) body optimize_size
Called by:
Calls:
SVC_Handler/5 (SVC_Handler) @069967e0
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614e80
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
UsageFault_Handler/4 (UsageFault_Handler) @06996460
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614d00
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
BusFault_Handler/3 (BusFault_Handler) @069961c0
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614fc0
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
MemManage_Handler/2 (MemManage_Handler) @0698fd20
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614f00
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
HardFault_Handler/1 (HardFault_Handler) @0698fee0
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614cc0
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
NMI_Handler/0 (NMI_Handler) @0698fc40
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02615020
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
Function found to be looping const: NMI_Handler
Function found to be looping const: HardFault_Handler
Function found to be looping const: MemManage_Handler
Function found to be looping const: BusFault_Handler
Function found to be looping const: UsageFault_Handler
Function found to be looping const: SVC_Handler
Function found to be looping const: DebugMon_Handler
Function found to be looping const: PendSV_Handler
Function found to be looping const: SysTick_Handler
Function found not to call free: undefined_handler
undefined_handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
SysTick_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
PendSV_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
DebugMon_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
SVCHandler_main (unsigned int * svc_args)
{
unsigned int _1;
sizetype _2;
unsigned char * _3;
unsigned char _4;
<bb 2> [local count: 1073741823]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_1 = MEM[(unsigned int *)svc_args_6(D) + 24B];
_2 = _1 + 4294967294;
_3 = (unsigned char *) _2;
_4 = *_3;
# DEBUG svc_number => (unsigned int) _4
# DEBUG BEGIN_STMT
switch (_4) <default: <L6> [20.00%], case 0: <L1> [20.00%], case 1: <L0> [20.00%], case 2: <L2> [20.00%], case 3: <L3> [20.00%]>
<bb 3> [local count: 214748364]:
<L0>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x1");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 4> [local count: 214748364]:
<L1>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 5> [local count: 214748364]:
<L2>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 6> [local count: 214748364]:
<L3>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x10");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
<bb 7> [local count: 1073741824]:
<L6>:
return;
}
__attribute__((weak))
SVC_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
UsageFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
BusFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
MemManage_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
HardFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
NMI_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}

View File

@ -0,0 +1,219 @@
undefined_handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
SysTick_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
PendSV_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
DebugMon_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
SVCHandler_main (unsigned int * svc_args)
{
unsigned int _1;
sizetype _2;
unsigned char * _3;
unsigned char _4;
<bb 2> [local count: 1073741823]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_1 = MEM[(unsigned int *)svc_args_6(D) + 24B];
_2 = _1 + 4294967294;
_3 = (unsigned char *) _2;
_4 = *_3;
# DEBUG svc_number => (unsigned int) _4
# DEBUG BEGIN_STMT
switch (_4) <default: <L6> [20.00%], case 0: <L1> [20.00%], case 1: <L0> [20.00%], case 2: <L2> [20.00%], case 3: <L3> [20.00%]>
<bb 3> [local count: 214748364]:
<L0>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x1");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 4> [local count: 214748364]:
<L1>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 5> [local count: 214748364]:
<L2>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 6> [local count: 214748364]:
<L3>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x10");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
<bb 7> [local count: 1073741824]:
<L6>:
return;
}
__attribute__((weak))
SVC_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
UsageFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
BusFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
MemManage_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
HardFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
NMI_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}

View File

@ -0,0 +1,534 @@
callgraph:
undefined_handler/10 (undefined_handler) @06996b60
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:107374 (estimated locally) body nonfreeing_fn executed_once optimize_size
Called by:
Calls:
SysTick_Handler/9 (SysTick_Handler) @06996620
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
PendSV_Handler/8 (PendSV_Handler) @06996000
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
DebugMon_Handler/7 (DebugMon_Handler) @06996d20
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
SVCHandler_main/6 (SVCHandler_main) @06996a80
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741823 (estimated locally) body optimize_size
Called by:
Calls:
SVC_Handler/5 (SVC_Handler) @069967e0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
UsageFault_Handler/4 (UsageFault_Handler) @06996460
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
BusFault_Handler/3 (BusFault_Handler) @069961c0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
MemManage_Handler/2 (MemManage_Handler) @0698fd20
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
HardFault_Handler/1 (HardFault_Handler) @0698fee0
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
NMI_Handler/0 (NMI_Handler) @0698fc40
Type: function definition analyzed
Visibility: externally_visible public weak
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
Clearing variable flags:
Function name:undefined_handler/10:
locals read:
locals written:
Function name:SysTick_Handler/9:
locals read:
locals written:
Function name:PendSV_Handler/8:
locals read:
locals written:
Function name:DebugMon_Handler/7:
locals read:
locals written:
Function name:SVCHandler_main/6:
locals read:
locals written:
Function name:SVC_Handler/5:
locals read:
locals written:
Function name:UsageFault_Handler/4:
locals read:
locals written:
Function name:BusFault_Handler/3:
locals read:
locals written:
Function name:MemManage_Handler/2:
locals read:
locals written:
Function name:HardFault_Handler/1:
locals read:
locals written:
Function name:NMI_Handler/0:
locals read:
locals written:
ordered call graph: reduced
undefined_handler/10 (undefined_handler) @06996b60
Type: function definition analyzed
Visibility: externally_visible public
Aux: @02614fa0
References:
Referring:
Availability: available
Function flags: count:107374 (estimated locally) body nonfreeing_fn executed_once optimize_size
Called by:
Calls:
SysTick_Handler/9 (SysTick_Handler) @06996620
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614fc0
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
PendSV_Handler/8 (PendSV_Handler) @06996000
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614e20
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
DebugMon_Handler/7 (DebugMon_Handler) @06996d20
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02615000
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
SVCHandler_main/6 (SVCHandler_main) @06996a80
Type: function definition analyzed
Visibility: externally_visible public
Aux: @02614d20
References:
Referring:
Availability: available
Function flags: count:1073741823 (estimated locally) body optimize_size
Called by:
Calls:
SVC_Handler/5 (SVC_Handler) @069967e0
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02615020
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
UsageFault_Handler/4 (UsageFault_Handler) @06996460
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614ec0
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
BusFault_Handler/3 (BusFault_Handler) @069961c0
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614de0
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
MemManage_Handler/2 (MemManage_Handler) @0698fd20
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614cc0
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
HardFault_Handler/1 (HardFault_Handler) @0698fee0
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02615040
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
NMI_Handler/0 (NMI_Handler) @0698fc40
Type: function definition analyzed
Visibility: externally_visible public weak
Aux: @02614d00
References:
Referring:
Availability: overwritable
Function flags: count:107374 (estimated locally) body optimize_size
Called by:
Calls:
Function name:NMI_Handler/0:
locals read:
locals written:
globals read: ALL
globals written: ALL
Function name:HardFault_Handler/1:
locals read:
locals written:
globals read: ALL
globals written: ALL
Function name:MemManage_Handler/2:
locals read:
locals written:
globals read: ALL
globals written: ALL
Function name:BusFault_Handler/3:
locals read:
locals written:
globals read: ALL
globals written: ALL
Function name:UsageFault_Handler/4:
locals read:
locals written:
globals read: ALL
globals written: ALL
Function name:SVC_Handler/5:
locals read:
locals written:
globals read: ALL
globals written: ALL
Function name:SVCHandler_main/6:
locals read:
locals written:
globals read:
globals written:
Function name:DebugMon_Handler/7:
locals read:
locals written:
globals read: ALL
globals written: ALL
Function name:PendSV_Handler/8:
locals read:
locals written:
globals read: ALL
globals written: ALL
Function name:SysTick_Handler/9:
locals read:
locals written:
globals read: ALL
globals written: ALL
Function name:undefined_handler/10:
locals read:
locals written:
globals read:
globals written:
undefined_handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
SysTick_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
PendSV_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
DebugMon_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
SVCHandler_main (unsigned int * svc_args)
{
unsigned int _1;
sizetype _2;
unsigned char * _3;
unsigned char _4;
<bb 2> [local count: 1073741823]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_1 = MEM[(unsigned int *)svc_args_6(D) + 24B];
_2 = _1 + 4294967294;
_3 = (unsigned char *) _2;
_4 = *_3;
# DEBUG svc_number => (unsigned int) _4
# DEBUG BEGIN_STMT
switch (_4) <default: <L6> [20.00%], case 0: <L1> [20.00%], case 1: <L0> [20.00%], case 2: <L2> [20.00%], case 3: <L3> [20.00%]>
<bb 3> [local count: 214748364]:
<L0>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x1");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 4> [local count: 214748364]:
<L1>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 5> [local count: 214748364]:
<L2>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 6> [local count: 214748364]:
<L3>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x10");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
<bb 7> [local count: 1073741824]:
<L6>:
return;
}
__attribute__((weak))
SVC_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
UsageFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
BusFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
MemManage_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
HardFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
NMI_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}

View File

@ -0,0 +1,219 @@
undefined_handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
SysTick_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
PendSV_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
DebugMon_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
SVCHandler_main (unsigned int * svc_args)
{
unsigned int _1;
sizetype _2;
unsigned char * _3;
unsigned char _4;
<bb 2> [local count: 1073741823]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_1 = MEM[(unsigned int *)svc_args_6(D) + 24B];
_2 = _1 + 4294967294;
_3 = (unsigned char *) _2;
_4 = *_3;
# DEBUG svc_number => (unsigned int) _4
# DEBUG BEGIN_STMT
switch (_4) <default: <L6> [20.00%], case 0: <L1> [20.00%], case 1: <L0> [20.00%], case 2: <L2> [20.00%], case 3: <L3> [20.00%]>
<bb 3> [local count: 214748364]:
<L0>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x1");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 4> [local count: 214748364]:
<L1>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 5> [local count: 214748364]:
<L2>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 6> [local count: 214748364]:
<L3>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x10");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
<bb 7> [local count: 1073741824]:
<L6>:
return;
}
__attribute__((weak))
SVC_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
UsageFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
BusFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
MemManage_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
HardFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
NMI_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}

View File

@ -0,0 +1,219 @@
undefined_handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
SysTick_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
PendSV_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
DebugMon_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
SVCHandler_main (unsigned int * svc_args)
{
unsigned int _1;
sizetype _2;
unsigned char * _3;
unsigned char _4;
<bb 2> [local count: 1073741823]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_1 = MEM[(unsigned int *)svc_args_6(D) + 24B];
_2 = _1 + 4294967294;
_3 = (unsigned char *) _2;
_4 = *_3;
# DEBUG svc_number => (unsigned int) _4
# DEBUG BEGIN_STMT
switch (_4) <default: <L6> [20.00%], case 0: <L1> [20.00%], case 1: <L0> [20.00%], case 2: <L2> [20.00%], case 3: <L3> [20.00%]>
<bb 3> [local count: 214748364]:
<L0>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x1");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 4> [local count: 214748364]:
<L1>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 5> [local count: 214748364]:
<L2>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 6> [local count: 214748364]:
<L3>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x10");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
<bb 7> [local count: 1073741824]:
<L6>:
return;
}
__attribute__((weak))
SVC_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
UsageFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
BusFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
MemManage_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
HardFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
NMI_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}

View File

@ -0,0 +1,219 @@
undefined_handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
SysTick_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
PendSV_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
DebugMon_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
SVCHandler_main (unsigned int * svc_args)
{
unsigned int _1;
sizetype _2;
unsigned char * _3;
unsigned char _4;
<bb 2> [local count: 1073741823]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_1 = MEM[(unsigned int *)svc_args_6(D) + 24B];
_2 = _1 + 4294967294;
_3 = (unsigned char *) _2;
_4 = *_3;
# DEBUG svc_number => (unsigned int) _4
# DEBUG BEGIN_STMT
switch (_4) <default: <L6> [20.00%], case 0: <L1> [20.00%], case 1: <L0> [20.00%], case 2: <L2> [20.00%], case 3: <L3> [20.00%]>
<bb 3> [local count: 214748364]:
<L0>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x1");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 4> [local count: 214748364]:
<L1>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__("msr CONTROL, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 5> [local count: 214748364]:
<L2>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x0");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
goto <bb 7>; [100.00%]
<bb 6> [local count: 214748364]:
<L3>:
# DEBUG BEGIN_STMT
__asm__ __volatile__("mov r0, #0x10");
# DEBUG BEGIN_STMT
__asm__ __volatile__(" msr BASEPRI, r0");
# DEBUG BEGIN_STMT
<bb 7> [local count: 1073741824]:
<L6>:
return;
}
__attribute__((weak))
SVC_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
UsageFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
BusFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
MemManage_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
HardFault_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}
__attribute__((weak))
NMI_Handler ()
{
<bb 2> [local count: 107374]:
<bb 3> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
goto <bb 3>; [100.00%]
}

View File

@ -0,0 +1,47 @@
Project_Settings/Startup_Code/exceptions.o: \
../Project_Settings/Startup_Code/exceptions.c \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Platform_Types.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/PlatformTypes.h \
C:/Users/SUPYO/Desktop/0709_VCU/20240709_MASTER_V6_.zip_expanded/GW/generate/include/Mcal.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Compiler.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Compiler_Cfg.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/CompilerDefinition.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/StandardTypes.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Platform_Types.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Compiler.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Soc_Ips.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/IpVersionMacros.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Reg_eSys.h \
../RTD/include/OsIf_Internal.h \
C:/Users/SUPYO/Desktop/0709_VCU/20240709_MASTER_V6_.zip_expanded/GW/generate/include/OsIf_Cfg.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Platform_MemMap.h
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Platform_Types.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/PlatformTypes.h:
C:/Users/SUPYO/Desktop/0709_VCU/20240709_MASTER_V6_.zip_expanded/GW/generate/include/Mcal.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Compiler.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Compiler_Cfg.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/CompilerDefinition.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/StandardTypes.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Platform_Types.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Compiler.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Soc_Ips.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/IpVersionMacros.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Reg_eSys.h:
../RTD/include/OsIf_Internal.h:
C:/Users/SUPYO/Desktop/0709_VCU/20240709_MASTER_V6_.zip_expanded/GW/generate/include/OsIf_Cfg.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Platform_MemMap.h:

View File

@ -0,0 +1,11 @@
exceptions.c:75:6:NMI_Handler 0 static
exceptions.c:79:6:HardFault_Handler 0 static
exceptions.c:83:6:MemManage_Handler 0 static
exceptions.c:87:6:BusFault_Handler 0 static
exceptions.c:91:6:UsageFault_Handler 0 static
exceptions.c:98:6:SVC_Handler 0 static
exceptions.c:104:6:SVCHandler_main 0 static
exceptions.c:143:6:DebugMon_Handler 0 static
exceptions.c:147:6:PendSV_Handler 0 static
exceptions.c:151:6:SysTick_Handler 0 static
exceptions.c:155:6:undefined_handler 0 static

View File

@ -0,0 +1,244 @@
Trivially needed symbols: NVIC_SetPriority NVIC_DisableIRQ NVIC_EnableIRQ NVIC_SetPriorityGrouping
Initial Symbol table:
NVIC_SetPriority/3 (NVIC_SetPriority) @06999ee0
Type: function definition analyzed
Visibility: public
Aux: @01733ea0
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
NVIC_DisableIRQ/2 (NVIC_DisableIRQ) @06999c40
Type: function definition analyzed
Visibility: public
Aux: @06999ee0
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
NVIC_EnableIRQ/1 (NVIC_EnableIRQ) @069999a0
Type: function definition analyzed
Visibility: public
Aux: @06999c40
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
NVIC_SetPriorityGrouping/0 (NVIC_SetPriorityGrouping) @06999700
Type: function definition analyzed
Visibility: public
Aux: @069999a0
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
Removing unused symbols:
Reclaimed Symbol table:
NVIC_SetPriority/3 (NVIC_SetPriority) @06999ee0
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
NVIC_DisableIRQ/2 (NVIC_DisableIRQ) @06999c40
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
NVIC_EnableIRQ/1 (NVIC_EnableIRQ) @069999a0
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
NVIC_SetPriorityGrouping/0 (NVIC_SetPriorityGrouping) @06999700
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
Initial Symbol table:
NVIC_SetPriority/3 (NVIC_SetPriority) @06999ee0
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
NVIC_DisableIRQ/2 (NVIC_DisableIRQ) @06999c40
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
NVIC_EnableIRQ/1 (NVIC_EnableIRQ) @069999a0
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
NVIC_SetPriorityGrouping/0 (NVIC_SetPriorityGrouping) @06999700
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
Removing unused symbols:
Reclaimed Symbol table:
NVIC_SetPriority/3 (NVIC_SetPriority) @06999ee0
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
NVIC_DisableIRQ/2 (NVIC_DisableIRQ) @06999c40
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
NVIC_EnableIRQ/1 (NVIC_EnableIRQ) @069999a0
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
NVIC_SetPriorityGrouping/0 (NVIC_SetPriorityGrouping) @06999700
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Optimized Symbol table:
NVIC_SetPriority/3 (NVIC_SetPriority) @06999ee0
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
Called by:
Calls:
NVIC_DisableIRQ/2 (NVIC_DisableIRQ) @06999c40
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
Called by:
Calls:
NVIC_EnableIRQ/1 (NVIC_EnableIRQ) @069999a0
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
Called by:
Calls:
NVIC_SetPriorityGrouping/0 (NVIC_SetPriorityGrouping) @06999700
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
Called by:
Calls:
Materializing clones
Materialization Call site updates done.
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Time profile order in expand_all_functions:NVIC_SetPriorityGrouping:0
Time profile order in expand_all_functions:NVIC_EnableIRQ:0
Time profile order in expand_all_functions:NVIC_DisableIRQ:0
Time profile order in expand_all_functions:NVIC_SetPriority:0
Trivially needed variables:
Removing variables:
Final Symbol table:
NVIC_SetPriority/3 (NVIC_SetPriority) @06999ee0
Type: function definition analyzed
Visibility: externally_visible asm_written public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) nonfreeing_fn optimize_size
Called by:
Calls:
NVIC_DisableIRQ/2 (NVIC_DisableIRQ) @06999c40
Type: function definition analyzed
Visibility: externally_visible asm_written public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) nonfreeing_fn optimize_size
Called by:
Calls:
NVIC_EnableIRQ/1 (NVIC_EnableIRQ) @069999a0
Type: function definition analyzed
Visibility: externally_visible asm_written public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) nonfreeing_fn optimize_size
Called by:
Calls:
NVIC_SetPriorityGrouping/0 (NVIC_SetPriorityGrouping) @06999700
Type: function definition analyzed
Visibility: externally_visible asm_written public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) nonfreeing_fn optimize_size
Called by:
Calls:

View File

@ -0,0 +1,118 @@
Marking local functions:
Marking externally visible functions: NVIC_SetPriority NVIC_DisableIRQ NVIC_EnableIRQ NVIC_SetPriorityGrouping
Marking externally visible variables:
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Symbol table:
NVIC_SetPriority/3 (NVIC_SetPriority) @06999ee0
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: body optimize_size
Called by:
Calls:
NVIC_DisableIRQ/2 (NVIC_DisableIRQ) @06999c40
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: body optimize_size
Called by:
Calls:
NVIC_EnableIRQ/1 (NVIC_EnableIRQ) @069999a0
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: body optimize_size
Called by:
Calls:
NVIC_SetPriorityGrouping/0 (NVIC_SetPriorityGrouping) @06999700
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: body optimize_size
Called by:
Calls:
NVIC_SetPriority (uint8 IRQn, uint8 priority)
{
uint8 shift;
<bb 2> :
# DEBUG BEGIN_STMT
shift = 4;
# DEBUG BEGIN_STMT
_1 = (long unsigned int) priority;
_2 = (int) shift;
_3 = _1 << _2;
_4 = 3758153728B;
_5 = (long unsigned int) IRQn;
_6 = (unsigned char) _3;
_4->IP[_5] = _6;
return;
}
NVIC_DisableIRQ (uint8 IRQn)
{
<bb 2> :
# DEBUG BEGIN_STMT
_1 = (long unsigned int) IRQn;
_2 = _1 & 31;
_3 = 3758153728B;
_4 = IRQn >> 5;
_5 = (long unsigned int) _4;
_6 = 1 << _2;
_3->ICER[_5] = _6;
return;
}
NVIC_EnableIRQ (uint8 IRQn)
{
<bb 2> :
# DEBUG BEGIN_STMT
_1 = (long unsigned int) IRQn;
_2 = _1 & 31;
_3 = 3758153728B;
_4 = IRQn >> 5;
_5 = (long unsigned int) _4;
_6 = 1 << _2;
_3->ISER[_5] = _6;
return;
}
NVIC_SetPriorityGrouping (uint32 PriorityGroup)
{
<bb 2> :
# DEBUG BEGIN_STMT
_1 = 3758153728B;
_2 = _1->AIRCR;
_3 = _2 & 4294965503;
_4 = 3758153728B;
_5 = PriorityGroup | _3;
_4->AIRCR = _5;
return;
}

View File

@ -0,0 +1,67 @@
NVIC_SetPriority (uint8 IRQn, uint8 priority)
{
uint8 shift;
<bb 2> :
# DEBUG BEGIN_STMT
shift = 4;
# DEBUG BEGIN_STMT
_1 = (long unsigned int) priority;
_2 = (int) shift;
_3 = _1 << _2;
_4 = 3758153728B;
_5 = (long unsigned int) IRQn;
_6 = (unsigned char) _3;
_4->IP[_5] = _6;
return;
}
NVIC_DisableIRQ (uint8 IRQn)
{
<bb 2> :
# DEBUG BEGIN_STMT
_1 = (long unsigned int) IRQn;
_2 = _1 & 31;
_3 = 3758153728B;
_4 = IRQn >> 5;
_5 = (long unsigned int) _4;
_6 = 1 << _2;
_3->ICER[_5] = _6;
return;
}
NVIC_EnableIRQ (uint8 IRQn)
{
<bb 2> :
# DEBUG BEGIN_STMT
_1 = (long unsigned int) IRQn;
_2 = _1 & 31;
_3 = 3758153728B;
_4 = IRQn >> 5;
_5 = (long unsigned int) _4;
_6 = 1 << _2;
_3->ISER[_5] = _6;
return;
}
NVIC_SetPriorityGrouping (uint32 PriorityGroup)
{
<bb 2> :
# DEBUG BEGIN_STMT
_1 = 3758153728B;
_2 = _1->AIRCR;
_3 = _2 & 4294965503;
_4 = 3758153728B;
_5 = PriorityGroup | _3;
_4->AIRCR = _5;
return;
}

View File

@ -0,0 +1,94 @@
NVIC_SetPriority (uint8 IRQn, uint8 priority)
{
uint8 shift;
long unsigned int _1;
int _2;
long unsigned int _3;
struct S32_NVIC_Type * _4;
long unsigned int _5;
unsigned char _6;
<bb 2> :
# DEBUG BEGIN_STMT
shift_7 = 4;
# DEBUG shift => shift_7
# DEBUG BEGIN_STMT
_1 = (long unsigned int) priority_8(D);
_2 = (int) shift_7;
_3 = _1 << _2;
_4 = 3758153728B;
_5 = (long unsigned int) IRQn_9(D);
_6 = (unsigned char) _3;
_4->IP[_5] ={v} _6;
return;
}
NVIC_DisableIRQ (uint8 IRQn)
{
long unsigned int _1;
long unsigned int _2;
struct S32_NVIC_Type * _3;
unsigned char _4;
long unsigned int _5;
long unsigned int _6;
<bb 2> :
# DEBUG BEGIN_STMT
_1 = (long unsigned int) IRQn_7(D);
_2 = _1 & 31;
_3 = 3758153728B;
_4 = IRQn_7(D) >> 5;
_5 = (long unsigned int) _4;
_6 = 1 << _2;
_3->ICER[_5] ={v} _6;
return;
}
NVIC_EnableIRQ (uint8 IRQn)
{
long unsigned int _1;
long unsigned int _2;
struct S32_NVIC_Type * _3;
unsigned char _4;
long unsigned int _5;
long unsigned int _6;
<bb 2> :
# DEBUG BEGIN_STMT
_1 = (long unsigned int) IRQn_7(D);
_2 = _1 & 31;
_3 = 3758153728B;
_4 = IRQn_7(D) >> 5;
_5 = (long unsigned int) _4;
_6 = 1 << _2;
_3->ISER[_5] ={v} _6;
return;
}
NVIC_SetPriorityGrouping (uint32 PriorityGroup)
{
struct S32_SCB_Type * _1;
long unsigned int _2;
long unsigned int _3;
struct S32_SCB_Type * _4;
long unsigned int _5;
<bb 2> :
# DEBUG BEGIN_STMT
_1 = 3758153728B;
_2 ={v} _1->AIRCR;
_3 = _2 & 4294965503;
_4 = 3758153728B;
_5 = PriorityGroup_7(D) | _3;
_4->AIRCR ={v} _5;
return;
}

View File

@ -0,0 +1,122 @@
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Symbol table:
NVIC_SetPriority/3 (NVIC_SetPriority) @06999ee0
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_DisableIRQ/2 (NVIC_DisableIRQ) @06999c40
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_EnableIRQ/1 (NVIC_EnableIRQ) @069999a0
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_SetPriorityGrouping/0 (NVIC_SetPriorityGrouping) @06999700
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_SetPriority (uint8 IRQn, uint8 priority)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
unsigned char _4;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG shift => 4
# DEBUG BEGIN_STMT
_1 = (long unsigned int) priority_5(D);
_2 = _1 << 4;
_3 = (long unsigned int) IRQn_6(D);
_4 = (unsigned char) _2;
MEM[(struct S32_NVIC_Type *)3758153728B].IP[_3] ={v} _4;
return;
}
NVIC_DisableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ICER[_4] ={v} _5;
return;
}
NVIC_EnableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ISER[_4] ={v} _5;
return;
}
NVIC_SetPriorityGrouping (uint32 PriorityGroup)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].AIRCR;
_2 = _1 & 4294965503;
_3 = _2 | PriorityGroup_5(D);
MEM[(struct S32_SCB_Type *)3758153728B].AIRCR ={v} _3;
return;
}

View File

@ -0,0 +1,80 @@
NVIC_SetPriority (uint8 IRQn, uint8 priority)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
unsigned char _4;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG shift => 4
# DEBUG BEGIN_STMT
_1 = (long unsigned int) priority_5(D);
_2 = _1 << 4;
_3 = (long unsigned int) IRQn_6(D);
_4 = (unsigned char) _2;
MEM[(struct S32_NVIC_Type *)3758153728B].IP[_3] ={v} _4;
return;
}
NVIC_DisableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ICER[_4] ={v} _5;
return;
}
NVIC_EnableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ISER[_4] ={v} _5;
return;
}
NVIC_SetPriorityGrouping (uint32 PriorityGroup)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].AIRCR;
_2 = _1 & 4294965503;
_3 = _2 | PriorityGroup_5(D);
MEM[(struct S32_SCB_Type *)3758153728B].AIRCR ={v} _3;
return;
}

View File

@ -0,0 +1,80 @@
NVIC_SetPriority (uint8 IRQn, uint8 priority)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
unsigned char _4;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG shift => 4
# DEBUG BEGIN_STMT
_1 = (long unsigned int) priority_5(D);
_2 = _1 << 4;
_3 = (long unsigned int) IRQn_6(D);
_4 = (unsigned char) _2;
MEM[(struct S32_NVIC_Type *)3758153728B].IP[_3] ={v} _4;
return;
}
NVIC_DisableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ICER[_4] ={v} _5;
return;
}
NVIC_EnableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ISER[_4] ={v} _5;
return;
}
NVIC_SetPriorityGrouping (uint32 PriorityGroup)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].AIRCR;
_2 = _1 & 4294965503;
_3 = _2 | PriorityGroup_5(D);
MEM[(struct S32_SCB_Type *)3758153728B].AIRCR ={v} _3;
return;
}

View File

@ -0,0 +1,132 @@
Marking local functions:
Marking externally visible functions: NVIC_SetPriority NVIC_DisableIRQ NVIC_EnableIRQ NVIC_SetPriorityGrouping
Marking externally visible variables:
Clearing variable flags:
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Symbol table:
NVIC_SetPriority/3 (NVIC_SetPriority) @06999ee0
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_DisableIRQ/2 (NVIC_DisableIRQ) @06999c40
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_EnableIRQ/1 (NVIC_EnableIRQ) @069999a0
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_SetPriorityGrouping/0 (NVIC_SetPriorityGrouping) @06999700
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_SetPriority (uint8 IRQn, uint8 priority)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
unsigned char _4;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG shift => 4
# DEBUG BEGIN_STMT
_1 = (long unsigned int) priority_5(D);
_2 = _1 << 4;
_3 = (long unsigned int) IRQn_6(D);
_4 = (unsigned char) _2;
MEM[(struct S32_NVIC_Type *)3758153728B].IP[_3] ={v} _4;
return;
}
NVIC_DisableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ICER[_4] ={v} _5;
return;
}
NVIC_EnableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ISER[_4] ={v} _5;
return;
}
NVIC_SetPriorityGrouping (uint32 PriorityGroup)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].AIRCR;
_2 = _1 & 4294965503;
_3 = _2 | PriorityGroup_5(D);
MEM[(struct S32_SCB_Type *)3758153728B].AIRCR ={v} _3;
return;
}

View File

@ -0,0 +1,81 @@
Histogram:
NVIC_SetPriority (uint8 IRQn, uint8 priority)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
unsigned char _4;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG shift => 4
# DEBUG BEGIN_STMT
_1 = (long unsigned int) priority_5(D);
_2 = _1 << 4;
_3 = (long unsigned int) IRQn_6(D);
_4 = (unsigned char) _2;
MEM[(struct S32_NVIC_Type *)3758153728B].IP[_3] ={v} _4;
return;
}
NVIC_DisableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ICER[_4] ={v} _5;
return;
}
NVIC_EnableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ISER[_4] ={v} _5;
return;
}
NVIC_SetPriorityGrouping (uint32 PriorityGroup)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].AIRCR;
_2 = _1 & 4294965503;
_3 = _2 | PriorityGroup_5(D);
MEM[(struct S32_SCB_Type *)3758153728B].AIRCR ={v} _3;
return;
}

View File

@ -0,0 +1,129 @@
Parsed function:NVIC_SetPriority
Parsed function:NVIC_DisableIRQ
Parsed function:NVIC_EnableIRQ
Parsed function:NVIC_SetPriorityGrouping
Dump after hash based groups
Congruence classes: 3 (unique hash values: 3), with total: 4 items
Class size histogram [num of members]: number of classe number of classess
[1]: 2 classes
[2]: 1 classes
Dump after WPA based types groups
Congruence classes: 3 (unique hash values: 3), with total: 4 items
Class size histogram [num of members]: number of classe number of classess
[1]: 2 classes
[2]: 1 classes
Worklist has been filled with: 0
Address reference subdivision created: 0 new classes.
Dump after callgraph-based congruence reduction
Congruence classes: 3 (unique hash values: 3), with total: 4 items
Class size histogram [num of members]: number of classe number of classess
[1]: 2 classes
[2]: 1 classes
Init called for 2 items (50.00%).
Dump after full equality comparison of groups
Congruence classes: 4 (unique hash values: 3), with total: 4 items
Class size histogram [num of members]: number of classe number of classess
[1]: 4 classes
Worklist has been filled with: 0
Address reference subdivision created: 0 new classes.
Congruence classes: 4 (unique hash values: 3), with total: 4 items
Class size histogram [num of members]: number of classe number of classess
[1]: 4 classes
Item count: 4
Congruent classes before: 4, after: 4
Average class size before: 1.00, after: 1.00
Average non-singular class size: 0.00, count: 0
Equal symbols: 0
Fraction of visited symbols: 0.00%
NVIC_SetPriority (uint8 IRQn, uint8 priority)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
unsigned char _4;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG shift => 4
# DEBUG BEGIN_STMT
_1 = (long unsigned int) priority_5(D);
_2 = _1 << 4;
_3 = (long unsigned int) IRQn_6(D);
_4 = (unsigned char) _2;
MEM[(struct S32_NVIC_Type *)3758153728B].IP[_3] ={v} _4;
return;
}
NVIC_DisableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ICER[_4] ={v} _5;
return;
}
NVIC_EnableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ISER[_4] ={v} _5;
return;
}
NVIC_SetPriorityGrouping (uint32 PriorityGroup)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].AIRCR;
_2 = _1 & 4294965503;
_3 = _2 | PriorityGroup_5(D);
MEM[(struct S32_SCB_Type *)3758153728B].AIRCR ={v} _3;
return;
}

View File

@ -0,0 +1,118 @@
Symbol table:
NVIC_SetPriority/3 (NVIC_SetPriority) @06999ee0
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_DisableIRQ/2 (NVIC_DisableIRQ) @06999c40
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_EnableIRQ/1 (NVIC_EnableIRQ) @069999a0
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_SetPriorityGrouping/0 (NVIC_SetPriorityGrouping) @06999700
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_SetPriority (uint8 IRQn, uint8 priority)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
unsigned char _4;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG shift => 4
# DEBUG BEGIN_STMT
_1 = (long unsigned int) priority_5(D);
_2 = _1 << 4;
_3 = (long unsigned int) IRQn_6(D);
_4 = (unsigned char) _2;
MEM[(struct S32_NVIC_Type *)3758153728B].IP[_3] ={v} _4;
return;
}
NVIC_DisableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ICER[_4] ={v} _5;
return;
}
NVIC_EnableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ISER[_4] ={v} _5;
return;
}
NVIC_SetPriorityGrouping (uint32 PriorityGroup)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].AIRCR;
_2 = _1 & 4294965503;
_3 = _2 | PriorityGroup_5(D);
MEM[(struct S32_SCB_Type *)3758153728B].AIRCR ={v} _3;
return;
}

View File

@ -0,0 +1,195 @@
IPA constant propagation start:
IPA structures before propagation:
Jump functions:
Jump functions of caller NVIC_SetPriority/3:
Jump functions of caller NVIC_DisableIRQ/2:
Jump functions of caller NVIC_EnableIRQ/1:
Jump functions of caller NVIC_SetPriorityGrouping/0:
Propagating constants:
Not considering NVIC_SetPriority for cloning; -fipa-cp-clone disabled.
Not considering NVIC_DisableIRQ for cloning; -fipa-cp-clone disabled.
Not considering NVIC_EnableIRQ for cloning; -fipa-cp-clone disabled.
Not considering NVIC_SetPriorityGrouping for cloning; -fipa-cp-clone disabled.
overall_size: 26, max_new_size: 11001
IPA lattices after all propagation:
Lattices:
Node: NVIC_SetPriority/3:
param [0]: BOTTOM
ctxs: BOTTOM
Bits unusable (BOTTOM)
VARYING
AGGS BOTTOM
param [1]: BOTTOM
ctxs: BOTTOM
Bits unusable (BOTTOM)
VARYING
AGGS BOTTOM
Node: NVIC_DisableIRQ/2:
param [0]: BOTTOM
ctxs: BOTTOM
Bits unusable (BOTTOM)
VARYING
AGGS BOTTOM
Node: NVIC_EnableIRQ/1:
param [0]: BOTTOM
ctxs: BOTTOM
Bits unusable (BOTTOM)
VARYING
AGGS BOTTOM
Node: NVIC_SetPriorityGrouping/0:
param [0]: BOTTOM
ctxs: BOTTOM
Bits unusable (BOTTOM)
VARYING
AGGS BOTTOM
IPA decision stage:
IPA constant propagation end
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Symbol table:
NVIC_SetPriority/3 (NVIC_SetPriority) @06999ee0
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_DisableIRQ/2 (NVIC_DisableIRQ) @06999c40
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_EnableIRQ/1 (NVIC_EnableIRQ) @069999a0
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_SetPriorityGrouping/0 (NVIC_SetPriorityGrouping) @06999700
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
;; Function NVIC_SetPriorityGrouping (NVIC_SetPriorityGrouping, funcdef_no=0, decl_uid=4046, cgraph_uid=1, symbol_order=0)
Modification phase of node NVIC_SetPriorityGrouping/0
NVIC_SetPriorityGrouping (uint32 PriorityGroup)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].AIRCR;
_2 = _1 & 4294965503;
_3 = _2 | PriorityGroup_5(D);
MEM[(struct S32_SCB_Type *)3758153728B].AIRCR ={v} _3;
return;
}
;; Function NVIC_EnableIRQ (NVIC_EnableIRQ, funcdef_no=1, decl_uid=4048, cgraph_uid=2, symbol_order=1)
Modification phase of node NVIC_EnableIRQ/1
NVIC_EnableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ISER[_4] ={v} _5;
return;
}
;; Function NVIC_DisableIRQ (NVIC_DisableIRQ, funcdef_no=2, decl_uid=4050, cgraph_uid=3, symbol_order=2)
Modification phase of node NVIC_DisableIRQ/2
NVIC_DisableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ICER[_4] ={v} _5;
return;
}
;; Function NVIC_SetPriority (NVIC_SetPriority, funcdef_no=3, decl_uid=4053, cgraph_uid=4, symbol_order=3)
Modification phase of node NVIC_SetPriority/3
NVIC_SetPriority (uint8 IRQn, uint8 priority)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
unsigned char _4;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG shift => 4
# DEBUG BEGIN_STMT
_1 = (long unsigned int) priority_5(D);
_2 = _1 << 4;
_3 = (long unsigned int) IRQn_6(D);
_4 = (unsigned char) _2;
MEM[(struct S32_NVIC_Type *)3758153728B].IP[_3] ={v} _4;
return;
}

View File

@ -0,0 +1,216 @@
Analyzing function: NVIC_SetPriority/3
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2
;; 2 succs { 1 }
Analyzing function body size: NVIC_SetPriority
IPA function summary for NVIC_SetPriority/3 inlinable
global time: 4.000000
self size: 5
global size: 0
min size: 0
self stack: 0
global stack: 0
size:1.000000, time:1.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:1.000000, time:1.000000, nonconst if:(op1 changed)
array index:(op0 changed)
calls:
Analyzing function: NVIC_DisableIRQ/2
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2
;; 2 succs { 1 }
Analyzing function body size: NVIC_DisableIRQ
IPA function summary for NVIC_DisableIRQ/2 inlinable
global time: 6.000000
self size: 7
global size: 0
min size: 0
self stack: 0
global stack: 0
size:1.000000, time:1.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:3.000000, time:3.000000, nonconst if:(op0 changed)
array index:(op0 changed)
calls:
Analyzing function: NVIC_EnableIRQ/1
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2
;; 2 succs { 1 }
Analyzing function body size: NVIC_EnableIRQ
IPA function summary for NVIC_EnableIRQ/1 inlinable
global time: 6.000000
self size: 7
global size: 0
min size: 0
self stack: 0
global stack: 0
size:1.000000, time:1.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:3.000000, time:3.000000, nonconst if:(op0 changed)
array index:(op0 changed)
calls:
Analyzing function: NVIC_SetPriorityGrouping/0
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2
;; 2 succs { 1 }
Analyzing function body size: NVIC_SetPriorityGrouping
IPA function summary for NVIC_SetPriorityGrouping/0 inlinable
global time: 6.000000
self size: 7
global size: 0
min size: 0
self stack: 0
global stack: 0
size:4.000000, time:4.000000
size:3.000000, time:2.000000, executed if:(not inlined)
calls:
Symbol table:
NVIC_SetPriority/3 (NVIC_SetPriority) @06999ee0
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_DisableIRQ/2 (NVIC_DisableIRQ) @06999c40
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_EnableIRQ/1 (NVIC_EnableIRQ) @069999a0
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_SetPriorityGrouping/0 (NVIC_SetPriorityGrouping) @06999700
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_SetPriority (uint8 IRQn, uint8 priority)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
unsigned char _4;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG shift => 4
# DEBUG BEGIN_STMT
_1 = (long unsigned int) priority_5(D);
_2 = _1 << 4;
_3 = (long unsigned int) IRQn_6(D);
_4 = (unsigned char) _2;
MEM[(struct S32_NVIC_Type *)3758153728B].IP[_3] ={v} _4;
return;
}
NVIC_DisableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ICER[_4] ={v} _5;
return;
}
NVIC_EnableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ISER[_4] ={v} _5;
return;
}
NVIC_SetPriorityGrouping (uint32 PriorityGroup)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].AIRCR;
_2 = _1 & 4294965503;
_3 = _2 | PriorityGroup_5(D);
MEM[(struct S32_SCB_Type *)3758153728B].AIRCR ={v} _3;
return;
}

View File

@ -0,0 +1,248 @@
IPA function summary for NVIC_SetPriority/3 inlinable
global time: 4.000000
self size: 5
global size: 5
min size: 0
self stack: 0
global stack: 0
size:1.000000, time:1.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:1.000000, time:1.000000, nonconst if:(op1 changed)
array index:(op0 changed)
calls:
IPA function summary for NVIC_DisableIRQ/2 inlinable
global time: 6.000000
self size: 7
global size: 7
min size: 0
self stack: 0
global stack: 0
size:1.000000, time:1.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:3.000000, time:3.000000, nonconst if:(op0 changed)
array index:(op0 changed)
calls:
IPA function summary for NVIC_EnableIRQ/1 inlinable
global time: 6.000000
self size: 7
global size: 7
min size: 0
self stack: 0
global stack: 0
size:1.000000, time:1.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:3.000000, time:3.000000, nonconst if:(op0 changed)
array index:(op0 changed)
calls:
IPA function summary for NVIC_SetPriorityGrouping/0 inlinable
global time: 6.000000
self size: 7
global size: 7
min size: 0
self stack: 0
global stack: 0
size:4.000000, time:4.000000
size:3.000000, time:2.000000, executed if:(not inlined)
calls:
Flattening functions:
Overall time estimate: 22.000000 weighted by profile: 0.000000
Deciding on inlining of small functions. Starting with size 0.
Enqueueing calls in NVIC_SetPriority/3.
Enqueueing calls in NVIC_DisableIRQ/2.
Enqueueing calls in NVIC_EnableIRQ/1.
Enqueueing calls in NVIC_SetPriorityGrouping/0.
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Deciding on functions to be inlined into all callers and removing useless speculations:
Overall time estimate: 22.000000 weighted by profile: 0.000000
Why inlining failed?
IPA function summary for NVIC_SetPriority/3 inlinable
global time: 4.000000
self size: 5
global size: 5
min size: 0
self stack: 0
global stack: 0
size:1.000000, time:1.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:1.000000, time:1.000000, nonconst if:(op1 changed)
array index:(op0 changed)
calls:
IPA function summary for NVIC_DisableIRQ/2 inlinable
global time: 6.000000
self size: 7
global size: 7
min size: 0
self stack: 0
global stack: 0
size:1.000000, time:1.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:3.000000, time:3.000000, nonconst if:(op0 changed)
array index:(op0 changed)
calls:
IPA function summary for NVIC_EnableIRQ/1 inlinable
global time: 6.000000
self size: 7
global size: 7
min size: 0
self stack: 0
global stack: 0
size:1.000000, time:1.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:3.000000, time:3.000000, nonconst if:(op0 changed)
array index:(op0 changed)
calls:
IPA function summary for NVIC_SetPriorityGrouping/0 inlinable
global time: 6.000000
self size: 7
global size: 7
min size: 0
self stack: 0
global stack: 0
size:4.000000, time:4.000000
size:3.000000, time:2.000000, executed if:(not inlined)
calls:
Symbol table:
NVIC_SetPriority/3 (NVIC_SetPriority) @06999ee0
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_DisableIRQ/2 (NVIC_DisableIRQ) @06999c40
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_EnableIRQ/1 (NVIC_EnableIRQ) @069999a0
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_SetPriorityGrouping/0 (NVIC_SetPriorityGrouping) @06999700
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
;; Function NVIC_SetPriorityGrouping (NVIC_SetPriorityGrouping, funcdef_no=0, decl_uid=4046, cgraph_uid=1, symbol_order=0)
NVIC_SetPriorityGrouping (uint32 PriorityGroup)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].AIRCR;
_2 = _1 & 4294965503;
_3 = _2 | PriorityGroup_5(D);
MEM[(struct S32_SCB_Type *)3758153728B].AIRCR ={v} _3;
return;
}
;; Function NVIC_EnableIRQ (NVIC_EnableIRQ, funcdef_no=1, decl_uid=4048, cgraph_uid=2, symbol_order=1)
NVIC_EnableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ISER[_4] ={v} _5;
return;
}
;; Function NVIC_DisableIRQ (NVIC_DisableIRQ, funcdef_no=2, decl_uid=4050, cgraph_uid=3, symbol_order=2)
NVIC_DisableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ICER[_4] ={v} _5;
return;
}
;; Function NVIC_SetPriority (NVIC_SetPriority, funcdef_no=3, decl_uid=4053, cgraph_uid=4, symbol_order=3)
NVIC_SetPriority (uint8 IRQn, uint8 priority)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
unsigned char _4;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG shift => 4
# DEBUG BEGIN_STMT
_1 = (long unsigned int) priority_5(D);
_2 = _1 << 4;
_3 = (long unsigned int) IRQn_6(D);
_4 = (unsigned char) _2;
MEM[(struct S32_NVIC_Type *)3758153728B].IP[_3] ={v} _4;
return;
}

View File

@ -0,0 +1,317 @@
local analysis of NVIC_SetPriority
scanning: _1 = (long unsigned int) priority_5(D);
scanning: _2 = _1 << 4;
scanning: _3 = (long unsigned int) IRQn_6(D);
scanning: _4 = (unsigned char) _2;
scanning: MEM[(struct S32_NVIC_Type *)3758153728B].IP[_3] ={v} _4;
Volatile stmt is not const/pure
Indirect ref write is not const/pure
scanning: return;
local analysis of NVIC_DisableIRQ
scanning: _2 = IRQn_6(D) & 31;
scanning: _1 = (long unsigned int) _2;
scanning: _3 = IRQn_6(D) >> 5;
scanning: _4 = (long unsigned int) _3;
scanning: _5 = 1 << _1;
scanning: MEM[(struct S32_NVIC_Type *)3758153728B].ICER[_4] ={v} _5;
Volatile stmt is not const/pure
Indirect ref write is not const/pure
scanning: return;
local analysis of NVIC_EnableIRQ
scanning: _2 = IRQn_6(D) & 31;
scanning: _1 = (long unsigned int) _2;
scanning: _3 = IRQn_6(D) >> 5;
scanning: _4 = (long unsigned int) _3;
scanning: _5 = 1 << _1;
scanning: MEM[(struct S32_NVIC_Type *)3758153728B].ISER[_4] ={v} _5;
Volatile stmt is not const/pure
Indirect ref write is not const/pure
scanning: return;
local analysis of NVIC_SetPriorityGrouping
scanning: _1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].AIRCR;
Volatile stmt is not const/pure
Indirect ref read is not const
scanning: _2 = _1 & 4294965503;
scanning: _3 = _2 | PriorityGroup_5(D);
scanning: MEM[(struct S32_SCB_Type *)3758153728B].AIRCR ={v} _3;
Volatile stmt is not const/pure
Indirect ref write is not const/pure
scanning: return;
callgraph:
NVIC_SetPriority/3 (NVIC_SetPriority) @06999ee0
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065e52a0
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_DisableIRQ/2 (NVIC_DisableIRQ) @06999c40
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065e52e0
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_EnableIRQ/1 (NVIC_EnableIRQ) @069999a0
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065e5600
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_SetPriorityGrouping/0 (NVIC_SetPriorityGrouping) @06999700
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065e5620
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
ordered call graph: reduced for nothrow
NVIC_SetPriority/3 (NVIC_SetPriority) @06999ee0
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065e52a0
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_DisableIRQ/2 (NVIC_DisableIRQ) @06999c40
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065e52e0
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_EnableIRQ/1 (NVIC_EnableIRQ) @069999a0
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065e5600
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_SetPriorityGrouping/0 (NVIC_SetPriorityGrouping) @06999700
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065e5620
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
MALLOC LATTICE Initial:
NVIC_SetPriority: malloc_bottom
NVIC_DisableIRQ: malloc_bottom
NVIC_EnableIRQ: malloc_bottom
NVIC_SetPriorityGrouping: malloc_bottom
MALLOC LATTICE after propagation:
NVIC_SetPriority: malloc_bottom
NVIC_DisableIRQ: malloc_bottom
NVIC_EnableIRQ: malloc_bottom
NVIC_SetPriorityGrouping: malloc_bottom
callgraph:
NVIC_SetPriority/3 (NVIC_SetPriority) @06999ee0
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065e5600
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_DisableIRQ/2 (NVIC_DisableIRQ) @06999c40
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065e5620
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_EnableIRQ/1 (NVIC_EnableIRQ) @069999a0
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065e52e0
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_SetPriorityGrouping/0 (NVIC_SetPriorityGrouping) @06999700
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065e52a0
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
ordered call graph: reduced
NVIC_SetPriority/3 (NVIC_SetPriority) @06999ee0
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065e5600
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_DisableIRQ/2 (NVIC_DisableIRQ) @06999c40
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065e5620
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_EnableIRQ/1 (NVIC_EnableIRQ) @069999a0
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065e52e0
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
NVIC_SetPriorityGrouping/0 (NVIC_SetPriorityGrouping) @06999700
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065e52a0
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
Function found not to call free: NVIC_SetPriorityGrouping
Function found not to call free: NVIC_EnableIRQ
Function found not to call free: NVIC_DisableIRQ
Function found not to call free: NVIC_SetPriority
NVIC_SetPriority (uint8 IRQn, uint8 priority)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
unsigned char _4;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG shift => 4
# DEBUG BEGIN_STMT
_1 = (long unsigned int) priority_5(D);
_2 = _1 << 4;
_3 = (long unsigned int) IRQn_6(D);
_4 = (unsigned char) _2;
MEM[(struct S32_NVIC_Type *)3758153728B].IP[_3] ={v} _4;
return;
}
NVIC_DisableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ICER[_4] ={v} _5;
return;
}
NVIC_EnableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ISER[_4] ={v} _5;
return;
}
NVIC_SetPriorityGrouping (uint32 PriorityGroup)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].AIRCR;
_2 = _1 & 4294965503;
_3 = _2 | PriorityGroup_5(D);
MEM[(struct S32_SCB_Type *)3758153728B].AIRCR ={v} _3;
return;
}

View File

@ -0,0 +1,80 @@
NVIC_SetPriority (uint8 IRQn, uint8 priority)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
unsigned char _4;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG shift => 4
# DEBUG BEGIN_STMT
_1 = (long unsigned int) priority_5(D);
_2 = _1 << 4;
_3 = (long unsigned int) IRQn_6(D);
_4 = (unsigned char) _2;
MEM[(struct S32_NVIC_Type *)3758153728B].IP[_3] ={v} _4;
return;
}
NVIC_DisableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ICER[_4] ={v} _5;
return;
}
NVIC_EnableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ISER[_4] ={v} _5;
return;
}
NVIC_SetPriorityGrouping (uint32 PriorityGroup)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].AIRCR;
_2 = _1 & 4294965503;
_3 = _2 | PriorityGroup_5(D);
MEM[(struct S32_SCB_Type *)3758153728B].AIRCR ={v} _3;
return;
}

View File

@ -0,0 +1,199 @@
callgraph:
NVIC_SetPriority/3 (NVIC_SetPriority) @06999ee0
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
Called by:
Calls:
NVIC_DisableIRQ/2 (NVIC_DisableIRQ) @06999c40
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
Called by:
Calls:
NVIC_EnableIRQ/1 (NVIC_EnableIRQ) @069999a0
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
Called by:
Calls:
NVIC_SetPriorityGrouping/0 (NVIC_SetPriorityGrouping) @06999700
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
Called by:
Calls:
Clearing variable flags:
Function name:NVIC_SetPriority/3:
locals read:
locals written:
Function name:NVIC_DisableIRQ/2:
locals read:
locals written:
Function name:NVIC_EnableIRQ/1:
locals read:
locals written:
Function name:NVIC_SetPriorityGrouping/0:
locals read:
locals written:
ordered call graph: reduced
NVIC_SetPriority/3 (NVIC_SetPriority) @06999ee0
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065e5620
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
Called by:
Calls:
NVIC_DisableIRQ/2 (NVIC_DisableIRQ) @06999c40
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065e5600
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
Called by:
Calls:
NVIC_EnableIRQ/1 (NVIC_EnableIRQ) @069999a0
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065e52a0
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
Called by:
Calls:
NVIC_SetPriorityGrouping/0 (NVIC_SetPriorityGrouping) @06999700
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065e52c0
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
Called by:
Calls:
Function name:NVIC_SetPriorityGrouping/0:
locals read:
locals written:
globals read:
globals written:
Function name:NVIC_EnableIRQ/1:
locals read:
locals written:
globals read:
globals written:
Function name:NVIC_DisableIRQ/2:
locals read:
locals written:
globals read:
globals written:
Function name:NVIC_SetPriority/3:
locals read:
locals written:
globals read:
globals written:
NVIC_SetPriority (uint8 IRQn, uint8 priority)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
unsigned char _4;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG shift => 4
# DEBUG BEGIN_STMT
_1 = (long unsigned int) priority_5(D);
_2 = _1 << 4;
_3 = (long unsigned int) IRQn_6(D);
_4 = (unsigned char) _2;
MEM[(struct S32_NVIC_Type *)3758153728B].IP[_3] ={v} _4;
return;
}
NVIC_DisableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ICER[_4] ={v} _5;
return;
}
NVIC_EnableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ISER[_4] ={v} _5;
return;
}
NVIC_SetPriorityGrouping (uint32 PriorityGroup)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].AIRCR;
_2 = _1 & 4294965503;
_3 = _2 | PriorityGroup_5(D);
MEM[(struct S32_SCB_Type *)3758153728B].AIRCR ={v} _3;
return;
}

View File

@ -0,0 +1,80 @@
NVIC_SetPriority (uint8 IRQn, uint8 priority)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
unsigned char _4;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG shift => 4
# DEBUG BEGIN_STMT
_1 = (long unsigned int) priority_5(D);
_2 = _1 << 4;
_3 = (long unsigned int) IRQn_6(D);
_4 = (unsigned char) _2;
MEM[(struct S32_NVIC_Type *)3758153728B].IP[_3] ={v} _4;
return;
}
NVIC_DisableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ICER[_4] ={v} _5;
return;
}
NVIC_EnableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ISER[_4] ={v} _5;
return;
}
NVIC_SetPriorityGrouping (uint32 PriorityGroup)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].AIRCR;
_2 = _1 & 4294965503;
_3 = _2 | PriorityGroup_5(D);
MEM[(struct S32_SCB_Type *)3758153728B].AIRCR ={v} _3;
return;
}

View File

@ -0,0 +1,80 @@
NVIC_SetPriority (uint8 IRQn, uint8 priority)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
unsigned char _4;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG shift => 4
# DEBUG BEGIN_STMT
_1 = (long unsigned int) priority_5(D);
_2 = _1 << 4;
_3 = (long unsigned int) IRQn_6(D);
_4 = (unsigned char) _2;
MEM[(struct S32_NVIC_Type *)3758153728B].IP[_3] ={v} _4;
return;
}
NVIC_DisableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ICER[_4] ={v} _5;
return;
}
NVIC_EnableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ISER[_4] ={v} _5;
return;
}
NVIC_SetPriorityGrouping (uint32 PriorityGroup)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].AIRCR;
_2 = _1 & 4294965503;
_3 = _2 | PriorityGroup_5(D);
MEM[(struct S32_SCB_Type *)3758153728B].AIRCR ={v} _3;
return;
}

View File

@ -0,0 +1,80 @@
NVIC_SetPriority (uint8 IRQn, uint8 priority)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
unsigned char _4;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG shift => 4
# DEBUG BEGIN_STMT
_1 = (long unsigned int) priority_5(D);
_2 = _1 << 4;
_3 = (long unsigned int) IRQn_6(D);
_4 = (unsigned char) _2;
MEM[(struct S32_NVIC_Type *)3758153728B].IP[_3] ={v} _4;
return;
}
NVIC_DisableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ICER[_4] ={v} _5;
return;
}
NVIC_EnableIRQ (uint8 IRQn)
{
long unsigned int _1;
unsigned char _2;
unsigned char _3;
long unsigned int _4;
long unsigned int _5;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_2 = IRQn_6(D) & 31;
_1 = (long unsigned int) _2;
_3 = IRQn_6(D) >> 5;
_4 = (long unsigned int) _3;
_5 = 1 << _1;
MEM[(struct S32_NVIC_Type *)3758153728B].ISER[_4] ={v} _5;
return;
}
NVIC_SetPriorityGrouping (uint32 PriorityGroup)
{
long unsigned int _1;
long unsigned int _2;
long unsigned int _3;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].AIRCR;
_2 = _1 & 4294965503;
_3 = _2 | PriorityGroup_5(D);
MEM[(struct S32_SCB_Type *)3758153728B].AIRCR ={v} _3;
return;
}

View File

@ -0,0 +1,41 @@
Project_Settings/Startup_Code/nvic.o: \
../Project_Settings/Startup_Code/nvic.c \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Std_Types.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/StandardTypes.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Platform_Types.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/PlatformTypes.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Compiler.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Compiler_Cfg.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/CompilerDefinition.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Platform_TS_T40D34M9I0R0/startup/include/nvic.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Platform_MemMap.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/header/S32K344_NVIC.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/header/S32K344_COMMON.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/BasicTypes.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/header/S32K344_SCB.h
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Std_Types.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/StandardTypes.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Platform_Types.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/PlatformTypes.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Compiler.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Compiler_Cfg.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/CompilerDefinition.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Platform_TS_T40D34M9I0R0/startup/include/nvic.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Platform_MemMap.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/header/S32K344_NVIC.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/header/S32K344_COMMON.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/BasicTypes.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/header/S32K344_SCB.h:

Binary file not shown.

View File

@ -0,0 +1,4 @@
nvic.c:84:6:NVIC_SetPriorityGrouping 0 static
nvic.c:96:6:NVIC_EnableIRQ 0 static
nvic.c:107:6:NVIC_DisableIRQ 0 static
nvic.c:119:6:NVIC_SetPriority 0 static

View File

@ -0,0 +1,176 @@
Trivially needed symbols: init_data_bss
Initial Symbol table:
__ZERO_TABLE/2 (__ZERO_TABLE) @068a8b88
Type: variable
Visibility: external public
References:
Referring: init_data_bss/0 (addr)
Availability: not-ready
Varpool flags:
__INIT_TABLE/1 (__INIT_TABLE) @068a8b40
Type: variable
Visibility: external public
References:
Referring: init_data_bss/0 (addr)
Availability: not-ready
Varpool flags:
init_data_bss/0 (init_data_bss) @068a92a0
Type: function definition analyzed
Visibility: public
Aux: @01733ea0
References: __INIT_TABLE/1 (addr)__ZERO_TABLE/2 (addr)
Referring:
Function flags: body optimize_size
Called by:
Calls:
Removing unused symbols:
Reclaimed Symbol table:
__ZERO_TABLE/2 (__ZERO_TABLE) @068a8b88
Type: variable
Visibility: external public
References:
Referring: init_data_bss/0 (addr)
Availability: not-ready
Varpool flags:
__INIT_TABLE/1 (__INIT_TABLE) @068a8b40
Type: variable
Visibility: external public
References:
Referring: init_data_bss/0 (addr)
Availability: not-ready
Varpool flags:
init_data_bss/0 (init_data_bss) @068a92a0
Type: function definition analyzed
Visibility: public
References: __INIT_TABLE/1 (addr)__ZERO_TABLE/2 (addr)
Referring:
Function flags: body optimize_size
Called by:
Calls:
Initial Symbol table:
__ZERO_TABLE/2 (__ZERO_TABLE) @068a8b88
Type: variable
Visibility: external public
References:
Referring: init_data_bss/0 (addr)
Availability: not-ready
Varpool flags:
__INIT_TABLE/1 (__INIT_TABLE) @068a8b40
Type: variable
Visibility: external public
References:
Referring: init_data_bss/0 (addr)
Availability: not-ready
Varpool flags:
init_data_bss/0 (init_data_bss) @068a92a0
Type: function definition analyzed
Visibility: public
References: __INIT_TABLE/1 (addr)__ZERO_TABLE/2 (addr)
Referring:
Function flags: body optimize_size
Called by:
Calls:
Removing unused symbols:
Reclaimed Symbol table:
__ZERO_TABLE/2 (__ZERO_TABLE) @068a8b88
Type: variable
Visibility: external public
References:
Referring: init_data_bss/0 (addr)
Availability: not-ready
Varpool flags:
__INIT_TABLE/1 (__INIT_TABLE) @068a8b40
Type: variable
Visibility: external public
References:
Referring: init_data_bss/0 (addr)
Availability: not-ready
Varpool flags:
init_data_bss/0 (init_data_bss) @068a92a0
Type: function definition analyzed
Visibility: public
References: __INIT_TABLE/1 (addr)__ZERO_TABLE/2 (addr)
Referring:
Function flags: body optimize_size
Called by:
Calls:
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Optimized Symbol table:
__ZERO_TABLE/2 (__ZERO_TABLE) @068a8b88
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: init_data_bss/0 (read)init_data_bss/0 (addr)
Availability: not_available
Varpool flags:
__INIT_TABLE/1 (__INIT_TABLE) @068a8b40
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: init_data_bss/0 (read)init_data_bss/0 (addr)
Availability: not_available
Varpool flags:
init_data_bss/0 (init_data_bss) @068a92a0
Type: function definition analyzed
Visibility: externally_visible public
References: __INIT_TABLE/1 (read)__INIT_TABLE/1 (addr)__ZERO_TABLE/2 (read)__ZERO_TABLE/2 (addr)
Referring:
Availability: available
Function flags: count:14598062 (estimated locally) body nonfreeing_fn optimize_size
Called by:
Calls:
Materializing clones
Materialization Call site updates done.
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Time profile order in expand_all_functions:init_data_bss:0
Trivially needed variables:
Removing variables:
Final Symbol table:
__ZERO_TABLE/2 (__ZERO_TABLE) @068a8b88
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring:
Availability: not_available
Varpool flags:
__INIT_TABLE/1 (__INIT_TABLE) @068a8b40
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring:
Availability: not_available
Varpool flags:
init_data_bss/0 (init_data_bss) @068a92a0
Type: function definition analyzed
Visibility: externally_visible asm_written public
References:
Referring:
Availability: available
Function flags: count:14598062 (estimated locally) nonfreeing_fn optimize_size
Called by:
Calls:

View File

@ -0,0 +1,187 @@
Marking local functions:
Marking externally visible functions: init_data_bss
Marking externally visible variables:
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Symbol table:
__ZERO_TABLE/2 (__ZERO_TABLE) @068a8b88
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: init_data_bss/0 (addr)
Availability: not_available
Varpool flags:
__INIT_TABLE/1 (__INIT_TABLE) @068a8b40
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: init_data_bss/0 (addr)
Availability: not_available
Varpool flags:
init_data_bss/0 (init_data_bss) @068a92a0
Type: function definition analyzed
Visibility: externally_visible public
References: __INIT_TABLE/1 (addr)__ZERO_TABLE/2 (addr)
Referring:
Availability: available
Function flags: body optimize_size
Called by:
Calls:
init_data_bss ()
{
const uint32 * zeroTable;
const uint32 * initTable;
uint32 j;
uint32 i;
uint32 size;
uint32 len;
uint8 * ram;
const uint8 * rom;
const struct Sys_ZeroLayoutType * zero_layout;
const struct Sys_CopyLayoutType * copy_layout;
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
len = 0;
# DEBUG BEGIN_STMT
size = 0;
# DEBUG BEGIN_STMT
i = 0;
# DEBUG BEGIN_STMT
j = 0;
# DEBUG BEGIN_STMT
initTable = &__INIT_TABLE;
# DEBUG BEGIN_STMT
zeroTable = &__ZERO_TABLE;
# DEBUG BEGIN_STMT
len = *initTable;
# DEBUG BEGIN_STMT
copy_layout = initTable + 4;
# DEBUG BEGIN_STMT
i = 0;
goto <bb 7>; [INV]
<bb 3> :
# DEBUG BEGIN_STMT
_1 = i * 12;
_2 = copy_layout + _1;
rom = _2->rom_start;
# DEBUG BEGIN_STMT
_3 = i * 12;
_4 = copy_layout + _3;
ram = _4->ram_start;
# DEBUG BEGIN_STMT
_5 = i * 12;
_6 = copy_layout + _5;
_7 = _6->rom_end;
_8 = (long unsigned int) _7;
_9 = i * 12;
_10 = copy_layout + _9;
_11 = _10->rom_start;
_12 = (long unsigned int) _11;
size = _8 - _12;
# DEBUG BEGIN_STMT
j = 0;
goto <bb 5>; [INV]
<bb 4> :
# DEBUG BEGIN_STMT
_13 = rom + j;
_14 = ram + j;
_15 = *_13;
*_14 = _15;
# DEBUG BEGIN_STMT
j = j + 1;
<bb 5> :
# DEBUG BEGIN_STMT
if (j < size)
goto <bb 4>; [INV]
else
goto <bb 6>; [INV]
<bb 6> :
# DEBUG BEGIN_STMT
i = i + 1;
<bb 7> :
# DEBUG BEGIN_STMT
if (i < len)
goto <bb 3>; [INV]
else
goto <bb 8>; [INV]
<bb 8> :
# DEBUG BEGIN_STMT
len = *zeroTable;
# DEBUG BEGIN_STMT
zero_layout = zeroTable + 4;
# DEBUG BEGIN_STMT
i = 0;
goto <bb 13>; [INV]
<bb 9> :
# DEBUG BEGIN_STMT
_16 = i * 8;
_17 = zero_layout + _16;
ram = _17->ram_start;
# DEBUG BEGIN_STMT
_18 = i * 8;
_19 = zero_layout + _18;
_20 = _19->ram_end;
_21 = (long unsigned int) _20;
_22 = i * 8;
_23 = zero_layout + _22;
_24 = _23->ram_start;
_25 = (long unsigned int) _24;
size = _21 - _25;
# DEBUG BEGIN_STMT
j = 0;
goto <bb 11>; [INV]
<bb 10> :
# DEBUG BEGIN_STMT
_26 = ram + j;
*_26 = 0;
# DEBUG BEGIN_STMT
j = j + 1;
<bb 11> :
# DEBUG BEGIN_STMT
if (j < size)
goto <bb 10>; [INV]
else
goto <bb 12>; [INV]
<bb 12> :
# DEBUG BEGIN_STMT
i = i + 1;
<bb 13> :
# DEBUG BEGIN_STMT
if (i < len)
goto <bb 9>; [INV]
else
goto <bb 14>; [INV]
<bb 14> :
return;
}

View File

@ -0,0 +1,147 @@
init_data_bss ()
{
const uint32 * zeroTable;
const uint32 * initTable;
uint32 j;
uint32 i;
uint32 size;
uint32 len;
uint8 * ram;
const uint8 * rom;
const struct Sys_ZeroLayoutType * zero_layout;
const struct Sys_CopyLayoutType * copy_layout;
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
len = 0;
# DEBUG BEGIN_STMT
size = 0;
# DEBUG BEGIN_STMT
i = 0;
# DEBUG BEGIN_STMT
j = 0;
# DEBUG BEGIN_STMT
initTable = &__INIT_TABLE;
# DEBUG BEGIN_STMT
zeroTable = &__ZERO_TABLE;
# DEBUG BEGIN_STMT
len = *initTable;
# DEBUG BEGIN_STMT
copy_layout = initTable + 4;
# DEBUG BEGIN_STMT
i = 0;
goto <bb 7>; [INV]
<bb 3> :
# DEBUG BEGIN_STMT
_1 = i * 12;
_2 = copy_layout + _1;
rom = _2->rom_start;
# DEBUG BEGIN_STMT
_3 = i * 12;
_4 = copy_layout + _3;
ram = _4->ram_start;
# DEBUG BEGIN_STMT
_5 = i * 12;
_6 = copy_layout + _5;
_7 = _6->rom_end;
_8 = (long unsigned int) _7;
_9 = i * 12;
_10 = copy_layout + _9;
_11 = _10->rom_start;
_12 = (long unsigned int) _11;
size = _8 - _12;
# DEBUG BEGIN_STMT
j = 0;
goto <bb 5>; [INV]
<bb 4> :
# DEBUG BEGIN_STMT
_13 = rom + j;
_14 = ram + j;
_15 = *_13;
*_14 = _15;
# DEBUG BEGIN_STMT
j = j + 1;
<bb 5> :
# DEBUG BEGIN_STMT
if (j < size)
goto <bb 4>; [INV]
else
goto <bb 6>; [INV]
<bb 6> :
# DEBUG BEGIN_STMT
i = i + 1;
<bb 7> :
# DEBUG BEGIN_STMT
if (i < len)
goto <bb 3>; [INV]
else
goto <bb 8>; [INV]
<bb 8> :
# DEBUG BEGIN_STMT
len = *zeroTable;
# DEBUG BEGIN_STMT
zero_layout = zeroTable + 4;
# DEBUG BEGIN_STMT
i = 0;
goto <bb 13>; [INV]
<bb 9> :
# DEBUG BEGIN_STMT
_16 = i * 8;
_17 = zero_layout + _16;
ram = _17->ram_start;
# DEBUG BEGIN_STMT
_18 = i * 8;
_19 = zero_layout + _18;
_20 = _19->ram_end;
_21 = (long unsigned int) _20;
_22 = i * 8;
_23 = zero_layout + _22;
_24 = _23->ram_start;
_25 = (long unsigned int) _24;
size = _21 - _25;
# DEBUG BEGIN_STMT
j = 0;
goto <bb 11>; [INV]
<bb 10> :
# DEBUG BEGIN_STMT
_26 = ram + j;
*_26 = 0;
# DEBUG BEGIN_STMT
j = j + 1;
<bb 11> :
# DEBUG BEGIN_STMT
if (j < size)
goto <bb 10>; [INV]
else
goto <bb 12>; [INV]
<bb 12> :
# DEBUG BEGIN_STMT
i = i + 1;
<bb 13> :
# DEBUG BEGIN_STMT
if (i < len)
goto <bb 9>; [INV]
else
goto <bb 14>; [INV]
<bb 14> :
return;
}

View File

@ -0,0 +1,204 @@
init_data_bss ()
{
const uint32 * zeroTable;
const uint32 * initTable;
uint32 j;
uint32 i;
uint32 size;
uint32 len;
uint8 * ram;
const uint8 * rom;
const struct Sys_ZeroLayoutType * zero_layout;
const struct Sys_CopyLayoutType * copy_layout;
long unsigned int _1;
const struct Sys_CopyLayoutType * _2;
long unsigned int _3;
const struct Sys_CopyLayoutType * _4;
long unsigned int _5;
const struct Sys_CopyLayoutType * _6;
uint8 * _7;
long unsigned int _8;
long unsigned int _9;
const struct Sys_CopyLayoutType * _10;
uint8 * _11;
long unsigned int _12;
const uint8 * _13;
uint8 * _14;
unsigned char _15;
long unsigned int _16;
const struct Sys_ZeroLayoutType * _17;
long unsigned int _18;
const struct Sys_ZeroLayoutType * _19;
uint8 * _20;
long unsigned int _21;
long unsigned int _22;
const struct Sys_ZeroLayoutType * _23;
uint8 * _24;
long unsigned int _25;
uint8 * _26;
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
len_35 = 0;
# DEBUG len => len_35
# DEBUG BEGIN_STMT
size_36 = 0;
# DEBUG size => size_36
# DEBUG BEGIN_STMT
i_37 = 0;
# DEBUG i => i_37
# DEBUG BEGIN_STMT
j_38 = 0;
# DEBUG j => j_38
# DEBUG BEGIN_STMT
initTable_39 = &__INIT_TABLE;
# DEBUG initTable => initTable_39
# DEBUG BEGIN_STMT
zeroTable_40 = &__ZERO_TABLE;
# DEBUG zeroTable => zeroTable_40
# DEBUG BEGIN_STMT
len_42 = *initTable_39;
# DEBUG len => len_42
# DEBUG BEGIN_STMT
copy_layout_43 = initTable_39 + 4;
# DEBUG copy_layout => copy_layout_43
# DEBUG BEGIN_STMT
i_44 = 0;
# DEBUG i => i_44
goto <bb 7>; [INV]
<bb 3> :
# DEBUG BEGIN_STMT
_1 = i_27 * 12;
_2 = copy_layout_43 + _1;
rom_54 = _2->rom_start;
# DEBUG rom => rom_54
# DEBUG BEGIN_STMT
_3 = i_27 * 12;
_4 = copy_layout_43 + _3;
ram_55 = _4->ram_start;
# DEBUG ram => ram_55
# DEBUG BEGIN_STMT
_5 = i_27 * 12;
_6 = copy_layout_43 + _5;
_7 = _6->rom_end;
_8 = (long unsigned int) _7;
_9 = i_27 * 12;
_10 = copy_layout_43 + _9;
_11 = _10->rom_start;
_12 = (long unsigned int) _11;
size_56 = _8 - _12;
# DEBUG size => size_56
# DEBUG BEGIN_STMT
j_57 = 0;
# DEBUG j => j_57
goto <bb 5>; [INV]
<bb 4> :
# DEBUG BEGIN_STMT
_13 = rom_54 + j_29;
_14 = ram_55 + j_29;
_15 = *_13;
*_14 = _15;
# DEBUG BEGIN_STMT
j_60 = j_29 + 1;
# DEBUG j => j_60
<bb 5> :
# j_29 = PHI <j_57(3), j_60(4)>
# DEBUG j => j_29
# DEBUG BEGIN_STMT
if (j_29 < size_56)
goto <bb 4>; [INV]
else
goto <bb 6>; [INV]
<bb 6> :
# DEBUG BEGIN_STMT
i_58 = i_27 + 1;
# DEBUG i => i_58
<bb 7> :
# i_27 = PHI <i_44(2), i_58(6)>
# DEBUG i => i_27
# DEBUG BEGIN_STMT
if (i_27 < len_42)
goto <bb 3>; [INV]
else
goto <bb 8>; [INV]
<bb 8> :
# DEBUG BEGIN_STMT
len_45 = *zeroTable_40;
# DEBUG len => len_45
# DEBUG BEGIN_STMT
zero_layout_46 = zeroTable_40 + 4;
# DEBUG zero_layout => zero_layout_46
# DEBUG BEGIN_STMT
i_47 = 0;
# DEBUG i => i_47
goto <bb 13>; [INV]
<bb 9> :
# DEBUG BEGIN_STMT
_16 = i_28 * 8;
_17 = zero_layout_46 + _16;
ram_48 = _17->ram_start;
# DEBUG ram => ram_48
# DEBUG BEGIN_STMT
_18 = i_28 * 8;
_19 = zero_layout_46 + _18;
_20 = _19->ram_end;
_21 = (long unsigned int) _20;
_22 = i_28 * 8;
_23 = zero_layout_46 + _22;
_24 = _23->ram_start;
_25 = (long unsigned int) _24;
size_49 = _21 - _25;
# DEBUG size => size_49
# DEBUG BEGIN_STMT
j_50 = 0;
# DEBUG j => j_50
goto <bb 11>; [INV]
<bb 10> :
# DEBUG BEGIN_STMT
_26 = ram_48 + j_30;
*_26 = 0;
# DEBUG BEGIN_STMT
j_53 = j_30 + 1;
# DEBUG j => j_53
<bb 11> :
# j_30 = PHI <j_50(9), j_53(10)>
# DEBUG j => j_30
# DEBUG BEGIN_STMT
if (j_30 < size_49)
goto <bb 10>; [INV]
else
goto <bb 12>; [INV]
<bb 12> :
# DEBUG BEGIN_STMT
i_51 = i_28 + 1;
# DEBUG i => i_51
<bb 13> :
# i_28 = PHI <i_47(8), i_51(12)>
# DEBUG i => i_28
# DEBUG BEGIN_STMT
if (i_28 < len_45)
goto <bb 9>; [INV]
else
goto <bb 14>; [INV]
<bb 14> :
return;
}

View File

@ -0,0 +1,195 @@
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Symbol table:
__ZERO_TABLE/2 (__ZERO_TABLE) @068a8b88
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: init_data_bss/0 (read)init_data_bss/0 (addr)
Availability: not_available
Varpool flags:
__INIT_TABLE/1 (__INIT_TABLE) @068a8b40
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: init_data_bss/0 (read)init_data_bss/0 (addr)
Availability: not_available
Varpool flags:
init_data_bss/0 (init_data_bss) @068a92a0
Type: function definition analyzed
Visibility: externally_visible public
References: __INIT_TABLE/1 (read)__INIT_TABLE/1 (addr)__ZERO_TABLE/2 (read)__ZERO_TABLE/2 (addr)
Referring:
Availability: available
Function flags: count:14598062 (estimated locally) body optimize_size
Called by:
Calls:
init_data_bss ()
{
uint32 j;
uint32 i;
uint32 size;
uint32 len;
uint8 * ram;
const uint8 * rom;
long unsigned int _1;
const struct Sys_CopyLayoutType * _2;
uint8 * _3;
long unsigned int _4;
long unsigned int _5;
const uint8 * _6;
uint8 * _7;
unsigned char _8;
long unsigned int _9;
const struct Sys_ZeroLayoutType * _10;
uint8 * _11;
long unsigned int _12;
long unsigned int _13;
uint8 * _14;
<bb 2> [local count: 14598062]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG len => 0
# DEBUG BEGIN_STMT
# DEBUG size => 0
# DEBUG BEGIN_STMT
# DEBUG i => 0
# DEBUG BEGIN_STMT
# DEBUG j => 0
# DEBUG BEGIN_STMT
# DEBUG initTable => &__INIT_TABLE
# DEBUG BEGIN_STMT
# DEBUG zeroTable => &__ZERO_TABLE
# DEBUG BEGIN_STMT
len_24 = MEM[(const uint32 *)&__INIT_TABLE];
# DEBUG len => len_24
# DEBUG BEGIN_STMT
# DEBUG copy_layout => &MEM[(void *)&__INIT_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 7>; [100.00%]
<bb 3> [local count: 118111595]:
# DEBUG BEGIN_STMT
_1 = i_15 * 12;
_2 = &MEM[(void *)&__INIT_TABLE + 4B] + _1;
rom_31 = _2->rom_start;
# DEBUG rom => rom_31
# DEBUG BEGIN_STMT
ram_32 = _2->ram_start;
# DEBUG ram => ram_32
# DEBUG BEGIN_STMT
_3 = _2->rom_end;
_4 = (long unsigned int) _3;
_5 = (long unsigned int) rom_31;
size_33 = _4 - _5;
# DEBUG size => size_33
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 5>; [100.00%]
<bb 4> [local count: 955630185]:
# DEBUG BEGIN_STMT
_6 = rom_31 + j_17;
_7 = ram_32 + j_17;
_8 = *_6;
*_7 = _8;
# DEBUG BEGIN_STMT
j_36 = j_17 + 1;
# DEBUG j => j_36
<bb 5> [local count: 1073741782]:
# j_17 = PHI <0(3), j_36(4)>
# DEBUG j => j_17
# DEBUG BEGIN_STMT
if (j_17 < size_33)
goto <bb 4>; [89.00%]
else
goto <bb 6>; [11.00%]
<bb 6> [local count: 118111596]:
# DEBUG BEGIN_STMT
i_34 = i_15 + 1;
# DEBUG i => i_34
<bb 7> [local count: 132709658]:
# i_15 = PHI <0(2), i_34(6)>
# DEBUG i => i_15
# DEBUG BEGIN_STMT
if (i_15 < len_24)
goto <bb 3>; [89.00%]
else
goto <bb 8>; [11.00%]
<bb 8> [local count: 14598062]:
# DEBUG BEGIN_STMT
len_25 = MEM[(const uint32 *)&__ZERO_TABLE];
# DEBUG len => len_25
# DEBUG BEGIN_STMT
# DEBUG zero_layout => &MEM[(void *)&__ZERO_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 13>; [100.00%]
<bb 9> [local count: 118111600]:
# DEBUG BEGIN_STMT
_9 = i_16 * 8;
_10 = &MEM[(void *)&__ZERO_TABLE + 4B] + _9;
ram_26 = _10->ram_start;
# DEBUG ram => ram_26
# DEBUG BEGIN_STMT
_11 = _10->ram_end;
_12 = (long unsigned int) _11;
_13 = (long unsigned int) ram_26;
size_27 = _12 - _13;
# DEBUG size => size_27
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 11>; [100.00%]
<bb 10> [local count: 955630224]:
# DEBUG BEGIN_STMT
_14 = ram_26 + j_18;
*_14 = 0;
# DEBUG BEGIN_STMT
j_30 = j_18 + 1;
# DEBUG j => j_30
<bb 11> [local count: 1073741824]:
# j_18 = PHI <0(9), j_30(10)>
# DEBUG j => j_18
# DEBUG BEGIN_STMT
if (j_18 < size_27)
goto <bb 10>; [89.00%]
else
goto <bb 12>; [11.00%]
<bb 12> [local count: 118111601]:
# DEBUG BEGIN_STMT
i_28 = i_16 + 1;
# DEBUG i => i_28
<bb 13> [local count: 132709663]:
# i_16 = PHI <0(8), i_28(12)>
# DEBUG i => i_16
# DEBUG BEGIN_STMT
if (i_16 < len_25)
goto <bb 9>; [89.00%]
else
goto <bb 14>; [11.00%]
<bb 14> [local count: 14598063]:
return;
}

View File

@ -0,0 +1,164 @@
init_data_bss ()
{
uint32 j;
uint32 i;
uint32 size;
uint32 len;
uint8 * ram;
const uint8 * rom;
long unsigned int _1;
const struct Sys_CopyLayoutType * _2;
uint8 * _3;
long unsigned int _4;
long unsigned int _5;
const uint8 * _6;
uint8 * _7;
unsigned char _8;
long unsigned int _9;
const struct Sys_ZeroLayoutType * _10;
uint8 * _11;
long unsigned int _12;
long unsigned int _13;
uint8 * _14;
<bb 2> [local count: 14598062]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG len => 0
# DEBUG BEGIN_STMT
# DEBUG size => 0
# DEBUG BEGIN_STMT
# DEBUG i => 0
# DEBUG BEGIN_STMT
# DEBUG j => 0
# DEBUG BEGIN_STMT
# DEBUG initTable => &__INIT_TABLE
# DEBUG BEGIN_STMT
# DEBUG zeroTable => &__ZERO_TABLE
# DEBUG BEGIN_STMT
len_24 = MEM[(const uint32 *)&__INIT_TABLE];
# DEBUG len => len_24
# DEBUG BEGIN_STMT
# DEBUG copy_layout => &MEM[(void *)&__INIT_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 7>; [100.00%]
<bb 3> [local count: 118111595]:
# DEBUG BEGIN_STMT
_1 = i_15 * 12;
_2 = &MEM[(void *)&__INIT_TABLE + 4B] + _1;
rom_31 = _2->rom_start;
# DEBUG rom => rom_31
# DEBUG BEGIN_STMT
ram_32 = _2->ram_start;
# DEBUG ram => ram_32
# DEBUG BEGIN_STMT
_3 = _2->rom_end;
_4 = (long unsigned int) _3;
_5 = (long unsigned int) rom_31;
size_33 = _4 - _5;
# DEBUG size => size_33
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 5>; [100.00%]
<bb 4> [local count: 955630185]:
# DEBUG BEGIN_STMT
_6 = rom_31 + j_17;
_7 = ram_32 + j_17;
_8 = *_6;
*_7 = _8;
# DEBUG BEGIN_STMT
j_36 = j_17 + 1;
# DEBUG j => j_36
<bb 5> [local count: 1073741782]:
# j_17 = PHI <0(3), j_36(4)>
# DEBUG j => j_17
# DEBUG BEGIN_STMT
if (j_17 < size_33)
goto <bb 4>; [89.00%]
else
goto <bb 6>; [11.00%]
<bb 6> [local count: 118111596]:
# DEBUG BEGIN_STMT
i_34 = i_15 + 1;
# DEBUG i => i_34
<bb 7> [local count: 132709658]:
# i_15 = PHI <0(2), i_34(6)>
# DEBUG i => i_15
# DEBUG BEGIN_STMT
if (i_15 < len_24)
goto <bb 3>; [89.00%]
else
goto <bb 8>; [11.00%]
<bb 8> [local count: 14598062]:
# DEBUG BEGIN_STMT
len_25 = MEM[(const uint32 *)&__ZERO_TABLE];
# DEBUG len => len_25
# DEBUG BEGIN_STMT
# DEBUG zero_layout => &MEM[(void *)&__ZERO_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 13>; [100.00%]
<bb 9> [local count: 118111600]:
# DEBUG BEGIN_STMT
_9 = i_16 * 8;
_10 = &MEM[(void *)&__ZERO_TABLE + 4B] + _9;
ram_26 = _10->ram_start;
# DEBUG ram => ram_26
# DEBUG BEGIN_STMT
_11 = _10->ram_end;
_12 = (long unsigned int) _11;
_13 = (long unsigned int) ram_26;
size_27 = _12 - _13;
# DEBUG size => size_27
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 11>; [100.00%]
<bb 10> [local count: 955630224]:
# DEBUG BEGIN_STMT
_14 = ram_26 + j_18;
*_14 = 0;
# DEBUG BEGIN_STMT
j_30 = j_18 + 1;
# DEBUG j => j_30
<bb 11> [local count: 1073741824]:
# j_18 = PHI <0(9), j_30(10)>
# DEBUG j => j_18
# DEBUG BEGIN_STMT
if (j_18 < size_27)
goto <bb 10>; [89.00%]
else
goto <bb 12>; [11.00%]
<bb 12> [local count: 118111601]:
# DEBUG BEGIN_STMT
i_28 = i_16 + 1;
# DEBUG i => i_28
<bb 13> [local count: 132709663]:
# i_16 = PHI <0(8), i_28(12)>
# DEBUG i => i_16
# DEBUG BEGIN_STMT
if (i_16 < len_25)
goto <bb 9>; [89.00%]
else
goto <bb 14>; [11.00%]
<bb 14> [local count: 14598063]:
return;
}

View File

@ -0,0 +1,164 @@
init_data_bss ()
{
uint32 j;
uint32 i;
uint32 size;
uint32 len;
uint8 * ram;
const uint8 * rom;
long unsigned int _1;
const struct Sys_CopyLayoutType * _2;
uint8 * _3;
long unsigned int _4;
long unsigned int _5;
const uint8 * _6;
uint8 * _7;
unsigned char _8;
long unsigned int _9;
const struct Sys_ZeroLayoutType * _10;
uint8 * _11;
long unsigned int _12;
long unsigned int _13;
uint8 * _14;
<bb 2> [local count: 14598062]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG len => 0
# DEBUG BEGIN_STMT
# DEBUG size => 0
# DEBUG BEGIN_STMT
# DEBUG i => 0
# DEBUG BEGIN_STMT
# DEBUG j => 0
# DEBUG BEGIN_STMT
# DEBUG initTable => &__INIT_TABLE
# DEBUG BEGIN_STMT
# DEBUG zeroTable => &__ZERO_TABLE
# DEBUG BEGIN_STMT
len_24 = MEM[(const uint32 *)&__INIT_TABLE];
# DEBUG len => len_24
# DEBUG BEGIN_STMT
# DEBUG copy_layout => &MEM[(void *)&__INIT_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 7>; [100.00%]
<bb 3> [local count: 118111595]:
# DEBUG BEGIN_STMT
_1 = i_15 * 12;
_2 = &MEM[(void *)&__INIT_TABLE + 4B] + _1;
rom_31 = _2->rom_start;
# DEBUG rom => rom_31
# DEBUG BEGIN_STMT
ram_32 = _2->ram_start;
# DEBUG ram => ram_32
# DEBUG BEGIN_STMT
_3 = _2->rom_end;
_4 = (long unsigned int) _3;
_5 = (long unsigned int) rom_31;
size_33 = _4 - _5;
# DEBUG size => size_33
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 5>; [100.00%]
<bb 4> [local count: 955630185]:
# DEBUG BEGIN_STMT
_6 = rom_31 + j_17;
_7 = ram_32 + j_17;
_8 = *_6;
*_7 = _8;
# DEBUG BEGIN_STMT
j_36 = j_17 + 1;
# DEBUG j => j_36
<bb 5> [local count: 1073741782]:
# j_17 = PHI <0(3), j_36(4)>
# DEBUG j => j_17
# DEBUG BEGIN_STMT
if (j_17 < size_33)
goto <bb 4>; [89.00%]
else
goto <bb 6>; [11.00%]
<bb 6> [local count: 118111596]:
# DEBUG BEGIN_STMT
i_34 = i_15 + 1;
# DEBUG i => i_34
<bb 7> [local count: 132709658]:
# i_15 = PHI <0(2), i_34(6)>
# DEBUG i => i_15
# DEBUG BEGIN_STMT
if (i_15 < len_24)
goto <bb 3>; [89.00%]
else
goto <bb 8>; [11.00%]
<bb 8> [local count: 14598062]:
# DEBUG BEGIN_STMT
len_25 = MEM[(const uint32 *)&__ZERO_TABLE];
# DEBUG len => len_25
# DEBUG BEGIN_STMT
# DEBUG zero_layout => &MEM[(void *)&__ZERO_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 13>; [100.00%]
<bb 9> [local count: 118111600]:
# DEBUG BEGIN_STMT
_9 = i_16 * 8;
_10 = &MEM[(void *)&__ZERO_TABLE + 4B] + _9;
ram_26 = _10->ram_start;
# DEBUG ram => ram_26
# DEBUG BEGIN_STMT
_11 = _10->ram_end;
_12 = (long unsigned int) _11;
_13 = (long unsigned int) ram_26;
size_27 = _12 - _13;
# DEBUG size => size_27
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 11>; [100.00%]
<bb 10> [local count: 955630224]:
# DEBUG BEGIN_STMT
_14 = ram_26 + j_18;
*_14 = 0;
# DEBUG BEGIN_STMT
j_30 = j_18 + 1;
# DEBUG j => j_30
<bb 11> [local count: 1073741824]:
# j_18 = PHI <0(9), j_30(10)>
# DEBUG j => j_18
# DEBUG BEGIN_STMT
if (j_18 < size_27)
goto <bb 10>; [89.00%]
else
goto <bb 12>; [11.00%]
<bb 12> [local count: 118111601]:
# DEBUG BEGIN_STMT
i_28 = i_16 + 1;
# DEBUG i => i_28
<bb 13> [local count: 132709663]:
# i_16 = PHI <0(8), i_28(12)>
# DEBUG i => i_16
# DEBUG BEGIN_STMT
if (i_16 < len_25)
goto <bb 9>; [89.00%]
else
goto <bb 14>; [11.00%]
<bb 14> [local count: 14598063]:
return;
}

View File

@ -0,0 +1,205 @@
Marking local functions:
Marking externally visible functions: init_data_bss
Marking externally visible variables:
Clearing variable flags:
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Symbol table:
__ZERO_TABLE/2 (__ZERO_TABLE) @068a8b88
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: init_data_bss/0 (read)init_data_bss/0 (addr)
Availability: not_available
Varpool flags:
__INIT_TABLE/1 (__INIT_TABLE) @068a8b40
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: init_data_bss/0 (read)init_data_bss/0 (addr)
Availability: not_available
Varpool flags:
init_data_bss/0 (init_data_bss) @068a92a0
Type: function definition analyzed
Visibility: externally_visible public
References: __INIT_TABLE/1 (read)__INIT_TABLE/1 (addr)__ZERO_TABLE/2 (read)__ZERO_TABLE/2 (addr)
Referring:
Availability: available
Function flags: count:14598062 (estimated locally) body optimize_size
Called by:
Calls:
init_data_bss ()
{
uint32 j;
uint32 i;
uint32 size;
uint32 len;
uint8 * ram;
const uint8 * rom;
long unsigned int _1;
const struct Sys_CopyLayoutType * _2;
uint8 * _3;
long unsigned int _4;
long unsigned int _5;
const uint8 * _6;
uint8 * _7;
unsigned char _8;
long unsigned int _9;
const struct Sys_ZeroLayoutType * _10;
uint8 * _11;
long unsigned int _12;
long unsigned int _13;
uint8 * _14;
<bb 2> [local count: 14598062]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG len => 0
# DEBUG BEGIN_STMT
# DEBUG size => 0
# DEBUG BEGIN_STMT
# DEBUG i => 0
# DEBUG BEGIN_STMT
# DEBUG j => 0
# DEBUG BEGIN_STMT
# DEBUG initTable => &__INIT_TABLE
# DEBUG BEGIN_STMT
# DEBUG zeroTable => &__ZERO_TABLE
# DEBUG BEGIN_STMT
len_24 = MEM[(const uint32 *)&__INIT_TABLE];
# DEBUG len => len_24
# DEBUG BEGIN_STMT
# DEBUG copy_layout => &MEM[(void *)&__INIT_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 7>; [100.00%]
<bb 3> [local count: 118111595]:
# DEBUG BEGIN_STMT
_1 = i_15 * 12;
_2 = &MEM[(void *)&__INIT_TABLE + 4B] + _1;
rom_31 = _2->rom_start;
# DEBUG rom => rom_31
# DEBUG BEGIN_STMT
ram_32 = _2->ram_start;
# DEBUG ram => ram_32
# DEBUG BEGIN_STMT
_3 = _2->rom_end;
_4 = (long unsigned int) _3;
_5 = (long unsigned int) rom_31;
size_33 = _4 - _5;
# DEBUG size => size_33
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 5>; [100.00%]
<bb 4> [local count: 955630185]:
# DEBUG BEGIN_STMT
_6 = rom_31 + j_17;
_7 = ram_32 + j_17;
_8 = *_6;
*_7 = _8;
# DEBUG BEGIN_STMT
j_36 = j_17 + 1;
# DEBUG j => j_36
<bb 5> [local count: 1073741782]:
# j_17 = PHI <0(3), j_36(4)>
# DEBUG j => j_17
# DEBUG BEGIN_STMT
if (j_17 < size_33)
goto <bb 4>; [89.00%]
else
goto <bb 6>; [11.00%]
<bb 6> [local count: 118111596]:
# DEBUG BEGIN_STMT
i_34 = i_15 + 1;
# DEBUG i => i_34
<bb 7> [local count: 132709658]:
# i_15 = PHI <0(2), i_34(6)>
# DEBUG i => i_15
# DEBUG BEGIN_STMT
if (i_15 < len_24)
goto <bb 3>; [89.00%]
else
goto <bb 8>; [11.00%]
<bb 8> [local count: 14598062]:
# DEBUG BEGIN_STMT
len_25 = MEM[(const uint32 *)&__ZERO_TABLE];
# DEBUG len => len_25
# DEBUG BEGIN_STMT
# DEBUG zero_layout => &MEM[(void *)&__ZERO_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 13>; [100.00%]
<bb 9> [local count: 118111600]:
# DEBUG BEGIN_STMT
_9 = i_16 * 8;
_10 = &MEM[(void *)&__ZERO_TABLE + 4B] + _9;
ram_26 = _10->ram_start;
# DEBUG ram => ram_26
# DEBUG BEGIN_STMT
_11 = _10->ram_end;
_12 = (long unsigned int) _11;
_13 = (long unsigned int) ram_26;
size_27 = _12 - _13;
# DEBUG size => size_27
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 11>; [100.00%]
<bb 10> [local count: 955630224]:
# DEBUG BEGIN_STMT
_14 = ram_26 + j_18;
*_14 = 0;
# DEBUG BEGIN_STMT
j_30 = j_18 + 1;
# DEBUG j => j_30
<bb 11> [local count: 1073741824]:
# j_18 = PHI <0(9), j_30(10)>
# DEBUG j => j_18
# DEBUG BEGIN_STMT
if (j_18 < size_27)
goto <bb 10>; [89.00%]
else
goto <bb 12>; [11.00%]
<bb 12> [local count: 118111601]:
# DEBUG BEGIN_STMT
i_28 = i_16 + 1;
# DEBUG i => i_28
<bb 13> [local count: 132709663]:
# i_16 = PHI <0(8), i_28(12)>
# DEBUG i => i_16
# DEBUG BEGIN_STMT
if (i_16 < len_25)
goto <bb 9>; [89.00%]
else
goto <bb 14>; [11.00%]
<bb 14> [local count: 14598063]:
return;
}

View File

@ -0,0 +1,165 @@
Histogram:
init_data_bss ()
{
uint32 j;
uint32 i;
uint32 size;
uint32 len;
uint8 * ram;
const uint8 * rom;
long unsigned int _1;
const struct Sys_CopyLayoutType * _2;
uint8 * _3;
long unsigned int _4;
long unsigned int _5;
const uint8 * _6;
uint8 * _7;
unsigned char _8;
long unsigned int _9;
const struct Sys_ZeroLayoutType * _10;
uint8 * _11;
long unsigned int _12;
long unsigned int _13;
uint8 * _14;
<bb 2> [local count: 14598062]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG len => 0
# DEBUG BEGIN_STMT
# DEBUG size => 0
# DEBUG BEGIN_STMT
# DEBUG i => 0
# DEBUG BEGIN_STMT
# DEBUG j => 0
# DEBUG BEGIN_STMT
# DEBUG initTable => &__INIT_TABLE
# DEBUG BEGIN_STMT
# DEBUG zeroTable => &__ZERO_TABLE
# DEBUG BEGIN_STMT
len_24 = MEM[(const uint32 *)&__INIT_TABLE];
# DEBUG len => len_24
# DEBUG BEGIN_STMT
# DEBUG copy_layout => &MEM[(void *)&__INIT_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 7>; [100.00%]
<bb 3> [local count: 118111595]:
# DEBUG BEGIN_STMT
_1 = i_15 * 12;
_2 = &MEM[(void *)&__INIT_TABLE + 4B] + _1;
rom_31 = _2->rom_start;
# DEBUG rom => rom_31
# DEBUG BEGIN_STMT
ram_32 = _2->ram_start;
# DEBUG ram => ram_32
# DEBUG BEGIN_STMT
_3 = _2->rom_end;
_4 = (long unsigned int) _3;
_5 = (long unsigned int) rom_31;
size_33 = _4 - _5;
# DEBUG size => size_33
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 5>; [100.00%]
<bb 4> [local count: 955630185]:
# DEBUG BEGIN_STMT
_6 = rom_31 + j_17;
_7 = ram_32 + j_17;
_8 = *_6;
*_7 = _8;
# DEBUG BEGIN_STMT
j_36 = j_17 + 1;
# DEBUG j => j_36
<bb 5> [local count: 1073741782]:
# j_17 = PHI <0(3), j_36(4)>
# DEBUG j => j_17
# DEBUG BEGIN_STMT
if (j_17 < size_33)
goto <bb 4>; [89.00%]
else
goto <bb 6>; [11.00%]
<bb 6> [local count: 118111596]:
# DEBUG BEGIN_STMT
i_34 = i_15 + 1;
# DEBUG i => i_34
<bb 7> [local count: 132709658]:
# i_15 = PHI <0(2), i_34(6)>
# DEBUG i => i_15
# DEBUG BEGIN_STMT
if (i_15 < len_24)
goto <bb 3>; [89.00%]
else
goto <bb 8>; [11.00%]
<bb 8> [local count: 14598062]:
# DEBUG BEGIN_STMT
len_25 = MEM[(const uint32 *)&__ZERO_TABLE];
# DEBUG len => len_25
# DEBUG BEGIN_STMT
# DEBUG zero_layout => &MEM[(void *)&__ZERO_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 13>; [100.00%]
<bb 9> [local count: 118111600]:
# DEBUG BEGIN_STMT
_9 = i_16 * 8;
_10 = &MEM[(void *)&__ZERO_TABLE + 4B] + _9;
ram_26 = _10->ram_start;
# DEBUG ram => ram_26
# DEBUG BEGIN_STMT
_11 = _10->ram_end;
_12 = (long unsigned int) _11;
_13 = (long unsigned int) ram_26;
size_27 = _12 - _13;
# DEBUG size => size_27
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 11>; [100.00%]
<bb 10> [local count: 955630224]:
# DEBUG BEGIN_STMT
_14 = ram_26 + j_18;
*_14 = 0;
# DEBUG BEGIN_STMT
j_30 = j_18 + 1;
# DEBUG j => j_30
<bb 11> [local count: 1073741824]:
# j_18 = PHI <0(9), j_30(10)>
# DEBUG j => j_18
# DEBUG BEGIN_STMT
if (j_18 < size_27)
goto <bb 10>; [89.00%]
else
goto <bb 12>; [11.00%]
<bb 12> [local count: 118111601]:
# DEBUG BEGIN_STMT
i_28 = i_16 + 1;
# DEBUG i => i_28
<bb 13> [local count: 132709663]:
# i_16 = PHI <0(8), i_28(12)>
# DEBUG i => i_16
# DEBUG BEGIN_STMT
if (i_16 < len_25)
goto <bb 9>; [89.00%]
else
goto <bb 14>; [11.00%]
<bb 14> [local count: 14598063]:
return;
}

View File

@ -0,0 +1,207 @@
Parsed function:init_data_bss
Dump after hash based groups
Congruence classes: 1 (unique hash values: 1), with total: 1 items
Class size histogram [num of members]: number of classe number of classess
[1]: 1 classes
Dump after WPA based types groups
Congruence classes: 1 (unique hash values: 1), with total: 1 items
Class size histogram [num of members]: number of classe number of classess
[1]: 1 classes
Worklist has been filled with: 0
Address reference subdivision created: 0 new classes.
Dump after callgraph-based congruence reduction
Congruence classes: 1 (unique hash values: 1), with total: 1 items
Class size histogram [num of members]: number of classe number of classess
[1]: 1 classes
Init called for 0 items (0.00%).
Dump after full equality comparison of groups
Congruence classes: 1 (unique hash values: 1), with total: 1 items
Class size histogram [num of members]: number of classe number of classess
[1]: 1 classes
Worklist has been filled with: 0
Address reference subdivision created: 0 new classes.
Congruence classes: 1 (unique hash values: 1), with total: 1 items
Class size histogram [num of members]: number of classe number of classess
[1]: 1 classes
Item count: 1
Congruent classes before: 1, after: 1
Average class size before: 1.00, after: 1.00
Average non-singular class size: 0.00, count: 0
Equal symbols: 0
Fraction of visited symbols: 0.00%
init_data_bss ()
{
uint32 j;
uint32 i;
uint32 size;
uint32 len;
uint8 * ram;
const uint8 * rom;
long unsigned int _1;
const struct Sys_CopyLayoutType * _2;
uint8 * _3;
long unsigned int _4;
long unsigned int _5;
const uint8 * _6;
uint8 * _7;
unsigned char _8;
long unsigned int _9;
const struct Sys_ZeroLayoutType * _10;
uint8 * _11;
long unsigned int _12;
long unsigned int _13;
uint8 * _14;
<bb 2> [local count: 14598062]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG len => 0
# DEBUG BEGIN_STMT
# DEBUG size => 0
# DEBUG BEGIN_STMT
# DEBUG i => 0
# DEBUG BEGIN_STMT
# DEBUG j => 0
# DEBUG BEGIN_STMT
# DEBUG initTable => &__INIT_TABLE
# DEBUG BEGIN_STMT
# DEBUG zeroTable => &__ZERO_TABLE
# DEBUG BEGIN_STMT
len_24 = MEM[(const uint32 *)&__INIT_TABLE];
# DEBUG len => len_24
# DEBUG BEGIN_STMT
# DEBUG copy_layout => &MEM[(void *)&__INIT_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 7>; [100.00%]
<bb 3> [local count: 118111595]:
# DEBUG BEGIN_STMT
_1 = i_15 * 12;
_2 = &MEM[(void *)&__INIT_TABLE + 4B] + _1;
rom_31 = _2->rom_start;
# DEBUG rom => rom_31
# DEBUG BEGIN_STMT
ram_32 = _2->ram_start;
# DEBUG ram => ram_32
# DEBUG BEGIN_STMT
_3 = _2->rom_end;
_4 = (long unsigned int) _3;
_5 = (long unsigned int) rom_31;
size_33 = _4 - _5;
# DEBUG size => size_33
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 5>; [100.00%]
<bb 4> [local count: 955630185]:
# DEBUG BEGIN_STMT
_6 = rom_31 + j_17;
_7 = ram_32 + j_17;
_8 = *_6;
*_7 = _8;
# DEBUG BEGIN_STMT
j_36 = j_17 + 1;
# DEBUG j => j_36
<bb 5> [local count: 1073741782]:
# j_17 = PHI <0(3), j_36(4)>
# DEBUG j => j_17
# DEBUG BEGIN_STMT
if (j_17 < size_33)
goto <bb 4>; [89.00%]
else
goto <bb 6>; [11.00%]
<bb 6> [local count: 118111596]:
# DEBUG BEGIN_STMT
i_34 = i_15 + 1;
# DEBUG i => i_34
<bb 7> [local count: 132709658]:
# i_15 = PHI <0(2), i_34(6)>
# DEBUG i => i_15
# DEBUG BEGIN_STMT
if (i_15 < len_24)
goto <bb 3>; [89.00%]
else
goto <bb 8>; [11.00%]
<bb 8> [local count: 14598062]:
# DEBUG BEGIN_STMT
len_25 = MEM[(const uint32 *)&__ZERO_TABLE];
# DEBUG len => len_25
# DEBUG BEGIN_STMT
# DEBUG zero_layout => &MEM[(void *)&__ZERO_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 13>; [100.00%]
<bb 9> [local count: 118111600]:
# DEBUG BEGIN_STMT
_9 = i_16 * 8;
_10 = &MEM[(void *)&__ZERO_TABLE + 4B] + _9;
ram_26 = _10->ram_start;
# DEBUG ram => ram_26
# DEBUG BEGIN_STMT
_11 = _10->ram_end;
_12 = (long unsigned int) _11;
_13 = (long unsigned int) ram_26;
size_27 = _12 - _13;
# DEBUG size => size_27
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 11>; [100.00%]
<bb 10> [local count: 955630224]:
# DEBUG BEGIN_STMT
_14 = ram_26 + j_18;
*_14 = 0;
# DEBUG BEGIN_STMT
j_30 = j_18 + 1;
# DEBUG j => j_30
<bb 11> [local count: 1073741824]:
# j_18 = PHI <0(9), j_30(10)>
# DEBUG j => j_18
# DEBUG BEGIN_STMT
if (j_18 < size_27)
goto <bb 10>; [89.00%]
else
goto <bb 12>; [11.00%]
<bb 12> [local count: 118111601]:
# DEBUG BEGIN_STMT
i_28 = i_16 + 1;
# DEBUG i => i_28
<bb 13> [local count: 132709663]:
# i_16 = PHI <0(8), i_28(12)>
# DEBUG i => i_16
# DEBUG BEGIN_STMT
if (i_16 < len_25)
goto <bb 9>; [89.00%]
else
goto <bb 14>; [11.00%]
<bb 14> [local count: 14598063]:
return;
}

View File

@ -0,0 +1,191 @@
Symbol table:
__ZERO_TABLE/2 (__ZERO_TABLE) @068a8b88
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: init_data_bss/0 (read)init_data_bss/0 (addr)
Availability: not_available
Varpool flags:
__INIT_TABLE/1 (__INIT_TABLE) @068a8b40
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: init_data_bss/0 (read)init_data_bss/0 (addr)
Availability: not_available
Varpool flags:
init_data_bss/0 (init_data_bss) @068a92a0
Type: function definition analyzed
Visibility: externally_visible public
References: __INIT_TABLE/1 (read)__INIT_TABLE/1 (addr)__ZERO_TABLE/2 (read)__ZERO_TABLE/2 (addr)
Referring:
Availability: available
Function flags: count:14598062 (estimated locally) body optimize_size
Called by:
Calls:
init_data_bss ()
{
uint32 j;
uint32 i;
uint32 size;
uint32 len;
uint8 * ram;
const uint8 * rom;
long unsigned int _1;
const struct Sys_CopyLayoutType * _2;
uint8 * _3;
long unsigned int _4;
long unsigned int _5;
const uint8 * _6;
uint8 * _7;
unsigned char _8;
long unsigned int _9;
const struct Sys_ZeroLayoutType * _10;
uint8 * _11;
long unsigned int _12;
long unsigned int _13;
uint8 * _14;
<bb 2> [local count: 14598062]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG len => 0
# DEBUG BEGIN_STMT
# DEBUG size => 0
# DEBUG BEGIN_STMT
# DEBUG i => 0
# DEBUG BEGIN_STMT
# DEBUG j => 0
# DEBUG BEGIN_STMT
# DEBUG initTable => &__INIT_TABLE
# DEBUG BEGIN_STMT
# DEBUG zeroTable => &__ZERO_TABLE
# DEBUG BEGIN_STMT
len_24 = MEM[(const uint32 *)&__INIT_TABLE];
# DEBUG len => len_24
# DEBUG BEGIN_STMT
# DEBUG copy_layout => &MEM[(void *)&__INIT_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 7>; [100.00%]
<bb 3> [local count: 118111595]:
# DEBUG BEGIN_STMT
_1 = i_15 * 12;
_2 = &MEM[(void *)&__INIT_TABLE + 4B] + _1;
rom_31 = _2->rom_start;
# DEBUG rom => rom_31
# DEBUG BEGIN_STMT
ram_32 = _2->ram_start;
# DEBUG ram => ram_32
# DEBUG BEGIN_STMT
_3 = _2->rom_end;
_4 = (long unsigned int) _3;
_5 = (long unsigned int) rom_31;
size_33 = _4 - _5;
# DEBUG size => size_33
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 5>; [100.00%]
<bb 4> [local count: 955630185]:
# DEBUG BEGIN_STMT
_6 = rom_31 + j_17;
_7 = ram_32 + j_17;
_8 = *_6;
*_7 = _8;
# DEBUG BEGIN_STMT
j_36 = j_17 + 1;
# DEBUG j => j_36
<bb 5> [local count: 1073741782]:
# j_17 = PHI <0(3), j_36(4)>
# DEBUG j => j_17
# DEBUG BEGIN_STMT
if (j_17 < size_33)
goto <bb 4>; [89.00%]
else
goto <bb 6>; [11.00%]
<bb 6> [local count: 118111596]:
# DEBUG BEGIN_STMT
i_34 = i_15 + 1;
# DEBUG i => i_34
<bb 7> [local count: 132709658]:
# i_15 = PHI <0(2), i_34(6)>
# DEBUG i => i_15
# DEBUG BEGIN_STMT
if (i_15 < len_24)
goto <bb 3>; [89.00%]
else
goto <bb 8>; [11.00%]
<bb 8> [local count: 14598062]:
# DEBUG BEGIN_STMT
len_25 = MEM[(const uint32 *)&__ZERO_TABLE];
# DEBUG len => len_25
# DEBUG BEGIN_STMT
# DEBUG zero_layout => &MEM[(void *)&__ZERO_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 13>; [100.00%]
<bb 9> [local count: 118111600]:
# DEBUG BEGIN_STMT
_9 = i_16 * 8;
_10 = &MEM[(void *)&__ZERO_TABLE + 4B] + _9;
ram_26 = _10->ram_start;
# DEBUG ram => ram_26
# DEBUG BEGIN_STMT
_11 = _10->ram_end;
_12 = (long unsigned int) _11;
_13 = (long unsigned int) ram_26;
size_27 = _12 - _13;
# DEBUG size => size_27
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 11>; [100.00%]
<bb 10> [local count: 955630224]:
# DEBUG BEGIN_STMT
_14 = ram_26 + j_18;
*_14 = 0;
# DEBUG BEGIN_STMT
j_30 = j_18 + 1;
# DEBUG j => j_30
<bb 11> [local count: 1073741824]:
# j_18 = PHI <0(9), j_30(10)>
# DEBUG j => j_18
# DEBUG BEGIN_STMT
if (j_18 < size_27)
goto <bb 10>; [89.00%]
else
goto <bb 12>; [11.00%]
<bb 12> [local count: 118111601]:
# DEBUG BEGIN_STMT
i_28 = i_16 + 1;
# DEBUG i => i_28
<bb 13> [local count: 132709663]:
# i_16 = PHI <0(8), i_28(12)>
# DEBUG i => i_16
# DEBUG BEGIN_STMT
if (i_16 < len_25)
goto <bb 9>; [89.00%]
else
goto <bb 14>; [11.00%]
<bb 14> [local count: 14598063]:
return;
}

View File

@ -0,0 +1,222 @@
IPA constant propagation start:
IPA structures before propagation:
Jump functions:
Jump functions of caller init_data_bss/0:
Propagating constants:
Not considering init_data_bss for cloning; -fipa-cp-clone disabled.
overall_size: 34, max_new_size: 11001
IPA lattices after all propagation:
Lattices:
Node: init_data_bss/0:
IPA decision stage:
IPA constant propagation end
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Symbol table:
__ZERO_TABLE/2 (__ZERO_TABLE) @068a8b88
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: init_data_bss/0 (read)init_data_bss/0 (addr)
Availability: not_available
Varpool flags:
__INIT_TABLE/1 (__INIT_TABLE) @068a8b40
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: init_data_bss/0 (read)init_data_bss/0 (addr)
Availability: not_available
Varpool flags:
init_data_bss/0 (init_data_bss) @068a92a0
Type: function definition analyzed
Visibility: externally_visible public
References: __INIT_TABLE/1 (read)__INIT_TABLE/1 (addr)__ZERO_TABLE/2 (read)__ZERO_TABLE/2 (addr)
Referring:
Availability: available
Function flags: count:14598062 (estimated locally) body optimize_size
Called by:
Calls:
;; Function init_data_bss (init_data_bss, funcdef_no=0, decl_uid=4058, cgraph_uid=1, symbol_order=0)
Modification phase of node init_data_bss/0
init_data_bss ()
{
uint32 j;
uint32 i;
uint32 size;
uint32 len;
uint8 * ram;
const uint8 * rom;
long unsigned int _1;
const struct Sys_CopyLayoutType * _2;
uint8 * _3;
long unsigned int _4;
long unsigned int _5;
const uint8 * _6;
uint8 * _7;
unsigned char _8;
long unsigned int _9;
const struct Sys_ZeroLayoutType * _10;
uint8 * _11;
long unsigned int _12;
long unsigned int _13;
uint8 * _14;
<bb 2> [local count: 14598062]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG len => 0
# DEBUG BEGIN_STMT
# DEBUG size => 0
# DEBUG BEGIN_STMT
# DEBUG i => 0
# DEBUG BEGIN_STMT
# DEBUG j => 0
# DEBUG BEGIN_STMT
# DEBUG initTable => &__INIT_TABLE
# DEBUG BEGIN_STMT
# DEBUG zeroTable => &__ZERO_TABLE
# DEBUG BEGIN_STMT
len_24 = MEM[(const uint32 *)&__INIT_TABLE];
# DEBUG len => len_24
# DEBUG BEGIN_STMT
# DEBUG copy_layout => &MEM[(void *)&__INIT_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 7>; [100.00%]
<bb 3> [local count: 118111595]:
# DEBUG BEGIN_STMT
_1 = i_15 * 12;
_2 = &MEM[(void *)&__INIT_TABLE + 4B] + _1;
rom_31 = _2->rom_start;
# DEBUG rom => rom_31
# DEBUG BEGIN_STMT
ram_32 = _2->ram_start;
# DEBUG ram => ram_32
# DEBUG BEGIN_STMT
_3 = _2->rom_end;
_4 = (long unsigned int) _3;
_5 = (long unsigned int) rom_31;
size_33 = _4 - _5;
# DEBUG size => size_33
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 5>; [100.00%]
<bb 4> [local count: 955630185]:
# DEBUG BEGIN_STMT
_6 = rom_31 + j_17;
_7 = ram_32 + j_17;
_8 = *_6;
*_7 = _8;
# DEBUG BEGIN_STMT
j_36 = j_17 + 1;
# DEBUG j => j_36
<bb 5> [local count: 1073741782]:
# j_17 = PHI <0(3), j_36(4)>
# DEBUG j => j_17
# DEBUG BEGIN_STMT
if (j_17 < size_33)
goto <bb 4>; [89.00%]
else
goto <bb 6>; [11.00%]
<bb 6> [local count: 118111596]:
# DEBUG BEGIN_STMT
i_34 = i_15 + 1;
# DEBUG i => i_34
<bb 7> [local count: 132709658]:
# i_15 = PHI <0(2), i_34(6)>
# DEBUG i => i_15
# DEBUG BEGIN_STMT
if (i_15 < len_24)
goto <bb 3>; [89.00%]
else
goto <bb 8>; [11.00%]
<bb 8> [local count: 14598062]:
# DEBUG BEGIN_STMT
len_25 = MEM[(const uint32 *)&__ZERO_TABLE];
# DEBUG len => len_25
# DEBUG BEGIN_STMT
# DEBUG zero_layout => &MEM[(void *)&__ZERO_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 13>; [100.00%]
<bb 9> [local count: 118111600]:
# DEBUG BEGIN_STMT
_9 = i_16 * 8;
_10 = &MEM[(void *)&__ZERO_TABLE + 4B] + _9;
ram_26 = _10->ram_start;
# DEBUG ram => ram_26
# DEBUG BEGIN_STMT
_11 = _10->ram_end;
_12 = (long unsigned int) _11;
_13 = (long unsigned int) ram_26;
size_27 = _12 - _13;
# DEBUG size => size_27
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 11>; [100.00%]
<bb 10> [local count: 955630224]:
# DEBUG BEGIN_STMT
_14 = ram_26 + j_18;
*_14 = 0;
# DEBUG BEGIN_STMT
j_30 = j_18 + 1;
# DEBUG j => j_30
<bb 11> [local count: 1073741824]:
# j_18 = PHI <0(9), j_30(10)>
# DEBUG j => j_18
# DEBUG BEGIN_STMT
if (j_18 < size_27)
goto <bb 10>; [89.00%]
else
goto <bb 12>; [11.00%]
<bb 12> [local count: 118111601]:
# DEBUG BEGIN_STMT
i_28 = i_16 + 1;
# DEBUG i => i_28
<bb 13> [local count: 132709663]:
# i_16 = PHI <0(8), i_28(12)>
# DEBUG i => i_16
# DEBUG BEGIN_STMT
if (i_16 < len_25)
goto <bb 9>; [89.00%]
else
goto <bb 14>; [11.00%]
<bb 14> [local count: 14598063]:
return;
}

View File

@ -0,0 +1,246 @@
Analyzing function: init_data_bss/0
;; 5 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
;;
;; Loop 2
;; header 13, latch 12
;; depth 1, outer 0
;; nodes: 13 12 11 9 10
;;
;; Loop 3
;; header 11, latch 10
;; depth 2, outer 2
;; nodes: 11 10
;;
;; Loop 1
;; header 7, latch 6
;; depth 1, outer 0
;; nodes: 7 6 5 3 4
;;
;; Loop 4
;; header 5, latch 4
;; depth 2, outer 1
;; nodes: 5 4
;; 2 succs { 7 }
;; 3 succs { 5 }
;; 4 succs { 5 }
;; 5 succs { 4 6 }
;; 6 succs { 7 }
;; 7 succs { 3 8 }
;; 8 succs { 13 }
;; 9 succs { 11 }
;; 10 succs { 11 }
;; 11 succs { 10 12 }
;; 12 succs { 13 }
;; 13 succs { 9 14 }
;; 14 succs { 1 }
Analyzing function body size: init_data_bss
IPA function summary for init_data_bss/0 inlinable
global time: 963.462853
self size: 34
global size: 0
min size: 0
self stack: 0
global stack: 0
size:31.000000, time:961.462853
size:3.000000, time:2.000000, executed if:(not inlined)
calls:
Symbol table:
__ZERO_TABLE/2 (__ZERO_TABLE) @068a8b88
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: init_data_bss/0 (read)init_data_bss/0 (addr)
Availability: not_available
Varpool flags:
__INIT_TABLE/1 (__INIT_TABLE) @068a8b40
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: init_data_bss/0 (read)init_data_bss/0 (addr)
Availability: not_available
Varpool flags:
init_data_bss/0 (init_data_bss) @068a92a0
Type: function definition analyzed
Visibility: externally_visible public
References: __INIT_TABLE/1 (read)__INIT_TABLE/1 (addr)__ZERO_TABLE/2 (read)__ZERO_TABLE/2 (addr)
Referring:
Availability: available
Function flags: count:14598062 (estimated locally) body optimize_size
Called by:
Calls:
init_data_bss ()
{
uint32 j;
uint32 i;
uint32 size;
uint32 len;
uint8 * ram;
const uint8 * rom;
long unsigned int _1;
const struct Sys_CopyLayoutType * _2;
uint8 * _3;
long unsigned int _4;
long unsigned int _5;
const uint8 * _6;
uint8 * _7;
unsigned char _8;
long unsigned int _9;
const struct Sys_ZeroLayoutType * _10;
uint8 * _11;
long unsigned int _12;
long unsigned int _13;
uint8 * _14;
<bb 2> [local count: 14598062]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG len => 0
# DEBUG BEGIN_STMT
# DEBUG size => 0
# DEBUG BEGIN_STMT
# DEBUG i => 0
# DEBUG BEGIN_STMT
# DEBUG j => 0
# DEBUG BEGIN_STMT
# DEBUG initTable => &__INIT_TABLE
# DEBUG BEGIN_STMT
# DEBUG zeroTable => &__ZERO_TABLE
# DEBUG BEGIN_STMT
len_24 = MEM[(const uint32 *)&__INIT_TABLE];
# DEBUG len => len_24
# DEBUG BEGIN_STMT
# DEBUG copy_layout => &MEM[(void *)&__INIT_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 7>; [100.00%]
<bb 3> [local count: 118111595]:
# DEBUG BEGIN_STMT
_1 = i_15 * 12;
_2 = &MEM[(void *)&__INIT_TABLE + 4B] + _1;
rom_31 = _2->rom_start;
# DEBUG rom => rom_31
# DEBUG BEGIN_STMT
ram_32 = _2->ram_start;
# DEBUG ram => ram_32
# DEBUG BEGIN_STMT
_3 = _2->rom_end;
_4 = (long unsigned int) _3;
_5 = (long unsigned int) rom_31;
size_33 = _4 - _5;
# DEBUG size => size_33
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 5>; [100.00%]
<bb 4> [local count: 955630185]:
# DEBUG BEGIN_STMT
_6 = rom_31 + j_17;
_7 = ram_32 + j_17;
_8 = *_6;
*_7 = _8;
# DEBUG BEGIN_STMT
j_36 = j_17 + 1;
# DEBUG j => j_36
<bb 5> [local count: 1073741782]:
# j_17 = PHI <0(3), j_36(4)>
# DEBUG j => j_17
# DEBUG BEGIN_STMT
if (j_17 < size_33)
goto <bb 4>; [89.00%]
else
goto <bb 6>; [11.00%]
<bb 6> [local count: 118111596]:
# DEBUG BEGIN_STMT
i_34 = i_15 + 1;
# DEBUG i => i_34
<bb 7> [local count: 132709658]:
# i_15 = PHI <0(2), i_34(6)>
# DEBUG i => i_15
# DEBUG BEGIN_STMT
if (i_15 < len_24)
goto <bb 3>; [89.00%]
else
goto <bb 8>; [11.00%]
<bb 8> [local count: 14598062]:
# DEBUG BEGIN_STMT
len_25 = MEM[(const uint32 *)&__ZERO_TABLE];
# DEBUG len => len_25
# DEBUG BEGIN_STMT
# DEBUG zero_layout => &MEM[(void *)&__ZERO_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 13>; [100.00%]
<bb 9> [local count: 118111600]:
# DEBUG BEGIN_STMT
_9 = i_16 * 8;
_10 = &MEM[(void *)&__ZERO_TABLE + 4B] + _9;
ram_26 = _10->ram_start;
# DEBUG ram => ram_26
# DEBUG BEGIN_STMT
_11 = _10->ram_end;
_12 = (long unsigned int) _11;
_13 = (long unsigned int) ram_26;
size_27 = _12 - _13;
# DEBUG size => size_27
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 11>; [100.00%]
<bb 10> [local count: 955630224]:
# DEBUG BEGIN_STMT
_14 = ram_26 + j_18;
*_14 = 0;
# DEBUG BEGIN_STMT
j_30 = j_18 + 1;
# DEBUG j => j_30
<bb 11> [local count: 1073741824]:
# j_18 = PHI <0(9), j_30(10)>
# DEBUG j => j_18
# DEBUG BEGIN_STMT
if (j_18 < size_27)
goto <bb 10>; [89.00%]
else
goto <bb 12>; [11.00%]
<bb 12> [local count: 118111601]:
# DEBUG BEGIN_STMT
i_28 = i_16 + 1;
# DEBUG i => i_28
<bb 13> [local count: 132709663]:
# i_16 = PHI <0(8), i_28(12)>
# DEBUG i => i_16
# DEBUG BEGIN_STMT
if (i_16 < len_25)
goto <bb 9>; [89.00%]
else
goto <bb 14>; [11.00%]
<bb 14> [local count: 14598063]:
return;
}

View File

@ -0,0 +1,231 @@
IPA function summary for init_data_bss/0 inlinable
global time: 963.462853
self size: 34
global size: 34
min size: 0
self stack: 0
global stack: 0
size:31.000000, time:961.462853
size:3.000000, time:2.000000, executed if:(not inlined)
calls:
Flattening functions:
Overall time estimate: 963.462853 weighted by profile: 0.000000
Deciding on inlining of small functions. Starting with size 0.
Enqueueing calls in init_data_bss/0.
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Deciding on functions to be inlined into all callers and removing useless speculations:
Overall time estimate: 963.462853 weighted by profile: 0.000000
Why inlining failed?
IPA function summary for init_data_bss/0 inlinable
global time: 963.462853
self size: 34
global size: 34
min size: 0
self stack: 0
global stack: 0
size:31.000000, time:961.462853
size:3.000000, time:2.000000, executed if:(not inlined)
calls:
Symbol table:
__ZERO_TABLE/2 (__ZERO_TABLE) @068a8b88
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: init_data_bss/0 (read)init_data_bss/0 (addr)
Availability: not_available
Varpool flags:
__INIT_TABLE/1 (__INIT_TABLE) @068a8b40
Type: variable
Body removed by symtab_remove_unreachable_nodes
Visibility: external public
References:
Referring: init_data_bss/0 (read)init_data_bss/0 (addr)
Availability: not_available
Varpool flags:
init_data_bss/0 (init_data_bss) @068a92a0
Type: function definition analyzed
Visibility: externally_visible public
References: __INIT_TABLE/1 (read)__INIT_TABLE/1 (addr)__ZERO_TABLE/2 (read)__ZERO_TABLE/2 (addr)
Referring:
Availability: available
Function flags: count:14598062 (estimated locally) body optimize_size
Called by:
Calls:
;; Function init_data_bss (init_data_bss, funcdef_no=0, decl_uid=4058, cgraph_uid=1, symbol_order=0)
init_data_bss ()
{
uint32 j;
uint32 i;
uint32 size;
uint32 len;
uint8 * ram;
const uint8 * rom;
long unsigned int _1;
const struct Sys_CopyLayoutType * _2;
uint8 * _3;
long unsigned int _4;
long unsigned int _5;
const uint8 * _6;
uint8 * _7;
unsigned char _8;
long unsigned int _9;
const struct Sys_ZeroLayoutType * _10;
uint8 * _11;
long unsigned int _12;
long unsigned int _13;
uint8 * _14;
<bb 2> [local count: 14598062]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG len => 0
# DEBUG BEGIN_STMT
# DEBUG size => 0
# DEBUG BEGIN_STMT
# DEBUG i => 0
# DEBUG BEGIN_STMT
# DEBUG j => 0
# DEBUG BEGIN_STMT
# DEBUG initTable => &__INIT_TABLE
# DEBUG BEGIN_STMT
# DEBUG zeroTable => &__ZERO_TABLE
# DEBUG BEGIN_STMT
len_24 = MEM[(const uint32 *)&__INIT_TABLE];
# DEBUG len => len_24
# DEBUG BEGIN_STMT
# DEBUG copy_layout => &MEM[(void *)&__INIT_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 7>; [100.00%]
<bb 3> [local count: 118111595]:
# DEBUG BEGIN_STMT
_1 = i_15 * 12;
_2 = &MEM[(void *)&__INIT_TABLE + 4B] + _1;
rom_31 = _2->rom_start;
# DEBUG rom => rom_31
# DEBUG BEGIN_STMT
ram_32 = _2->ram_start;
# DEBUG ram => ram_32
# DEBUG BEGIN_STMT
_3 = _2->rom_end;
_4 = (long unsigned int) _3;
_5 = (long unsigned int) rom_31;
size_33 = _4 - _5;
# DEBUG size => size_33
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 5>; [100.00%]
<bb 4> [local count: 955630185]:
# DEBUG BEGIN_STMT
_6 = rom_31 + j_17;
_7 = ram_32 + j_17;
_8 = *_6;
*_7 = _8;
# DEBUG BEGIN_STMT
j_36 = j_17 + 1;
# DEBUG j => j_36
<bb 5> [local count: 1073741782]:
# j_17 = PHI <0(3), j_36(4)>
# DEBUG j => j_17
# DEBUG BEGIN_STMT
if (j_17 < size_33)
goto <bb 4>; [89.00%]
else
goto <bb 6>; [11.00%]
<bb 6> [local count: 118111596]:
# DEBUG BEGIN_STMT
i_34 = i_15 + 1;
# DEBUG i => i_34
<bb 7> [local count: 132709658]:
# i_15 = PHI <0(2), i_34(6)>
# DEBUG i => i_15
# DEBUG BEGIN_STMT
if (i_15 < len_24)
goto <bb 3>; [89.00%]
else
goto <bb 8>; [11.00%]
<bb 8> [local count: 14598062]:
# DEBUG BEGIN_STMT
len_25 = MEM[(const uint32 *)&__ZERO_TABLE];
# DEBUG len => len_25
# DEBUG BEGIN_STMT
# DEBUG zero_layout => &MEM[(void *)&__ZERO_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 13>; [100.00%]
<bb 9> [local count: 118111600]:
# DEBUG BEGIN_STMT
_9 = i_16 * 8;
_10 = &MEM[(void *)&__ZERO_TABLE + 4B] + _9;
ram_26 = _10->ram_start;
# DEBUG ram => ram_26
# DEBUG BEGIN_STMT
_11 = _10->ram_end;
_12 = (long unsigned int) _11;
_13 = (long unsigned int) ram_26;
size_27 = _12 - _13;
# DEBUG size => size_27
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 11>; [100.00%]
<bb 10> [local count: 955630224]:
# DEBUG BEGIN_STMT
_14 = ram_26 + j_18;
*_14 = 0;
# DEBUG BEGIN_STMT
j_30 = j_18 + 1;
# DEBUG j => j_30
<bb 11> [local count: 1073741824]:
# j_18 = PHI <0(9), j_30(10)>
# DEBUG j => j_18
# DEBUG BEGIN_STMT
if (j_18 < size_27)
goto <bb 10>; [89.00%]
else
goto <bb 12>; [11.00%]
<bb 12> [local count: 118111601]:
# DEBUG BEGIN_STMT
i_28 = i_16 + 1;
# DEBUG i => i_28
<bb 13> [local count: 132709663]:
# i_16 = PHI <0(8), i_28(12)>
# DEBUG i => i_16
# DEBUG BEGIN_STMT
if (i_16 < len_25)
goto <bb 9>; [89.00%]
else
goto <bb 14>; [11.00%]
<bb 14> [local count: 14598063]:
return;
}

View File

@ -0,0 +1,270 @@
local analysis of init_data_bss
scanning: len_24 = MEM[(const uint32 *)&__INIT_TABLE];
Indirect ref read is not const
scanning: _1 = i_15 * 12;
scanning: _2 = &MEM[(void *)&__INIT_TABLE + 4B] + _1;
scanning: rom_31 = _2->rom_start;
Indirect ref read is not const
scanning: ram_32 = _2->ram_start;
Indirect ref read is not const
scanning: _3 = _2->rom_end;
Indirect ref read is not const
scanning: _4 = (long unsigned int) _3;
scanning: _5 = (long unsigned int) rom_31;
scanning: size_33 = _4 - _5;
scanning: _6 = rom_31 + j_17;
scanning: _7 = ram_32 + j_17;
scanning: _8 = *_6;
Indirect ref read is not const
scanning: *_7 = _8;
Indirect ref write is not const/pure
scanning: j_36 = j_17 + 1;
scanning: if (j_17 < size_33)
scanning: i_34 = i_15 + 1;
scanning: if (i_15 < len_24)
scanning: len_25 = MEM[(const uint32 *)&__ZERO_TABLE];
Indirect ref read is not const
scanning: _9 = i_16 * 8;
scanning: _10 = &MEM[(void *)&__ZERO_TABLE + 4B] + _9;
scanning: ram_26 = _10->ram_start;
Indirect ref read is not const
scanning: _11 = _10->ram_end;
Indirect ref read is not const
scanning: _12 = (long unsigned int) _11;
scanning: _13 = (long unsigned int) ram_26;
scanning: size_27 = _12 - _13;
scanning: _14 = ram_26 + j_18;
scanning: *_14 = 0;
Indirect ref write is not const/pure
scanning: j_30 = j_18 + 1;
scanning: if (j_18 < size_27)
scanning: i_28 = i_16 + 1;
scanning: if (i_16 < len_25)
scanning: return;
callgraph:
init_data_bss/0 (init_data_bss) @068a92a0
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065d5180
References: __INIT_TABLE/1 (read)__INIT_TABLE/1 (addr)__ZERO_TABLE/2 (read)__ZERO_TABLE/2 (addr)
Referring:
Availability: available
Function flags: count:14598062 (estimated locally) body optimize_size
Called by:
Calls:
ordered call graph: reduced for nothrow
init_data_bss/0 (init_data_bss) @068a92a0
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065d5180
References: __INIT_TABLE/1 (read)__INIT_TABLE/1 (addr)__ZERO_TABLE/2 (read)__ZERO_TABLE/2 (addr)
Referring:
Availability: available
Function flags: count:14598062 (estimated locally) body optimize_size
Called by:
Calls:
MALLOC LATTICE Initial:
init_data_bss: malloc_bottom
MALLOC LATTICE after propagation:
init_data_bss: malloc_bottom
callgraph:
init_data_bss/0 (init_data_bss) @068a92a0
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065d5300
References: __INIT_TABLE/1 (read)__INIT_TABLE/1 (addr)__ZERO_TABLE/2 (read)__ZERO_TABLE/2 (addr)
Referring:
Availability: available
Function flags: count:14598062 (estimated locally) body optimize_size
Called by:
Calls:
ordered call graph: reduced
init_data_bss/0 (init_data_bss) @068a92a0
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065d5300
References: __INIT_TABLE/1 (read)__INIT_TABLE/1 (addr)__ZERO_TABLE/2 (read)__ZERO_TABLE/2 (addr)
Referring:
Availability: available
Function flags: count:14598062 (estimated locally) body optimize_size
Called by:
Calls:
Function found not to call free: init_data_bss
init_data_bss ()
{
uint32 j;
uint32 i;
uint32 size;
uint32 len;
uint8 * ram;
const uint8 * rom;
long unsigned int _1;
const struct Sys_CopyLayoutType * _2;
uint8 * _3;
long unsigned int _4;
long unsigned int _5;
const uint8 * _6;
uint8 * _7;
unsigned char _8;
long unsigned int _9;
const struct Sys_ZeroLayoutType * _10;
uint8 * _11;
long unsigned int _12;
long unsigned int _13;
uint8 * _14;
<bb 2> [local count: 14598062]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG len => 0
# DEBUG BEGIN_STMT
# DEBUG size => 0
# DEBUG BEGIN_STMT
# DEBUG i => 0
# DEBUG BEGIN_STMT
# DEBUG j => 0
# DEBUG BEGIN_STMT
# DEBUG initTable => &__INIT_TABLE
# DEBUG BEGIN_STMT
# DEBUG zeroTable => &__ZERO_TABLE
# DEBUG BEGIN_STMT
len_24 = MEM[(const uint32 *)&__INIT_TABLE];
# DEBUG len => len_24
# DEBUG BEGIN_STMT
# DEBUG copy_layout => &MEM[(void *)&__INIT_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 7>; [100.00%]
<bb 3> [local count: 118111595]:
# DEBUG BEGIN_STMT
_1 = i_15 * 12;
_2 = &MEM[(void *)&__INIT_TABLE + 4B] + _1;
rom_31 = _2->rom_start;
# DEBUG rom => rom_31
# DEBUG BEGIN_STMT
ram_32 = _2->ram_start;
# DEBUG ram => ram_32
# DEBUG BEGIN_STMT
_3 = _2->rom_end;
_4 = (long unsigned int) _3;
_5 = (long unsigned int) rom_31;
size_33 = _4 - _5;
# DEBUG size => size_33
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 5>; [100.00%]
<bb 4> [local count: 955630185]:
# DEBUG BEGIN_STMT
_6 = rom_31 + j_17;
_7 = ram_32 + j_17;
_8 = *_6;
*_7 = _8;
# DEBUG BEGIN_STMT
j_36 = j_17 + 1;
# DEBUG j => j_36
<bb 5> [local count: 1073741782]:
# j_17 = PHI <0(3), j_36(4)>
# DEBUG j => j_17
# DEBUG BEGIN_STMT
if (j_17 < size_33)
goto <bb 4>; [89.00%]
else
goto <bb 6>; [11.00%]
<bb 6> [local count: 118111596]:
# DEBUG BEGIN_STMT
i_34 = i_15 + 1;
# DEBUG i => i_34
<bb 7> [local count: 132709658]:
# i_15 = PHI <0(2), i_34(6)>
# DEBUG i => i_15
# DEBUG BEGIN_STMT
if (i_15 < len_24)
goto <bb 3>; [89.00%]
else
goto <bb 8>; [11.00%]
<bb 8> [local count: 14598062]:
# DEBUG BEGIN_STMT
len_25 = MEM[(const uint32 *)&__ZERO_TABLE];
# DEBUG len => len_25
# DEBUG BEGIN_STMT
# DEBUG zero_layout => &MEM[(void *)&__ZERO_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 13>; [100.00%]
<bb 9> [local count: 118111600]:
# DEBUG BEGIN_STMT
_9 = i_16 * 8;
_10 = &MEM[(void *)&__ZERO_TABLE + 4B] + _9;
ram_26 = _10->ram_start;
# DEBUG ram => ram_26
# DEBUG BEGIN_STMT
_11 = _10->ram_end;
_12 = (long unsigned int) _11;
_13 = (long unsigned int) ram_26;
size_27 = _12 - _13;
# DEBUG size => size_27
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 11>; [100.00%]
<bb 10> [local count: 955630224]:
# DEBUG BEGIN_STMT
_14 = ram_26 + j_18;
*_14 = 0;
# DEBUG BEGIN_STMT
j_30 = j_18 + 1;
# DEBUG j => j_30
<bb 11> [local count: 1073741824]:
# j_18 = PHI <0(9), j_30(10)>
# DEBUG j => j_18
# DEBUG BEGIN_STMT
if (j_18 < size_27)
goto <bb 10>; [89.00%]
else
goto <bb 12>; [11.00%]
<bb 12> [local count: 118111601]:
# DEBUG BEGIN_STMT
i_28 = i_16 + 1;
# DEBUG i => i_28
<bb 13> [local count: 132709663]:
# i_16 = PHI <0(8), i_28(12)>
# DEBUG i => i_16
# DEBUG BEGIN_STMT
if (i_16 < len_25)
goto <bb 9>; [89.00%]
else
goto <bb 14>; [11.00%]
<bb 14> [local count: 14598063]:
return;
}

View File

@ -0,0 +1,164 @@
init_data_bss ()
{
uint32 j;
uint32 i;
uint32 size;
uint32 len;
uint8 * ram;
const uint8 * rom;
long unsigned int _1;
const struct Sys_CopyLayoutType * _2;
uint8 * _3;
long unsigned int _4;
long unsigned int _5;
const uint8 * _6;
uint8 * _7;
unsigned char _8;
long unsigned int _9;
const struct Sys_ZeroLayoutType * _10;
uint8 * _11;
long unsigned int _12;
long unsigned int _13;
uint8 * _14;
<bb 2> [local count: 14598062]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG len => 0
# DEBUG BEGIN_STMT
# DEBUG size => 0
# DEBUG BEGIN_STMT
# DEBUG i => 0
# DEBUG BEGIN_STMT
# DEBUG j => 0
# DEBUG BEGIN_STMT
# DEBUG initTable => &__INIT_TABLE
# DEBUG BEGIN_STMT
# DEBUG zeroTable => &__ZERO_TABLE
# DEBUG BEGIN_STMT
len_24 = MEM[(const uint32 *)&__INIT_TABLE];
# DEBUG len => len_24
# DEBUG BEGIN_STMT
# DEBUG copy_layout => &MEM[(void *)&__INIT_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 7>; [100.00%]
<bb 3> [local count: 118111595]:
# DEBUG BEGIN_STMT
_1 = i_15 * 12;
_2 = &MEM[(void *)&__INIT_TABLE + 4B] + _1;
rom_31 = _2->rom_start;
# DEBUG rom => rom_31
# DEBUG BEGIN_STMT
ram_32 = _2->ram_start;
# DEBUG ram => ram_32
# DEBUG BEGIN_STMT
_3 = _2->rom_end;
_4 = (long unsigned int) _3;
_5 = (long unsigned int) rom_31;
size_33 = _4 - _5;
# DEBUG size => size_33
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 5>; [100.00%]
<bb 4> [local count: 955630185]:
# DEBUG BEGIN_STMT
_6 = rom_31 + j_17;
_7 = ram_32 + j_17;
_8 = *_6;
*_7 = _8;
# DEBUG BEGIN_STMT
j_36 = j_17 + 1;
# DEBUG j => j_36
<bb 5> [local count: 1073741782]:
# j_17 = PHI <0(3), j_36(4)>
# DEBUG j => j_17
# DEBUG BEGIN_STMT
if (j_17 < size_33)
goto <bb 4>; [89.00%]
else
goto <bb 6>; [11.00%]
<bb 6> [local count: 118111596]:
# DEBUG BEGIN_STMT
i_34 = i_15 + 1;
# DEBUG i => i_34
<bb 7> [local count: 132709658]:
# i_15 = PHI <0(2), i_34(6)>
# DEBUG i => i_15
# DEBUG BEGIN_STMT
if (i_15 < len_24)
goto <bb 3>; [89.00%]
else
goto <bb 8>; [11.00%]
<bb 8> [local count: 14598062]:
# DEBUG BEGIN_STMT
len_25 = MEM[(const uint32 *)&__ZERO_TABLE];
# DEBUG len => len_25
# DEBUG BEGIN_STMT
# DEBUG zero_layout => &MEM[(void *)&__ZERO_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 13>; [100.00%]
<bb 9> [local count: 118111600]:
# DEBUG BEGIN_STMT
_9 = i_16 * 8;
_10 = &MEM[(void *)&__ZERO_TABLE + 4B] + _9;
ram_26 = _10->ram_start;
# DEBUG ram => ram_26
# DEBUG BEGIN_STMT
_11 = _10->ram_end;
_12 = (long unsigned int) _11;
_13 = (long unsigned int) ram_26;
size_27 = _12 - _13;
# DEBUG size => size_27
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 11>; [100.00%]
<bb 10> [local count: 955630224]:
# DEBUG BEGIN_STMT
_14 = ram_26 + j_18;
*_14 = 0;
# DEBUG BEGIN_STMT
j_30 = j_18 + 1;
# DEBUG j => j_30
<bb 11> [local count: 1073741824]:
# j_18 = PHI <0(9), j_30(10)>
# DEBUG j => j_18
# DEBUG BEGIN_STMT
if (j_18 < size_27)
goto <bb 10>; [89.00%]
else
goto <bb 12>; [11.00%]
<bb 12> [local count: 118111601]:
# DEBUG BEGIN_STMT
i_28 = i_16 + 1;
# DEBUG i => i_28
<bb 13> [local count: 132709663]:
# i_16 = PHI <0(8), i_28(12)>
# DEBUG i => i_16
# DEBUG BEGIN_STMT
if (i_16 < len_25)
goto <bb 9>; [89.00%]
else
goto <bb 14>; [11.00%]
<bb 14> [local count: 14598063]:
return;
}

View File

@ -0,0 +1,199 @@
callgraph:
init_data_bss/0 (init_data_bss) @068a92a0
Type: function definition analyzed
Visibility: externally_visible public
References: __INIT_TABLE/1 (read)__INIT_TABLE/1 (addr)__ZERO_TABLE/2 (read)__ZERO_TABLE/2 (addr)
Referring:
Availability: available
Function flags: count:14598062 (estimated locally) body nonfreeing_fn optimize_size
Called by:
Calls:
Clearing variable flags:
Function name:init_data_bss/0:
locals read:
locals written:
ordered call graph: reduced
init_data_bss/0 (init_data_bss) @068a92a0
Type: function definition analyzed
Visibility: externally_visible public
Aux: @065d50c0
References: __INIT_TABLE/1 (read)__INIT_TABLE/1 (addr)__ZERO_TABLE/2 (read)__ZERO_TABLE/2 (addr)
Referring:
Availability: available
Function flags: count:14598062 (estimated locally) body nonfreeing_fn optimize_size
Called by:
Calls:
Function name:init_data_bss/0:
locals read:
locals written:
globals read:
globals written:
init_data_bss ()
{
uint32 j;
uint32 i;
uint32 size;
uint32 len;
uint8 * ram;
const uint8 * rom;
long unsigned int _1;
const struct Sys_CopyLayoutType * _2;
uint8 * _3;
long unsigned int _4;
long unsigned int _5;
const uint8 * _6;
uint8 * _7;
unsigned char _8;
long unsigned int _9;
const struct Sys_ZeroLayoutType * _10;
uint8 * _11;
long unsigned int _12;
long unsigned int _13;
uint8 * _14;
<bb 2> [local count: 14598062]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG len => 0
# DEBUG BEGIN_STMT
# DEBUG size => 0
# DEBUG BEGIN_STMT
# DEBUG i => 0
# DEBUG BEGIN_STMT
# DEBUG j => 0
# DEBUG BEGIN_STMT
# DEBUG initTable => &__INIT_TABLE
# DEBUG BEGIN_STMT
# DEBUG zeroTable => &__ZERO_TABLE
# DEBUG BEGIN_STMT
len_24 = MEM[(const uint32 *)&__INIT_TABLE];
# DEBUG len => len_24
# DEBUG BEGIN_STMT
# DEBUG copy_layout => &MEM[(void *)&__INIT_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 7>; [100.00%]
<bb 3> [local count: 118111595]:
# DEBUG BEGIN_STMT
_1 = i_15 * 12;
_2 = &MEM[(void *)&__INIT_TABLE + 4B] + _1;
rom_31 = _2->rom_start;
# DEBUG rom => rom_31
# DEBUG BEGIN_STMT
ram_32 = _2->ram_start;
# DEBUG ram => ram_32
# DEBUG BEGIN_STMT
_3 = _2->rom_end;
_4 = (long unsigned int) _3;
_5 = (long unsigned int) rom_31;
size_33 = _4 - _5;
# DEBUG size => size_33
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 5>; [100.00%]
<bb 4> [local count: 955630185]:
# DEBUG BEGIN_STMT
_6 = rom_31 + j_17;
_7 = ram_32 + j_17;
_8 = *_6;
*_7 = _8;
# DEBUG BEGIN_STMT
j_36 = j_17 + 1;
# DEBUG j => j_36
<bb 5> [local count: 1073741782]:
# j_17 = PHI <0(3), j_36(4)>
# DEBUG j => j_17
# DEBUG BEGIN_STMT
if (j_17 < size_33)
goto <bb 4>; [89.00%]
else
goto <bb 6>; [11.00%]
<bb 6> [local count: 118111596]:
# DEBUG BEGIN_STMT
i_34 = i_15 + 1;
# DEBUG i => i_34
<bb 7> [local count: 132709658]:
# i_15 = PHI <0(2), i_34(6)>
# DEBUG i => i_15
# DEBUG BEGIN_STMT
if (i_15 < len_24)
goto <bb 3>; [89.00%]
else
goto <bb 8>; [11.00%]
<bb 8> [local count: 14598062]:
# DEBUG BEGIN_STMT
len_25 = MEM[(const uint32 *)&__ZERO_TABLE];
# DEBUG len => len_25
# DEBUG BEGIN_STMT
# DEBUG zero_layout => &MEM[(void *)&__ZERO_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 13>; [100.00%]
<bb 9> [local count: 118111600]:
# DEBUG BEGIN_STMT
_9 = i_16 * 8;
_10 = &MEM[(void *)&__ZERO_TABLE + 4B] + _9;
ram_26 = _10->ram_start;
# DEBUG ram => ram_26
# DEBUG BEGIN_STMT
_11 = _10->ram_end;
_12 = (long unsigned int) _11;
_13 = (long unsigned int) ram_26;
size_27 = _12 - _13;
# DEBUG size => size_27
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 11>; [100.00%]
<bb 10> [local count: 955630224]:
# DEBUG BEGIN_STMT
_14 = ram_26 + j_18;
*_14 = 0;
# DEBUG BEGIN_STMT
j_30 = j_18 + 1;
# DEBUG j => j_30
<bb 11> [local count: 1073741824]:
# j_18 = PHI <0(9), j_30(10)>
# DEBUG j => j_18
# DEBUG BEGIN_STMT
if (j_18 < size_27)
goto <bb 10>; [89.00%]
else
goto <bb 12>; [11.00%]
<bb 12> [local count: 118111601]:
# DEBUG BEGIN_STMT
i_28 = i_16 + 1;
# DEBUG i => i_28
<bb 13> [local count: 132709663]:
# i_16 = PHI <0(8), i_28(12)>
# DEBUG i => i_16
# DEBUG BEGIN_STMT
if (i_16 < len_25)
goto <bb 9>; [89.00%]
else
goto <bb 14>; [11.00%]
<bb 14> [local count: 14598063]:
return;
}

View File

@ -0,0 +1,164 @@
init_data_bss ()
{
uint32 j;
uint32 i;
uint32 size;
uint32 len;
uint8 * ram;
const uint8 * rom;
long unsigned int _1;
const struct Sys_CopyLayoutType * _2;
uint8 * _3;
long unsigned int _4;
long unsigned int _5;
const uint8 * _6;
uint8 * _7;
unsigned char _8;
long unsigned int _9;
const struct Sys_ZeroLayoutType * _10;
uint8 * _11;
long unsigned int _12;
long unsigned int _13;
uint8 * _14;
<bb 2> [local count: 14598062]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG len => 0
# DEBUG BEGIN_STMT
# DEBUG size => 0
# DEBUG BEGIN_STMT
# DEBUG i => 0
# DEBUG BEGIN_STMT
# DEBUG j => 0
# DEBUG BEGIN_STMT
# DEBUG initTable => &__INIT_TABLE
# DEBUG BEGIN_STMT
# DEBUG zeroTable => &__ZERO_TABLE
# DEBUG BEGIN_STMT
len_24 = MEM[(const uint32 *)&__INIT_TABLE];
# DEBUG len => len_24
# DEBUG BEGIN_STMT
# DEBUG copy_layout => &MEM[(void *)&__INIT_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 7>; [100.00%]
<bb 3> [local count: 118111595]:
# DEBUG BEGIN_STMT
_1 = i_15 * 12;
_2 = &MEM[(void *)&__INIT_TABLE + 4B] + _1;
rom_31 = _2->rom_start;
# DEBUG rom => rom_31
# DEBUG BEGIN_STMT
ram_32 = _2->ram_start;
# DEBUG ram => ram_32
# DEBUG BEGIN_STMT
_3 = _2->rom_end;
_4 = (long unsigned int) _3;
_5 = (long unsigned int) rom_31;
size_33 = _4 - _5;
# DEBUG size => size_33
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 5>; [100.00%]
<bb 4> [local count: 955630185]:
# DEBUG BEGIN_STMT
_6 = rom_31 + j_17;
_7 = ram_32 + j_17;
_8 = *_6;
*_7 = _8;
# DEBUG BEGIN_STMT
j_36 = j_17 + 1;
# DEBUG j => j_36
<bb 5> [local count: 1073741782]:
# j_17 = PHI <0(3), j_36(4)>
# DEBUG j => j_17
# DEBUG BEGIN_STMT
if (j_17 < size_33)
goto <bb 4>; [89.00%]
else
goto <bb 6>; [11.00%]
<bb 6> [local count: 118111596]:
# DEBUG BEGIN_STMT
i_34 = i_15 + 1;
# DEBUG i => i_34
<bb 7> [local count: 132709658]:
# i_15 = PHI <0(2), i_34(6)>
# DEBUG i => i_15
# DEBUG BEGIN_STMT
if (i_15 < len_24)
goto <bb 3>; [89.00%]
else
goto <bb 8>; [11.00%]
<bb 8> [local count: 14598062]:
# DEBUG BEGIN_STMT
len_25 = MEM[(const uint32 *)&__ZERO_TABLE];
# DEBUG len => len_25
# DEBUG BEGIN_STMT
# DEBUG zero_layout => &MEM[(void *)&__ZERO_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 13>; [100.00%]
<bb 9> [local count: 118111600]:
# DEBUG BEGIN_STMT
_9 = i_16 * 8;
_10 = &MEM[(void *)&__ZERO_TABLE + 4B] + _9;
ram_26 = _10->ram_start;
# DEBUG ram => ram_26
# DEBUG BEGIN_STMT
_11 = _10->ram_end;
_12 = (long unsigned int) _11;
_13 = (long unsigned int) ram_26;
size_27 = _12 - _13;
# DEBUG size => size_27
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 11>; [100.00%]
<bb 10> [local count: 955630224]:
# DEBUG BEGIN_STMT
_14 = ram_26 + j_18;
*_14 = 0;
# DEBUG BEGIN_STMT
j_30 = j_18 + 1;
# DEBUG j => j_30
<bb 11> [local count: 1073741824]:
# j_18 = PHI <0(9), j_30(10)>
# DEBUG j => j_18
# DEBUG BEGIN_STMT
if (j_18 < size_27)
goto <bb 10>; [89.00%]
else
goto <bb 12>; [11.00%]
<bb 12> [local count: 118111601]:
# DEBUG BEGIN_STMT
i_28 = i_16 + 1;
# DEBUG i => i_28
<bb 13> [local count: 132709663]:
# i_16 = PHI <0(8), i_28(12)>
# DEBUG i => i_16
# DEBUG BEGIN_STMT
if (i_16 < len_25)
goto <bb 9>; [89.00%]
else
goto <bb 14>; [11.00%]
<bb 14> [local count: 14598063]:
return;
}

View File

@ -0,0 +1,164 @@
init_data_bss ()
{
uint32 j;
uint32 i;
uint32 size;
uint32 len;
uint8 * ram;
const uint8 * rom;
long unsigned int _1;
const struct Sys_CopyLayoutType * _2;
uint8 * _3;
long unsigned int _4;
long unsigned int _5;
const uint8 * _6;
uint8 * _7;
unsigned char _8;
long unsigned int _9;
const struct Sys_ZeroLayoutType * _10;
uint8 * _11;
long unsigned int _12;
long unsigned int _13;
uint8 * _14;
<bb 2> [local count: 14598062]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG len => 0
# DEBUG BEGIN_STMT
# DEBUG size => 0
# DEBUG BEGIN_STMT
# DEBUG i => 0
# DEBUG BEGIN_STMT
# DEBUG j => 0
# DEBUG BEGIN_STMT
# DEBUG initTable => &__INIT_TABLE
# DEBUG BEGIN_STMT
# DEBUG zeroTable => &__ZERO_TABLE
# DEBUG BEGIN_STMT
len_24 = MEM[(const uint32 *)&__INIT_TABLE];
# DEBUG len => len_24
# DEBUG BEGIN_STMT
# DEBUG copy_layout => &MEM[(void *)&__INIT_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 7>; [100.00%]
<bb 3> [local count: 118111595]:
# DEBUG BEGIN_STMT
_1 = i_15 * 12;
_2 = &MEM[(void *)&__INIT_TABLE + 4B] + _1;
rom_31 = _2->rom_start;
# DEBUG rom => rom_31
# DEBUG BEGIN_STMT
ram_32 = _2->ram_start;
# DEBUG ram => ram_32
# DEBUG BEGIN_STMT
_3 = _2->rom_end;
_4 = (long unsigned int) _3;
_5 = (long unsigned int) rom_31;
size_33 = _4 - _5;
# DEBUG size => size_33
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 5>; [100.00%]
<bb 4> [local count: 955630185]:
# DEBUG BEGIN_STMT
_6 = rom_31 + j_17;
_7 = ram_32 + j_17;
_8 = *_6;
*_7 = _8;
# DEBUG BEGIN_STMT
j_36 = j_17 + 1;
# DEBUG j => j_36
<bb 5> [local count: 1073741782]:
# j_17 = PHI <0(3), j_36(4)>
# DEBUG j => j_17
# DEBUG BEGIN_STMT
if (j_17 < size_33)
goto <bb 4>; [89.00%]
else
goto <bb 6>; [11.00%]
<bb 6> [local count: 118111596]:
# DEBUG BEGIN_STMT
i_34 = i_15 + 1;
# DEBUG i => i_34
<bb 7> [local count: 132709658]:
# i_15 = PHI <0(2), i_34(6)>
# DEBUG i => i_15
# DEBUG BEGIN_STMT
if (i_15 < len_24)
goto <bb 3>; [89.00%]
else
goto <bb 8>; [11.00%]
<bb 8> [local count: 14598062]:
# DEBUG BEGIN_STMT
len_25 = MEM[(const uint32 *)&__ZERO_TABLE];
# DEBUG len => len_25
# DEBUG BEGIN_STMT
# DEBUG zero_layout => &MEM[(void *)&__ZERO_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 13>; [100.00%]
<bb 9> [local count: 118111600]:
# DEBUG BEGIN_STMT
_9 = i_16 * 8;
_10 = &MEM[(void *)&__ZERO_TABLE + 4B] + _9;
ram_26 = _10->ram_start;
# DEBUG ram => ram_26
# DEBUG BEGIN_STMT
_11 = _10->ram_end;
_12 = (long unsigned int) _11;
_13 = (long unsigned int) ram_26;
size_27 = _12 - _13;
# DEBUG size => size_27
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 11>; [100.00%]
<bb 10> [local count: 955630224]:
# DEBUG BEGIN_STMT
_14 = ram_26 + j_18;
*_14 = 0;
# DEBUG BEGIN_STMT
j_30 = j_18 + 1;
# DEBUG j => j_30
<bb 11> [local count: 1073741824]:
# j_18 = PHI <0(9), j_30(10)>
# DEBUG j => j_18
# DEBUG BEGIN_STMT
if (j_18 < size_27)
goto <bb 10>; [89.00%]
else
goto <bb 12>; [11.00%]
<bb 12> [local count: 118111601]:
# DEBUG BEGIN_STMT
i_28 = i_16 + 1;
# DEBUG i => i_28
<bb 13> [local count: 132709663]:
# i_16 = PHI <0(8), i_28(12)>
# DEBUG i => i_16
# DEBUG BEGIN_STMT
if (i_16 < len_25)
goto <bb 9>; [89.00%]
else
goto <bb 14>; [11.00%]
<bb 14> [local count: 14598063]:
return;
}

View File

@ -0,0 +1,164 @@
init_data_bss ()
{
uint32 j;
uint32 i;
uint32 size;
uint32 len;
uint8 * ram;
const uint8 * rom;
long unsigned int _1;
const struct Sys_CopyLayoutType * _2;
uint8 * _3;
long unsigned int _4;
long unsigned int _5;
const uint8 * _6;
uint8 * _7;
unsigned char _8;
long unsigned int _9;
const struct Sys_ZeroLayoutType * _10;
uint8 * _11;
long unsigned int _12;
long unsigned int _13;
uint8 * _14;
<bb 2> [local count: 14598062]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG len => 0
# DEBUG BEGIN_STMT
# DEBUG size => 0
# DEBUG BEGIN_STMT
# DEBUG i => 0
# DEBUG BEGIN_STMT
# DEBUG j => 0
# DEBUG BEGIN_STMT
# DEBUG initTable => &__INIT_TABLE
# DEBUG BEGIN_STMT
# DEBUG zeroTable => &__ZERO_TABLE
# DEBUG BEGIN_STMT
len_24 = MEM[(const uint32 *)&__INIT_TABLE];
# DEBUG len => len_24
# DEBUG BEGIN_STMT
# DEBUG copy_layout => &MEM[(void *)&__INIT_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 7>; [100.00%]
<bb 3> [local count: 118111595]:
# DEBUG BEGIN_STMT
_1 = i_15 * 12;
_2 = &MEM[(void *)&__INIT_TABLE + 4B] + _1;
rom_31 = _2->rom_start;
# DEBUG rom => rom_31
# DEBUG BEGIN_STMT
ram_32 = _2->ram_start;
# DEBUG ram => ram_32
# DEBUG BEGIN_STMT
_3 = _2->rom_end;
_4 = (long unsigned int) _3;
_5 = (long unsigned int) rom_31;
size_33 = _4 - _5;
# DEBUG size => size_33
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 5>; [100.00%]
<bb 4> [local count: 955630185]:
# DEBUG BEGIN_STMT
_6 = rom_31 + j_17;
_7 = ram_32 + j_17;
_8 = *_6;
*_7 = _8;
# DEBUG BEGIN_STMT
j_36 = j_17 + 1;
# DEBUG j => j_36
<bb 5> [local count: 1073741782]:
# j_17 = PHI <0(3), j_36(4)>
# DEBUG j => j_17
# DEBUG BEGIN_STMT
if (j_17 < size_33)
goto <bb 4>; [89.00%]
else
goto <bb 6>; [11.00%]
<bb 6> [local count: 118111596]:
# DEBUG BEGIN_STMT
i_34 = i_15 + 1;
# DEBUG i => i_34
<bb 7> [local count: 132709658]:
# i_15 = PHI <0(2), i_34(6)>
# DEBUG i => i_15
# DEBUG BEGIN_STMT
if (i_15 < len_24)
goto <bb 3>; [89.00%]
else
goto <bb 8>; [11.00%]
<bb 8> [local count: 14598062]:
# DEBUG BEGIN_STMT
len_25 = MEM[(const uint32 *)&__ZERO_TABLE];
# DEBUG len => len_25
# DEBUG BEGIN_STMT
# DEBUG zero_layout => &MEM[(void *)&__ZERO_TABLE + 4B]
# DEBUG BEGIN_STMT
# DEBUG i => 0
goto <bb 13>; [100.00%]
<bb 9> [local count: 118111600]:
# DEBUG BEGIN_STMT
_9 = i_16 * 8;
_10 = &MEM[(void *)&__ZERO_TABLE + 4B] + _9;
ram_26 = _10->ram_start;
# DEBUG ram => ram_26
# DEBUG BEGIN_STMT
_11 = _10->ram_end;
_12 = (long unsigned int) _11;
_13 = (long unsigned int) ram_26;
size_27 = _12 - _13;
# DEBUG size => size_27
# DEBUG BEGIN_STMT
# DEBUG j => 0
goto <bb 11>; [100.00%]
<bb 10> [local count: 955630224]:
# DEBUG BEGIN_STMT
_14 = ram_26 + j_18;
*_14 = 0;
# DEBUG BEGIN_STMT
j_30 = j_18 + 1;
# DEBUG j => j_30
<bb 11> [local count: 1073741824]:
# j_18 = PHI <0(9), j_30(10)>
# DEBUG j => j_18
# DEBUG BEGIN_STMT
if (j_18 < size_27)
goto <bb 10>; [89.00%]
else
goto <bb 12>; [11.00%]
<bb 12> [local count: 118111601]:
# DEBUG BEGIN_STMT
i_28 = i_16 + 1;
# DEBUG i => i_28
<bb 13> [local count: 132709663]:
# i_16 = PHI <0(8), i_28(12)>
# DEBUG i => i_16
# DEBUG BEGIN_STMT
if (i_16 < len_25)
goto <bb 9>; [89.00%]
else
goto <bb 14>; [11.00%]
<bb 14> [local count: 14598063]:
return;
}

View File

@ -0,0 +1,26 @@
Project_Settings/Startup_Code/startup.o: \
../Project_Settings/Startup_Code/startup.c \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Std_Types.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/StandardTypes.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Platform_Types.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/PlatformTypes.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Compiler.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Compiler_Cfg.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/CompilerDefinition.h \
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Platform_MemMap.h
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Std_Types.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/StandardTypes.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Platform_Types.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/PlatformTypes.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Compiler.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Compiler_Cfg.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/CompilerDefinition.h:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K3_2021_03/SW32K3_RTD_4_4_0_9_0_D2103/Base_TS_T40D34M9I0R0/include/Platform_MemMap.h:

Binary file not shown.

View File

@ -0,0 +1 @@
startup.c:140:6:init_data_bss 20 static

View File

@ -0,0 +1,46 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
S_SRCS += \
../Project_Settings/Startup_Code/Vector_Table.s \
../Project_Settings/Startup_Code/startup_cm7.s
C_SRCS += \
../Project_Settings/Startup_Code/exceptions.c \
../Project_Settings/Startup_Code/nvic.c \
../Project_Settings/Startup_Code/startup.c \
../Project_Settings/Startup_Code/system.c
OBJS += \
./Project_Settings/Startup_Code/Vector_Table.o \
./Project_Settings/Startup_Code/exceptions.o \
./Project_Settings/Startup_Code/nvic.o \
./Project_Settings/Startup_Code/startup.o \
./Project_Settings/Startup_Code/startup_cm7.o \
./Project_Settings/Startup_Code/system.o
C_DEPS += \
./Project_Settings/Startup_Code/exceptions.d \
./Project_Settings/Startup_Code/nvic.d \
./Project_Settings/Startup_Code/startup.d \
./Project_Settings/Startup_Code/system.d
# Each subdirectory must supply rules for building sources it contributes
Project_Settings/Startup_Code/%.o: ../Project_Settings/Startup_Code/%.s
@echo 'Building file: $<'
@echo 'Invoking: Standard S32DS Assembler'
arm-none-eabi-gcc "@Project_Settings/Startup_Code/Vector_Table.args" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
Project_Settings/Startup_Code/%.o: ../Project_Settings/Startup_Code/%.c
@echo 'Building file: $<'
@echo 'Invoking: Standard S32DS C Compiler'
arm-none-eabi-gcc "@Project_Settings/Startup_Code/exceptions.args" -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '

View File

@ -0,0 +1,419 @@
Trivially needed symbols: SystemInit Sys_GetCoreID default_interrupt_routine startup_go_to_user_mode RESET_CATCH_CORE
Initial Symbol table:
sys_m7_cache_init/7 (sys_m7_cache_init) @06ace700
Type: function definition analyzed
Visibility:
Aux: @01733ea0
References:
Referring:
Function flags: body optimize_size
Called by: SystemInit/6
Calls:
SystemInit/6 (SystemInit) @06acee00
Type: function definition analyzed
Visibility: public
Aux: @01733ea0
References: rbar/0 (read)rasr/1 (read)
Referring:
Function flags: body optimize_size
Called by:
Calls: sys_m7_cache_init/7 Sys_GetCoreID/5
Sys_GetCoreID/5 (Sys_GetCoreID) @06aceb60
Type: function definition analyzed
Visibility: public
Aux: @06acee00
References:
Referring:
Function flags: body optimize_size
Called by: SystemInit/6
Calls:
default_interrupt_routine/4 (default_interrupt_routine) @06ace8c0
Type: function definition analyzed
Visibility: public
Aux: @06aceb60
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
startup_go_to_user_mode/3 (startup_go_to_user_mode) @06ace620
Type: function definition analyzed
Visibility: public
Aux: @06ace8c0
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
RESET_CATCH_CORE/2 (RESET_CATCH_CORE) @06aca870
Type: variable definition analyzed
Visibility: public
Aux: @06ace620
References:
Referring:
Availability: not-ready
Varpool flags: initialized
rasr/1 (rasr) @06a4d318
Type: variable definition analyzed
Visibility:
Aux: @06a4d240
References:
Referring: SystemInit/6 (read)
Availability: not-ready
Varpool flags: initialized read-only const-value-known
rbar/0 (rbar) @06a4d240
Type: variable definition analyzed
Visibility:
Aux: @06ace700
References:
Referring: SystemInit/6 (read)
Availability: not-ready
Varpool flags: initialized read-only const-value-known
Removing unused symbols:
Reclaimed Symbol table:
sys_m7_cache_init/7 (sys_m7_cache_init) @06ace700
Type: function definition analyzed
Visibility:
References:
Referring:
Function flags: body optimize_size
Called by: SystemInit/6
Calls:
SystemInit/6 (SystemInit) @06acee00
Type: function definition analyzed
Visibility: public
References: rbar/0 (read)rasr/1 (read)
Referring:
Function flags: body optimize_size
Called by:
Calls: sys_m7_cache_init/7 Sys_GetCoreID/5
Sys_GetCoreID/5 (Sys_GetCoreID) @06aceb60
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by: SystemInit/6
Calls:
default_interrupt_routine/4 (default_interrupt_routine) @06ace8c0
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
startup_go_to_user_mode/3 (startup_go_to_user_mode) @06ace620
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
RESET_CATCH_CORE/2 (RESET_CATCH_CORE) @06aca870
Type: variable definition analyzed
Visibility: public
References:
Referring:
Availability: not-ready
Varpool flags: initialized
rasr/1 (rasr) @06a4d318
Type: variable definition analyzed
Visibility:
References:
Referring: SystemInit/6 (read)
Availability: not-ready
Varpool flags: initialized read-only const-value-known
rbar/0 (rbar) @06a4d240
Type: variable definition analyzed
Visibility:
References:
Referring: SystemInit/6 (read)
Availability: not-ready
Varpool flags: initialized read-only const-value-known
Initial Symbol table:
sys_m7_cache_init/7 (sys_m7_cache_init) @06ace700
Type: function definition analyzed
Visibility:
References:
Referring:
Function flags: body optimize_size
Called by: SystemInit/6
Calls:
SystemInit/6 (SystemInit) @06acee00
Type: function definition analyzed
Visibility: public
References: rbar/0 (read)rasr/1 (read)
Referring:
Function flags: body optimize_size
Called by:
Calls: sys_m7_cache_init/7 Sys_GetCoreID/5
Sys_GetCoreID/5 (Sys_GetCoreID) @06aceb60
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by: SystemInit/6
Calls:
default_interrupt_routine/4 (default_interrupt_routine) @06ace8c0
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
startup_go_to_user_mode/3 (startup_go_to_user_mode) @06ace620
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
RESET_CATCH_CORE/2 (RESET_CATCH_CORE) @06aca870
Type: variable definition analyzed
Visibility: public
References:
Referring:
Availability: not-ready
Varpool flags: initialized
rasr/1 (rasr) @06a4d318
Type: variable definition analyzed
Visibility:
References:
Referring: SystemInit/6 (read)
Availability: not-ready
Varpool flags: initialized read-only const-value-known
rbar/0 (rbar) @06a4d240
Type: variable definition analyzed
Visibility:
References:
Referring: SystemInit/6 (read)
Availability: not-ready
Varpool flags: initialized read-only const-value-known
Removing unused symbols:
Reclaimed Symbol table:
sys_m7_cache_init/7 (sys_m7_cache_init) @06ace700
Type: function definition analyzed
Visibility:
References:
Referring:
Function flags: body optimize_size
Called by: SystemInit/6
Calls:
SystemInit/6 (SystemInit) @06acee00
Type: function definition analyzed
Visibility: public
References: rbar/0 (read)rasr/1 (read)
Referring:
Function flags: body optimize_size
Called by:
Calls: sys_m7_cache_init/7 Sys_GetCoreID/5
Sys_GetCoreID/5 (Sys_GetCoreID) @06aceb60
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by: SystemInit/6
Calls:
default_interrupt_routine/4 (default_interrupt_routine) @06ace8c0
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
startup_go_to_user_mode/3 (startup_go_to_user_mode) @06ace620
Type: function definition analyzed
Visibility: public
References:
Referring:
Function flags: body optimize_size
Called by:
Calls:
RESET_CATCH_CORE/2 (RESET_CATCH_CORE) @06aca870
Type: variable definition analyzed
Visibility: public
References:
Referring:
Availability: not-ready
Varpool flags: initialized
rasr/1 (rasr) @06a4d318
Type: variable definition analyzed
Visibility:
References:
Referring: SystemInit/6 (read)
Availability: not-ready
Varpool flags: initialized read-only const-value-known
rbar/0 (rbar) @06a4d240
Type: variable definition analyzed
Visibility:
References:
Referring: SystemInit/6 (read)
Availability: not-ready
Varpool flags: initialized read-only const-value-known
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Optimized Symbol table:
sys_m7_cache_init/7 (sys_m7_cache_init) @06ace700
Type: function definition analyzed
Visibility: prevailing_def_ironly
References:
Referring:
Function sys_m7_cache_init/7 is inline copy in SystemInit/6
Availability: local
Function flags: count:10737418 (estimated locally) body local optimize_size
Called by: SystemInit/6 (inlined) (10737418 (estimated locally),1.00 per call)
Calls:
SystemInit/6 (SystemInit) @06acee00
Type: function definition analyzed
Visibility: externally_visible public
References: rbar/0 (read)rasr/1 (read)
Referring:
Availability: available
Function flags: count:10738492 (estimated locally) body optimize_size
Called by:
Calls: sys_m7_cache_init/7 (inlined) (10737418 (estimated locally),1.00 per call)
Sys_GetCoreID/5 (Sys_GetCoreID) @06aceb60
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
Called by:
Calls:
default_interrupt_routine/4 (default_interrupt_routine) @06ace8c0
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:107374 (estimated locally) body nonfreeing_fn executed_once optimize_size
Called by:
Calls:
startup_go_to_user_mode/3 (startup_go_to_user_mode) @06ace620
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body nonfreeing_fn optimize_size
Called by:
Calls:
RESET_CATCH_CORE/2 (RESET_CATCH_CORE) @06aca870
Type: variable definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Varpool flags: initialized
rasr/1 (rasr) @06a4d318
Type: variable definition analyzed
Visibility: prevailing_def_ironly
References:
Referring: SystemInit/6 (read)
Availability: available
Varpool flags: initialized used-by-single-function read-only const-value-known
rbar/0 (rbar) @06a4d240
Type: variable definition analyzed
Visibility: prevailing_def_ironly
References:
Referring: SystemInit/6 (read)
Availability: available
Varpool flags: initialized used-by-single-function read-only const-value-known
Materializing clones
Materialization Call site updates done.
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Time profile order in expand_all_functions:startup_go_to_user_mode:0
Time profile order in expand_all_functions:default_interrupt_routine:0
Time profile order in expand_all_functions:Sys_GetCoreID:0
Time profile order in expand_all_functions:SystemInit:0
Trivially needed variables: RESET_CATCH_CORE rasr rbar
Removing variables:
Final Symbol table:
SystemInit/6 (SystemInit) @06acee00
Type: function definition analyzed
Visibility: externally_visible asm_written public
References:
Referring:
Availability: available
Function flags: count:10738492 (estimated locally) optimize_size
Called by:
Calls:
Sys_GetCoreID/5 (Sys_GetCoreID) @06aceb60
Type: function definition analyzed
Visibility: externally_visible asm_written public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) nonfreeing_fn optimize_size
Called by:
Calls:
default_interrupt_routine/4 (default_interrupt_routine) @06ace8c0
Type: function definition analyzed
Visibility: externally_visible asm_written public
References:
Referring:
Availability: available
Function flags: count:107374 (estimated locally) nonfreeing_fn executed_once optimize_size
Called by:
Calls:
startup_go_to_user_mode/3 (startup_go_to_user_mode) @06ace620
Type: function definition analyzed
Visibility: externally_visible asm_written public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) nonfreeing_fn optimize_size
Called by:
Calls:
RESET_CATCH_CORE/2 (RESET_CATCH_CORE) @06aca870
Type: variable definition analyzed
Visibility: externally_visible asm_written public
Aux: @00000001
References:
Referring:
Availability: available
Varpool flags: initialized
rasr/1 (rasr) @06a4d318
Type: variable definition analyzed
Visibility: prevailing_def_ironly asm_written
Aux: @06aca870
References:
Referring:
Availability: available
Varpool flags: initialized used-by-single-function read-only const-value-known
rbar/0 (rbar) @06a4d240
Type: variable definition analyzed
Visibility: prevailing_def_ironly asm_written
Aux: @06a4d318
References:
Referring:
Availability: available
Varpool flags: initialized used-by-single-function read-only const-value-known

View File

@ -0,0 +1,3 @@
Callgraph clone;Sys_GetCoreID;5;../Project_Settings/Startup_Code/system.c;201;7;SystemInit;6;../Project_Settings/Startup_Code/system.c;213;6;inlining to
Callgraph clone;sys_m7_cache_init;7;../Project_Settings/Startup_Code/system.c;278;13;SystemInit;6;../Project_Settings/Startup_Code/system.c;213;6;inlining to
Callgraph removal;sys_m7_cache_init;7;../Project_Settings/Startup_Code/system.c;278;13

View File

@ -0,0 +1,328 @@
Marking local functions: sys_m7_cache_init
Marking externally visible functions: SystemInit Sys_GetCoreID default_interrupt_routine startup_go_to_user_mode
Marking externally visible variables: RESET_CATCH_CORE
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Symbol table:
sys_m7_cache_init/7 (sys_m7_cache_init) @06ace700
Type: function definition analyzed
Visibility: prevailing_def_ironly
References:
Referring:
Availability: local
Function flags: body local optimize_size
Called by: SystemInit/6
Calls:
SystemInit/6 (SystemInit) @06acee00
Type: function definition analyzed
Visibility: externally_visible public
References: rbar/0 (read)rasr/1 (read)
Referring:
Availability: available
Function flags: body optimize_size
Called by:
Calls: sys_m7_cache_init/7 Sys_GetCoreID/5
Sys_GetCoreID/5 (Sys_GetCoreID) @06aceb60
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: body optimize_size
Called by: SystemInit/6
Calls:
default_interrupt_routine/4 (default_interrupt_routine) @06ace8c0
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: body optimize_size
Called by:
Calls:
startup_go_to_user_mode/3 (startup_go_to_user_mode) @06ace620
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: body optimize_size
Called by:
Calls:
RESET_CATCH_CORE/2 (RESET_CATCH_CORE) @06aca870
Type: variable definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Varpool flags: initialized
rasr/1 (rasr) @06a4d318
Type: variable definition analyzed
Visibility: prevailing_def_ironly
References:
Referring: SystemInit/6 (read)
Availability: available
Varpool flags: initialized read-only const-value-known
rbar/0 (rbar) @06a4d240
Type: variable definition analyzed
Visibility: prevailing_def_ironly
References:
Referring: SystemInit/6 (read)
Availability: available
Varpool flags: initialized read-only const-value-known
sys_m7_cache_init ()
{
uint32 ways;
uint32 sets;
uint32 ccsidr;
<bb 2> :
# DEBUG BEGIN_STMT
ccsidr = 0;
# DEBUG BEGIN_STMT
sets = 0;
# DEBUG BEGIN_STMT
ways = 0;
# DEBUG BEGIN_STMT
_1 = 3758153728B;
_1->CSSELR = 0;
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
_2 = 3758153728B;
ccsidr = _2->CCSIDR;
# DEBUG BEGIN_STMT
_3 = ccsidr >> 13;
sets = _3 & 32767;
<bb 3> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_4 = ccsidr >> 3;
ways = _4 & 1023;
<bb 4> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_5 = sets << 5;
_6 = _5 & 16352;
_7 = ways << 30;
_8 = 3758153728B;
_9 = _6 | _7;
_8->DCISW = _9;
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
ways.1_10 = ways;
ways = ways.1_10 + 4294967295;
if (ways.1_10 != 0)
goto <bb 4>; [INV]
else
goto <bb 5>; [INV]
<bb 5> :
# DEBUG BEGIN_STMT
sets.2_11 = sets;
sets = sets.2_11 + 4294967295;
if (sets.2_11 != 0)
goto <bb 3>; [INV]
else
goto <bb 6>; [INV]
<bb 6> :
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
_12 = 3758153728B;
_13 = _12->CCR;
_14 = 3758153728B;
_15 = _13 | 65536;
_14->CCR = _15;
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
__asm__ __volatile__("isb");
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
__asm__ __volatile__("isb");
# DEBUG BEGIN_STMT
_16 = 3758153728B;
_16->ICIALLU = 0;
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
__asm__ __volatile__("isb");
# DEBUG BEGIN_STMT
_17 = 3758153728B;
_18 = _17->CCR;
_19 = 3758153728B;
_20 = _18 | 131072;
_19->CCR = _20;
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
__asm__ __volatile__("isb");
return;
}
SystemInit ()
{
uint8 coreId;
uint8 regionNum;
uint32 coreMask;
uint32 i;
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
regionNum = 0;
# DEBUG BEGIN_STMT
coreId = Sys_GetCoreID ();
# DEBUG BEGIN_STMT
_1 = (int) coreId;
switch (_1) <default: <L2> [INV], case 0: <L0> [INV], case 1: <L1> [INV]>
<bb 3> :
<L0>:
# DEBUG BEGIN_STMT
coreMask = 1;
# DEBUG BEGIN_STMT
goto <bb 6>; [INV]
<bb 4> :
<L1>:
# DEBUG BEGIN_STMT
coreMask = 2;
# DEBUG BEGIN_STMT
goto <bb 6>; [INV]
<bb 5> :
<L2>:
# DEBUG BEGIN_STMT
coreMask = 0;
# DEBUG BEGIN_STMT
<bb 6> :
# DEBUG BEGIN_STMT
i = 0;
goto <bb 8>; [INV]
<bb 7> :
# DEBUG BEGIN_STMT
_2 = 1076232192B;
_3 = _2->IRSPRC[i];
_4 = (short unsigned int) coreMask;
_5 = 1076232192B;
_6 = _3 | _4;
_5->IRSPRC[i] = _6;
# DEBUG BEGIN_STMT
i = i + 1;
<bb 8> :
# DEBUG BEGIN_STMT
if (i <= 239)
goto <bb 7>; [INV]
else
goto <bb 9>; [INV]
<bb 9> :
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
__asm__ __volatile__("isb");
# DEBUG BEGIN_STMT
regionNum = 0;
goto <bb 11>; [INV]
<bb 10> :
# DEBUG BEGIN_STMT
_7 = 3758153728B;
_8 = (long unsigned int) regionNum;
_7->RNR = _8;
# DEBUG BEGIN_STMT
_9 = (int) regionNum;
_10 = 3758153728B;
_11 = rbar[_9];
_10->RBAR = _11;
# DEBUG BEGIN_STMT
_12 = (int) regionNum;
_13 = 3758153728B;
_14 = rasr[_12];
_13->RASR = _14;
# DEBUG BEGIN_STMT
regionNum.0_15 = regionNum;
regionNum = regionNum.0_15 + 1;
<bb 11> :
# DEBUG BEGIN_STMT
if (regionNum <= 13)
goto <bb 10>; [INV]
else
goto <bb 12>; [INV]
<bb 12> :
# DEBUG BEGIN_STMT
_16 = 3758153728B;
_17 = _16->CTRL;
_18 = 3758153728B;
_19 = _17 | 1;
_18->CTRL = _19;
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
__asm__ __volatile__("isb");
# DEBUG BEGIN_STMT
sys_m7_cache_init ();
return;
}
Sys_GetCoreID ()
{
uint8 D.4418;
<bb 2> :
# DEBUG BEGIN_STMT
_1 = 1076232192B;
_2 = _1->CPXNUM;
_3 = (unsigned char) _2;
D.4418 = _3 & 3;
return D.4418;
}
default_interrupt_routine ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
startup_go_to_user_mode ()
{
<bb 2> :
# DEBUG BEGIN_STMT
return;
}

View File

@ -0,0 +1,247 @@
sys_m7_cache_init ()
{
uint32 ways;
uint32 sets;
uint32 ccsidr;
<bb 2> :
# DEBUG BEGIN_STMT
ccsidr = 0;
# DEBUG BEGIN_STMT
sets = 0;
# DEBUG BEGIN_STMT
ways = 0;
# DEBUG BEGIN_STMT
_1 = 3758153728B;
_1->CSSELR = 0;
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
_2 = 3758153728B;
ccsidr = _2->CCSIDR;
# DEBUG BEGIN_STMT
_3 = ccsidr >> 13;
sets = _3 & 32767;
<bb 3> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_4 = ccsidr >> 3;
ways = _4 & 1023;
<bb 4> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_5 = sets << 5;
_6 = _5 & 16352;
_7 = ways << 30;
_8 = 3758153728B;
_9 = _6 | _7;
_8->DCISW = _9;
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
ways.1_10 = ways;
ways = ways.1_10 + 4294967295;
if (ways.1_10 != 0)
goto <bb 4>; [INV]
else
goto <bb 5>; [INV]
<bb 5> :
# DEBUG BEGIN_STMT
sets.2_11 = sets;
sets = sets.2_11 + 4294967295;
if (sets.2_11 != 0)
goto <bb 3>; [INV]
else
goto <bb 6>; [INV]
<bb 6> :
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
_12 = 3758153728B;
_13 = _12->CCR;
_14 = 3758153728B;
_15 = _13 | 65536;
_14->CCR = _15;
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
__asm__ __volatile__("isb");
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
__asm__ __volatile__("isb");
# DEBUG BEGIN_STMT
_16 = 3758153728B;
_16->ICIALLU = 0;
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
__asm__ __volatile__("isb");
# DEBUG BEGIN_STMT
_17 = 3758153728B;
_18 = _17->CCR;
_19 = 3758153728B;
_20 = _18 | 131072;
_19->CCR = _20;
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
__asm__ __volatile__("isb");
return;
}
SystemInit ()
{
uint8 coreId;
uint8 regionNum;
uint32 coreMask;
uint32 i;
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
regionNum = 0;
# DEBUG BEGIN_STMT
coreId = Sys_GetCoreID ();
# DEBUG BEGIN_STMT
_1 = (int) coreId;
switch (_1) <default: <L2> [INV], case 0: <L0> [INV], case 1: <L1> [INV]>
<bb 3> :
<L0>:
# DEBUG BEGIN_STMT
coreMask = 1;
# DEBUG BEGIN_STMT
goto <bb 6>; [INV]
<bb 4> :
<L1>:
# DEBUG BEGIN_STMT
coreMask = 2;
# DEBUG BEGIN_STMT
goto <bb 6>; [INV]
<bb 5> :
<L2>:
# DEBUG BEGIN_STMT
coreMask = 0;
# DEBUG BEGIN_STMT
<bb 6> :
# DEBUG BEGIN_STMT
i = 0;
goto <bb 8>; [INV]
<bb 7> :
# DEBUG BEGIN_STMT
_2 = 1076232192B;
_3 = _2->IRSPRC[i];
_4 = (short unsigned int) coreMask;
_5 = 1076232192B;
_6 = _3 | _4;
_5->IRSPRC[i] = _6;
# DEBUG BEGIN_STMT
i = i + 1;
<bb 8> :
# DEBUG BEGIN_STMT
if (i <= 239)
goto <bb 7>; [INV]
else
goto <bb 9>; [INV]
<bb 9> :
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
__asm__ __volatile__("isb");
# DEBUG BEGIN_STMT
regionNum = 0;
goto <bb 11>; [INV]
<bb 10> :
# DEBUG BEGIN_STMT
_7 = 3758153728B;
_8 = (long unsigned int) regionNum;
_7->RNR = _8;
# DEBUG BEGIN_STMT
_9 = (int) regionNum;
_10 = 3758153728B;
_11 = rbar[_9];
_10->RBAR = _11;
# DEBUG BEGIN_STMT
_12 = (int) regionNum;
_13 = 3758153728B;
_14 = rasr[_12];
_13->RASR = _14;
# DEBUG BEGIN_STMT
regionNum.0_15 = regionNum;
regionNum = regionNum.0_15 + 1;
<bb 11> :
# DEBUG BEGIN_STMT
if (regionNum <= 13)
goto <bb 10>; [INV]
else
goto <bb 12>; [INV]
<bb 12> :
# DEBUG BEGIN_STMT
_16 = 3758153728B;
_17 = _16->CTRL;
_18 = 3758153728B;
_19 = _17 | 1;
_18->CTRL = _19;
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
__asm__ __volatile__("isb");
# DEBUG BEGIN_STMT
sys_m7_cache_init ();
return;
}
Sys_GetCoreID ()
{
uint8 D.4418;
<bb 2> :
# DEBUG BEGIN_STMT
_1 = 1076232192B;
_2 = _1->CPXNUM;
_3 = (unsigned char) _2;
D.4418 = _3 & 3;
return D.4418;
}
default_interrupt_routine ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
startup_go_to_user_mode ()
{
<bb 2> :
# DEBUG BEGIN_STMT
return;
}

View File

@ -0,0 +1,316 @@
sys_m7_cache_init ()
{
uint32 ways;
uint32 sets;
uint32 ccsidr;
struct S32_SCB_Type * _1;
struct S32_SCB_Type * _2;
long unsigned int _3;
long unsigned int _4;
long unsigned int _5;
long unsigned int _6;
long unsigned int _7;
struct S32_SCB_Type * _8;
long unsigned int _9;
long unsigned int ways.1_10;
long unsigned int sets.2_11;
struct S32_SCB_Type * _12;
long unsigned int _13;
struct S32_SCB_Type * _14;
long unsigned int _15;
struct S32_SCB_Type * _16;
struct S32_SCB_Type * _17;
long unsigned int _18;
struct S32_SCB_Type * _19;
long unsigned int _20;
<bb 2> :
# DEBUG BEGIN_STMT
ccsidr_25 = 0;
# DEBUG ccsidr => ccsidr_25
# DEBUG BEGIN_STMT
sets_26 = 0;
# DEBUG sets => sets_26
# DEBUG BEGIN_STMT
ways_27 = 0;
# DEBUG ways => ways_27
# DEBUG BEGIN_STMT
_1 = 3758153728B;
_1->CSSELR ={v} 0;
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
_2 = 3758153728B;
ccsidr_31 ={v} _2->CCSIDR;
# DEBUG ccsidr => ccsidr_31
# DEBUG BEGIN_STMT
_3 = ccsidr_31 >> 13;
sets_32 = _3 & 32767;
# DEBUG sets => sets_32
<bb 3> :
# sets_21 = PHI <sets_32(2), sets_37(5)>
# DEBUG sets => sets_21
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_4 = ccsidr_31 >> 3;
ways_33 = _4 & 1023;
# DEBUG ways => ways_33
<bb 4> :
# ways_22 = PHI <ways_33(3), ways_36(4)>
# DEBUG ways => ways_22
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_5 = sets_21 << 5;
_6 = _5 & 16352;
_7 = ways_22 << 30;
_8 = 3758153728B;
_9 = _6 | _7;
_8->DCISW ={v} _9;
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
ways.1_10 = ways_22;
ways_36 = ways.1_10 + 4294967295;
# DEBUG ways => ways_36
if (ways.1_10 != 0)
goto <bb 4>; [INV]
else
goto <bb 5>; [INV]
<bb 5> :
# DEBUG BEGIN_STMT
sets.2_11 = sets_21;
sets_37 = sets.2_11 + 4294967295;
# DEBUG sets => sets_37
if (sets.2_11 != 0)
goto <bb 3>; [INV]
else
goto <bb 6>; [INV]
<bb 6> :
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
_12 = 3758153728B;
_13 ={v} _12->CCR;
_14 = 3758153728B;
_15 = _13 | 65536;
_14->CCR ={v} _15;
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
__asm__ __volatile__("isb");
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
__asm__ __volatile__("isb");
# DEBUG BEGIN_STMT
_16 = 3758153728B;
_16->ICIALLU ={v} 0;
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
__asm__ __volatile__("isb");
# DEBUG BEGIN_STMT
_17 = 3758153728B;
_18 ={v} _17->CCR;
_19 = 3758153728B;
_20 = _18 | 131072;
_19->CCR ={v} _20;
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
__asm__ __volatile__("isb");
return;
}
SystemInit ()
{
uint8 coreId;
uint8 regionNum;
uint32 coreMask;
uint32 i;
int _1;
struct MSCM_Type * _2;
short unsigned int _3;
short unsigned int _4;
struct MSCM_Type * _5;
short unsigned int _6;
struct S32_MPU_Type * _7;
long unsigned int _8;
int _9;
struct S32_MPU_Type * _10;
long unsigned int _11;
int _12;
struct S32_MPU_Type * _13;
long unsigned int _14;
unsigned char regionNum.0_15;
struct S32_MPU_Type * _16;
long unsigned int _17;
struct S32_MPU_Type * _18;
long unsigned int _19;
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
regionNum_25 = 0;
# DEBUG regionNum => regionNum_25
# DEBUG BEGIN_STMT
coreId_28 = Sys_GetCoreID ();
# DEBUG coreId => coreId_28
# DEBUG BEGIN_STMT
_1 = (int) coreId_28;
switch (_1) <default: <L2> [INV], case 0: <L0> [INV], case 1: <L1> [INV]>
<bb 3> :
<L0>:
# DEBUG BEGIN_STMT
coreMask_30 = 1;
# DEBUG coreMask => coreMask_30
# DEBUG BEGIN_STMT
goto <bb 6>; [INV]
<bb 4> :
<L1>:
# DEBUG BEGIN_STMT
coreMask_29 = 2;
# DEBUG coreMask => coreMask_29
# DEBUG BEGIN_STMT
goto <bb 6>; [INV]
<bb 5> :
<L2>:
# DEBUG BEGIN_STMT
coreMask_31 = 0;
# DEBUG coreMask => coreMask_31
# DEBUG BEGIN_STMT
<bb 6> :
# coreMask_21 = PHI <coreMask_30(3), coreMask_29(4), coreMask_31(5)>
# DEBUG coreMask => coreMask_21
# DEBUG BEGIN_STMT
i_32 = 0;
# DEBUG i => i_32
goto <bb 8>; [INV]
<bb 7> :
# DEBUG BEGIN_STMT
_2 = 1076232192B;
_3 ={v} _2->IRSPRC[i_20];
_4 = (short unsigned int) coreMask_21;
_5 = 1076232192B;
_6 = _3 | _4;
_5->IRSPRC[i_20] ={v} _6;
# DEBUG BEGIN_STMT
i_45 = i_20 + 1;
# DEBUG i => i_45
<bb 8> :
# i_20 = PHI <i_32(6), i_45(7)>
# DEBUG i => i_20
# DEBUG BEGIN_STMT
if (i_20 <= 239)
goto <bb 7>; [INV]
else
goto <bb 9>; [INV]
<bb 9> :
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
__asm__ __volatile__("isb");
# DEBUG BEGIN_STMT
regionNum_35 = 0;
# DEBUG regionNum => regionNum_35
goto <bb 11>; [INV]
<bb 10> :
# DEBUG BEGIN_STMT
_7 = 3758153728B;
_8 = (long unsigned int) regionNum_22;
_7->RNR ={v} _8;
# DEBUG BEGIN_STMT
_9 = (int) regionNum_22;
_10 = 3758153728B;
_11 = rbar[_9];
_10->RBAR ={v} _11;
# DEBUG BEGIN_STMT
_12 = (int) regionNum_22;
_13 = 3758153728B;
_14 = rasr[_12];
_13->RASR ={v} _14;
# DEBUG BEGIN_STMT
regionNum.0_15 = regionNum_22;
regionNum_43 = regionNum.0_15 + 1;
# DEBUG regionNum => regionNum_43
<bb 11> :
# regionNum_22 = PHI <regionNum_35(9), regionNum_43(10)>
# DEBUG regionNum => regionNum_22
# DEBUG BEGIN_STMT
if (regionNum_22 <= 13)
goto <bb 10>; [INV]
else
goto <bb 12>; [INV]
<bb 12> :
# DEBUG BEGIN_STMT
_16 = 3758153728B;
_17 ={v} _16->CTRL;
_18 = 3758153728B;
_19 = _17 | 1;
_18->CTRL ={v} _19;
# DEBUG BEGIN_STMT
__asm__ __volatile__("dsb");
# DEBUG BEGIN_STMT
__asm__ __volatile__("isb");
# DEBUG BEGIN_STMT
sys_m7_cache_init ();
return;
}
Sys_GetCoreID ()
{
struct MSCM_Type * _1;
long unsigned int _2;
unsigned char _3;
uint8 _5;
<bb 2> :
# DEBUG BEGIN_STMT
_1 = 1076232192B;
_2 ={v} _1->CPXNUM;
_3 = (unsigned char) _2;
_5 = _3 & 3;
return _5;
}
default_interrupt_routine ()
{
<bb 2> :
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
goto <bb 2>; [INV]
}
startup_go_to_user_mode ()
{
<bb 2> :
# DEBUG BEGIN_STMT
return;
}

Some files were not shown because too many files have changed in this diff Show More