llvm-project/mlir/lib/Parser
River Riddle 6bc9439f59 [mlir][OpAsmParser] Add support for parsing integer literals without going through IntegerAttr
Some operations use integer literals as part of their custom format that don't necessarily map to an internal IntegerAttr. This revision exposes the same `parseInteger` functions as the DialectAsmParser to allow for these operations to parse integer literals without incurring the otherwise unnecessary roundtrip through IntegerAttr.

Differential Revision: https://reviews.llvm.org/D93152
2020-12-14 12:00:43 -08:00
..
AffineParser.cpp [mlir][NFC] Split Parser into several different files. 2020-06-10 17:17:13 -07:00
AttributeParser.cpp [mlir][Parser] Fix crash in DenseElementsAttr parser when no elements are parsed 2020-12-10 12:48:37 -08:00
CMakeLists.txt [mlir][NFC] Split Parser into several different files. 2020-06-10 17:17:13 -07:00
DialectSymbolParser.cpp [mlir][OpAsmParser] Add support for parsing integer literals without going through IntegerAttr 2020-12-14 12:00:43 -08:00
Lexer.cpp Import llvm::StringSwitch into mlir namespace. 2020-10-08 11:39:24 +02: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][Asm] Add support for resolving operation locations after parsing has finished 2020-11-12 23:34:36 -08:00
Parser.cpp [mlir][OpAsmParser] Add support for parsing integer literals without going through IntegerAttr 2020-12-14 12:00:43 -08:00
Parser.h [mlir][OpAsmParser] Add support for parsing integer literals without going through IntegerAttr 2020-12-14 12:00:43 -08:00
ParserState.h [mlir][NFC] Split Parser into several different files. 2020-06-10 17:17:13 -07:00
Token.cpp [AsmParser] Fix support for zero bit integer types. 2020-12-12 21:24:18 -08:00
Token.h [mlir] Optimize the parsing of ElementsAttr hex strings 2020-10-28 16:58:06 -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][Types][NFC] Move all of the builtin Type classes to BuiltinTypes.h 2020-12-03 18:02:10 -08:00