class SchedulerStrategy

Declaration

class SchedulerStrategy { /* full declaration omitted */ };

Declared at: llvm/include/llvm/MCA/HardwareUnits/Scheduler.h:27

Method Overview

Methods

SchedulerStrategy()

Declared at: llvm/include/llvm/MCA/HardwareUnits/Scheduler.h:29

virtual 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:36

Parameters

const llvm::mca::InstRef& Lhs
const llvm::mca::InstRef& Rhs

virtual ~SchedulerStrategy()

Declared at: llvm/include/llvm/MCA/HardwareUnits/Scheduler.h:30