1 import("//llvm/utils/TableGen/tablegen.gni")
3 tablegen("MipsGenAsmWriter") {
4 visibility = [ ":MCTargetDesc" ]
5 args = [ "-gen-asm-writer" ]
9 tablegen("MipsGenInstrInfo") {
10 visibility = [ ":tablegen" ]
11 args = [ "-gen-instr-info" ]
12 td_file = "../Mips.td"
15 tablegen("MipsGenMCCodeEmitter") {
16 visibility = [ ":MCTargetDesc" ]
17 args = [ "-gen-emitter" ]
18 td_file = "../Mips.td"
21 tablegen("MipsGenRegisterInfo") {
22 visibility = [ ":tablegen" ]
23 args = [ "-gen-register-info" ]
24 td_file = "../Mips.td"
27 tablegen("MipsGenSubtargetInfo") {
28 visibility = [ ":tablegen" ]
29 args = [ "-gen-subtarget" ]
30 td_file = "../Mips.td"
33 # This should contain tablegen targets generating .inc files included
34 # by other targets. .inc files only used by .cpp files in this directory
35 # should be in deps on the static_library instead.
43 ":MipsGenRegisterInfo",
44 ":MipsGenSubtargetInfo",
48 static_library("MCTargetDesc") {
49 output_name = "LLVMMipsDesc"
55 ":MipsGenMCCodeEmitter",
58 "//llvm/lib/Target/Mips/TargetInfo",
60 include_dirs = [ ".." ]
62 "MipsABIFlagsSection.cpp",
65 "MipsELFObjectWriter.cpp",
66 "MipsELFStreamer.cpp",
67 "MipsInstPrinter.cpp",
69 "MipsMCCodeEmitter.cpp",
71 "MipsMCTargetDesc.cpp",
72 "MipsNaClELFStreamer.cpp",
73 "MipsOptionRecord.cpp",
74 "MipsTargetStreamer.cpp",