1LOCAL_PATH:= $(call my-dir) 2 3transforms_inst_combine_SRC_FILES := \ 4 InstCombineAddSub.cpp \ 5 InstCombineAndOrXor.cpp \ 6 InstCombineCalls.cpp \ 7 InstCombineCasts.cpp \ 8 InstCombineCompares.cpp \ 9 InstCombineLoadStoreAlloca.cpp \ 10 InstCombineMulDivRem.cpp \ 11 InstCombinePHI.cpp \ 12 InstCombineSelect.cpp \ 13 InstCombineShifts.cpp \ 14 InstCombineSimplifyDemanded.cpp \ 15 InstCombineVectorOps.cpp \ 16 InstructionCombining.cpp 17 18# For the host 19# ===================================================== 20include $(CLEAR_VARS) 21 22LOCAL_SRC_FILES := $(transforms_inst_combine_SRC_FILES) 23LOCAL_MODULE:= libLLVMInstCombine 24 25LOCAL_MODULE_HOST_OS := darwin linux windows 26 27include $(LLVM_HOST_BUILD_MK) 28include $(LLVM_GEN_ATTRIBUTES_MK) 29include $(LLVM_GEN_INTRINSICS_MK) 30include $(BUILD_HOST_STATIC_LIBRARY) 31 32# For the device 33# ===================================================== 34ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 35include $(CLEAR_VARS) 36 37LOCAL_SRC_FILES := $(transforms_inst_combine_SRC_FILES) 38LOCAL_MODULE:= libLLVMInstCombine 39 40include $(LLVM_DEVICE_BUILD_MK) 41include $(LLVM_GEN_ATTRIBUTES_MK) 42include $(LLVM_GEN_INTRINSICS_MK) 43include $(BUILD_STATIC_LIBRARY) 44endif 45