1 LOCAL_PATH:= $(call my-dir) 2 3 transforms_vectorize_SRC_FILES := \ 4 BBVectorize.cpp \ 5 LoopVectorize.cpp \ 6 SLPVectorizer.cpp \ 7 Vectorize.cpp 8 9 # For the host 10 # ===================================================== 11 include $(CLEAR_VARS) 12 13 LOCAL_SRC_FILES := $(transforms_vectorize_SRC_FILES) 14 LOCAL_MODULE:= libLLVMVectorize 15 16 LOCAL_MODULE_TAGS := optional 17 18 include $(LLVM_HOST_BUILD_MK) 19 include $(LLVM_GEN_INTRINSICS_MK) 20 include $(BUILD_HOST_STATIC_LIBRARY) 21 22 # For the device 23 # ===================================================== 24 include $(CLEAR_VARS) 25 26 LOCAL_SRC_FILES := $(transforms_vectorize_SRC_FILES) 27 LOCAL_MODULE:= libLLVMVectorize 28 29 LOCAL_MODULE_TAGS := optional 30 31 include $(LLVM_DEVICE_BUILD_MK) 32 include $(LLVM_GEN_INTRINSICS_MK) 33 include $(BUILD_STATIC_LIBRARY) 34