forked from google/heir
/
BUILD
35 lines (31 loc) · 829 Bytes
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# StraightLineVectorizer tablegen and headers.
load("@llvm-project//mlir:tblgen.bzl", "gentbl_cc_library")
package(
default_applicable_licenses = ["@heir//:license"],
default_visibility = ["//visibility:public"],
)
exports_files([
"StraightLineVectorizer.h",
])
gentbl_cc_library(
name = "pass_inc_gen",
tbl_outs = [
(
[
"-gen-pass-decls",
"-name=StraightLineVectorizer",
],
"StraightLineVectorizer.h.inc",
),
(
["-gen-pass-doc"],
"StraightLineVectorizerPasses.md",
),
],
tblgen = "@llvm-project//mlir:mlir-tblgen",
td_file = "StraightLineVectorizer.td",
deps = [
"@llvm-project//mlir:OpBaseTdFiles",
"@llvm-project//mlir:PassBaseTdFiles",
],
)