blob: c398b8ebfcbb00fe1ce6a8d7fb85fc5c1386c474 [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
buzbee67bf8852011-08-17 17:51:35 -070018
19#include "../../../Dalvik.h"
buzbee67bf8852011-08-17 17:51:35 -070020#include "../../../CompilerInternals.h"
21#include "../ArmLIR.h"
buzbee67bf8852011-08-17 17:51:35 -070022#include "../../Ralloc.h"
23#include "../Codegen.h"
24
buzbee31a4a6f2012-02-28 15:36:15 -080025/* Common codegen utility code */
26#include "../../CodegenUtil.cc"
buzbee67bf8852011-08-17 17:51:35 -070027
28/* Thumb2-specific factory utilities */
29#include "../Thumb2/Factory.cc"
30/* Target independent factory utilities */
31#include "../../CodegenFactory.cc"
buzbee31a4a6f2012-02-28 15:36:15 -080032/* Target independent gen routines */
33#include "../../GenCommon.cc"
34/* Shared invoke gen routines */
35#include "../../GenInvoke.cc"
buzbee67bf8852011-08-17 17:51:35 -070036/* 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
buzbee2cfc6392012-05-07 14:51:40 -070047/* Bitcode conversion */
48#include "../../MethodBitcode.cc"
49
buzbee67bf8852011-08-17 17:51:35 -070050/* MIR2LIR dispatcher and architectural independent codegen routines */
buzbeee3acd072012-02-25 17:03:10 -080051#include "../../MethodCodegenDriver.cc"
52
53/* Target-independent local optimizations */
54#include "../../LocalOptimizations.cc"
55
buzbee67bf8852011-08-17 17:51:35 -070056/* Architecture manifest */
57#include "ArchVariant.cc"