[llvm-commits] CVS: llvm/lib/Target/ARM/ARMRegisterInfo.h

Evan Cheng evan.cheng at apple.com
Tue Feb 27 16:21:33 PST 2007



Changes in directory llvm/lib/Target/ARM:

ARMRegisterInfo.h updated: 1.13 -> 1.14
---
Log message:

PEI now passes a RegScavenger ptr to eliminateFrameIndex.

---
Diffs of the changes:  (+4 -3)

 ARMRegisterInfo.h |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)


Index: llvm/lib/Target/ARM/ARMRegisterInfo.h
diff -u llvm/lib/Target/ARM/ARMRegisterInfo.h:1.13 llvm/lib/Target/ARM/ARMRegisterInfo.h:1.14
--- llvm/lib/Target/ARM/ARMRegisterInfo.h:1.13	Tue Feb 27 15:12:35 2007
+++ llvm/lib/Target/ARM/ARMRegisterInfo.h	Tue Feb 27 18:21:17 2007
@@ -38,8 +38,6 @@
 
   ~ARMRegisterInfo();
 
-  RegScavenger *getRegScavenger() const;
-
   /// getRegisterNumbering - Given the enum value for some register, e.g.
   /// ARM::LR, return the number that it corresponds to (e.g. 14).
   static unsigned getRegisterNumbering(unsigned RegEnum);
@@ -76,13 +74,16 @@
 
   BitVector getReservedRegs(const MachineFunction &MF) const;
 
+  bool requiresRegisterScavenging() const;
+
   bool hasFP(const MachineFunction &MF) const;
 
   void eliminateCallFramePseudoInstr(MachineFunction &MF,
                                      MachineBasicBlock &MBB,
                                      MachineBasicBlock::iterator I) const;
 
-  void eliminateFrameIndex(MachineBasicBlock::iterator II) const;
+  void eliminateFrameIndex(MachineBasicBlock::iterator II,
+                           RegScavenger *RS = NULL) const;
 
   void processFunctionBeforeCalleeSavedScan(MachineFunction &MF) const;
 






More information about the llvm-commits mailing list