2015-12-20 20:16:20 +08:00
|
|
|
set(LLVM_TARGET_DEFINITIONS AVR.td)
|
2015-11-12 17:26:44 +08:00
|
|
|
|
2016-09-28 21:02:57 +08:00
|
|
|
tablegen(LLVM AVRGenAsmMatcher.inc -gen-asm-matcher)
|
2015-12-20 20:16:20 +08:00
|
|
|
tablegen(LLVM AVRGenRegisterInfo.inc -gen-register-info)
|
2016-02-10 16:55:23 +08:00
|
|
|
tablegen(LLVM AVRGenInstrInfo.inc -gen-instr-info)
|
2015-12-21 07:17:44 +08:00
|
|
|
tablegen(LLVM AVRGenCallingConv.inc -gen-callingconv)
|
2016-05-06 18:12:31 +08:00
|
|
|
tablegen(LLVM AVRGenSubtargetInfo.inc -gen-subtarget)
|
2015-12-20 20:16:20 +08:00
|
|
|
add_public_tablegen_target(AVRCommonTableGen)
|
2015-11-12 17:26:44 +08:00
|
|
|
|
|
|
|
add_llvm_target(AVRCodeGen
|
2016-05-18 19:11:51 +08:00
|
|
|
AVRInstrInfo.cpp
|
|
|
|
AVRRegisterInfo.cpp
|
|
|
|
AVRSubtarget.cpp
|
|
|
|
AVRTargetMachine.cpp
|
|
|
|
AVRTargetObjectFile.cpp
|
|
|
|
)
|
2015-11-12 17:26:44 +08:00
|
|
|
|
|
|
|
add_dependencies(LLVMAVRCodeGen intrinsics_gen)
|
|
|
|
|
2016-05-21 08:35:07 +08:00
|
|
|
add_subdirectory(MCTargetDesc)
|
2015-11-12 17:26:44 +08:00
|
|
|
add_subdirectory(TargetInfo)
|
2016-09-28 21:02:57 +08:00
|
|
|
add_subdirectory(AsmParser)
|
2015-11-12 17:26:44 +08:00
|
|
|
|