class DefaultSchedulerStrategy
Declaration
class DefaultSchedulerStrategy : public SchedulerStrategy { /* full declaration omitted */ };
Description
Default instruction selection strategy used by class Scheduler.
Declared at: llvm/include/llvm/MCA/HardwareUnits/Scheduler.h:40
Inherits from: SchedulerStrategy
Method Overview
- public DefaultSchedulerStrategy()
- public bool compare(const llvm::mca::InstRef & Lhs, const llvm::mca::InstRef & Rhs) const
- public virtual ~DefaultSchedulerStrategy()
Inherited from SchedulerStrategy:
Methods
¶DefaultSchedulerStrategy()
DefaultSchedulerStrategy()
Declared at: llvm/include/llvm/MCA/HardwareUnits/Scheduler.h:48
¶bool compare(const llvm::mca::InstRef& Lhs,
const llvm::mca::InstRef& Rhs) const
bool compare(const llvm::mca::InstRef& Lhs,
const llvm::mca::InstRef& Rhs) const
Description
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.
Declared at: llvm/include/llvm/MCA/HardwareUnits/Scheduler.h:51
Parameters
- const llvm::mca::InstRef& Lhs
- const llvm::mca::InstRef& Rhs
¶virtual ~DefaultSchedulerStrategy()
virtual ~DefaultSchedulerStrategy()
Declared at: llvm/include/llvm/MCA/HardwareUnits/Scheduler.h:49