llvm-project/llvm/lib/Target/X86/AsmParser
Eric Astor 8d5bf0422b [ms] [llvm-ml] Add support for attempted register parsing
Summary:
Add a new method (tryParseRegister) that attempts to parse a register specification.

MASM allows the use of IFDEF <register>, as well as IFDEF <symbol>. To accommodate this, we make it possible to check whether a register specification can be parsed at the current location, without failing the entire parse if it can't.

Reviewers: thakis

Reviewed By: thakis

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73486
2020-02-11 10:45:33 -05:00
..
CMakeLists.txt [cmake] Explicitly mark libraries defined in lib/ as "Component Libraries" 2019-11-21 10:48:08 -08:00
LLVMBuild.txt [X86] Move InstPrinter files to MCTargetDesc. NFC 2019-05-10 23:24:38 +00:00
X86AsmParser.cpp [ms] [llvm-ml] Add support for attempted register parsing 2020-02-11 10:45:33 -05:00
X86AsmParserCommon.h [X86] Limit vpermil2pd/vpermil2ps immediates to 4 bits in the assembly parser. 2019-08-07 05:34:27 +00:00
X86Operand.h [ms] [X86] Use "P" modifier on all branch-target operands in inline X86 assembly. 2020-01-09 14:55:03 -05:00