],
includes = ["include"],
deps = [
+ ":AsmParser",
":ConversionPassIncGen",
":FuncDialect",
":InferTypeOpInterface",
),
includes = ["include"],
deps = [
+ ":AsmParser",
":IR",
":MlirLspServerSupportLib",
- ":Parser",
":Support",
"//llvm:Support",
],
)
cc_library(
- name = "ParserTokenKinds",
+ name = "AsmParserTokenKinds",
# strip_include_prefix does not apply to textual_hdrs.
- hdrs = ["lib/Parser/TokenKinds.def"],
- strip_include_prefix = "lib/Parser",
- textual_hdrs = ["lib/Parser/TokenKinds.def"],
+ hdrs = ["lib/AsmParser/TokenKinds.def"],
+ strip_include_prefix = "lib/AsmParser",
+ textual_hdrs = ["lib/AsmParser/TokenKinds.def"],
+)
+
+cc_library(
+ name = "AsmParser",
+ srcs = glob([
+ "lib/AsmParser/*.cpp",
+ "lib/AsmParser/*.h",
+ ]),
+ hdrs = glob([
+ "include/mlir/AsmParser/*.h",
+ ]),
+ includes = ["include"],
+ deps = [
+ ":AsmParserTokenKinds",
+ ":IR",
+ ":Support",
+ "//llvm:Support",
+ ],
)
cc_library(
]),
includes = ["include"],
deps = [
+ ":AsmParser",
":IR",
- ":ParserTokenKinds",
":Support",
"//llvm:Support",
],
deps = [
":ArithmeticDialect",
":AsyncDialect",
+ ":AsmParser",
":ControlFlowDialect",
":DLTIDialect",
":AffineUtils",
"tools/mlir-linalg-ods-gen/mlir-linalg-ods-yaml-gen.cpp",
],
deps = [
+ ":AsmParser",
":IR",
":Parser",
":Support",
":AffineDialect",
":ArithmeticDialect",
":ArithmeticUtils",
+ ":AsmParser",
":BufferizationDialect",
":ComplexDialect",
":ControlFlowInterfaces",
deps = [
":AffineDialect",
":ArithmeticDialect",
+ ":AsmParser",
":ControlFlowDialect",
":IR",
":LinalgDialect",
hdrs = glob(["include/mlir/Tools/PDLL/CodeGen/*.h"]),
includes = ["include"],
deps = [
+ ":AsmParser",
":IR",
":PDLDialect",
":PDLLAST",
":PDLLODS",
- ":Parser",
":Support",
"//llvm:Support",
],