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