1 import("//llvm/utils/TableGen/tablegen.gni")
3 tablegen("X86GenAsmWriter") {
4 visibility = [ ":MCTargetDesc" ]
5 args = [ "-gen-asm-writer" ]
9 tablegen("X86GenAsmWriter1") {
10 visibility = [ ":MCTargetDesc" ]
18 tablegen("X86GenInstrInfo") {
19 visibility = [ ":MCTargetDesc" ]
20 args = [ "-gen-instr-info" ]
24 tablegen("X86GenRegisterInfo") {
25 visibility = [ ":MCTargetDesc" ]
26 args = [ "-gen-register-info" ]
30 tablegen("X86GenSubtargetInfo") {
31 visibility = [ ":MCTargetDesc" ]
32 args = [ "-gen-subtarget" ]
36 static_library("MCTargetDesc") {
37 output_name = "LLVMX86Desc"
39 # This should contain tablegen targets generating .inc files included
40 # by other targets. .inc files only used by .cpp files in this directory
41 # should be in deps instead.
44 ":X86GenRegisterInfo",
45 ":X86GenSubtargetInfo",
51 "//llvm/lib/MC/MCDisassembler",
54 "//llvm/lib/Target/X86/TargetInfo",
55 "//llvm/lib/Target/X86/Utils",
57 include_dirs = [ ".." ]
59 "X86ATTInstPrinter.cpp",
61 "X86ELFObjectWriter.cpp",
62 "X86InstComments.cpp",
63 "X86InstPrinterCommon.cpp",
64 "X86IntelInstPrinter.cpp",
66 "X86MCCodeEmitter.cpp",
67 "X86MCTargetDesc.cpp",
68 "X86MachObjectWriter.cpp",
69 "X86WinCOFFObjectWriter.cpp",
70 "X86WinCOFFStreamer.cpp",
71 "X86WinCOFFTargetStreamer.cpp",