diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-07 19:28:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-07 19:28:55 +0000 |
commit | 2b8b2b4aeeb4b64ed57372faf8a4b2a25dc3a5ec (patch) | |
tree | 894237b05edff716aa4271da411a38ea0c3a3bc4 /support/tools/TableGen/InstrSelectorEmitter.h | |
parent | b356a24bf199f448704f5860e4b64af552a22922 (diff) | |
download | external_llvm-2b8b2b4aeeb4b64ed57372faf8a4b2a25dc3a5ec.zip external_llvm-2b8b2b4aeeb4b64ed57372faf8a4b2a25dc3a5ec.tar.gz external_llvm-2b8b2b4aeeb4b64ed57372faf8a4b2a25dc3a5ec.tar.bz2 |
Cleanup and reorganize code, no functional changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7679 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'support/tools/TableGen/InstrSelectorEmitter.h')
-rw-r--r-- | support/tools/TableGen/InstrSelectorEmitter.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/support/tools/TableGen/InstrSelectorEmitter.h b/support/tools/TableGen/InstrSelectorEmitter.h index 681830f..a9d7028 100644 --- a/support/tools/TableGen/InstrSelectorEmitter.h +++ b/support/tools/TableGen/InstrSelectorEmitter.h @@ -88,6 +88,13 @@ public: } void dump() const; + + + // UpdateNodeType - Set the node type of N to VT if VT contains information. + // If N already contains a conflicting type, then throw an exception. This + // returns true if any information was updated. + // + bool updateNodeType(MVT::ValueType VT, const std::string &RecName); }; std::ostream &operator<<(std::ostream &OS, const TreePatternNode &N); |