blob: b65a01c26f6836b0b889d19104a585ac90d21a11 [file] [log] [blame]
add_swift_host_library(swiftSIL STATIC
AbstractionPattern.cpp
BasicBlockUtils.cpp
Bridging.cpp
DebugUtils.cpp
Dominance.cpp
DynamicCasts.cpp
InstructionUtils.cpp
MemAccessUtils.cpp
Linker.cpp
LinearLifetimeChecker.cpp
LoopInfo.cpp
MemoryLifetime.cpp
Notifications.cpp
OperandOwnership.cpp
OptimizationRemark.cpp
OwnershipUtils.cpp
PrettyStackTrace.cpp
Projection.cpp
SIL.cpp
SILArgument.cpp
SILBasicBlock.cpp
SILBuilder.cpp
SILConstants.cpp
SILCoverageMap.cpp
SILDebugScope.cpp
SILDeclRef.cpp
SILDefaultWitnessTable.cpp
# SWIFT_ENABLE_TENSORFLOW
SILDifferentiabilityWitness.cpp
SILFunction.cpp
SILFunctionType.cpp
SILGlobalVariable.cpp
SILInstruction.cpp
SILInstructions.cpp
SILInstructionWorklist.cpp
SILLocation.cpp
SILModule.cpp
SILFunctionBuilder.cpp
SILOpenedArchetypesTracker.cpp
SILPrinter.cpp
SILProfiler.cpp
SILSuccessor.cpp
SILType.cpp
SILUndef.cpp
SILValue.cpp
SILVerifier.cpp
SILOwnershipVerifier.cpp
SILVTable.cpp
SILWitnessTable.cpp
TypeLowering.cpp
ValueOwnership.cpp
ValueUtils.cpp)
target_link_libraries(swiftSIL PRIVATE
swiftSema
swiftSerialization)
# intrinsics_gen is the LLVM tablegen target that generates the include files
# where intrinsics and attributes are declared. swiftSIL depends on these
# headers.
# For more information see the comment at the top of lib/CMakeLists.txt.
add_dependencies(swiftSIL intrinsics_gen clang-tablegen-targets)