blob: 9fba09135522904c1213dafce921761cc8d937ed [file] [log] [blame]
Shih-wei Liaoe4454322010-04-07 12:21:42 -07001LOCAL_PATH:= $(call my-dir)
2
3transforms_utils_SRC_FILES := \
4 AddrModeMatcher.cpp \
5 BasicBlockUtils.cpp \
6 BasicInliner.cpp \
7 BreakCriticalEdges.cpp \
Shih-wei Liao7abe37e2010-04-28 01:47:00 -07008 BuildLibCalls.cpp \
Shih-wei Liaoe4454322010-04-07 12:21:42 -07009 CloneFunction.cpp \
10 CloneLoop.cpp \
11 CloneModule.cpp \
12 CodeExtractor.cpp \
13 DemoteRegToStack.cpp \
14 InlineFunction.cpp \
15 InstructionNamer.cpp \
16 LCSSA.cpp \
17 Local.cpp \
18 LoopSimplify.cpp \
19 LoopUnroll.cpp \
20 LowerInvoke.cpp \
21 LowerSwitch.cpp \
22 Mem2Reg.cpp \
23 PromoteMemoryToRegister.cpp \
24 SSAUpdater.cpp \
25 SSI.cpp \
26 SimplifyCFG.cpp \
27 UnifyFunctionExitNodes.cpp \
28 ValueMapper.cpp
29
30# For the host
31# =====================================================
32include $(CLEAR_VARS)
33
34LOCAL_SRC_FILES := $(transforms_utils_SRC_FILES)
35LOCAL_MODULE:= libLLVMTransformUtils
36
37include $(LLVM_HOST_BUILD_MK)
38include $(LLVM_GEN_INTRINSICS_MK)
39include $(BUILD_HOST_STATIC_LIBRARY)
40
41# For the device
42# =====================================================
43include $(CLEAR_VARS)
44
45LOCAL_SRC_FILES := $(transforms_utils_SRC_FILES)
46LOCAL_MODULE:= libLLVMTransformUtils
47
48include $(LLVM_DEVICE_BUILD_MK)
49include $(LLVM_GEN_INTRINSICS_MK)
50include $(BUILD_STATIC_LIBRARY)