1 //===- PPCMachineScheduler.cpp - MI Scheduler for PowerPC -------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 #include "PPCMachineScheduler.h"
9 using namespace llvm;
10 
11 void PPCPostRASchedStrategy::enterMBB(MachineBasicBlock *MBB) {
12   // Custom PPC PostRA specific behavior here.
13   PostGenericScheduler::enterMBB(MBB);
14 }
15 
16 void PPCPostRASchedStrategy::leaveMBB() {
17   // Custom PPC PostRA specific behavior here.
18   PostGenericScheduler::leaveMBB();
19 }
20 
21 void PPCPostRASchedStrategy::initialize(ScheduleDAGMI *Dag) {
22   // Custom PPC PostRA specific initialization here.
23   PostGenericScheduler::initialize(Dag);
24 }
25 
26 SUnit *PPCPostRASchedStrategy::pickNode(bool &IsTopNode) {
27   // Custom PPC PostRA specific scheduling here.
28   return PostGenericScheduler::pickNode(IsTopNode);
29 }
30 
31