LLVM  8.0.1
Public Member Functions | List of all members
llvm::mca::SchedulerStrategy Class Referenceabstract

#include "llvm/MCA/HardwareUnits/Scheduler.h"

Inheritance diagram for llvm::mca::SchedulerStrategy:
Inheritance graph
[legend]

Public Member Functions

 SchedulerStrategy ()=default
 
virtual ~SchedulerStrategy ()
 
virtual bool compare (const InstRef &Lhs, const InstRef &Rhs) const =0
 Returns true if Lhs should take priority over Rhs. More...
 

Detailed Description

Definition at line 28 of file Scheduler.h.

Constructor & Destructor Documentation

◆ SchedulerStrategy()

llvm::mca::SchedulerStrategy::SchedulerStrategy ( )
default

◆ ~SchedulerStrategy()

llvm::mca::SchedulerStrategy::~SchedulerStrategy ( )
virtualdefault

Member Function Documentation

◆ compare()

virtual bool llvm::mca::SchedulerStrategy::compare ( const InstRef Lhs,
const InstRef Rhs 
) const
pure virtual

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.

Implemented in llvm::mca::DefaultSchedulerStrategy.


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