1LOCAL_PATH:= $(call my-dir) 2 3analysis_SRC_FILES := \ 4 AliasAnalysis.cpp \ 5 AliasAnalysisCounter.cpp \ 6 AliasAnalysisEvaluator.cpp \ 7 AliasDebugger.cpp \ 8 AliasSetTracker.cpp \ 9 Analysis.cpp \ 10 BasicAliasAnalysis.cpp \ 11 BlockFrequencyInfo.cpp \ 12 BlockFrequencyInfoImpl.cpp \ 13 BranchProbabilityInfo.cpp \ 14 CFG.cpp \ 15 CFGPrinter.cpp \ 16 CaptureTracking.cpp \ 17 CodeMetrics.cpp \ 18 ConstantFolding.cpp \ 19 CostModel.cpp \ 20 Delinearization.cpp \ 21 DependenceAnalysis.cpp \ 22 DomPrinter.cpp \ 23 DominanceFrontier.cpp \ 24 CGSCCPassManager.cpp \ 25 IVUsers.cpp \ 26 InstCount.cpp \ 27 InstructionSimplify.cpp \ 28 Interval.cpp \ 29 IntervalPartition.cpp \ 30 JumpInstrTableInfo.cpp \ 31 LazyCallGraph.cpp \ 32 LazyValueInfo.cpp \ 33 LibCallAliasAnalysis.cpp \ 34 LibCallSemantics.cpp \ 35 Lint.cpp \ 36 Loads.cpp \ 37 LoopInfo.cpp \ 38 LoopPass.cpp \ 39 MemDepPrinter.cpp \ 40 MemoryBuiltins.cpp \ 41 MemoryDependenceAnalysis.cpp \ 42 ModuleDebugInfoPrinter.cpp \ 43 NoAliasAnalysis.cpp \ 44 PHITransAddr.cpp \ 45 PostDominators.cpp \ 46 PtrUseVisitor.cpp \ 47 RegionInfo.cpp \ 48 RegionPass.cpp \ 49 RegionPrinter.cpp \ 50 ScalarEvolution.cpp \ 51 ScalarEvolutionAliasAnalysis.cpp \ 52 ScalarEvolutionExpander.cpp \ 53 ScalarEvolutionNormalization.cpp \ 54 SparsePropagation.cpp \ 55 TargetTransformInfo.cpp \ 56 Trace.cpp \ 57 TypeBasedAliasAnalysis.cpp \ 58 ValueTracking.cpp 59 60# For the host 61# ===================================================== 62include $(CLEAR_VARS) 63 64LOCAL_MODULE:= libLLVMAnalysis 65LOCAL_MODULE_TAGS := optional 66LOCAL_SRC_FILES := $(analysis_SRC_FILES) 67 68include $(LLVM_HOST_BUILD_MK) 69include $(LLVM_GEN_INTRINSICS_MK) 70include $(BUILD_HOST_STATIC_LIBRARY) 71 72# For the device 73# ===================================================== 74ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 75include $(CLEAR_VARS) 76 77LOCAL_MODULE:= libLLVMAnalysis 78LOCAL_MODULE_TAGS := optional 79LOCAL_SRC_FILES := $(analysis_SRC_FILES) 80 81include $(LLVM_DEVICE_BUILD_MK) 82include $(LLVM_GEN_INTRINSICS_MK) 83include $(BUILD_STATIC_LIBRARY) 84endif 85