[llvm-shlib] Fix the version naming style of libLLVM for Windows (#85710)
[llvm-project.git] / llvm / lib / Target / SPIRV / CMakeLists.txt
blob7d17c307db13a04a625dd70aba3be536d5169f05
1 add_llvm_component_group(SPIRV)
3 set(LLVM_TARGET_DEFINITIONS SPIRV.td)
5 tablegen(LLVM SPIRVGenAsmWriter.inc -gen-asm-writer)
6 tablegen(LLVM SPIRVGenGlobalISel.inc -gen-global-isel)
7 tablegen(LLVM SPIRVGenInstrInfo.inc -gen-instr-info)
8 tablegen(LLVM SPIRVGenMCCodeEmitter.inc -gen-emitter)
9 tablegen(LLVM SPIRVGenRegisterBank.inc -gen-register-bank)
10 tablegen(LLVM SPIRVGenRegisterInfo.inc -gen-register-info)
11 tablegen(LLVM SPIRVGenSubtargetInfo.inc -gen-subtarget)
12 tablegen(LLVM SPIRVGenTables.inc -gen-searchable-tables)
14 add_public_tablegen_target(SPIRVCommonTableGen)
16 add_llvm_target(SPIRVCodeGen
17   SPIRVAsmPrinter.cpp
18   SPIRVBuiltins.cpp
19   SPIRVCallLowering.cpp
20   SPIRVDuplicatesTracker.cpp
21   SPIRVEmitIntrinsics.cpp
22   SPIRVGlobalRegistry.cpp
23   SPIRVInstrInfo.cpp
24   SPIRVInstructionSelector.cpp
25   SPIRVStripConvergentIntrinsics.cpp
26   SPIRVISelLowering.cpp
27   SPIRVLegalizerInfo.cpp
28   SPIRVMCInstLower.cpp
29   SPIRVModuleAnalysis.cpp
30   SPIRVPreLegalizer.cpp
31   SPIRVPrepareFunctions.cpp
32   SPIRVRegisterBankInfo.cpp
33   SPIRVRegisterInfo.cpp
34   SPIRVRegularizer.cpp
35   SPIRVSubtarget.cpp
36   SPIRVTargetMachine.cpp
37   SPIRVUtils.cpp
39   LINK_COMPONENTS
40   Analysis
41   AsmPrinter
42   CodeGen
43   CodeGenTypes
44   Core
45   Demangle
46   GlobalISel
47   MC
48   SPIRVDesc
49   SPIRVInfo
50   SelectionDAG
51   Support
52   Target
53   TargetParser
54   TransformUtils
56   ADD_TO_COMPONENT
57   SPIRV
58   )
60 add_subdirectory(MCTargetDesc)
61 add_subdirectory(TargetInfo)