xref: /llvm-project/llvm/lib/Transforms/Scalar/CMakeLists.txt (revision d2aff182d379c9b84cebe0fdf58907f4de768f1e)
1add_llvm_component_library(LLVMScalarOpts
2  ADCE.cpp
3  AlignmentFromAssumptions.cpp
4  AnnotationRemarks.cpp
5  BDCE.cpp
6  CallSiteSplitting.cpp
7  ConstantHoisting.cpp
8  ConstraintElimination.cpp
9  CorrelatedValuePropagation.cpp
10  DCE.cpp
11  DeadStoreElimination.cpp
12  DFAJumpThreading.cpp
13  DivRemPairs.cpp
14  EarlyCSE.cpp
15  FlattenCFGPass.cpp
16  Float2Int.cpp
17  GuardWidening.cpp
18  GVN.cpp
19  GVNHoist.cpp
20  GVNSink.cpp
21  IVUsersPrinter.cpp
22  InductiveRangeCheckElimination.cpp
23  IndVarSimplify.cpp
24  InferAddressSpaces.cpp
25  InferAlignment.cpp
26  InstSimplifyPass.cpp
27  JumpThreading.cpp
28  JumpTableToSwitch.cpp
29  LICM.cpp
30  LoopAccessAnalysisPrinter.cpp
31  LoopBoundSplit.cpp
32  LoopSink.cpp
33  LoopDeletion.cpp
34  LoopDataPrefetch.cpp
35  LoopDistribute.cpp
36  LoopFuse.cpp
37  LoopIdiomRecognize.cpp
38  LoopInstSimplify.cpp
39  LoopInterchange.cpp
40  LoopFlatten.cpp
41  LoopLoadElimination.cpp
42  LoopPassManager.cpp
43  LoopPredication.cpp
44  LoopRotation.cpp
45  LoopSimplifyCFG.cpp
46  LoopStrengthReduce.cpp
47  LoopTermFold.cpp
48  LoopUnrollPass.cpp
49  LoopUnrollAndJamPass.cpp
50  LoopVersioningLICM.cpp
51  LowerAtomicPass.cpp
52  LowerConstantIntrinsics.cpp
53  LowerExpectIntrinsic.cpp
54  LowerGuardIntrinsic.cpp
55  LowerMatrixIntrinsics.cpp
56  LowerWidenableCondition.cpp
57  MakeGuardsExplicit.cpp
58  MemCpyOptimizer.cpp
59  MergeICmps.cpp
60  MergedLoadStoreMotion.cpp
61  NaryReassociate.cpp
62  NewGVN.cpp
63  PartiallyInlineLibCalls.cpp
64  PlaceSafepoints.cpp
65  Reassociate.cpp
66  Reg2Mem.cpp
67  RewriteStatepointsForGC.cpp
68  SCCP.cpp
69  SROA.cpp
70  Scalar.cpp
71  Scalarizer.cpp
72  ScalarizeMaskedMemIntrin.cpp
73  SeparateConstOffsetFromGEP.cpp
74  SimpleLoopUnswitch.cpp
75  SimplifyCFGPass.cpp
76  Sink.cpp
77  SpeculativeExecution.cpp
78  StraightLineStrengthReduce.cpp
79  StructurizeCFG.cpp
80  TailRecursionElimination.cpp
81  WarnMissedTransforms.cpp
82
83  ADDITIONAL_HEADER_DIRS
84  ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms
85  ${LLVM_MAIN_INCLUDE_DIR}/llvm/Transforms/Scalar
86
87  DEPENDS
88  intrinsics_gen
89
90  COMPONENT_NAME
91  Scalar
92
93  LINK_COMPONENTS
94  AggressiveInstCombine
95  Analysis
96  Core
97  InstCombine
98  Support
99  TransformUtils
100  )
101