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  AVRRelaxMemOperations.cpp
26  AVRRegisterInfo.cpp
27  AVRSubtarget.cpp
28  AVRTargetMachine.cpp
29  AVRTargetObjectFile.cpp
30
31  DEPENDS
32  intrinsics_gen
33
34  LINK_COMPONENTS
35  AsmPrinter
36  CodeGen
37  Core
38  MC
39  AVRDesc
40  AVRInfo
41  SelectionDAG
42  Support
43  Target
44
45  ADD_TO_COMPONENT
46  AVR
47)
48
49add_subdirectory(AsmParser)
50add_subdirectory(Disassembler)
51add_subdirectory(MCTargetDesc)
52add_subdirectory(TargetInfo)
53