Files
swift-mirror/tools/SourceKit/lib/SwiftLang/CMakeLists.txt
Arnold Schwaighofer f38c912878 Add support of a IRGen lowering SIL pipeline.
This pipeline is run as part of IRGen and has access to the IRGenModule.

Passes that run as part of this pipeline can query for the IRGenModule.

We will use it for the AllocStackHoisting pass. It wants to know if a type is of
non-fixed size.

To break the cyclic dependency between IRGen -> SILOptimizer -> IRGen that would
arise from the SILPassManager having to know about the createIRGENPASS()
function IRGen passes instead of exposing this function dynamically have to add
themselves to the pass manager.
2016-12-20 07:51:47 -08:00

48 lines
1.1 KiB
CMake

add_sourcekit_library(SourceKitSwiftLang
CodeCompletionOrganizer.cpp
SwiftASTManager.cpp
SwiftCompletion.cpp
SwiftDocSupport.cpp
SwiftEditor.cpp
SwiftEditorInterfaceGen.cpp
SwiftIndexing.cpp
SwiftLangSupport.cpp
SwiftSourceDocInfo.cpp
DEPENDS SourceKitCore swiftDriver swiftFrontend swiftClangImporter swiftIndex swiftIDE
swiftAST swiftMarkup swiftParse swiftSIL swiftSILGen swiftSILOptimizer
swiftIRGen swiftSema swiftBasic swiftSerialization
swiftOption cmark
# Clang dependencies.
clangIndex
clangFormat
clangToolingCore
clangFrontendTool
clangFrontend
clangDriver
clangCodeGen
clangSerialization
clangParse
clangSema
clangAnalysis
clangEdit
clangRewriteFrontend
clangRewrite
clangLex
clangAST
clangAPINotes
clangBasic
LLVM_COMPONENT_DEPENDS ${LLVM_TARGETS_TO_BUILD}
bitreader
bitwriter
coverage
debuginfodwarf
instrumentation
ipo
lto
mc
mcparser
option
objcarcopts
profiledata
)