blob: e351baed2a6abc97e5d18b41e371f3a5b67c8e4f [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 McKay029346f2015-12-20 12:16:20 +00006add_public_tablegen_target(AVRCommonTableGen)
Dylan McKayc498ba32015-11-12 09:26:44 +00007
8add_llvm_target(AVRCodeGen
9 AVRTargetMachine.cpp
Dylan McKay5c96de32016-01-07 10:53:15 +000010 AVRTargetObjectFile.cpp
Dylan McKayc498ba32015-11-12 09:26:44 +000011 )
12
13add_dependencies(LLVMAVRCodeGen intrinsics_gen)
14
15add_subdirectory(TargetInfo)
16