blob: 19aa53d54f149898ac36686837c78710dd8e8769 [file] [log] [blame]
QingShan Zhang5321dcd2019-03-27 03:50:16 +00001//===- 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"
9using namespace llvm;
10
11void PPCPostRASchedStrategy::enterMBB(MachineBasicBlock *MBB) {
12 // Custom PPC PostRA specific behavior here.
13 PostGenericScheduler::enterMBB(MBB);
14}
15
16void PPCPostRASchedStrategy::leaveMBB() {
17 // Custom PPC PostRA specific behavior here.
18 PostGenericScheduler::leaveMBB();
19}
20
21void PPCPostRASchedStrategy::initialize(ScheduleDAGMI *Dag) {
22 // Custom PPC PostRA specific initialization here.
23 PostGenericScheduler::initialize(Dag);
24}
25
26SUnit *PPCPostRASchedStrategy::pickNode(bool &IsTopNode) {
27 // Custom PPC PostRA specific scheduling here.
28 return PostGenericScheduler::pickNode(IsTopNode);
29}
30