mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Beside cleaning up the source code, the motivation for the translation into Swift is to make it easier to improve the pass for some InlineArray specific optimizations (though I'm not sure, yet if we really need those). Also, the new implementation doesn't contain the optimize-store-into-temp optimization anymore, because this is covered by redundant load elimination.
38 lines
1.1 KiB
CMake
38 lines
1.1 KiB
CMake
# This source file is part of the Swift.org open source project
|
|
#
|
|
# Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors
|
|
# Licensed under Apache License v2.0 with Runtime Library Exception
|
|
#
|
|
# See http://swift.org/LICENSE.txt for license information
|
|
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
|
|
|
|
swift_compiler_sources(Optimizer
|
|
AssumeSingleThreaded.swift
|
|
AsyncDemotion.swift
|
|
BooleanLiteralFolding.swift
|
|
CleanupDebugSteps.swift
|
|
ClosureSpecialization.swift
|
|
ComputeEscapeEffects.swift
|
|
ComputeSideEffects.swift
|
|
CopyToBorrowOptimization.swift
|
|
DeadStoreElimination.swift
|
|
DeinitDevirtualizer.swift
|
|
DestroyHoisting.swift
|
|
DiagnoseInfiniteRecursion.swift
|
|
InitializeStaticGlobals.swift
|
|
LetPropertyLowering.swift
|
|
LifetimeDependenceDiagnostics.swift
|
|
LifetimeDependenceInsertion.swift
|
|
LifetimeDependenceScopeFixup.swift
|
|
ObjectOutliner.swift
|
|
ObjCBridgingOptimization.swift
|
|
MergeCondFails.swift
|
|
NamedReturnValueOptimization.swift
|
|
RedundantLoadElimination.swift
|
|
ReleaseDevirtualizer.swift
|
|
SimplificationPasses.swift
|
|
StackPromotion.swift
|
|
StripObjectHeaders.swift
|
|
TempRValueElimination.swift
|
|
)
|