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