Shih-wei Liao | e445432 | 2010-04-07 12:21:42 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
Logan Chien | d2351e5 | 2011-10-19 11:36:30 +0800 | [diff] [blame] | 3 | analysis_SRC_FILES := \ |
| 4 | AliasAnalysis.cpp \ |
| 5 | AliasAnalysisCounter.cpp \ |
| 6 | AliasAnalysisEvaluator.cpp \ |
| 7 | AliasDebugger.cpp \ |
| 8 | AliasSetTracker.cpp \ |
| 9 | Analysis.cpp \ |
| 10 | BasicAliasAnalysis.cpp \ |
Logan Chien | 2e5a5ee | 2011-10-21 14:45:53 +0800 | [diff] [blame] | 11 | BlockFrequencyInfo.cpp \ |
Logan Chien | d2351e5 | 2011-10-19 11:36:30 +0800 | [diff] [blame] | 12 | BranchProbabilityInfo.cpp \ |
| 13 | CFGPrinter.cpp \ |
| 14 | CaptureTracking.cpp \ |
Shih-wei Liao | 3770f60 | 2012-03-22 11:33:00 -0700 | [diff] [blame] | 15 | CodeMetrics.cpp \ |
Logan Chien | d2351e5 | 2011-10-19 11:36:30 +0800 | [diff] [blame] | 16 | ConstantFolding.cpp \ |
Stephen Hines | 3aef703 | 2013-01-08 23:43:13 -0800 | [diff] [blame^] | 17 | CostModel.cpp \ |
Logan Chien | d2351e5 | 2011-10-19 11:36:30 +0800 | [diff] [blame] | 18 | DbgInfoPrinter.cpp \ |
Stephen Hines | 3aef703 | 2013-01-08 23:43:13 -0800 | [diff] [blame^] | 19 | DependenceAnalysis.cpp \ |
Logan Chien | d2351e5 | 2011-10-19 11:36:30 +0800 | [diff] [blame] | 20 | DomPrinter.cpp \ |
Logan Chien | 2e5a5ee | 2011-10-21 14:45:53 +0800 | [diff] [blame] | 21 | DominanceFrontier.cpp \ |
Logan Chien | d2351e5 | 2011-10-19 11:36:30 +0800 | [diff] [blame] | 22 | IVUsers.cpp \ |
| 23 | InlineCost.cpp \ |
| 24 | InstCount.cpp \ |
| 25 | InstructionSimplify.cpp \ |
| 26 | Interval.cpp \ |
| 27 | IntervalPartition.cpp \ |
| 28 | LazyValueInfo.cpp \ |
| 29 | LibCallAliasAnalysis.cpp \ |
| 30 | LibCallSemantics.cpp \ |
Logan Chien | d2351e5 | 2011-10-19 11:36:30 +0800 | [diff] [blame] | 31 | Lint.cpp \ |
Logan Chien | 2e5a5ee | 2011-10-21 14:45:53 +0800 | [diff] [blame] | 32 | Loads.cpp \ |
Logan Chien | d2351e5 | 2011-10-19 11:36:30 +0800 | [diff] [blame] | 33 | LoopInfo.cpp \ |
| 34 | LoopPass.cpp \ |
Logan Chien | 2e5a5ee | 2011-10-21 14:45:53 +0800 | [diff] [blame] | 35 | MemDepPrinter.cpp \ |
| 36 | MemoryBuiltins.cpp \ |
| 37 | MemoryDependenceAnalysis.cpp \ |
Logan Chien | d2351e5 | 2011-10-19 11:36:30 +0800 | [diff] [blame] | 38 | ModuleDebugInfoPrinter.cpp \ |
Logan Chien | 2e5a5ee | 2011-10-21 14:45:53 +0800 | [diff] [blame] | 39 | NoAliasAnalysis.cpp \ |
| 40 | PHITransAddr.cpp \ |
Logan Chien | d2351e5 | 2011-10-19 11:36:30 +0800 | [diff] [blame] | 41 | PathNumbering.cpp \ |
| 42 | PathProfileInfo.cpp \ |
| 43 | PathProfileVerifier.cpp \ |
Logan Chien | d2351e5 | 2011-10-19 11:36:30 +0800 | [diff] [blame] | 44 | PostDominators.cpp \ |
Stephen Hines | 68aeecc | 2012-09-10 20:13:51 -0700 | [diff] [blame] | 45 | ProfileDataLoader.cpp \ |
| 46 | ProfileDataLoaderPass.cpp \ |
Logan Chien | d2351e5 | 2011-10-19 11:36:30 +0800 | [diff] [blame] | 47 | ProfileEstimatorPass.cpp \ |
| 48 | ProfileInfo.cpp \ |
| 49 | ProfileInfoLoader.cpp \ |
| 50 | ProfileInfoLoaderPass.cpp \ |
| 51 | ProfileVerifierPass.cpp \ |
Stephen Hines | 3aef703 | 2013-01-08 23:43:13 -0800 | [diff] [blame^] | 52 | PtrUseVisitor.cpp \ |
Logan Chien | 2e5a5ee | 2011-10-21 14:45:53 +0800 | [diff] [blame] | 53 | RegionInfo.cpp \ |
| 54 | RegionPass.cpp \ |
| 55 | RegionPrinter.cpp \ |
Logan Chien | d2351e5 | 2011-10-19 11:36:30 +0800 | [diff] [blame] | 56 | ScalarEvolution.cpp \ |
| 57 | ScalarEvolutionAliasAnalysis.cpp \ |
| 58 | ScalarEvolutionExpander.cpp \ |
| 59 | ScalarEvolutionNormalization.cpp \ |
| 60 | SparsePropagation.cpp \ |
Stephen Hines | 3aef703 | 2013-01-08 23:43:13 -0800 | [diff] [blame^] | 61 | TargetTransformInfo.cpp \ |
Logan Chien | d2351e5 | 2011-10-19 11:36:30 +0800 | [diff] [blame] | 62 | Trace.cpp \ |
| 63 | TypeBasedAliasAnalysis.cpp \ |
| 64 | ValueTracking.cpp |
Shih-wei Liao | e445432 | 2010-04-07 12:21:42 -0700 | [diff] [blame] | 65 | |
| 66 | # For the host |
| 67 | # ===================================================== |
| 68 | include $(CLEAR_VARS) |
| 69 | |
Shih-wei Liao | e445432 | 2010-04-07 12:21:42 -0700 | [diff] [blame] | 70 | LOCAL_MODULE:= libLLVMAnalysis |
Logan | 42c32da | 2011-01-15 12:10:18 +0800 | [diff] [blame] | 71 | LOCAL_MODULE_TAGS := optional |
Logan Chien | d2351e5 | 2011-10-19 11:36:30 +0800 | [diff] [blame] | 72 | LOCAL_SRC_FILES := $(analysis_SRC_FILES) |
Logan | 42c32da | 2011-01-15 12:10:18 +0800 | [diff] [blame] | 73 | |
Shih-wei Liao | e445432 | 2010-04-07 12:21:42 -0700 | [diff] [blame] | 74 | include $(LLVM_HOST_BUILD_MK) |
| 75 | include $(LLVM_GEN_INTRINSICS_MK) |
| 76 | include $(BUILD_HOST_STATIC_LIBRARY) |
| 77 | |
| 78 | # For the device |
| 79 | # ===================================================== |
| 80 | include $(CLEAR_VARS) |
| 81 | |
Shih-wei Liao | e445432 | 2010-04-07 12:21:42 -0700 | [diff] [blame] | 82 | LOCAL_MODULE:= libLLVMAnalysis |
Logan | 42c32da | 2011-01-15 12:10:18 +0800 | [diff] [blame] | 83 | LOCAL_MODULE_TAGS := optional |
Logan Chien | d2351e5 | 2011-10-19 11:36:30 +0800 | [diff] [blame] | 84 | LOCAL_SRC_FILES := $(analysis_SRC_FILES) |
Logan | 42c32da | 2011-01-15 12:10:18 +0800 | [diff] [blame] | 85 | |
Shih-wei Liao | e445432 | 2010-04-07 12:21:42 -0700 | [diff] [blame] | 86 | include $(LLVM_DEVICE_BUILD_MK) |
| 87 | include $(LLVM_GEN_INTRINSICS_MK) |
| 88 | include $(BUILD_STATIC_LIBRARY) |