add_llvm_library(LLVMScalarOpts
  ADCE.cpp
  BasicBlockPlacement.cpp
  CodeGenPrepare.cpp
  CondPropagate.cpp
  ConstantProp.cpp
  DCE.cpp
  DeadStoreElimination.cpp
  GVN.cpp
  GVNPRE.cpp
  IndVarSimplify.cpp
  InstructionCombining.cpp
  JumpThreading.cpp
  LICM.cpp
  LoopDeletion.cpp
  LoopIndexSplit.cpp
  LoopRotation.cpp
  LoopStrengthReduce.cpp
  LoopUnroll.cpp
  LoopUnswitch.cpp
  MemCpyOptimizer.cpp
  PredicateSimplifier.cpp
  Reassociate.cpp
  Reg2Mem.cpp
  SCCP.cpp
  Scalar.cpp
  ScalarReplAggregates.cpp
  SimplifyCFGPass.cpp
  SimplifyHalfPowrLibCalls.cpp
  SimplifyLibCalls.cpp
  TailDuplication.cpp
  TailRecursionElimination.cpp
  )
