diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Target/PowerPC/PPCMachineScheduler.h')
| -rw-r--r-- | contrib/llvm-project/llvm/lib/Target/PowerPC/PPCMachineScheduler.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/llvm-project/llvm/lib/Target/PowerPC/PPCMachineScheduler.h b/contrib/llvm-project/llvm/lib/Target/PowerPC/PPCMachineScheduler.h index a9734ca71859..27e80c7506a8 100644 --- a/contrib/llvm-project/llvm/lib/Target/PowerPC/PPCMachineScheduler.h +++ b/contrib/llvm-project/llvm/lib/Target/PowerPC/PPCMachineScheduler.h @@ -23,8 +23,9 @@ public: PPCPreRASchedStrategy(const MachineSchedContext *C) : GenericScheduler(C) {} protected: - void tryCandidate(SchedCandidate &Cand, SchedCandidate &TryCand, + bool tryCandidate(SchedCandidate &Cand, SchedCandidate &TryCand, SchedBoundary *Zone) const override; + private: bool biasAddiLoadCandidate(SchedCandidate &Cand, SchedCandidate &TryCand, @@ -43,7 +44,7 @@ protected: void enterMBB(MachineBasicBlock *MBB) override; void leaveMBB() override; - void tryCandidate(SchedCandidate &Cand, SchedCandidate &TryCand) override; + bool tryCandidate(SchedCandidate &Cand, SchedCandidate &TryCand) override; bool biasAddiCandidate(SchedCandidate &Cand, SchedCandidate &TryCand) const; }; |
