1 import("//llvm/utils/TableGen/tablegen.gni")
3 tablegen("AMDGPUGenDisassemblerTables") {
4 visibility = [ ":Disassembler" ]
5 args = [ "-gen-disassembler" ]
6 td_file = "../AMDGPU.td"
9 static_library("Disassembler") {
10 output_name = "LLVMAMDGPUDisassembler"
12 ":AMDGPUGenDisassemblerTables",
14 "//llvm/lib/MC/MCDisassembler",
16 "//llvm/lib/Target/AMDGPU/MCTargetDesc",
17 "//llvm/lib/Target/AMDGPU/TargetInfo",
18 "//llvm/lib/Target/AMDGPU/Utils",
20 include_dirs = [ ".." ]
22 "AMDGPUDisassembler.cpp",