Fix CMake build.
[oota-llvm.git] / lib / Transforms / Scalar / CMakeLists.txt
1 add_llvm_library(LLVMScalarOpts
2   ADCE.cpp
3   BasicBlockPlacement.cpp
4   CodeGenPrepare.cpp
5   ConstantProp.cpp
6   CorrelatedValuePropagation.cpp
7   DCE.cpp
8   DeadStoreElimination.cpp
9   EarlyCSE.cpp
10   GlobalMerge.cpp
11   GVN.cpp
12   IndVarSimplify.cpp
13   JumpThreading.cpp
14   LICM.cpp
15   LoopDeletion.cpp
16   LoopIdiomRecognize.cpp
17   LoopInstSimplify.cpp
18   LoopRotation.cpp
19   LoopStrengthReduce.cpp
20   LoopUnrollPass.cpp
21   LoopUnswitch.cpp
22   LowerAtomic.cpp
23   MemCpyOptimizer.cpp
24   ObjCARC.cpp
25   Reassociate.cpp
26   Reg2Mem.cpp
27   SCCP.cpp
28   Scalar.cpp
29   ScalarReplAggregates.cpp
30   SimplifyCFGPass.cpp
31   SimplifyLibCalls.cpp
32   Sink.cpp
33   TailRecursionElimination.cpp
34   )
35
36 add_llvm_library_dependencies(LLVMScalarOpts
37   LLVMAnalysis
38   LLVMCore
39   LLVMInstCombine
40   LLVMSupport
41   LLVMTarget
42   LLVMTransformUtils
43   )