Simplify n-ary adds by reassociation
[oota-llvm.git] / lib / Transforms / Scalar / CMakeLists.txt
1 add_llvm_library(LLVMScalarOpts
2   ADCE.cpp
3   AlignmentFromAssumptions.cpp
4   BDCE.cpp
5   ConstantHoisting.cpp
6   ConstantProp.cpp
7   CorrelatedValuePropagation.cpp
8   DCE.cpp
9   DeadStoreElimination.cpp
10   EarlyCSE.cpp
11   FlattenCFGPass.cpp
12   Float2Int.cpp
13   GVN.cpp
14   InductiveRangeCheckElimination.cpp
15   IndVarSimplify.cpp
16   JumpThreading.cpp
17   LICM.cpp
18   LoadCombine.cpp
19   LoopDeletion.cpp
20   LoopIdiomRecognize.cpp
21   LoopInstSimplify.cpp
22   LoopInterchange.cpp
23   LoopRerollPass.cpp
24   LoopRotation.cpp
25   LoopStrengthReduce.cpp
26   LoopUnrollPass.cpp
27   LoopUnswitch.cpp
28   LowerAtomic.cpp
29   LowerExpectIntrinsic.cpp
30   MemCpyOptimizer.cpp
31   MergedLoadStoreMotion.cpp
32   NaryReassociate.cpp
33   PartiallyInlineLibCalls.cpp
34   PlaceSafepoints.cpp
35   Reassociate.cpp
36   Reg2Mem.cpp
37   RewriteStatepointsForGC.cpp
38   SCCP.cpp
39   SROA.cpp
40   SampleProfile.cpp
41   Scalar.cpp
42   ScalarReplAggregates.cpp
43   Scalarizer.cpp
44   SeparateConstOffsetFromGEP.cpp
45   SimplifyCFGPass.cpp
46   Sink.cpp
47   StraightLineStrengthReduce.cpp
48   StructurizeCFG.cpp
49   TailRecursionElimination.cpp
50
51   ADDITIONAL_HEADER_DIRS
52   ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms
53   ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms/Scalar
54   )
55
56 add_dependencies(LLVMScalarOpts intrinsics_gen)