blob: 05ed522694d8a0a3363fd4ac9f9f914d39026ce0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
# This file was gererated by the build system used internally in the Yandex monorepo.
# Only simple modifications are allowed (adding source-files to targets, adding simple properties
# like target_include_directories). These modifications will be ported to original
# ya.make files by maintainers. Any complex modifications which can't be ported back to the
# original buildsystem will not be accepted.
add_library(lib-Transforms-Scalar)
target_compile_options(lib-Transforms-Scalar PRIVATE
-Wno-everything
)
target_include_directories(lib-Transforms-Scalar PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar
)
target_link_libraries(lib-Transforms-Scalar PUBLIC
contrib-libs-cxxsupp
contrib-libs-llvm12
libs-llvm12-include
llvm12-lib-Analysis
llvm12-lib-IR
llvm12-lib-Support
lib-Transforms-AggressiveInstCombine
lib-Transforms-InstCombine
lib-Transforms-Utils
)
target_sources(lib-Transforms-Scalar PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/ADCE.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/AlignmentFromAssumptions.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/AnnotationRemarks.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/BDCE.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/CallSiteSplitting.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/ConstantHoisting.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/ConstraintElimination.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/DCE.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/DeadStoreElimination.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/DivRemPairs.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/EarlyCSE.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/FlattenCFGPass.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/Float2Int.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/GVN.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/GVNHoist.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/GVNSink.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/GuardWidening.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/IVUsersPrinter.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/IndVarSimplify.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/InferAddressSpaces.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/InstSimplifyPass.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/JumpThreading.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LICM.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LoopAccessAnalysisPrinter.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LoopDataPrefetch.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LoopDeletion.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LoopDistribute.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LoopFlatten.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LoopFuse.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LoopInstSimplify.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LoopInterchange.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LoopLoadElimination.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LoopPassManager.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LoopPredication.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LoopRerollPass.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LoopRotation.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LoopSink.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LoopStrengthReduce.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LoopUnrollPass.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LoopUnswitch.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LoopVersioningLICM.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LowerAtomic.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LowerConstantIntrinsics.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LowerGuardIntrinsic.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/LowerWidenableCondition.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/MakeGuardsExplicit.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/MemCpyOptimizer.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/MergeICmps.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/MergedLoadStoreMotion.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/NaryReassociate.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/NewGVN.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/PlaceSafepoints.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/Reassociate.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/Reg2Mem.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/SCCP.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/SROA.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/Scalar.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/ScalarizeMaskedMemIntrin.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/Scalarizer.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/SimplifyCFGPass.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/Sink.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/SpeculateAroundPHIs.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/SpeculativeExecution.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/StructurizeCFG.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/TailRecursionElimination.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Transforms/Scalar/WarnMissedTransforms.cpp
)
|