mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-21 19:32:16 +00:00
c5bc067a0f
This patch is to move GlobalMerge pass from Transform/Scalar to CodeGen, because GlobalMerge depends on TargetMachine. In the mean time, the macro INITIALIZE_TM_PASS is also moved to CodeGen/Passes.h. With this fix we can avoid making libScalarOpts depend on libCodeGen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210951 91177308-0d34-0410-b5e6-96231b3b80d8
42 lines
815 B
CMake
42 lines
815 B
CMake
add_llvm_library(LLVMScalarOpts
|
|
ADCE.cpp
|
|
ConstantHoisting.cpp
|
|
ConstantProp.cpp
|
|
CorrelatedValuePropagation.cpp
|
|
DCE.cpp
|
|
DeadStoreElimination.cpp
|
|
EarlyCSE.cpp
|
|
FlattenCFGPass.cpp
|
|
GVN.cpp
|
|
IndVarSimplify.cpp
|
|
JumpThreading.cpp
|
|
LICM.cpp
|
|
LoadCombine.cpp
|
|
LoopDeletion.cpp
|
|
LoopIdiomRecognize.cpp
|
|
LoopInstSimplify.cpp
|
|
LoopRerollPass.cpp
|
|
LoopRotation.cpp
|
|
LoopStrengthReduce.cpp
|
|
LoopUnrollPass.cpp
|
|
LoopUnswitch.cpp
|
|
LowerAtomic.cpp
|
|
MemCpyOptimizer.cpp
|
|
PartiallyInlineLibCalls.cpp
|
|
Reassociate.cpp
|
|
Reg2Mem.cpp
|
|
SCCP.cpp
|
|
SROA.cpp
|
|
SampleProfile.cpp
|
|
Scalar.cpp
|
|
ScalarReplAggregates.cpp
|
|
Scalarizer.cpp
|
|
SeparateConstOffsetFromGEP.cpp
|
|
SimplifyCFGPass.cpp
|
|
Sink.cpp
|
|
StructurizeCFG.cpp
|
|
TailRecursionElimination.cpp
|
|
)
|
|
|
|
add_dependencies(LLVMScalarOpts intrinsics_gen)
|