LLVM 22.0.0git
|
Impl class for PostMachineScheduler. More...
Classes | |
struct | RequiredAnalyses |
Public Member Functions | |
PostMachineSchedulerImpl () | |
void | setLegacyPass (MachineFunctionPass *P) |
void | setMFAM (MachineFunctionAnalysisManager *MFAM) |
bool | run (MachineFunction &Func, const TargetMachine &TM, const RequiredAnalyses &Analyses) |
Public Member Functions inherited from llvm::MachineSchedContext | |
MachineSchedContext () | |
MachineSchedContext & | operator= (const MachineSchedContext &other)=delete |
MachineSchedContext (const MachineSchedContext &other)=delete | |
virtual | ~MachineSchedContext () |
Protected Member Functions | |
ScheduleDAGInstrs * | createPostMachineScheduler () |
Instantiate a ScheduleDAGInstrs for PostRA scheduling that will be owned by the caller. | |
Protected Member Functions inherited from llvm::impl_detail::MachineSchedulerBase | |
void | scheduleRegions (ScheduleDAGInstrs &Scheduler, bool FixKillFlags) |
Main driver for both MachineScheduler and PostMachineScheduler. |
Additional Inherited Members | |
Public Attributes inherited from llvm::MachineSchedContext | |
MachineFunction * | MF = nullptr |
const MachineLoopInfo * | MLI = nullptr |
const MachineDominatorTree * | MDT = nullptr |
const TargetMachine * | TM = nullptr |
AAResults * | AA = nullptr |
LiveIntervals * | LIS = nullptr |
RegisterClassInfo * | RegClassInfo |
Impl class for PostMachineScheduler.
Definition at line 354 of file MachineScheduler.cpp.
|
inline |
Definition at line 365 of file MachineScheduler.cpp.
|
protected |
Instantiate a ScheduleDAGInstrs for PostRA scheduling that will be owned by the caller.
We don't have a command line option to override the postRA scheduler. The Target must configure it.
Definition at line 592 of file MachineScheduler.cpp.
References createPostMachineScheduler(), llvm::createSchedPostRA(), Scheduler, and llvm::MachineSchedContext::TM.
Referenced by createPostMachineScheduler(), and run().
bool PostMachineSchedulerImpl::run | ( | MachineFunction & | Func, |
const TargetMachine & | TM, | ||
const RequiredAnalyses & | Analyses ) |
Definition at line 602 of file MachineScheduler.cpp.
References llvm::impl_detail::PostMachineSchedulerImpl::RequiredAnalyses::AA, llvm::MachineSchedContext::AA, createPostMachineScheduler(), llvm::errs(), llvm::MachineSchedContext::MF, llvm::impl_detail::PostMachineSchedulerImpl::RequiredAnalyses::MLI, llvm::MachineSchedContext::MLI, run(), Scheduler, llvm::impl_detail::MachineSchedulerBase::scheduleRegions(), llvm::MachineSchedContext::TM, and llvm::VerifyScheduling.
Referenced by run().
|
inline |
Definition at line 367 of file MachineScheduler.cpp.
|
inline |
Definition at line 368 of file MachineScheduler.cpp.