Changeset View
Changeset View
Standalone View
Standalone View
llvm/include/llvm/CodeGen/MachineScheduler.h
Show First 20 Lines • Show All 228 Lines • ▼ Show 20 Lines | public: | ||||
/// Tell the strategy that MBB is about to be processed. | /// Tell the strategy that MBB is about to be processed. | ||||
virtual void enterMBB(MachineBasicBlock *MBB) {}; | virtual void enterMBB(MachineBasicBlock *MBB) {}; | ||||
/// Tell the strategy that current MBB is done. | /// Tell the strategy that current MBB is done. | ||||
virtual void leaveMBB() {}; | virtual void leaveMBB() {}; | ||||
/// Notify this strategy that all roots have been released (including those | /// Notify this strategy that all roots have been released (including those | ||||
/// that depend on EntrySU or ExitSU). | /// that depend on ExitSU). | ||||
virtual void registerRoots() {} | virtual void registerRoots() {} | ||||
/// Pick the next node to schedule, or return NULL. Set IsTopNode to true to | /// Pick the next node to schedule, or return NULL. Set IsTopNode to true to | ||||
/// schedule the node at the top of the unscheduled region. Otherwise it will | /// schedule the node at the top of the unscheduled region. Otherwise it will | ||||
/// be scheduled at the bottom. | /// be scheduled at the bottom. | ||||
virtual SUnit *pickNode(bool &IsTopNode) = 0; | virtual SUnit *pickNode(bool &IsTopNode) = 0; | ||||
/// Scheduler callback to notify that a new subtree is scheduled. | /// Scheduler callback to notify that a new subtree is scheduled. | ||||
▲ Show 20 Lines • Show All 849 Lines • Show Last 20 Lines |