[SampleProfileLoader] Fix integer overflow in generateMDProfMetadata (#90217)
[llvm-project.git] / mlir / lib / Target / SPIRV / CMakeLists.txt
blob22d6d195a249eb37cd76f6ccbbe999cd9c22bde2
1 add_subdirectory(Deserialization)
2 add_subdirectory(Serialization)
4 set(LLVM_OPTIONAL_SOURCES
5   SPIRVBinaryUtils.cpp
6   TranslateRegistration.cpp
7   Target.cpp
8   )
10 add_mlir_translation_library(MLIRSPIRVBinaryUtils
11   SPIRVBinaryUtils.cpp
13   LINK_LIBS PUBLIC
14   MLIRIR
15   MLIRSPIRVDialect
16   MLIRSupport
17   )
19 add_mlir_translation_library(MLIRSPIRVTranslateRegistration
20   TranslateRegistration.cpp
22   LINK_LIBS PUBLIC
23   MLIRIR
24   MLIRSPIRVDialect
25   MLIRSPIRVSerialization
26   MLIRSPIRVDeserialization
27   MLIRSupport
28   MLIRTranslateLib
29   )
31 add_mlir_dialect_library(MLIRSPIRVTarget
32   Target.cpp
34   LINK_LIBS PUBLIC
35   MLIRIR
36   MLIRGPUDialect
37   MLIRSPIRVDialect
38   MLIRSPIRVSerialization
39   MLIRSupport
40   )