[SystemZ] Add STOC and STOCG
[oota-llvm.git] / lib / Target / SystemZ / SystemZSubtarget.h
index 4a86287071c5583c8e81b17c64cabe83b2949013..9d5dfc8a1dec5c7340c26e502187f58a14e343dd 100644 (file)
@@ -28,6 +28,7 @@ class StringRef;
 class SystemZSubtarget : public SystemZGenSubtargetInfo {
 protected:
   bool HasDistinctOps;
+  bool HasLoadStoreOnCond;
 
 private:
   Triple TargetTriple;
@@ -42,6 +43,9 @@ public:
   // Return true if the target has the distinct-operands facility.
   bool hasDistinctOps() const { return HasDistinctOps; }
 
+  // Return true if the target has the load/store-on-condition facility.
+  bool hasLoadStoreOnCond() const { return HasLoadStoreOnCond; }
+
   // 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,