Add initial support for back-scheduling address computations,
[oota-llvm.git] / lib / Target / X86 / X86Subtarget.h
index 5eb89d605d198202674064667346c6a7d9c9c4a3..f405ac798bb6c6bc8433b3aa78cc7178a7f305af 100644 (file)
@@ -191,6 +191,12 @@ public:
   /// memset with zero passed as the second argument. Otherwise it
   /// returns null.
   const char *getBZeroEntry() const;
+
+  /// getSpecialAddressLatency - For targets where it is beneficial to
+  /// backschedule instructions that compute addresses, return a value
+  /// indicating the number of scheduling cycles of backscheduling that
+  /// should be attempted.
+  unsigned getSpecialAddressLatency() const;
 };
 
 namespace X86 {