import("//llvm/utils/TableGen/tablegen.gni")
tablegen("AArch64GenAsmWriter") {
- visibility = [ ":tablegen" ]
+ visibility = [ ":MCTargetDesc" ]
args = [ "-gen-asm-writer" ]
td_file = "../AArch64.td"
}
tablegen("AArch64GenAsmWriter1") {
- visibility = [ ":tablegen" ]
+ visibility = [ ":MCTargetDesc" ]
args = [
"-gen-asm-writer",
"-asmwriternum=1",
}
tablegen("AArch64GenMCCodeEmitter") {
- visibility = [ ":tablegen" ]
+ visibility = [ ":MCTargetDesc" ]
args = [ "-gen-emitter" ]
td_file = "../AArch64.td"
}
td_file = "../AArch64.td"
}
+# This should contain tablegen targets generating .inc files included
+# by other targets. .inc files only used by .cpp files in this directory
+# should be in deps on the static_library instead.
group("tablegen") {
visibility = [
":MCTargetDesc",
"../Utils",
]
public_deps = [
- ":AArch64GenAsmWriter",
- ":AArch64GenAsmWriter1",
":AArch64GenInstrInfo",
- ":AArch64GenMCCodeEmitter",
":AArch64GenRegisterInfo",
":AArch64GenSubtargetInfo",
]
":tablegen",
]
deps = [
+ ":AArch64GenAsmWriter",
+ ":AArch64GenAsmWriter1",
+ ":AArch64GenMCCodeEmitter",
"//llvm/lib/MC",
"//llvm/lib/Support",
"//llvm/lib/Target/AArch64/TargetInfo",
import("//llvm/utils/TableGen/tablegen.gni")
tablegen("ARMGenAsmWriter") {
- visibility = [ ":tablegen" ]
+ visibility = [ ":MCTargetDesc" ]
args = [ "-gen-asm-writer" ]
td_file = "../ARM.td"
}
}
tablegen("ARMGenMCCodeEmitter") {
- visibility = [ ":tablegen" ]
+ visibility = [ ":MCTargetDesc" ]
args = [ "-gen-emitter" ]
td_file = "../ARM.td"
}
td_file = "../ARM.td"
}
+# This should contain tablegen targets generating .inc files included
+# by other targets. .inc files only used by .cpp files in this directory
+# should be in deps on the static_library instead.
group("tablegen") {
visibility = [
":MCTargetDesc",
"../Utils",
]
public_deps = [
- ":ARMGenAsmWriter",
":ARMGenInstrInfo",
- ":ARMGenMCCodeEmitter",
":ARMGenRegisterInfo",
":ARMGenSubtargetInfo",
]
":tablegen",
]
deps = [
+ ":ARMGenAsmWriter",
+ ":ARMGenMCCodeEmitter",
"//llvm/lib/MC",
"//llvm/lib/MC/MCDisassembler",
"//llvm/lib/Support",
import("//llvm/utils/TableGen/tablegen.gni")
tablegen("BPFGenAsmWriter") {
- visibility = [ ":tablegen" ]
+ visibility = [ ":MCTargetDesc" ]
args = [ "-gen-asm-writer" ]
td_file = "../BPF.td"
}
}
tablegen("BPFGenMCCodeEmitter") {
- visibility = [ ":tablegen" ]
+ visibility = [ ":MCTargetDesc" ]
args = [ "-gen-emitter" ]
td_file = "../BPF.td"
}
td_file = "../BPF.td"
}
+# This should contain tablegen targets generating .inc files included
+# by other targets. .inc files only used by .cpp files in this directory
+# should be in deps on the static_library instead.
group("tablegen") {
visibility = [
":MCTargetDesc",
"../TargetInfo",
]
public_deps = [
- ":BPFGenAsmWriter",
":BPFGenInstrInfo",
- ":BPFGenMCCodeEmitter",
":BPFGenRegisterInfo",
":BPFGenSubtargetInfo",
]
":tablegen",
]
deps = [
+ ":BPFGenAsmWriter",
+ ":BPFGenMCCodeEmitter",
"//llvm/lib/MC",
"//llvm/lib/MC/MCDisassembler",
"//llvm/lib/Support",
import("//llvm/utils/TableGen/tablegen.gni")
tablegen("PPCGenAsmWriter") {
- visibility = [ ":tablegen" ]
+ visibility = [ ":MCTargetDesc" ]
args = [ "-gen-asm-writer" ]
td_file = "../PPC.td"
}
}
tablegen("PPCGenMCCodeEmitter") {
- visibility = [ ":tablegen" ]
+ visibility = [ ":MCTargetDesc" ]
args = [ "-gen-emitter" ]
td_file = "../PPC.td"
}
td_file = "../PPC.td"
}
+# This should contain tablegen targets generating .inc files included
+# by other targets. .inc files only used by .cpp files in this directory
+# should be in deps on the static_library instead.
group("tablegen") {
visibility = [
":MCTargetDesc",
"../TargetInfo",
]
public_deps = [
- ":PPCGenAsmWriter",
":PPCGenInstrInfo",
- ":PPCGenMCCodeEmitter",
":PPCGenRegisterInfo",
":PPCGenSubtargetInfo",
]
":tablegen",
]
deps = [
+ ":PPCGenAsmWriter",
+ ":PPCGenMCCodeEmitter",
"//llvm/lib/MC",
"//llvm/lib/Support",
"//llvm/lib/Target/PowerPC/TargetInfo",
import("//llvm/utils/TableGen/tablegen.gni")
tablegen("WebAssemblyGenAsmWriter") {
- visibility = [ ":tablegen" ]
+ visibility = [ ":MCTargetDesc" ]
args = [ "-gen-asm-writer" ]
td_file = "../WebAssembly.td"
}
}
tablegen("WebAssemblyGenMCCodeEmitter") {
- visibility = [ ":tablegen" ]
+ visibility = [ ":MCTargetDesc" ]
args = [ "-gen-emitter" ]
td_file = "../WebAssembly.td"
}
td_file = "../WebAssembly.td"
}
+# This should contain tablegen targets generating .inc files included
+# by other targets. .inc files only used by .cpp files in this directory
+# should be in deps on the static_library instead.
group("tablegen") {
visibility = [
":MCTargetDesc",
"../Utils",
]
public_deps = [
- ":WebAssemblyGenAsmWriter",
":WebAssemblyGenInstrInfo",
- ":WebAssemblyGenMCCodeEmitter",
":WebAssemblyGenRegisterInfo",
":WebAssemblyGenSubtargetInfo",
]
":tablegen",
]
deps = [
+ ":WebAssemblyGenAsmWriter",
+ ":WebAssemblyGenMCCodeEmitter",
"//llvm/lib/MC",
"//llvm/lib/Support",
"//llvm/lib/Target/WebAssembly/TargetInfo",
import("//llvm/utils/TableGen/tablegen.gni")
tablegen("X86GenAsmWriter") {
- visibility = [ ":tablegen" ]
+ visibility = [ ":MCTargetDesc" ]
args = [ "-gen-asm-writer" ]
td_file = "../X86.td"
}
tablegen("X86GenAsmWriter1") {
- visibility = [ ":tablegen" ]
+ visibility = [ ":MCTargetDesc" ]
args = [
"-gen-asm-writer",
"-asmwriternum=1",
td_file = "../X86.td"
}
+# This should contain tablegen targets generating .inc files included
+# by other targets. .inc files only used by .cpp files in this directory
+# should be in deps on the static_library instead.
group("tablegen") {
visibility = [
":MCTargetDesc",
"../TargetInfo",
]
public_deps = [
- ":X86GenAsmWriter",
- ":X86GenAsmWriter1",
":X86GenInstrInfo",
":X86GenRegisterInfo",
":X86GenSubtargetInfo",
":tablegen",
]
deps = [
+ ":X86GenAsmWriter",
+ ":X86GenAsmWriter1",
"//llvm/lib/MC",
"//llvm/lib/MC/MCDisassembler",
"//llvm/lib/Object",