[memprof] Upgrade a unit test to MemProf Version 3 (#117063)
[llvm-project.git] / utils / bazel / llvm-project-overlay / mlir / test / mlir-tblgen / BUILD.bazel
blob7fe1fdc8c6936dd64c7a772a24e0a50f11bb8957
1 load("//llvm:lit_test.bzl", "lit_test")
3 licenses(["notice"])
5 package(default_visibility = ["//visibility:public"])
8     lit_test(
9         name = "%s.test" % src,
10         srcs = [src],
11         data = [
12             "//llvm:include/llvm/CodeGen/SDNodeProperties.td",
13             "//llvm:include/llvm/CodeGen/ValueTypes.td",
14             "//llvm:include/llvm/Frontend/Directive/DirectiveBase.td",
15             "//llvm:include/llvm/Frontend/OpenMP/OMP.td",
16             "//llvm:include/llvm/IR/Intrinsics.td",
17             "//mlir:BuiltinDialectBytecodeTdFiles",
18             "//mlir:SideEffectInterfacesTdFiles",
19             "//mlir:include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td",
20             "//mlir:include/mlir/Dialect/LLVMIR/LLVMDialect.td",
21             "//mlir:include/mlir/Dialect/LLVMIR/LLVMInterfaces.td",
22             "//mlir:include/mlir/Dialect/LLVMIR/LLVMOpBase.td",
23             "//mlir:include/mlir/Dialect/OpenMP/OpenMPAttrDefs.td",
24             "//mlir:include/mlir/Dialect/OpenMP/OpenMPDialect.td",
25             "//mlir:include/mlir/Dialect/OpenMP/OpenMPEnums.td",
26             "//mlir:include/mlir/Dialect/OpenMP/OpenMPOpBase.td",
27             "//mlir:include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.td",
28             "//mlir:include/mlir/Dialect/OpenMP/OpenMPTypeInterfaces.td",
29             "//mlir:include/mlir/IR/BuiltinAttributeInterfaces.td",
30             "//mlir:include/mlir/IR/BuiltinAttributes.td",
31             "//mlir:include/mlir/IR/BuiltinDialect.td",
32             "//mlir:include/mlir/IR/BuiltinDialectBytecode.td",
33             "//mlir:include/mlir/IR/BytecodeBase.td",
34             "//mlir:include/mlir/IR/OpBase.td",
35             "//mlir:include/mlir/Interfaces/InferTypeOpInterface.td",
36             "//mlir:include/mlir/Interfaces/SideEffectInterfaces.td",
37             "//mlir:mlir-opt",
38             "//mlir:mlir-tblgen",
39             "//mlir/test:lit_data",
40         ],
41     )
42     for src in glob([
43         "**/*.mlir",
44         "**/*.td",
45     ])