aboutsummaryrefslogtreecommitdiff
path: root/docs/TableGenFundamentals.html
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 /docs/TableGenFundamentals.html
parent06bfa33eefd6c7b56fc354ab640a9175e82bf890 (diff)
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 'docs/TableGenFundamentals.html')
-rw-r--r--docs/TableGenFundamentals.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/TableGenFundamentals.html b/docs/TableGenFundamentals.html
index bd427116a1..2e74352010 100644
--- a/docs/TableGenFundamentals.html
+++ b/docs/TableGenFundamentals.html
@@ -414,6 +414,9 @@ aborts with an error. </dd>
<dt><tt>!subst(a, b, c)</tt></dt>
<dd>If 'a' and 'b' are of string type or are symbol references, substitute
'b' for 'a' in 'c.' This operation is analogous to $(subst) in GNU make.</dd>
+<dt><tt>!regmatch(a, b)</tt></dt>
+ <dd>An integer {0,1} indicating whether string 'b' matched regular expression
+'a.'</dd>
<dt><tt>!foreach(a, b, c)</tt></dt>
<dd>For each member 'b' of dag or list 'a' apply operator 'c.' 'b' is a
dummy variable that should be declared as a member variable of an instantiated