llvm-project/mlir/lib/Parser
Alex Zinenko 0c40af6b59 [mlir] First-party modeling of LLVM types
The current modeling of LLVM IR types in MLIR is based on the LLVMType class
that wraps a raw `llvm::Type *` and delegates uniquing, printing and parsing to
LLVM itself. This model makes thread-safe type manipulation hard and is being
progressively replaced with a cleaner MLIR model that replicates the type
system.  Introduce a set of classes reflecting the LLVM IR type system in MLIR
instead of wrapping the existing types. These are currently introduced as
separate classes without affecting the dialect flow, and are exercised through
a test dialect. Once feature parity is reached, the old implementation will be
gradually substituted with the new one.

Depends On D84171

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D84339
2020-08-03 15:45:29 +02:00
..
AffineParser.cpp [mlir][NFC] Split Parser into several different files. 2020-06-10 17:17:13 -07:00
AttributeParser.cpp [mlir] Add support for parsing optional Attribute values. 2020-07-14 13:14:59 -07:00
CMakeLists.txt [mlir][NFC] Split Parser into several different files. 2020-06-10 17:17:13 -07:00
DialectSymbolParser.cpp [mlir] First-party modeling of LLVM types 2020-08-03 15:45:29 +02:00
Lexer.cpp Fix a bug in the .mlir lexer, where a \0 character in a file is treated as a colon (due to an accidental fall through) instead of whitespace. 2020-03-23 17:35:17 -07:00
Lexer.h Mass update the MLIR license header to mention "Part of the LLVM project" 2020-01-26 03:58:30 +00:00
LocationParser.cpp [mlir][NFC] Split Parser into several different files. 2020-06-10 17:17:13 -07:00
Parser.cpp [mlir] Add support for parsing optional Attribute values. 2020-07-14 13:14:59 -07:00
Parser.h [mlir] Add support for parsing optional Attribute values. 2020-07-14 13:14:59 -07:00
ParserState.h [mlir][NFC] Split Parser into several different files. 2020-06-10 17:17:13 -07:00
Token.cpp [mlir][NFC] Split Parser into several different files. 2020-06-10 17:17:13 -07:00
Token.h [mlir][NFC] Split Parser into several different files. 2020-06-10 17:17:13 -07:00
TokenKinds.def Fix a bug in the .mlir lexer, where a \0 character in a file is treated as a colon (due to an accidental fall through) instead of whitespace. 2020-03-23 17:35:17 -07:00
TypeParser.cpp [mlir] Allow index as element type of memref 2020-07-30 14:35:22 +02:00