blob: 4b8354d64879d235cb5381228d77a15d0bf8a2f5 [file] [log] [blame]
Dylan McKay029346f2015-12-20 12:16:20 +00001set(LLVM_TARGET_DEFINITIONS AVR.td)
Dylan McKayc498ba32015-11-12 09:26:44 +00002
Dylan McKay029346f2015-12-20 12:16:20 +00003tablegen(LLVM AVRGenRegisterInfo.inc -gen-register-info)
Dylan McKaybada46c2016-02-10 08:55:23 +00004tablegen(LLVM AVRGenInstrInfo.inc -gen-instr-info)
Dylan McKayf061e9b2015-12-20 23:17:44 +00005tablegen(LLVM AVRGenCallingConv.inc -gen-callingconv)
Dylan McKay6d8078f2016-05-06 10:12:31 +00006tablegen(LLVM AVRGenSubtargetInfo.inc -gen-subtarget)
Dylan McKay029346f2015-12-20 12:16:20 +00007add_public_tablegen_target(AVRCommonTableGen)
Dylan McKayc498ba32015-11-12 09:26:44 +00008
9add_llvm_target(AVRCodeGen
Dylan McKayc1ec00f2016-05-18 11:11:51 +000010 AVRInstrInfo.cpp
11 AVRRegisterInfo.cpp
12 AVRSubtarget.cpp
13 AVRTargetMachine.cpp
14 AVRTargetObjectFile.cpp
15)
Dylan McKayc498ba32015-11-12 09:26:44 +000016
17add_dependencies(LLVMAVRCodeGen intrinsics_gen)
18
Dylan McKay28ae3172016-05-21 00:35:07 +000019add_subdirectory(MCTargetDesc)
Dylan McKayc498ba32015-11-12 09:26:44 +000020add_subdirectory(TargetInfo)
21