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 | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 18 | |
| 19 | #include "../../../Dalvik.h" |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 20 | #include "../../../CompilerInternals.h" |
| 21 | #include "../ArmLIR.h" |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 22 | #include "../../Ralloc.h" |
| 23 | #include "../Codegen.h" |
| 24 | |
buzbee | 31a4a6f | 2012-02-28 15:36:15 -0800 | [diff] [blame] | 25 | /* Common codegen utility code */ |
| 26 | #include "../../CodegenUtil.cc" |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 27 | |
| 28 | /* Thumb2-specific factory utilities */ |
| 29 | #include "../Thumb2/Factory.cc" |
| 30 | /* Target independent factory utilities */ |
| 31 | #include "../../CodegenFactory.cc" |
buzbee | 31a4a6f | 2012-02-28 15:36:15 -0800 | [diff] [blame] | 32 | /* Target independent gen routines */ |
| 33 | #include "../../GenCommon.cc" |
| 34 | /* Shared invoke gen routines */ |
| 35 | #include "../../GenInvoke.cc" |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 36 | /* Arm-specific factory utilities */ |
| 37 | #include "../ArchFactory.cc" |
| 38 | |
| 39 | /* Thumb2-specific codegen routines */ |
| 40 | #include "../Thumb2/Gen.cc" |
| 41 | /* Thumb2+VFP codegen routines */ |
| 42 | #include "../FP/Thumb2VFP.cc" |
| 43 | |
| 44 | /* Thumb2-specific register allocation */ |
| 45 | #include "../Thumb2/Ralloc.cc" |
| 46 | |
buzbee | 2cfc639 | 2012-05-07 14:51:40 -0700 | [diff] [blame] | 47 | /* Bitcode conversion */ |
| 48 | #include "../../MethodBitcode.cc" |
| 49 | |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 50 | /* MIR2LIR dispatcher and architectural independent codegen routines */ |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 51 | #include "../../MethodCodegenDriver.cc" |
| 52 | |
| 53 | /* Target-independent local optimizations */ |
| 54 | #include "../../LocalOptimizations.cc" |
| 55 | |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 56 | /* Architecture manifest */ |
| 57 | #include "ArchVariant.cc" |