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 | 07eba05a610bb1711c2d9e798ad72df0ddf90249 (patch) | |
tree | e3edf39277f259509fba97aaf71af1cb7e7a05b2 /llvm/docs | |
parent | 6f998fcb1d2ebc37a255e1a5ba25e2d2cc5a611d (diff) | |
download | bcm5719-llvm-07eba05a610bb1711c2d9e798ad72df0ddf90249.tar.gz bcm5719-llvm-07eba05a610bb1711c2d9e798ad72df0ddf90249.zip |
Add a !regmatch operator to do pattern matching in TableGen.
llvm-svn: 73074
Diffstat (limited to 'llvm/docs')
-rw-r--r-- | llvm/docs/TableGenFundamentals.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/docs/TableGenFundamentals.html b/llvm/docs/TableGenFundamentals.html index bd427116a16..2e74352010f 100644 --- a/llvm/docs/TableGenFundamentals.html +++ b/llvm/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 |