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 BlockFrequency.cpp \ 12 BranchProbabilityInfo.cpp \ 13 CFGPrinter.cpp \ 14 CaptureTracking.cpp \ 15 ConstantFolding.cpp \ 16 DIBuilder.cpp \ 17 DbgInfoPrinter.cpp \ 18 DebugInfo.cpp \ 19 DominanceFrontier.cpp \ 20 DomPrinter.cpp \ 21 IVUsers.cpp \ 22 InlineCost.cpp \ 23 InstCount.cpp \ 24 InstructionSimplify.cpp \ 25 Interval.cpp \ 26 IntervalPartition.cpp \ 27 LazyValueInfo.cpp \ 28 LibCallAliasAnalysis.cpp \ 29 LibCallSemantics.cpp \ 30 Loads.cpp \ 31 NoAliasAnalysis.cpp \ 32 MemDepPrinter.cpp \ 33 MemoryBuiltins.cpp \ 34 MemoryDependenceAnalysis.cpp \ 35 RegionPass.cpp \ 36 LoopDependenceAnalysis.cpp \ 37 LoopInfo.cpp \ 38 LoopPass.cpp \ 39 PathNumbering.cpp \ 40 PathProfileInfo.cpp \ 41 PathProfileVerifier.cpp \ 42 PHITransAddr.cpp \ 43 PostDominators.cpp \ 44 ProfileEstimatorPass.cpp \ 45 ProfileInfo.cpp \ 46 ProfileInfoLoader.cpp \ 47 ProfileInfoLoaderPass.cpp \ 48 ProfileVerifierPass.cpp \ 49 ScalarEvolution.cpp \ 50 ScalarEvolutionAliasAnalysis.cpp \ 51 ScalarEvolutionExpander.cpp \ 52 ScalarEvolutionNormalization.cpp \ 53 SparsePropagation.cpp \ 54 Trace.cpp \ 55 TypeBasedAliasAnalysis.cpp \ 56 ValueTracking.cpp 57 58# For the host 59# ===================================================== 60include $(CLEAR_VARS) 61 62LOCAL_SRC_FILES := \ 63 $(analysis_SRC_FILES) \ 64 Lint.cpp \ 65 ModuleDebugInfoPrinter.cpp \ 66 RegionInfo.cpp \ 67 RegionPrinter.cpp 68 69LOCAL_MODULE:= libLLVMAnalysis 70 71LOCAL_MODULE_TAGS := optional 72 73include $(LLVM_HOST_BUILD_MK) 74include $(LLVM_GEN_INTRINSICS_MK) 75include $(BUILD_HOST_STATIC_LIBRARY) 76 77# For the device 78# ===================================================== 79include $(CLEAR_VARS) 80 81LOCAL_SRC_FILES := $(analysis_SRC_FILES) 82 83LOCAL_MODULE:= libLLVMAnalysis 84 85LOCAL_MODULE_TAGS := optional 86 87include $(LLVM_DEVICE_BUILD_MK) 88include $(LLVM_GEN_INTRINSICS_MK) 89include $(BUILD_STATIC_LIBRARY) 90