Prevent hoisting the instruction whose def might be clobbered by the terminator.
[oota-llvm.git] / lib / Transforms / Scalar / CMakeLists.txt
1 add_llvm_library(LLVMScalarOpts
2   ADCE.cpp
3   ConstantHoisting.cpp
4   ConstantProp.cpp
5   CorrelatedValuePropagation.cpp
6   DCE.cpp
7   DeadStoreElimination.cpp
8   EarlyCSE.cpp
9   FlattenCFGPass.cpp
10   GVN.cpp
11   GlobalMerge.cpp
12   IndVarSimplify.cpp
13   JumpThreading.cpp
14   LICM.cpp
15   LoadCombine.cpp
16   LoopDeletion.cpp
17   LoopIdiomRecognize.cpp
18   LoopInstSimplify.cpp
19   LoopRerollPass.cpp
20   LoopRotation.cpp
21   LoopStrengthReduce.cpp
22   LoopUnrollPass.cpp
23   LoopUnswitch.cpp
24   LowerAtomic.cpp
25   MemCpyOptimizer.cpp
26   PartiallyInlineLibCalls.cpp
27   Reassociate.cpp
28   Reg2Mem.cpp
29   SCCP.cpp
30   SROA.cpp
31   SampleProfile.cpp
32   Scalar.cpp
33   ScalarReplAggregates.cpp
34   Scalarizer.cpp
35   SeparateConstOffsetFromGEP.cpp
36   SimplifyCFGPass.cpp
37   Sink.cpp
38   StructurizeCFG.cpp
39   TailRecursionElimination.cpp
40   )
41
42 add_dependencies(LLVMScalarOpts intrinsics_gen)