enum ResourceStateEvent

Description

Used to notify the internal state of a processor resource. A processor resource is available if it is not reserved, and there are available slots in the buffer. A processor resource is unavailable if it is either reserved, or the associated buffer is full. A processor resource with a buffer size of -1 is always available if it is not reserved. Values of type ResourceStateEvent are returned by method ResourceManager::canBeDispatched() The naming convention for resource state events is: * Event names start with prefix RS_ * Prefix RS_ is followed by a string describing the actual resource state.

Declared at: llvm/include/llvm/MCA/HardwareUnits/ResourceManager.h:41

Enumerators

NameValueComment
RS_BUFFER_AVAILABLE0
RS_BUFFER_UNAVAILABLE1
RS_RESERVED2