[InstCombine] Signed saturation patterns
[llvm-complete.git] / utils / gn / secondary / llvm / lib / Target / Mips / BUILD.gn
blob6030476c7d2bf9fea221b1e854e3e7c2aa9a0738
1 import("//llvm/utils/TableGen/tablegen.gni")
3 tablegen("MipsGenCallingConv") {
4   visibility = [ ":LLVMMipsCodeGen" ]
5   args = [ "-gen-callingconv" ]
6   td_file = "Mips.td"
9 tablegen("MipsGenDAGISel") {
10   visibility = [ ":LLVMMipsCodeGen" ]
11   args = [ "-gen-dag-isel" ]
12   td_file = "Mips.td"
15 tablegen("MipsGenFastISel") {
16   visibility = [ ":LLVMMipsCodeGen" ]
17   args = [ "-gen-fast-isel" ]
18   td_file = "Mips.td"
21 tablegen("MipsGenGlobalISel") {
22   visibility = [ ":LLVMMipsCodeGen" ]
23   args = [ "-gen-global-isel" ]
24   td_file = "Mips.td"
27 tablegen("MipsGenMCPseudoLowering") {
28   visibility = [ ":LLVMMipsCodeGen" ]
29   args = [ "-gen-pseudo-lowering" ]
30   td_file = "Mips.td"
33 tablegen("MipsGenRegisterBank") {
34   visibility = [ ":LLVMMipsCodeGen" ]
35   args = [ "-gen-register-bank" ]
36   td_file = "Mips.td"
39 static_library("LLVMMipsCodeGen") {
40   deps = [
41     ":MipsGenCallingConv",
42     ":MipsGenDAGISel",
43     ":MipsGenFastISel",
44     ":MipsGenGlobalISel",
45     ":MipsGenMCPseudoLowering",
46     ":MipsGenRegisterBank",
47     "MCTargetDesc",
48     "TargetInfo",
49     "//llvm/include/llvm/Config:llvm-config",
50     "//llvm/lib/Analysis",
51     "//llvm/lib/CodeGen",
52     "//llvm/lib/CodeGen/AsmPrinter",
53     "//llvm/lib/CodeGen/GlobalISel",
54     "//llvm/lib/CodeGen/SelectionDAG",
55     "//llvm/lib/IR",
56     "//llvm/lib/MC",
57     "//llvm/lib/Support",
58     "//llvm/lib/Target",
59   ]
60   include_dirs = [ "." ]
61   sources = [
62     "MicroMipsSizeReduction.cpp",
63     "Mips16FrameLowering.cpp",
64     "Mips16HardFloat.cpp",
65     "Mips16HardFloatInfo.cpp",
66     "Mips16ISelDAGToDAG.cpp",
67     "Mips16ISelLowering.cpp",
68     "Mips16InstrInfo.cpp",
69     "Mips16RegisterInfo.cpp",
70     "MipsAnalyzeImmediate.cpp",
71     "MipsAsmPrinter.cpp",
72     "MipsBranchExpansion.cpp",
73     "MipsCCState.cpp",
74     "MipsCallLowering.cpp",
75     "MipsConstantIslandPass.cpp",
76     "MipsDelaySlotFiller.cpp",
77     "MipsExpandPseudo.cpp",
78     "MipsFastISel.cpp",
79     "MipsFrameLowering.cpp",
80     "MipsISelDAGToDAG.cpp",
81     "MipsISelLowering.cpp",
82     "MipsInstrInfo.cpp",
83     "MipsInstructionSelector.cpp",
84     "MipsLegalizerInfo.cpp",
85     "MipsMCInstLower.cpp",
86     "MipsMachineFunction.cpp",
87     "MipsModuleISelDAGToDAG.cpp",
88     "MipsOptimizePICCall.cpp",
89     "MipsOs16.cpp",
90     "MipsPreLegalizerCombiner.cpp",
91     "MipsRegisterBankInfo.cpp",
92     "MipsRegisterInfo.cpp",
93     "MipsSEFrameLowering.cpp",
94     "MipsSEISelDAGToDAG.cpp",
95     "MipsSEISelLowering.cpp",
96     "MipsSEInstrInfo.cpp",
97     "MipsSERegisterInfo.cpp",
98     "MipsSubtarget.cpp",
99     "MipsTargetMachine.cpp",
100     "MipsTargetObjectFile.cpp",
101   ]
104 # This is a bit different from most build files: Due to this group
105 # having the directory's name, "//llvm/lib/Target/Mips" will refer to this
106 # target, which pulls in the code in this directory *and all subdirectories*.
107 # For most other directories, "//llvm/lib/Foo" only pulls in the code directly
108 # in "llvm/lib/Foo". The forwarding targets in //llvm/lib/Target expect this
109 # different behavior.
110 group("Mips") {
111   deps = [
112     ":LLVMMipsCodeGen",
113     "AsmParser",
114     "Disassembler",
115     "MCTargetDesc",
116     "TargetInfo",
117   ]