[InstCombine] Signed saturation patterns
[llvm-complete.git] / utils / gn / secondary / llvm / lib / Target / NVPTX / MCTargetDesc / BUILD.gn
blob6cec8eab2e4fb9d128c23ff6ae6081e5db2ba9d4
1 import("//llvm/utils/TableGen/tablegen.gni")
3 tablegen("NVPTXGenAsmWriter") {
4   visibility = [ ":MCTargetDesc" ]
5   args = [ "-gen-asm-writer" ]
6   td_file = "../NVPTX.td"
9 tablegen("NVPTXGenInstrInfo") {
10   visibility = [ ":MCTargetDesc" ]
11   args = [ "-gen-instr-info" ]
12   td_file = "../NVPTX.td"
15 tablegen("NVPTXGenRegisterInfo") {
16   visibility = [ ":MCTargetDesc" ]
17   args = [ "-gen-register-info" ]
18   td_file = "../NVPTX.td"
21 tablegen("NVPTXGenSubtargetInfo") {
22   visibility = [ ":MCTargetDesc" ]
23   args = [ "-gen-subtarget" ]
24   td_file = "../NVPTX.td"
27 static_library("MCTargetDesc") {
28   output_name = "LLVMNVPTXDesc"
30   # This should contain tablegen targets generating .inc files included
31   # by other targets. .inc files only used by .cpp files in this directory
32   # should be in deps on the static_library instead.
33   public_deps = [
34     ":NVPTXGenInstrInfo",
35     ":NVPTXGenRegisterInfo",
36     ":NVPTXGenSubtargetInfo",
37   ]
38   deps = [
39     ":NVPTXGenAsmWriter",
40     "//llvm/lib/MC",
41     "//llvm/lib/Support",
42     "//llvm/lib/Target/NVPTX/TargetInfo",
43   ]
44   include_dirs = [ ".." ]
45   sources = [
46     "NVPTXInstPrinter.cpp",
47     "NVPTXMCAsmInfo.cpp",
48     "NVPTXMCTargetDesc.cpp",
49     "NVPTXTargetStreamer.cpp",
50   ]