diff options
author | Chris Lattner <sabre@nondot.org> | 2010-09-06 19:11:01 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-09-06 19:11:01 +0000 |
commit | 0692ee676f8cdad25ad09a868bf597af4115c9d9 (patch) | |
tree | b167a962f508eed9184c75af1fc5d7b347bebadf /lib/Target/ARM/AsmParser | |
parent | b26697ca9ea415de8545a81577a374cdc3b3a45b (diff) | |
download | external_llvm-0692ee676f8cdad25ad09a868bf597af4115c9d9.zip external_llvm-0692ee676f8cdad25ad09a868bf597af4115c9d9.tar.gz external_llvm-0692ee676f8cdad25ad09a868bf597af4115c9d9.tar.bz2 |
have AsmMatcherEmitter.cpp produce the hunk of code that gets included
into the middle of the class, and rework how the different sections of
the generated file are conditionally included for simplicity.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113163 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/AsmParser')
-rw-r--r-- | lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index 75e2a73..fef8eb0 100644 --- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -95,11 +95,8 @@ private: /// @name Auto-generated Match Functions /// { - unsigned ComputeAvailableFeatures(const ARMSubtarget *Subtarget) const; - - bool MatchInstructionImpl(const SmallVectorImpl<MCParsedAsmOperand*> - &Operands, - MCInst &Inst); +#define GET_ASSEMBLER_HEADER +#include "ARMGenAsmMatcher.inc" /// } @@ -869,4 +866,6 @@ extern "C" void LLVMInitializeARMAsmParser() { LLVMInitializeARMAsmLexer(); } +#define GET_REGISTER_MATCHER +#define GET_MATCHER_IMPLEMENTATION #include "ARMGenAsmMatcher.inc" |