add_llvm_library(LLVMScalarOpts
  ADCE.cpp
  BasicBlockPlacement.cpp
  CodeGenPrepare.cpp
  ConstantProp.cpp
  CorrelatedValuePropagation.cpp
  DCE.cpp
  DeadStoreElimination.cpp
  EarlyCSE.cpp
  GlobalMerge.cpp
  GVN.cpp
  IndVarSimplify.cpp
  JumpThreading.cpp
  LICM.cpp
  LoopDeletion.cpp
  LoopIdiomRecognize.cpp
  LoopInstSimplify.cpp
  LoopRotation.cpp
  LoopStrengthReduce.cpp
  LoopUnrollPass.cpp
  LoopUnswitch.cpp
  LowerAtomic.cpp
  MemCpyOptimizer.cpp
  ObjCARC.cpp
  Reassociate.cpp
  Reg2Mem.cpp
  SCCP.cpp
  Scalar.cpp
  ScalarReplAggregates.cpp
  SimplifyCFGPass.cpp
  SimplifyLibCalls.cpp
  Sink.cpp
  TailRecursionElimination.cpp
  )
