[X86] Add test case for #124871. NFC
[llvm-project.git] / llvm / lib / Target / SPIRV / CMakeLists.txt
blobefdd8c8d24fbd500b467d00023c17eb08eb8bfcc
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)
13 tablegen(LLVM SPIRVGenPreLegalizeGICombiner.inc -gen-global-isel-combiner
14               -combiners="SPIRVPreLegalizerCombiner")
16 add_public_tablegen_target(SPIRVCommonTableGen)
18 add_llvm_target(SPIRVCodeGen
19   SPIRVAPI.cpp
20   SPIRVAsmPrinter.cpp
21   SPIRVBuiltins.cpp
22   SPIRVCallLowering.cpp
23   SPIRVInlineAsmLowering.cpp
24   SPIRVCommandLine.cpp
25   SPIRVEmitIntrinsics.cpp
26   SPIRVGlobalRegistry.cpp
27   SPIRVInstrInfo.cpp
28   SPIRVInstructionSelector.cpp
29   SPIRVStripConvergentIntrinsics.cpp
30   SPIRVMergeRegionExitTargets.cpp
31   SPIRVISelLowering.cpp
32   SPIRVLegalizerInfo.cpp
33   SPIRVMCInstLower.cpp
34   SPIRVMetadata.cpp
35   SPIRVModuleAnalysis.cpp
36   SPIRVStructurizer.cpp
37   SPIRVPreLegalizer.cpp
38   SPIRVPreLegalizerCombiner.cpp
39   SPIRVPostLegalizer.cpp
40   SPIRVPrepareFunctions.cpp
41   SPIRVRegisterBankInfo.cpp
42   SPIRVRegisterInfo.cpp
43   SPIRVRegularizer.cpp
44   SPIRVSubtarget.cpp
45   SPIRVTargetMachine.cpp
46   SPIRVUtils.cpp
47   SPIRVEmitNonSemanticDI.cpp
49   LINK_COMPONENTS
50   Analysis
51   AsmPrinter
52   CodeGen
53   CodeGenTypes
54   Core
55   Demangle
56   GlobalISel
57   SPIRVAnalysis
58   MC
59   SPIRVDesc
60   SPIRVInfo
61   ScalarOpts
62   SelectionDAG
63   Support
64   Target
65   TargetParser
66   TransformUtils
68   ADD_TO_COMPONENT
69   SPIRV
70   )
72 add_subdirectory(MCTargetDesc)
73 add_subdirectory(TargetInfo)
74 add_subdirectory(Analysis)