[all-commits] [llvm/llvm-project] c60b89: [mlir] Refactor the Parser library in preparation ...
River Riddle via All-commits
all-commits at lists.llvm.org
Mon Jul 25 16:33:37 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c60b897d22b2feab3282c4fc2b390bc87560c7de
https://github.com/llvm/llvm-project/commit/c60b897d22b2feab3282c4fc2b390bc87560c7de
Author: River Riddle <riddleriver at gmail.com>
Date: 2022-07-25 (Mon, 25 Jul 2022)
Changed paths:
A mlir/include/mlir/AsmParser/AsmParser.h
A mlir/include/mlir/AsmParser/AsmParserState.h
A mlir/include/mlir/AsmParser/CodeComplete.h
M mlir/include/mlir/IR/AsmState.h
R mlir/include/mlir/Parser/AsmParserState.h
R mlir/include/mlir/Parser/CodeComplete.h
M mlir/include/mlir/Parser/Parser.h
A mlir/lib/AsmParser/AffineParser.cpp
A mlir/lib/AsmParser/AsmParserImpl.h
A mlir/lib/AsmParser/AsmParserState.cpp
A mlir/lib/AsmParser/AttributeParser.cpp
A mlir/lib/AsmParser/CMakeLists.txt
A mlir/lib/AsmParser/DialectSymbolParser.cpp
A mlir/lib/AsmParser/Lexer.cpp
A mlir/lib/AsmParser/Lexer.h
A mlir/lib/AsmParser/LocationParser.cpp
A mlir/lib/AsmParser/Parser.cpp
A mlir/lib/AsmParser/Parser.h
A mlir/lib/AsmParser/ParserState.h
A mlir/lib/AsmParser/Token.cpp
A mlir/lib/AsmParser/Token.h
A mlir/lib/AsmParser/TokenKinds.def
A mlir/lib/AsmParser/TypeParser.cpp
M mlir/lib/CAPI/IR/IR.cpp
M mlir/lib/CMakeLists.txt
M mlir/lib/Dialect/GPU/Transforms/KernelOutlining.cpp
M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
R mlir/lib/Parser/AffineParser.cpp
R mlir/lib/Parser/AsmParserImpl.h
R mlir/lib/Parser/AsmParserState.cpp
R mlir/lib/Parser/AttributeParser.cpp
M mlir/lib/Parser/CMakeLists.txt
R mlir/lib/Parser/DialectSymbolParser.cpp
R mlir/lib/Parser/Lexer.cpp
R mlir/lib/Parser/Lexer.h
R mlir/lib/Parser/LocationParser.cpp
M mlir/lib/Parser/Parser.cpp
R mlir/lib/Parser/Parser.h
R mlir/lib/Parser/ParserState.h
R mlir/lib/Parser/Token.cpp
R mlir/lib/Parser/Token.h
R mlir/lib/Parser/TokenKinds.def
R mlir/lib/Parser/TypeParser.cpp
M mlir/lib/Tools/PDLL/CodeGen/MLIRGen.cpp
M mlir/lib/Tools/mlir-lsp-server/MLIRServer.cpp
M mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-yaml-gen.cpp
M mlir/tools/mlir-parser-fuzzer/mlir-parser-fuzzer.cpp
M mlir/unittests/Dialect/Affine/Analysis/AffineStructuresParser.cpp
Log Message:
-----------
[mlir] Refactor the Parser library in preparation for an MLIR binary format
The current Parser library is solely focused on providing API for
the textual MLIR format, but MLIR will soon also provide a binary
format. This commit renames the current Parser library to AsmParser to
better correspond to what the library is actually intended for. A new
Parser library is added which will act as a unified parser interface
between both text and binary formats. Most parser clients are
unaffected, given that the unified interface is essentially the same as
the current interface. Only clients that rely on utilizing the
AsmParserState, or those that want to parse Attributes/Types need to be
updated to point to the AsmParser library.
Differential Revision: https://reviews.llvm.org/D129605
More information about the All-commits
mailing list