mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Propagating array element values is done by load-simplification and redundant-load-elimination. So ArrayElementPropagation is not needed anymore. ArrayElementPropagation also replaced `Array.append(contentsOf:)` with individual `Array.append` calls. This optimization is removed, because the benefit is questionably, anyway. In most cases it resulted in a code size increase.
39 lines
928 B
CMake
39 lines
928 B
CMake
target_sources(swiftSILOptimizer PRIVATE
|
|
ARCCodeMotion.cpp
|
|
AccessEnforcementDom.cpp
|
|
AccessEnforcementOpts.cpp
|
|
AccessEnforcementReleaseSinking.cpp
|
|
AccessEnforcementWMO.cpp
|
|
AllocBoxToStack.cpp
|
|
ArrayCountPropagation.cpp
|
|
COWOpts.cpp
|
|
CSE.cpp
|
|
ConditionForwarding.cpp
|
|
CopyForwarding.cpp
|
|
CopyPropagation.cpp
|
|
DeadCodeElimination.cpp
|
|
DeadObjectElimination.cpp
|
|
Devirtualizer.cpp
|
|
DifferentiabilityWitnessDevirtualizer.cpp
|
|
EagerSpecializer.cpp
|
|
GenericSpecializer.cpp
|
|
Outliner.cpp
|
|
AssemblyVisionRemarkGenerator.cpp
|
|
PartialApplySimplification.cpp
|
|
PerformanceInliner.cpp
|
|
PhiArgumentOptimizations.cpp
|
|
PruneVTables.cpp
|
|
RedundantOverflowCheckRemoval.cpp
|
|
SILCodeMotion.cpp
|
|
SILLowerAggregateInstrs.cpp
|
|
SILMem2Reg.cpp
|
|
SILSROA.cpp
|
|
DestroyAddrHoisting.cpp
|
|
SimplifyCFG.cpp
|
|
Sink.cpp
|
|
SpeculativeDevirtualizer.cpp
|
|
StringOptimization.cpp
|
|
TempLValueOpt.cpp
|
|
TempRValueElimination.cpp)
|
|
|