[Clang/AMDGPU] Zero sized arrays not allowed in HIP device code. (#113470)
[llvm-project.git] / llvm / lib / Target / Lanai / CMakeLists.txt
blob16d5f727043fe9c8e2765b50eec340fdb558e03b
1 add_llvm_component_group(Lanai)
3 set(LLVM_TARGET_DEFINITIONS Lanai.td)
5 tablegen(LLVM LanaiGenAsmMatcher.inc -gen-asm-matcher)
6 tablegen(LLVM LanaiGenAsmWriter.inc -gen-asm-writer)
7 tablegen(LLVM LanaiGenCallingConv.inc -gen-callingconv)
8 tablegen(LLVM LanaiGenDAGISel.inc -gen-dag-isel)
9 tablegen(LLVM LanaiGenDisassemblerTables.inc -gen-disassembler)
10 tablegen(LLVM LanaiGenInstrInfo.inc -gen-instr-info)
11 tablegen(LLVM LanaiGenMCCodeEmitter.inc -gen-emitter)
12 tablegen(LLVM LanaiGenRegisterInfo.inc -gen-register-info)
13 tablegen(LLVM LanaiGenSubtargetInfo.inc -gen-subtarget)
15 add_public_tablegen_target(LanaiCommonTableGen)
17 add_llvm_target(LanaiCodeGen
18   LanaiAsmPrinter.cpp
19   LanaiDelaySlotFiller.cpp
20   LanaiFrameLowering.cpp
21   LanaiInstrInfo.cpp
22   LanaiISelDAGToDAG.cpp
23   LanaiISelLowering.cpp
24   LanaiMachineFunctionInfo.cpp
25   LanaiMCInstLower.cpp
26   LanaiMemAluCombiner.cpp
27   LanaiRegisterInfo.cpp
28   LanaiSelectionDAGInfo.cpp
29   LanaiSubtarget.cpp
30   LanaiTargetMachine.cpp
31   LanaiTargetObjectFile.cpp
33   LINK_COMPONENTS
34   Analysis
35   AsmPrinter
36   CodeGen
37   CodeGenTypes
38   Core
39   LanaiAsmParser
40   LanaiDesc
41   LanaiInfo
42   MC
43   SelectionDAG
44   Support
45   Target
46   TargetParser
47   TransformUtils
49   ADD_TO_COMPONENT
50   Lanai
51   )
53 add_subdirectory(AsmParser)
54 add_subdirectory(Disassembler)
55 add_subdirectory(MCTargetDesc)
56 add_subdirectory(TargetInfo)