summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/PredicateExpander.h
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-07-18 11:03:22 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-07-18 11:03:22 +0000
commit9a2e9db7126a4a3bacf932e34484b187ee12fc74 (patch)
treef5cddea8ee64624a12d54000eb0a7e49eb05d27c /llvm/utils/TableGen/PredicateExpander.h
parenta1bb8f7a0c0db9098321506282285399f33914e6 (diff)
downloadbcm5719-llvm-9a2e9db7126a4a3bacf932e34484b187ee12fc74.tar.gz
bcm5719-llvm-9a2e9db7126a4a3bacf932e34484b187ee12fc74.zip
[Tablegen][PredicateExpander] Add the ability to define checks for invalid registers.
This was discussed in review D49436. llvm-svn: 337378
Diffstat (limited to 'llvm/utils/TableGen/PredicateExpander.h')
-rw-r--r--llvm/utils/TableGen/PredicateExpander.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/PredicateExpander.h b/llvm/utils/TableGen/PredicateExpander.h
index bc4de902fcc..398b376f7a8 100644
--- a/llvm/utils/TableGen/PredicateExpander.h
+++ b/llvm/utils/TableGen/PredicateExpander.h
@@ -73,6 +73,7 @@ public:
StringRef MethodName);
void expandCheckIsRegOperand(formatted_raw_ostream &OS, int OpIndex);
void expandCheckIsImmOperand(formatted_raw_ostream &OS, int OpIndex);
+ void expandCheckInvalidRegOperand(formatted_raw_ostream &OS, int OpIndex);
void expandCheckFunctionPredicate(formatted_raw_ostream &OS,
StringRef MCInstFn,
StringRef MachineInstrFn);
OpenPOWER on IntegriCloud