1LOCAL_PATH:= $(call my-dir) 2 3transforms_ipo_SRC_FILES := \ 4 ArgumentPromotion.cpp \ 5 ConstantMerge.cpp \ 6 DeadArgumentElimination.cpp \ 7 ExtractGV.cpp \ 8 FunctionAttrs.cpp \ 9 GlobalDCE.cpp \ 10 GlobalOpt.cpp \ 11 IPConstantPropagation.cpp \ 12 IPO.cpp \ 13 InlineAlways.cpp \ 14 InlineSimple.cpp \ 15 Inliner.cpp \ 16 Internalize.cpp \ 17 LoopExtractor.cpp \ 18 MergeFunctions.cpp \ 19 PartialInlining.cpp \ 20 PassManagerBuilder.cpp \ 21 PruneEH.cpp \ 22 StripDeadPrototypes.cpp \ 23 StripSymbols.cpp 24 25# For the host 26# ===================================================== 27include $(CLEAR_VARS) 28 29LOCAL_SRC_FILES := $(transforms_ipo_SRC_FILES) 30LOCAL_MODULE:= libLLVMipo 31 32LOCAL_MODULE_TAGS := optional 33 34include $(LLVM_HOST_BUILD_MK) 35include $(LLVM_GEN_INTRINSICS_MK) 36include $(BUILD_HOST_STATIC_LIBRARY) 37 38# For the device 39# ===================================================== 40include $(CLEAR_VARS) 41 42LOCAL_SRC_FILES := $(transforms_ipo_SRC_FILES) 43LOCAL_MODULE:= libLLVMipo 44 45LOCAL_MODULE_TAGS := optional 46 47include $(LLVM_DEVICE_BUILD_MK) 48include $(LLVM_GEN_INTRINSICS_MK) 49include $(BUILD_STATIC_LIBRARY) 50