blob: fa4484ce74eccf47954024a1972aef10643dec82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
# Only use this on the device or emulator.
ifeq ($(TARGET_ARCH),arm)
LOCAL_PATH:= $(call my-dir)
codegen_SRC_FILES := \
AggressiveAntiDepBreaker.cpp \
Analysis.cpp \
BranchFolding.cpp \
CalcSpillWeights.cpp \
CodePlacementOpt.cpp \
CriticalAntiDepBreaker.cpp \
DeadMachineInstructionElim.cpp \
DwarfEHPrepare.cpp \
ELFCodeEmitter.cpp \
ELFWriter.cpp \
ExactHazardRecognizer.cpp \
GCMetadata.cpp \
GCMetadataPrinter.cpp \
GCStrategy.cpp \
IfConversion.cpp \
IntrinsicLowering.cpp \
LLVMTargetMachine.cpp \
LatencyPriorityQueue.cpp \
LiveInterval.cpp \
LiveIntervalAnalysis.cpp \
LiveStackAnalysis.cpp \
LiveVariables.cpp \
LowerSubregs.cpp \
MachineBasicBlock.cpp \
MachineCSE.cpp \
MachineDominators.cpp \
MachineFunction.cpp \
MachineFunctionAnalysis.cpp \
MachineFunctionPass.cpp \
MachineFunctionPrinterPass.cpp \
MachineInstr.cpp \
MachineLICM.cpp \
MachineLoopInfo.cpp \
MachineModuleInfo.cpp \
MachineModuleInfoImpls.cpp \
MachinePassRegistry.cpp \
MachineRegisterInfo.cpp \
MachineSSAUpdater.cpp \
MachineSink.cpp \
MachineVerifier.cpp \
ObjectCodeEmitter.cpp \
OcamlGC.cpp \
OptimizeExts.cpp \
OptimizePHIs.cpp \
PHIElimination.cpp \
Passes.cpp \
PostRASchedulerList.cpp \
PreAllocSplitting.cpp \
ProcessImplicitDefs.cpp \
PrologEpilogInserter.cpp \
PseudoSourceValue.cpp \
RegAllocLinearScan.cpp \
RegAllocLocal.cpp \
RegAllocPBQP.cpp \
RegisterCoalescer.cpp \
RegisterScavenging.cpp \
ScheduleDAG.cpp \
ScheduleDAGEmit.cpp \
ScheduleDAGInstrs.cpp \
ScheduleDAGPrinter.cpp \
ShadowStackGC.cpp \
ShrinkWrapping.cpp \
SimpleRegisterCoalescing.cpp \
SjLjEHPrepare.cpp \
SlotIndexes.cpp \
Spiller.cpp \
StackProtector.cpp \
StackSlotColoring.cpp \
StrongPHIElimination.cpp \
TailDuplication.cpp \
TargetInstrInfoImpl.cpp \
TargetLoweringObjectFileImpl.cpp \
TwoAddressInstructionPass.cpp \
UnreachableBlockElim.cpp \
VirtRegMap.cpp \
VirtRegRewriter.cpp
# For the host
# =====================================================
include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(codegen_SRC_FILES)
LOCAL_MODULE:= libLLVMCodeGen
include $(LLVM_HOST_BUILD_MK)
include $(LLVM_GEN_INTRINSICS_MK)
include $(BUILD_HOST_STATIC_LIBRARY)
# For the device
# =====================================================
include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(codegen_SRC_FILES)
LOCAL_MODULE:= libLLVMCodeGen
include $(LLVM_DEVICE_BUILD_MK)
include $(LLVM_GEN_INTRINSICS_MK)
include $(BUILD_STATIC_LIBRARY)
endif
|