LLVM 20.0.0git
|
Default instruction selection strategy used by class Scheduler. More...
#include "llvm/MCA/HardwareUnits/Scheduler.h"
Public Member Functions | |
DefaultSchedulerStrategy ()=default | |
virtual | ~DefaultSchedulerStrategy () |
bool | compare (const InstRef &Lhs, const InstRef &Rhs) const override |
Returns true if Lhs should take priority over Rhs. | |
Public Member Functions inherited from llvm::mca::SchedulerStrategy | |
SchedulerStrategy ()=default | |
virtual | ~SchedulerStrategy () |
virtual bool | compare (const InstRef &Lhs, const InstRef &Rhs) const =0 |
Returns true if Lhs should take priority over Rhs. | |
Default instruction selection strategy used by class Scheduler.
Definition at line 40 of file Scheduler.h.
|
default |
|
virtualdefault |
|
inlineoverridevirtual |
Returns true if Lhs should take priority over Rhs.
This method is used by class Scheduler to select the "best" ready instruction to issue to the underlying pipelines.
Prioritize older instructions over younger instructions to minimize the pressure on the reorder buffer.
Implements llvm::mca::SchedulerStrategy.
Definition at line 51 of file Scheduler.h.
References llvm::mca::InstRef::getSourceIndex().