1 import("//llvm/utils/TableGen/tablegen.gni")
3 tablegen("AVRGenCallingConv") {
4 visibility = [ ":LLVMAVRCodeGen" ]
5 args = [ "-gen-callingconv" ]
9 tablegen("AVRGenDAGISel") {
10 visibility = [ ":LLVMAVRCodeGen" ]
11 args = [ "-gen-dag-isel" ]
15 static_library("LLVMAVRCodeGen") {
21 "//llvm/include/llvm/Config:llvm-config",
23 "//llvm/lib/CodeGen/AsmPrinter",
24 "//llvm/lib/CodeGen/SelectionDAG",
30 include_dirs = [ "." ]
33 "AVRExpandPseudoInsts.cpp",
34 "AVRFrameLowering.cpp",
35 "AVRISelDAGToDAG.cpp",
36 "AVRISelLowering.cpp",
39 "AVRRegisterInfo.cpp",
40 "AVRRelaxMemOperations.cpp",
42 "AVRTargetMachine.cpp",
43 "AVRTargetObjectFile.cpp",
47 # This is a bit different from most build files: Due to this group
48 # having the directory's name, "//llvm/lib/Target/AVR" will refer to this
49 # target, which pulls in the code in this directory *and all subdirectories*.
50 # For most other directories, "//llvm/lib/Foo" only pulls in the code directly
51 # in "llvm/lib/Foo". The forwarding targets in //llvm/lib/Target expect this