Thanks to visit codestin.com
Credit goes to llvm.org

LLVM 22.0.0git
llvm::impl_detail::PostMachineSchedulerImpl Class Reference

Impl class for PostMachineScheduler. More...

Inheritance diagram for llvm::impl_detail::PostMachineSchedulerImpl:
[legend]

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 ()
MachineSchedContextoperator= (const MachineSchedContext &other)=delete
 MachineSchedContext (const MachineSchedContext &other)=delete
virtual ~MachineSchedContext ()

Protected Member Functions

ScheduleDAGInstrscreatePostMachineScheduler ()
 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
MachineFunctionMF = nullptr
const MachineLoopInfoMLI = nullptr
const MachineDominatorTreeMDT = nullptr
const TargetMachineTM = nullptr
AAResultsAA = nullptr
LiveIntervalsLIS = nullptr
RegisterClassInfoRegClassInfo

Detailed Description

Impl class for PostMachineScheduler.

Definition at line 354 of file MachineScheduler.cpp.

Constructor & Destructor Documentation

◆ PostMachineSchedulerImpl()

llvm::impl_detail::PostMachineSchedulerImpl::PostMachineSchedulerImpl ( )
inline

Definition at line 365 of file MachineScheduler.cpp.

Member Function Documentation

◆ createPostMachineScheduler()

ScheduleDAGInstrs * PostMachineSchedulerImpl::createPostMachineScheduler ( )
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().

◆ run()

◆ setLegacyPass()

void llvm::impl_detail::PostMachineSchedulerImpl::setLegacyPass ( MachineFunctionPass * P)
inline

Definition at line 367 of file MachineScheduler.cpp.

◆ setMFAM()

void llvm::impl_detail::PostMachineSchedulerImpl::setMFAM ( MachineFunctionAnalysisManager * MFAM)
inline

Definition at line 368 of file MachineScheduler.cpp.


The documentation for this class was generated from the following file: