diff options
Diffstat (limited to 'utils/TableGen/InstrSelectorEmitter.h')
-rw-r--r-- | utils/TableGen/InstrSelectorEmitter.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/TableGen/InstrSelectorEmitter.h b/utils/TableGen/InstrSelectorEmitter.h index 681830ffa8..a9d7028eb0 100644 --- a/utils/TableGen/InstrSelectorEmitter.h +++ b/utils/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); |