Files
swift-mirror/SwiftCompilerSources/Sources/SIL/CMakeLists.txt
Erik Eckstein 10782cf42b SwiftCompilerSources: introduce the AST module
As the optimizer uses more and more AST stuff, it's now time to create an "AST" module.
Initially it defines following AST datastructures:
* declarations: `Decl` + derived classes
* `Conformance`
* `SubstitutionMap`
* `Type` and `CanonicalType`

Some of those were already defined in the SIL module and are now moved to the AST module.
This change also cleans up a few things:
* proper definition of `NominalTypeDecl`-related APIs in `SIL.Type`
* rename `ProtocolConformance` to `Conformance`
* use `AST.Type`/`AST.CanonicalType` instead of `BridgedASTType` in SIL and the Optimizer
2024-10-02 07:10:29 +02:00

38 lines
863 B
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
add_swift_compiler_module(SIL
DEPENDS
Basic
AST
SOURCES
ApplySite.swift
Argument.swift
ASTExtensions.swift
BasicBlock.swift
Builder.swift
DeclRef.swift
Effects.swift
ForwardingInstruction.swift
Function.swift
FunctionConvention.swift
GlobalVariable.swift
Instruction.swift
Linkage.swift
Location.swift
Operand.swift
Registration.swift
SILStage.swift
Type.swift
Value.swift
VTable.swift
WitnessTable.swift)
add_subdirectory(Utilities)