Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
FP/ | 03-May-2024 | - | 618 | 506 | ||
Thumb/ | 03-May-2024 | - | 1,267 | 1,041 | ||
Thumb2/ | 03-May-2024 | - | 1,788 | 1,454 | ||
armv5te/ | 03-May-2024 | - | 260 | 104 | ||
armv5te-vfp/ | 03-May-2024 | - | 240 | 101 | ||
armv7-a/ | 03-May-2024 | - | 236 | 102 | ||
armv7-a-neon/ | 03-May-2024 | - | 684 | 412 | ||
ArchFactory.cpp | D | 03-May-2024 | 4.4 KiB | 124 | 63 | |
ArchUtility.cpp | D | 03-May-2024 | 14.3 KiB | 428 | 378 | |
ArmLIR.h | D | 03-May-2024 | 35.2 KiB | 796 | 540 | |
ArmRallocUtil.cpp | D | 03-May-2024 | 3.7 KiB | 116 | 63 | |
Assemble.cpp | D | 03-May-2024 | 123.7 KiB | 2,944 | 2,260 | |
CalloutHelper.h | D | 03-May-2024 | 5.4 KiB | 125 | 43 | |
Codegen.h | D | 03-May-2024 | 2.2 KiB | 66 | 25 | |
CodegenCommon.cpp | D | 03-May-2024 | 12.7 KiB | 448 | 297 | |
CodegenDriver.cpp | D | 03-May-2024 | 173.6 KiB | 4,740 | 3,357 | |
GlobalOptimizations.cpp | D | 03-May-2024 | 2.1 KiB | 66 | 28 | |
LocalOptimizations.cpp | D | 03-May-2024 | 18.2 KiB | 467 | 243 | |
README.txt | D | 03-May-2024 | 1.4 KiB | 49 | 34 |
README.txt
1The codegen file for the ARM-based JIT is composed by files broken by 2functionality hierarchies. The goal is to separate architectural dependent 3and independent components to facilitate maintenance and future extension. 4 5For example, the codegen file for armv7-a is assembled by the following 6components: 7 8-- 9 10/* Architectural independent building blocks */ 11#include "../CodegenCommon.cpp" 12 13/* Thumb2-specific factory utilities */ 14#include "../Thumb2/Factory.cpp" 15/* Factory utilities dependent on arch-specific features */ 16#include "../CodegenFactory.cpp" 17 18/* Thumb2-specific codegen routines */ 19#include "../Thumb2/Gen.cpp" 20/* Thumb2+VFP codegen routines */ 21#include "../FP/Thumb2VFP.cpp" 22 23/* Thumb2-specific register allocation */ 24#include "../Thumb2/Ralloc.cpp" 25 26/* MIR2LIR dispatcher and architectural independent codegen routines */ 27#include "../CodegenDriver.cpp" 28 29/* Architecture manifest */ 30#include "ArchVariant.cpp" 31 32-- 33 34For the Thumb/Thumb2 directories, each contain the followin three files: 35 36- Factory.c (low-level routines for instruction selections) 37- Gen.c (invoke the ISA-specific instruction selection routines) 38- Ralloc.c (arch-dependent register pools) 39 40The FP directory contains FP-specific codegen routines depending on 41Thumb/Thumb2/VFP/PortableFP: 42 43- Thumb2VFP.c 44- ThumbVFP.c 45- ThumbPortableFP.c 46 47In this way the dependency between generic and specific code tied to 48particular architectures can be explicitly represented. 49