blob: 1baf2a9438e3388d254a58478eaea51a7f2592e9 [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
10 AVRTargetMachine.cpp
Dylan McKay5c96de32016-01-07 10:53:15 +000011 AVRTargetObjectFile.cpp
Dylan McKay6d8078f2016-05-06 10:12:31 +000012 AVRSubtarget.cpp
13 AVRInstrInfo.cpp
14 AVRRegisterInfo.cpp
Dylan McKayc498ba32015-11-12 09:26:44 +000015 )
16
17add_dependencies(LLVMAVRCodeGen intrinsics_gen)
18
19add_subdirectory(TargetInfo)
20