blob: 6f62ccfe32d571ad06d18dac470907f2fb40a42d [file] [log] [blame]
buzbee67bf8852011-08-17 17:51:35 -07001/*
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
buzbee31a4a6f2012-02-28 15:36:15 -080018#define TARGET_ARM
buzbee67bf8852011-08-17 17:51:35 -070019
20#include "../../../Dalvik.h"
buzbee67bf8852011-08-17 17:51:35 -070021#include "../../../CompilerInternals.h"
22#include "../ArmLIR.h"
buzbee67bf8852011-08-17 17:51:35 -070023#include "../../Ralloc.h"
24#include "../Codegen.h"
25
buzbee31a4a6f2012-02-28 15:36:15 -080026/* Common codegen utility code */
27#include "../../CodegenUtil.cc"
buzbee67bf8852011-08-17 17:51:35 -070028
29/* Thumb2-specific factory utilities */
30#include "../Thumb2/Factory.cc"
31/* Target independent factory utilities */
32#include "../../CodegenFactory.cc"
buzbee31a4a6f2012-02-28 15:36:15 -080033/* Target independent gen routines */
34#include "../../GenCommon.cc"
35/* Shared invoke gen routines */
36#include "../../GenInvoke.cc"
buzbee67bf8852011-08-17 17:51:35 -070037/* 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 */
buzbeee3acd072012-02-25 17:03:10 -080049#include "../../MethodCodegenDriver.cc"
50
51/* Target-independent local optimizations */
52#include "../../LocalOptimizations.cc"
53
buzbee67bf8852011-08-17 17:51:35 -070054/* Architecture manifest */
55#include "ArchVariant.cc"