[SystemZ] Use POPCNT instruction on z196
[oota-llvm.git] / lib / Target / SystemZ / SystemZSubtarget.h
index 99cb1ad30450ced7dcb25ac15f6eb145bf0d9fac..b3e7a3512cd265440b9a0e56e292c8275d4ac445 100644 (file)
@@ -38,6 +38,7 @@ protected:
   bool HasLoadStoreOnCond;
   bool HasHighWord;
   bool HasFPExtension;
+  bool HasPopulationCount;
   bool HasFastSerialization;
   bool HasInterlockedAccess1;
 
@@ -86,6 +87,9 @@ public:
   // Return true if the target has the floating-point extension facility.
   bool hasFPExtension() const { return HasFPExtension; }
 
+  // Return true if the target has the population-count facility.
+  bool hasPopulationCount() const { return HasPopulationCount; }
+
   // Return true if the target has the fast-serialization facility.
   bool hasFastSerialization() const { return HasFastSerialization; }