[llvm-commits] [llvm] r107887 - /llvm/trunk/include/llvm/CodeGen/RegisterScavenging.h
Jim Grosbach
grosbach at apple.com
Thu Jul 8 10:27:23 PDT 2010
Author: grosbach
Date: Thu Jul 8 12:27:23 2010
New Revision: 107887
URL: http://llvm.org/viewvc/llvm-project?rev=107887&view=rev
Log:
After r107880, findSurvivorReg() no longer needs to be public.
Modified:
llvm/trunk/include/llvm/CodeGen/RegisterScavenging.h
Modified: llvm/trunk/include/llvm/CodeGen/RegisterScavenging.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/RegisterScavenging.h?rev=107887&r1=107886&r2=107887&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/RegisterScavenging.h (original)
+++ llvm/trunk/include/llvm/CodeGen/RegisterScavenging.h Thu Jul 8 12:27:23 2010
@@ -106,16 +106,6 @@
/// 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 @@
/// 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
More information about the llvm-commits
mailing list