[PATCH] MIR Parsing: Introduce a MI Lexing class.
Alex Lorenz
arphaman at gmail.com
Wed Jun 17 16:27:41 PDT 2015
Hi dexonsmith, bob.wilson, bogner,
This patch is based on a patch that serializes machine instruction names (http://reviews.llvm.org/D10481).
This patch adds a MILexer class that complements the MIParser class from the previous patch. It still only allows to serialized machine instruction names, but this time it performs tokenization of the source string to allow the MIParser to progress to parsing of machine operands.
REPOSITORY
rL LLVM
http://reviews.llvm.org/D10521
Files:
lib/CodeGen/MIRParser/CMakeLists.txt
lib/CodeGen/MIRParser/MILexer.cpp
lib/CodeGen/MIRParser/MILexer.h
lib/CodeGen/MIRParser/MIParser.cpp
test/CodeGen/MIR/X86/machine-instructions.mir
test/CodeGen/MIR/X86/missing-instruction.mir
test/CodeGen/MIR/X86/unrecognized-character.mir
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10521.27891.patch
Type: text/x-patch
Size: 8678 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150617/12cecdc0/attachment.bin>
More information about the llvm-commits
mailing list