mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
8048c44580
CodeGenPrepare uses extensively TargetLowering which is part of libLLVMCodeGen. This is a layer violation which would introduce eventually a dependence on CodeGen in ScalarOpts. Move CodeGenPrepare into libLLVMCodeGen to avoid that. Follow-up of <rdar://problem/15519855> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201912 91177308-0d34-0410-b5e6-96231b3b80d8
41 lines
782 B
CMake
41 lines
782 B
CMake
add_llvm_library(LLVMScalarOpts
|
|
ADCE.cpp
|
|
ConstantHoisting.cpp
|
|
ConstantProp.cpp
|
|
CorrelatedValuePropagation.cpp
|
|
DCE.cpp
|
|
DeadStoreElimination.cpp
|
|
Scalarizer.cpp
|
|
EarlyCSE.cpp
|
|
GlobalMerge.cpp
|
|
GVN.cpp
|
|
IndVarSimplify.cpp
|
|
JumpThreading.cpp
|
|
LICM.cpp
|
|
LoopDeletion.cpp
|
|
LoopIdiomRecognize.cpp
|
|
LoopInstSimplify.cpp
|
|
LoopRotation.cpp
|
|
LoopStrengthReduce.cpp
|
|
LoopRerollPass.cpp
|
|
LoopUnrollPass.cpp
|
|
LoopUnswitch.cpp
|
|
LowerAtomic.cpp
|
|
MemCpyOptimizer.cpp
|
|
PartiallyInlineLibCalls.cpp
|
|
Reassociate.cpp
|
|
Reg2Mem.cpp
|
|
SampleProfile.cpp
|
|
SCCP.cpp
|
|
SROA.cpp
|
|
Scalar.cpp
|
|
ScalarReplAggregates.cpp
|
|
SimplifyCFGPass.cpp
|
|
FlattenCFGPass.cpp
|
|
Sink.cpp
|
|
StructurizeCFG.cpp
|
|
TailRecursionElimination.cpp
|
|
)
|
|
|
|
add_dependencies(LLVMScalarOpts intrinsics_gen)
|