OSDN Git Service

Apply changes to migrate to upstream Oct 20th 2011.
[android-x86/external-llvm.git] / lib / Transforms / Scalar / Android.mk
1 LOCAL_PATH:= $(call my-dir)
2
3 transforms_scalar_SRC_FILES := \
4   ADCE.cpp \
5   BasicBlockPlacement.cpp \
6   CodeGenPrepare.cpp \
7   ConstantProp.cpp \
8   CorrelatedValuePropagation.cpp \
9   DCE.cpp \
10   DeadStoreElimination.cpp \
11   EarlyCSE.cpp \
12   GlobalMerge.cpp \
13   GVN.cpp \
14   IndVarSimplify.cpp \
15   JumpThreading.cpp \
16   LICM.cpp \
17   LoopDeletion.cpp \
18   LoopIdiomRecognize.cpp \
19   LoopInstSimplify.cpp \
20   LoopRotation.cpp \
21   LoopStrengthReduce.cpp \
22   LoopUnrollPass.cpp \
23   LoopUnswitch.cpp \
24   LowerAtomic.cpp \
25   MemCpyOptimizer.cpp \
26   ObjCARC.cpp \
27   Reassociate.cpp \
28   Reg2Mem.cpp \
29   SCCP.cpp \
30   Scalar.cpp \
31   ScalarReplAggregates.cpp \
32   SimplifyCFGPass.cpp \
33   SimplifyLibCalls.cpp \
34   Sink.cpp \
35   TailRecursionElimination.cpp
36
37 # For the host
38 # =====================================================
39 include $(CLEAR_VARS)
40
41 LOCAL_SRC_FILES :=      \
42         $(transforms_scalar_SRC_FILES)
43
44 LOCAL_MODULE:= libLLVMScalarOpts
45
46 LOCAL_MODULE_TAGS := optional
47
48 include $(LLVM_HOST_BUILD_MK)
49 include $(LLVM_GEN_INTRINSICS_MK)
50 include $(BUILD_HOST_STATIC_LIBRARY)
51
52 # For the device
53 # =====================================================
54 include $(CLEAR_VARS)
55
56 LOCAL_SRC_FILES := $(transforms_scalar_SRC_FILES)
57 LOCAL_MODULE:= libLLVMScalarOpts
58
59 LOCAL_MODULE_TAGS := optional
60
61 include $(LLVM_DEVICE_BUILD_MK)
62 include $(LLVM_GEN_INTRINSICS_MK)
63 include $(BUILD_STATIC_LIBRARY)