1 import("//llvm/utils/TableGen/tablegen.gni")
3 tablegen("AMDGPUGenAsmMatcher") {
4 visibility = [ ":AsmParser" ]
5 args = [ "-gen-asm-matcher" ]
6 td_file = "../AMDGPU.td"
9 static_library("AsmParser") {
10 output_name = "LLVMAMDGPUAsmParser"
12 ":AMDGPUGenAsmMatcher",
14 "//llvm/lib/MC/MCParser",
16 "//llvm/lib/Target/AMDGPU/MCTargetDesc",
17 "//llvm/lib/Target/AMDGPU/TargetInfo",
18 "//llvm/lib/Target/AMDGPU/Utils",
20 include_dirs = [ ".." ]
22 "AMDGPUAsmParser.cpp",