1 import("//llvm/utils/TableGen/tablegen.gni")
3 tablegen("SparcGenCallingConv") {
4 visibility = [ ":LLVMSparcCodeGen" ]
5 args = [ "-gen-callingconv" ]
9 tablegen("SparcGenDAGISel") {
10 visibility = [ ":LLVMSparcCodeGen" ]
11 args = [ "-gen-dag-isel" ]
15 static_library("LLVMSparcCodeGen") {
17 ":SparcGenCallingConv",
21 "//llvm/include/llvm/Config:llvm-config",
23 "//llvm/lib/CodeGen/AsmPrinter",
24 "//llvm/lib/CodeGen/SelectionDAG",
30 include_dirs = [ "." ]
32 "DelaySlotFiller.cpp",
34 "SparcAsmPrinter.cpp",
35 "SparcFrameLowering.cpp",
36 "SparcISelDAGToDAG.cpp",
37 "SparcISelLowering.cpp",
39 "SparcMCInstLower.cpp",
40 "SparcMachineFunctionInfo.cpp",
41 "SparcRegisterInfo.cpp",
43 "SparcTargetMachine.cpp",
44 "SparcTargetObjectFile.cpp",
48 # This is a bit different from most build files: Due to this group
49 # having the directory's name, "//llvm/lib/Target/Sparc" will refer to this
50 # target, which pulls in the code in this directory *and all subdirectories*.
51 # For most other directories, "//llvm/lib/Foo" only pulls in the code directly
52 # in "llvm/lib/Foo". The forwarding targets in //llvm/lib/Target expect this