[InstCombine] Signed saturation patterns
[llvm-complete.git] / utils / gn / secondary / llvm / lib / Target / PowerPC / MCTargetDesc / BUILD.gn
blobcf960fe9a1c50499c84ee89ff93246e526229a30
1 import("//llvm/utils/TableGen/tablegen.gni")
3 tablegen("PPCGenAsmWriter") {
4   visibility = [ ":MCTargetDesc" ]
5   args = [ "-gen-asm-writer" ]
6   td_file = "../PPC.td"
9 tablegen("PPCGenInstrInfo") {
10   visibility = [ ":MCTargetDesc" ]
11   args = [ "-gen-instr-info" ]
12   td_file = "../PPC.td"
15 tablegen("PPCGenMCCodeEmitter") {
16   visibility = [ ":MCTargetDesc" ]
17   args = [ "-gen-emitter" ]
18   td_file = "../PPC.td"
21 tablegen("PPCGenRegisterInfo") {
22   visibility = [ ":MCTargetDesc" ]
23   args = [ "-gen-register-info" ]
24   td_file = "../PPC.td"
27 tablegen("PPCGenSubtargetInfo") {
28   visibility = [ ":MCTargetDesc" ]
29   args = [ "-gen-subtarget" ]
30   td_file = "../PPC.td"
33 static_library("MCTargetDesc") {
34   output_name = "LLVMPowerPCDesc"
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.
39   public_deps = [
40     ":PPCGenInstrInfo",
41     ":PPCGenRegisterInfo",
42     ":PPCGenSubtargetInfo",
43   ]
44   deps = [
45     ":PPCGenAsmWriter",
46     ":PPCGenMCCodeEmitter",
47     "//llvm/lib/MC",
48     "//llvm/lib/Support",
49     "//llvm/lib/Target/PowerPC/TargetInfo",
50   ]
51   include_dirs = [ ".." ]
52   sources = [
53     "PPCAsmBackend.cpp",
54     "PPCELFObjectWriter.cpp",
55     "PPCInstPrinter.cpp",
56     "PPCMCAsmInfo.cpp",
57     "PPCMCCodeEmitter.cpp",
58     "PPCMCExpr.cpp",
59     "PPCMCTargetDesc.cpp",
60     "PPCMachObjectWriter.cpp",
61     "PPCPredicates.cpp",
62     "PPCXCOFFObjectWriter.cpp",
63   ]