buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2011 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | #define _CODEGEN_C |
| 17 | #define _ARMV7_A |
buzbee | 31a4a6f | 2012-02-28 15:36:15 -0800 | [diff] [blame] | 18 | #define TARGET_ARM |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 19 | |
| 20 | #include "../../../Dalvik.h" |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 21 | #include "../../../CompilerInternals.h" |
| 22 | #include "../ArmLIR.h" |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 23 | #include "../../Ralloc.h" |
| 24 | #include "../Codegen.h" |
| 25 | |
buzbee | 31a4a6f | 2012-02-28 15:36:15 -0800 | [diff] [blame] | 26 | /* Common codegen utility code */ |
| 27 | #include "../../CodegenUtil.cc" |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 28 | |
| 29 | /* Thumb2-specific factory utilities */ |
| 30 | #include "../Thumb2/Factory.cc" |
| 31 | /* Target independent factory utilities */ |
| 32 | #include "../../CodegenFactory.cc" |
buzbee | 31a4a6f | 2012-02-28 15:36:15 -0800 | [diff] [blame] | 33 | /* Target independent gen routines */ |
| 34 | #include "../../GenCommon.cc" |
| 35 | /* Shared invoke gen routines */ |
| 36 | #include "../../GenInvoke.cc" |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 37 | /* Arm-specific factory utilities */ |
| 38 | #include "../ArchFactory.cc" |
| 39 | |
| 40 | /* Thumb2-specific codegen routines */ |
| 41 | #include "../Thumb2/Gen.cc" |
| 42 | /* Thumb2+VFP codegen routines */ |
| 43 | #include "../FP/Thumb2VFP.cc" |
| 44 | |
| 45 | /* Thumb2-specific register allocation */ |
| 46 | #include "../Thumb2/Ralloc.cc" |
| 47 | |
| 48 | /* MIR2LIR dispatcher and architectural independent codegen routines */ |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 49 | #include "../../MethodCodegenDriver.cc" |
| 50 | |
| 51 | /* Target-independent local optimizations */ |
| 52 | #include "../../LocalOptimizations.cc" |
| 53 | |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 54 | /* Architecture manifest */ |
| 55 | #include "ArchVariant.cc" |