diff options
author | David Greene <greened@obbligato.org> | 2009-06-08 17:00:34 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2009-06-08 17:00:34 +0000 |
commit | 938c8ab0a0f4a52d7d6ddc975abe9de08fee06d5 (patch) | |
tree | 790c1f084b25650896b3b08b8811e9bb0d52d692 /utils/TableGen/Record.h | |
parent | 06bfa33eefd6c7b56fc354ab640a9175e82bf890 (diff) | |
download | external_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.h | 2 |
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; |