Split the TargetAsmParser "ParseInstruction" interface in half:
authorChris Lattner <sabre@nondot.org>
Thu, 14 Jan 2010 22:21:20 +0000 (22:21 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 14 Jan 2010 22:21:20 +0000 (22:21 +0000)
commit9898671a74d3fc924347e679c45edaa685b3fe6e
tree76d99c3c2c48dca2e8c078c6bb32a062c28536fe
parent74a265686dd3e816c0f580c77d07fbb9e8bf3ddd
Split the TargetAsmParser "ParseInstruction" interface in half:
the new ParseInstruction method just parses and returns a list of
target operands.  A new MatchInstruction interface is used to
turn the operand list into an MCInst.

This requires new/deleting all the operands, but it also gives
targets the ability to use polymorphic operands if they want to.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93469 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetAsmParser.h
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/X86/AsmParser/X86AsmParser.cpp
tools/llvm-mc/AsmLexer.cpp
tools/llvm-mc/AsmParser.cpp
utils/TableGen/AsmMatcherEmitter.cpp