LLVM 20.0.0git
|
Resource allocation strategy used by hardware scheduler resources. More...
#include "llvm/MCA/HardwareUnits/ResourceManager.h"
Public Member Functions | |
ResourceStrategy ()=default | |
virtual | ~ResourceStrategy () |
virtual uint64_t | select (uint64_t ReadyMask)=0 |
Selects a processor resource unit from a ReadyMask. | |
virtual void | used (uint64_t ResourceMask) |
Called by the ResourceManager when a processor resource group, or a processor resource with multiple units has become unavailable. | |
Resource allocation strategy used by hardware scheduler resources.
Definition at line 47 of file ResourceManager.h.
|
default |
|
virtualdefault |
Selects a processor resource unit from a ReadyMask.
Implemented in llvm::mca::DefaultResourceStrategy.
|
inlinevirtual |
Called by the ResourceManager when a processor resource group, or a processor resource with multiple units has become unavailable.
The default strategy uses this information to bias its selection logic.
Reimplemented in llvm::mca::DefaultResourceStrategy.
Definition at line 62 of file ResourceManager.h.