1 import("//llvm/utils/TableGen/tablegen.gni")
3 tablegen("AVRGenAsmWriter") {
4 visibility = [ ":MCTargetDesc" ]
5 args = [ "-gen-asm-writer" ]
9 tablegen("AVRGenInstrInfo") {
10 visibility = [ ":MCTargetDesc" ]
11 args = [ "-gen-instr-info" ]
15 tablegen("AVRGenMCCodeEmitter") {
16 visibility = [ ":MCTargetDesc" ]
17 args = [ "-gen-emitter" ]
21 tablegen("AVRGenRegisterInfo") {
22 visibility = [ ":MCTargetDesc" ]
23 args = [ "-gen-register-info" ]
27 tablegen("AVRGenSubtargetInfo") {
28 visibility = [ ":MCTargetDesc" ]
29 args = [ "-gen-subtarget" ]
33 static_library("MCTargetDesc") {
34 output_name = "LLVMAVRDesc"
36 # This should contain tablegen targets generating .inc files included
37 # by other targets. .inc files only used by .cpp files in this directory
38 # should be in deps instead.
41 ":AVRGenRegisterInfo",
42 ":AVRGenSubtargetInfo",
46 ":AVRGenMCCodeEmitter",
49 "//llvm/lib/Target/AVR/TargetInfo",
51 include_dirs = [ ".." ]
54 "AVRELFObjectWriter.cpp",
58 "AVRMCCodeEmitter.cpp",
59 "AVRMCELFStreamer.cpp",
61 "AVRMCTargetDesc.cpp",
62 "AVRTargetStreamer.cpp",