[SystemZ] Add MC support for interlocked-access 1 instructions
[oota-llvm.git] / lib / Target / SystemZ / SystemZSubtarget.h
index 6823c1432cd974943d5116c7d3c849dedb661e96..f7c8f96c044954c2f9ea3aaf63fda6d185177c54 100644 (file)
@@ -33,6 +33,7 @@ protected:
   bool HasHighWord;
   bool HasFPExtension;
   bool HasFastSerialization;
+  bool HasInterlockedAccess1;
 
 private:
   Triple TargetTriple;
@@ -62,6 +63,9 @@ public:
   // Return true if the target has the fast-serialization facility.
   bool hasFastSerialization() const { return HasFastSerialization; }
 
+  // Return true if the target has interlocked-access facility 1.
+  bool hasInterlockedAccess1() const { return HasInterlockedAccess1; }
+
   // 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,