summaryrefslogtreecommitdiffstats
path: root/tools/llvm-mc/AsmParser.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvm-mc/AsmParser.h')
-rw-r--r--tools/llvm-mc/AsmParser.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/llvm-mc/AsmParser.h b/tools/llvm-mc/AsmParser.h
index 1dadb40..c133345 100644
--- a/tools/llvm-mc/AsmParser.h
+++ b/tools/llvm-mc/AsmParser.h
@@ -17,6 +17,7 @@
#include "AsmLexer.h"
namespace llvm {
+class MCInst;
class AsmParser {
AsmLexer Lexer;
@@ -36,12 +37,15 @@ private:
void EatToEndOfStatement();
- bool ParseX86Operand(X86Operand &Op);
- bool ParseX86MemOperand(X86Operand &Op);
bool ParseExpression(int64_t &Res);
bool ParsePrimaryExpr(int64_t &Res);
bool ParseBinOpRHS(unsigned Precedence, int64_t &Res);
bool ParseParenExpr(int64_t &Res);
+
+ // X86 specific.
+ bool ParseX86InstOperands(MCInst &Inst);
+ bool ParseX86Operand(X86Operand &Op);
+ bool ParseX86MemOperand(X86Operand &Op);
};
} // end namespace llvm
OpenPOWER on IntegriCloud