LLVM 20.0.0git
|
Specify the latency in cpu cycles for a particular scheduling class and def index. More...
#include "llvm/MC/MCSchedule.h"
Public Member Functions | |
bool | operator== (const MCWriteLatencyEntry &Other) const |
Public Attributes | |
int16_t | Cycles |
uint16_t | WriteResourceID |
Specify the latency in cpu cycles for a particular scheduling class and def index.
-1 indicates an invalid latency. Heuristics would typically consider an instruction with invalid latency to have infinite latency. Also identify the WriteResources of this def. When the operand expands to a sequence of writes, this ID is the last write in the sequence.
Definition at line 86 of file MCSchedule.h.
|
inline |
Definition at line 90 of file MCSchedule.h.
References Cycles, llvm::Other, and WriteResourceID.
int16_t llvm::MCWriteLatencyEntry::Cycles |
Definition at line 87 of file MCSchedule.h.
Referenced by llvm::MCSchedModel::computeInstrLatency(), llvm::TargetSchedModel::computeOperandLatency(), getLatency(), and operator==().
uint16_t llvm::MCWriteLatencyEntry::WriteResourceID |
Definition at line 88 of file MCSchedule.h.
Referenced by llvm::TargetSchedModel::computeOperandLatency(), and operator==().