make MachineFunction keep track of its ID and make
[oota-llvm.git] / include / llvm / CodeGen / MachineBasicBlock.h
index 6b4c64055bf3beb941e4979872496074dd566c31..20644c17e1adb5d30d52ad180712a0297f92ee92 100644 (file)
@@ -337,6 +337,10 @@ public:
                             MachineBasicBlock *DestB,
                             bool isCond);
 
+  /// findDebugLoc - find the next valid DebugLoc starting at MBBI, skipping
+  /// any DEBUG_VALUE instructions.  Return UnknownLoc if there is none.
+  DebugLoc findDebugLoc(MachineBasicBlock::iterator &MBBI);
+
   // Debugging methods.
   void dump() const;
   void print(raw_ostream &OS) const;