Add reg_nodbg_iterator
[oota-llvm.git] / include / llvm / CodeGen / ScheduleHazardRecognizer.h
index 369882d258e3b7cc960154f939c195d152a99174..09e3e886131648d09893ba82c3389188ef824139 100644 (file)
@@ -43,6 +43,11 @@ public:
     return NoHazard;
   }
 
+  /// Reset - This callback is invoked when a new block of
+  /// instructions is about to be schedule. The hazard state should be
+  /// set to an initialized state.
+  virtual void Reset() {}
+
   /// EmitInstruction - This callback is invoked when an instruction is
   /// emitted, to advance the hazard state.
   virtual void EmitInstruction(SUnit *) {}