2015-12-20 13:16:20 +01:00
|
|
|
set(LLVM_TARGET_DEFINITIONS AVR.td)
|
2015-11-12 10:26:44 +01:00
|
|
|
|
2015-12-20 13:16:20 +01:00
|
|
|
tablegen(LLVM AVRGenRegisterInfo.inc -gen-register-info)
|
2016-02-10 09:55:23 +01:00
|
|
|
tablegen(LLVM AVRGenInstrInfo.inc -gen-instr-info)
|
2015-12-21 00:17:44 +01:00
|
|
|
tablegen(LLVM AVRGenCallingConv.inc -gen-callingconv)
|
2016-05-06 12:12:31 +02:00
|
|
|
tablegen(LLVM AVRGenSubtargetInfo.inc -gen-subtarget)
|
2015-12-20 13:16:20 +01:00
|
|
|
add_public_tablegen_target(AVRCommonTableGen)
|
2015-11-12 10:26:44 +01:00
|
|
|
|
|
|
|
add_llvm_target(AVRCodeGen
|
|
|
|
AVRTargetMachine.cpp
|
2016-01-07 11:53:15 +01:00
|
|
|
AVRTargetObjectFile.cpp
|
2016-05-06 12:12:31 +02:00
|
|
|
AVRSubtarget.cpp
|
|
|
|
AVRInstrInfo.cpp
|
|
|
|
AVRRegisterInfo.cpp
|
2015-11-12 10:26:44 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
add_dependencies(LLVMAVRCodeGen intrinsics_gen)
|
|
|
|
|
|
|
|
add_subdirectory(TargetInfo)
|
|
|
|
|