MIR Serialization: Serialize the operand's bit mask target flags.
[oota-llvm.git] / include / llvm / Target / TargetInstrInfo.h
index 0b45507893a46c3ac7e96f1640791cae8c088a5a..421666cef8fa06af748d563ccfc6701ee7572243 100644 (file)
@@ -1289,6 +1289,16 @@ public:
     return None;
   }
 
+  /// Return an array that contains the bitmask target flag values and their
+  /// names.
+  ///
+  /// MIR Serialization is able to serialize only the target flags that are
+  /// defined by this method.
+  virtual ArrayRef<std::pair<unsigned, const char *>>
+  getSerializableBitmaskMachineOperandTargetFlags() const {
+    return None;
+  }
+
 private:
   unsigned CallFrameSetupOpcode, CallFrameDestroyOpcode;
 };