[ARM] MVE predicate store patterns
[llvm-complete.git] / utils / gn / secondary / llvm / lib / Target / X86 / MCTargetDesc / BUILD.gn
blob735a84d93052e2250127ad3dae23d5fb8c78f98a
1 import("//llvm/utils/TableGen/tablegen.gni")
3 tablegen("X86GenAsmWriter") {
4   visibility = [ ":MCTargetDesc" ]
5   args = [ "-gen-asm-writer" ]
6   td_file = "../X86.td"
9 tablegen("X86GenAsmWriter1") {
10   visibility = [ ":MCTargetDesc" ]
11   args = [
12     "-gen-asm-writer",
13     "-asmwriternum=1",
14   ]
15   td_file = "../X86.td"
18 tablegen("X86GenInstrInfo") {
19   visibility = [ ":MCTargetDesc" ]
20   args = [ "-gen-instr-info" ]
21   td_file = "../X86.td"
24 tablegen("X86GenRegisterInfo") {
25   visibility = [ ":MCTargetDesc" ]
26   args = [ "-gen-register-info" ]
27   td_file = "../X86.td"
30 tablegen("X86GenSubtargetInfo") {
31   visibility = [ ":MCTargetDesc" ]
32   args = [ "-gen-subtarget" ]
33   td_file = "../X86.td"
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.
42   public_deps = [
43     ":X86GenInstrInfo",
44     ":X86GenRegisterInfo",
45     ":X86GenSubtargetInfo",
46   ]
47   deps = [
48     ":X86GenAsmWriter",
49     ":X86GenAsmWriter1",
50     "//llvm/lib/MC",
51     "//llvm/lib/MC/MCDisassembler",
52     "//llvm/lib/Object",
53     "//llvm/lib/Support",
54     "//llvm/lib/Target/X86/TargetInfo",
55     "//llvm/lib/Target/X86/Utils",
56   ]
57   include_dirs = [ ".." ]
58   sources = [
59     "X86ATTInstPrinter.cpp",
60     "X86AsmBackend.cpp",
61     "X86ELFObjectWriter.cpp",
62     "X86InstComments.cpp",
63     "X86InstPrinterCommon.cpp",
64     "X86IntelInstPrinter.cpp",
65     "X86MCAsmInfo.cpp",
66     "X86MCCodeEmitter.cpp",
67     "X86MCTargetDesc.cpp",
68     "X86MachObjectWriter.cpp",
69     "X86WinCOFFObjectWriter.cpp",
70     "X86WinCOFFStreamer.cpp",
71     "X86WinCOFFTargetStreamer.cpp",
72   ]