add_llvm_library(LLVMAnalysis
  AliasAnalysis.cpp
  AliasAnalysisCounter.cpp
  AliasAnalysisEvaluator.cpp
  AliasDebugger.cpp
  AliasSetTracker.cpp
  Analysis.cpp
  BasicAliasAnalysis.cpp
  BlockFrequencyInfo.cpp
  BranchProbabilityInfo.cpp
  CFGPrinter.cpp
  CaptureTracking.cpp
  ConstantFolding.cpp
  DIBuilder.cpp
  DbgInfoPrinter.cpp
  DebugInfo.cpp
  DomPrinter.cpp
  DominanceFrontier.cpp
  IVUsers.cpp
  InlineCost.cpp
  InstCount.cpp
  InstructionSimplify.cpp
  Interval.cpp
  IntervalPartition.cpp
  LazyValueInfo.cpp
  LibCallAliasAnalysis.cpp
  LibCallSemantics.cpp
  Lint.cpp
  Loads.cpp
  LoopDependenceAnalysis.cpp
  LoopInfo.cpp
  LoopPass.cpp
  MemDepPrinter.cpp
  MemoryBuiltins.cpp
  MemoryDependenceAnalysis.cpp
  ModuleDebugInfoPrinter.cpp
  NoAliasAnalysis.cpp
  PHITransAddr.cpp
  PathNumbering.cpp
  PathProfileInfo.cpp
  PathProfileVerifier.cpp
  PostDominators.cpp
  ProfileEstimatorPass.cpp
  ProfileInfo.cpp
  ProfileInfoLoader.cpp
  ProfileInfoLoaderPass.cpp
  ProfileVerifierPass.cpp
  RegionInfo.cpp
  RegionPass.cpp
  RegionPrinter.cpp
  ScalarEvolution.cpp
  ScalarEvolutionAliasAnalysis.cpp
  ScalarEvolutionExpander.cpp
  ScalarEvolutionNormalization.cpp
  SparsePropagation.cpp
  Trace.cpp
  TypeBasedAliasAnalysis.cpp
  ValueTracking.cpp
  )

add_llvm_library_dependencies(LLVMAnalysis
  LLVMCore
  LLVMSupport
  LLVMTarget
  )

add_subdirectory(IPA)
