xref: /llvm-project/llvm/lib/Target/AVR/CMakeLists.txt (revision 5d71ec6e448fa3ecb7e22368e97cf8274d5c84c6)
1add_llvm_component_group(AVR)
2
3set(LLVM_TARGET_DEFINITIONS AVR.td)
4
5tablegen(LLVM AVRGenAsmMatcher.inc -gen-asm-matcher)
6tablegen(LLVM AVRGenAsmWriter.inc -gen-asm-writer)
7tablegen(LLVM AVRGenCallingConv.inc -gen-callingconv)
8tablegen(LLVM AVRGenDAGISel.inc -gen-dag-isel)
9tablegen(LLVM AVRGenDisassemblerTables.inc -gen-disassembler)
10tablegen(LLVM AVRGenInstrInfo.inc -gen-instr-info)
11tablegen(LLVM AVRGenMCCodeEmitter.inc -gen-emitter)
12tablegen(LLVM AVRGenRegisterInfo.inc -gen-register-info)
13tablegen(LLVM AVRGenSubtargetInfo.inc -gen-subtarget)
14
15add_public_tablegen_target(AVRCommonTableGen)
16
17add_llvm_target(AVRCodeGen
18  AVRAsmPrinter.cpp
19  AVRExpandPseudoInsts.cpp
20  AVRFrameLowering.cpp
21  AVRInstrInfo.cpp
22  AVRISelDAGToDAG.cpp
23  AVRISelLowering.cpp
24  AVRMCInstLower.cpp
25  AVRRegisterInfo.cpp
26  AVRShiftExpand.cpp
27  AVRSubtarget.cpp
28  AVRTargetMachine.cpp
29  AVRTargetObjectFile.cpp
30
31  DEPENDS
32  intrinsics_gen
33
34  LINK_COMPONENTS
35  AVRDesc
36  AVRInfo
37  AsmPrinter
38  CodeGen
39  CodeGenTypes
40  Core
41  MC
42  SelectionDAG
43  Support
44  Target
45
46  ADD_TO_COMPONENT
47  AVR
48  )
49
50add_subdirectory(AsmParser)
51add_subdirectory(Disassembler)
52add_subdirectory(MCTargetDesc)
53add_subdirectory(TargetInfo)
54