diff options
| -rw-r--r-- | llvm/include/llvm/CodeGen/RegisterScavenging.h | 20 | 
1 files changed, 10 insertions, 10 deletions
diff --git a/llvm/include/llvm/CodeGen/RegisterScavenging.h b/llvm/include/llvm/CodeGen/RegisterScavenging.h index c99ea18f610..246831c034d 100644 --- a/llvm/include/llvm/CodeGen/RegisterScavenging.h +++ b/llvm/include/llvm/CodeGen/RegisterScavenging.h @@ -106,16 +106,6 @@ public:    /// Return 0 if none is found.    unsigned FindUnusedReg(const TargetRegisterClass *RegClass) const; -  /// findSurvivorReg - Return the candidate register that is unused for the -  /// longest after StartMI. UseMI is set to the instruction where the search -  /// stopped. -  /// -  /// No more than InstrLimit instructions are inspected. -  unsigned findSurvivorReg(MachineBasicBlock::iterator StartMI, -                           BitVector &Candidates, -                           unsigned InstrLimit, -                           MachineBasicBlock::iterator &UseMI); -    /// setScavengingFrameIndex / getScavengingFrameIndex - accessor and setter of    /// ScavengingFrameIndex.    void setScavengingFrameIndex(int FI) { ScavengingFrameIndex = FI; } @@ -161,6 +151,16 @@ private:    /// Add Reg and its aliases to BV.    void addRegWithAliases(BitVector &BV, unsigned Reg); +  /// findSurvivorReg - Return the candidate register that is unused for the +  /// longest after StartMI. UseMI is set to the instruction where the search +  /// stopped. +  /// +  /// No more than InstrLimit instructions are inspected. +  unsigned findSurvivorReg(MachineBasicBlock::iterator StartMI, +                           BitVector &Candidates, +                           unsigned InstrLimit, +                           MachineBasicBlock::iterator &UseMI); +  };  } // End llvm namespace  | 

