llvm-project/mlir/lib/Parser
River Riddle bf0440be91 [mlir] Optimize the parsing of ElementsAttr hex strings
This revision optimizes the parsing of hex strings by using the checked variant of llvm::fromHex, and adding a specialized method to Token for extracting hex strings. This leads a large decrease in compile time when parsing large hex constants (one example: 2.6 seconds -> 370 miliseconds)

Differential Revision: https://reviews.llvm.org/D90266
2020-10-28 16:58:06 -07:00
..
AffineParser.cpp [mlir][NFC] Split Parser into several different files. 2020-06-10 17:17:13 -07:00
AttributeParser.cpp [mlir] Optimize the parsing of ElementsAttr hex strings 2020-10-28 16:58:06 -07:00
CMakeLists.txt [mlir][NFC] Split Parser into several different files. 2020-06-10 17:17:13 -07:00
DialectSymbolParser.cpp Improve doc comments for several methods returning bools 2020-08-30 13:33:05 +05:30
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][NFC] Split Parser into several different files. 2020-06-10 17:17:13 -07:00
Parser.cpp Store an Identifier instead of a StringRef for the OperationName inside an AbstractOperation (NFC) 2020-09-02 19:10:56 +00:00
Parser.h [mlir][OpFormatGen] Add initial support for regions in the custom op assembly format 2020-08-31 13:26:24 -07:00
ParserState.h [mlir][NFC] Split Parser into several different files. 2020-06-10 17:17:13 -07:00
Token.cpp [mlir] Optimize the parsing of ElementsAttr hex strings 2020-10-28 16:58:06 -07: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] Allow index as element type of memref 2020-07-30 14:35:22 +02:00