Replace r102368 with code that's less fragile. This creates DBG_VALUE instructions...
[oota-llvm.git] / include / llvm / CodeGen / MachineRegisterInfo.h
index d312aaedca069992344b7037b1039c369ce3b6e5..b377dec37831ce0a04ae16b9ceb5f0a2ad402d50 100644 (file)
@@ -261,6 +261,10 @@ public:
   bool isLiveIn(unsigned Reg) const;
   bool isLiveOut(unsigned Reg) const;
 
+  /// getLiveInPhysReg - If VReg is a live-in virtual register, return the
+  /// corresponding live-in physical register.
+  unsigned getLiveInPhysReg(unsigned VReg) const;
+
   /// EmitLiveInCopies - Emit copies to initialize livein virtual registers
   /// into the given entry block.
   void EmitLiveInCopies(MachineBasicBlock *EntryMBB,