1 LOCAL_PATH:= $(call my-dir)
3 transforms_inst_combine_SRC_FILES := \
4 InstCombineAddSub.cpp \
5 InstCombineAndOrXor.cpp \
8 InstCombineCompares.cpp \
9 InstCombineLoadStoreAlloca.cpp \
10 InstCombineMulDivRem.cpp \
12 InstCombineSelect.cpp \
13 InstCombineShifts.cpp \
14 InstCombineSimplifyDemanded.cpp \
15 InstCombineVectorOps.cpp \
16 InstructionCombining.cpp
19 # =====================================================
22 LOCAL_SRC_FILES := $(transforms_inst_combine_SRC_FILES)
23 LOCAL_MODULE:= libLLVMInstCombine
25 LOCAL_MODULE_HOST_OS := darwin linux windows
27 include $(LLVM_HOST_BUILD_MK)
28 include $(LLVM_GEN_ATTRIBUTES_MK)
29 include $(LLVM_GEN_INTRINSICS_MK)
30 include $(BUILD_HOST_STATIC_LIBRARY)
33 # =====================================================
34 ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS))
37 LOCAL_SRC_FILES := $(transforms_inst_combine_SRC_FILES)
38 LOCAL_MODULE:= libLLVMInstCombine
40 include $(LLVM_DEVICE_BUILD_MK)
41 include $(LLVM_GEN_ATTRIBUTES_MK)
42 include $(LLVM_GEN_INTRINSICS_MK)
43 include $(BUILD_STATIC_LIBRARY)