LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::MCWriteLatencyEntry Struct Reference

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
 

Detailed Description

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.

Member Function Documentation

◆ operator==()

bool llvm::MCWriteLatencyEntry::operator== ( const MCWriteLatencyEntry Other) const
inline

Definition at line 90 of file MCSchedule.h.

References Cycles, llvm::Other, and WriteResourceID.

Member Data Documentation

◆ Cycles

int16_t llvm::MCWriteLatencyEntry::Cycles

◆ WriteResourceID

uint16_t llvm::MCWriteLatencyEntry::WriteResourceID

Definition at line 88 of file MCSchedule.h.

Referenced by llvm::TargetSchedModel::computeOperandLatency(), and operator==().


The documentation for this struct was generated from the following file: