Home | History | Annotate | Download | only in IPO
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 transforms_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 	LowerSetJmp.cpp	\
     19 	MergeFunctions.cpp	\
     20 	PartialInlining.cpp	\
     21 	PruneEH.cpp	\
     22 	StripDeadPrototypes.cpp	\
     23 	StripSymbols.cpp
     24 
     25 # For the host
     26 # =====================================================
     27 include $(CLEAR_VARS)
     28 
     29 LOCAL_SRC_FILES := $(transforms_ipo_SRC_FILES)
     30 LOCAL_MODULE:= libLLVMipo
     31 
     32 LOCAL_MODULE_TAGS := optional
     33 
     34 include $(LLVM_HOST_BUILD_MK)
     35 include $(LLVM_GEN_INTRINSICS_MK)
     36 include $(BUILD_HOST_STATIC_LIBRARY)
     37 
     38 # For the device
     39 # =====================================================
     40 include $(CLEAR_VARS)
     41 
     42 LOCAL_SRC_FILES := $(transforms_ipo_SRC_FILES)
     43 LOCAL_MODULE:= libLLVMipo
     44 
     45 LOCAL_MODULE_TAGS := optional
     46 
     47 include $(LLVM_DEVICE_BUILD_MK)
     48 include $(LLVM_GEN_INTRINSICS_MK)
     49 include $(BUILD_STATIC_LIBRARY)
     50