aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen/Record.h
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2009-06-08 17:00:34 +0000
committerDavid Greene <greened@obbligato.org>2009-06-08 17:00:34 +0000
commit938c8ab0a0f4a52d7d6ddc975abe9de08fee06d5 (patch)
tree790c1f084b25650896b3b08b8811e9bb0d52d692 /utils/TableGen/Record.h
parent06bfa33eefd6c7b56fc354ab640a9175e82bf890 (diff)
downloadexternal_llvm-938c8ab0a0f4a52d7d6ddc975abe9de08fee06d5.zip
external_llvm-938c8ab0a0f4a52d7d6ddc975abe9de08fee06d5.tar.gz
external_llvm-938c8ab0a0f4a52d7d6ddc975abe9de08fee06d5.tar.bz2
Add a !regmatch operator to do pattern matching in TableGen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73074 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/Record.h')
-rw-r--r--utils/TableGen/Record.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/Record.h b/utils/TableGen/Record.h
index 4284cab..3a15ca5 100644
--- a/utils/TableGen/Record.h
+++ b/utils/TableGen/Record.h
@@ -802,7 +802,7 @@ public:
///
class BinOpInit : public OpInit {
public:
- enum BinaryOp { SHL, SRA, SRL, STRCONCAT, CONCAT, NAMECONCAT };
+ enum BinaryOp { SHL, SRA, SRL, STRCONCAT, CONCAT, NAMECONCAT, REGMATCH };
private:
BinaryOp Opc;
Init *LHS, *RHS;