[SystemZ] Start adding z196 and zEC12 support
[oota-llvm.git] / lib / Target / SystemZ / SystemZSubtarget.h
index 8d4d450844df4693188bd5d64e61c4d133b22c34..4a86287071c5583c8e81b17c64cabe83b2949013 100644 (file)
@@ -26,6 +26,9 @@ class GlobalValue;
 class StringRef;
 
 class SystemZSubtarget : public SystemZGenSubtargetInfo {
+protected:
+  bool HasDistinctOps;
+
 private:
   Triple TargetTriple;
 
@@ -36,6 +39,9 @@ public:
   // Automatically generated by tblgen.
   void ParseSubtargetFeatures(StringRef CPU, StringRef FS);
 
+  // Return true if the target has the distinct-operands facility.
+  bool hasDistinctOps() const { return HasDistinctOps; }
+
   // Return true if GV can be accessed using LARL for reloc model RM
   // and code model CM.
   bool isPC32DBLSymbol(const GlobalValue *GV, Reloc::Model RM,