Make a bunch of static arrays const.
[oota-llvm.git] / lib / Target / Sparc / SparcFrameLowering.h
index bb3b78861cbd6db8e4c49f2075928ef9624db951..cbb4dc04fc236212ac222ac7a57606aaaee2de7a 100644 (file)
@@ -36,8 +36,16 @@ public:
 
   bool hasReservedCallFrame(const MachineFunction &MF) const override;
   bool hasFP(const MachineFunction &MF) const override;
-  void processFunctionBeforeCalleeSavedScan(MachineFunction &MF,
-                                     RegScavenger *RS = nullptr) const override;
+  void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
+                            RegScavenger *RS = nullptr) const override;
+
+  int getFrameIndexReference(const MachineFunction &MF, int FI,
+                             unsigned &FrameReg) const override;
+
+  /// targetHandlesStackFrameRounding - Returns true if the target is
+  /// responsible for rounding up the stack frame (probably at emitPrologue
+  /// time).
+  bool targetHandlesStackFrameRounding() const override { return true; }
 
 private:
   // Remap input registers to output registers for leaf procedure.