PrologEpilogInserter: Rewrite API to determine callee save regsiters.
[oota-llvm.git] / lib / Target / BPF / BPFFrameLowering.h
index 3b9fc443e053984888339b28a36fdfc0c77b13b7..251cda965ff5bb266251812065f1d60afca70718 100644 (file)
@@ -28,8 +28,8 @@ public:
   void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
 
   bool hasFP(const MachineFunction &MF) const override;
-  void processFunctionBeforeCalleeSavedScan(MachineFunction &MF,
-                                            RegScavenger *RS) const override;
+  void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
+                            RegScavenger *RS) const override;
 
   void
   eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB,