aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-09 05:18:30 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-09 05:18:30 +0000
commit5502ca58636b9d67a3b7f35aff749734822e60b2 (patch)
tree59a17a5166e5f4faf2a48bbe1ccbdf26f7de8a88 /lib/Target
parent9c1feeb06ba8d357963833a29647dde4c81ea24b (diff)
downloadexternal_llvm-5502ca58636b9d67a3b7f35aff749734822e60b2.zip
external_llvm-5502ca58636b9d67a3b7f35aff749734822e60b2.tar.gz
external_llvm-5502ca58636b9d67a3b7f35aff749734822e60b2.tar.bz2
llvm-mc/AsmParser: Define match classes in the .td file.
-2 FIXMEs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78523 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/X86/X86InstrInfo.td3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td
index 8263b27..c21cad9 100644
--- a/lib/Target/X86/X86InstrInfo.td
+++ b/lib/Target/X86/X86InstrInfo.td
@@ -173,6 +173,7 @@ def ptr_rc_nosp : PointerLikeRegClass<1>;
class X86MemOperand<string printMethod> : Operand<iPTR> {
let PrintMethod = printMethod;
let MIOperandInfo = (ops ptr_rc, i8imm, ptr_rc_nosp, i32imm, i8imm);
+ let ParserMatchClass = "Mem";
}
def i8mem : X86MemOperand<"printi8mem">;
@@ -192,11 +193,13 @@ def f256mem : X86MemOperand<"printf256mem">;
def i8mem_NOREX : Operand<i64> {
let PrintMethod = "printi8mem";
let MIOperandInfo = (ops GR64_NOREX, i8imm, GR64_NOREX_NOSP, i32imm, i8imm);
+ let ParserMatchClass = "Mem";
}
def lea32mem : Operand<i32> {
let PrintMethod = "printlea32mem";
let MIOperandInfo = (ops GR32, i8imm, GR32_NOSP, i32imm);
+ let ParserMatchClass = "Mem";
}
def SSECC : Operand<i8> {