1 import("//llvm/utils/TableGen/tablegen.gni")
3 tablegen("SystemZGenAsmWriter") {
4 visibility = [ ":MCTargetDesc" ]
5 args = [ "-gen-asm-writer" ]
6 td_file = "../SystemZ.td"
9 tablegen("SystemZGenInstrInfo") {
10 visibility = [ ":MCTargetDesc" ]
11 args = [ "-gen-instr-info" ]
12 td_file = "../SystemZ.td"
15 tablegen("SystemZGenMCCodeEmitter") {
16 visibility = [ ":MCTargetDesc" ]
17 args = [ "-gen-emitter" ]
18 td_file = "../SystemZ.td"
21 tablegen("SystemZGenRegisterInfo") {
22 visibility = [ ":MCTargetDesc" ]
23 args = [ "-gen-register-info" ]
24 td_file = "../SystemZ.td"
27 tablegen("SystemZGenSubtargetInfo") {
28 visibility = [ ":MCTargetDesc" ]
29 args = [ "-gen-subtarget" ]
30 td_file = "../SystemZ.td"
33 static_library("MCTargetDesc") {
34 output_name = "LLVMSystemZDesc"
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 on the static_library instead.
40 ":SystemZGenInstrInfo",
41 ":SystemZGenRegisterInfo",
42 ":SystemZGenSubtargetInfo",
45 ":SystemZGenAsmWriter",
46 ":SystemZGenMCCodeEmitter",
49 "//llvm/lib/Target/SystemZ/TargetInfo",
51 include_dirs = [ ".." ]
53 "SystemZInstPrinter.cpp",
54 "SystemZMCAsmBackend.cpp",
55 "SystemZMCAsmInfo.cpp",
56 "SystemZMCCodeEmitter.cpp",
57 "SystemZMCObjectWriter.cpp",
58 "SystemZMCTargetDesc.cpp",