LLVM 19.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::MCReadAdvanceEntry Struct Reference

Specify the number of cycles allowed after instruction issue before a particular use operand reads its registers. More...

#include "llvm/MC/MCSchedule.h"

Public Member Functions

bool operator== (const MCReadAdvanceEntry &Other) const
 

Public Attributes

unsigned UseIdx
 
unsigned WriteResourceID
 
int Cycles
 

Detailed Description

Specify the number of cycles allowed after instruction issue before a particular use operand reads its registers.

This effectively reduces the write's latency. Here we allow negative cycles for corner cases where latency increases. This rule only applies when the entry's WriteResource matches the write's WriteResource.

MCReadAdvanceEntries are sorted first by operand index (UseIdx), then by WriteResourceIdx.

Definition at line 103 of file MCSchedule.h.

Member Function Documentation

◆ operator==()

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

Definition at line 108 of file MCSchedule.h.

References Cycles, llvm::Other, UseIdx, and WriteResourceID.

Member Data Documentation

◆ Cycles

int llvm::MCReadAdvanceEntry::Cycles

Definition at line 106 of file MCSchedule.h.

Referenced by operator==().

◆ UseIdx

unsigned llvm::MCReadAdvanceEntry::UseIdx

Definition at line 104 of file MCSchedule.h.

Referenced by operator==().

◆ WriteResourceID

unsigned llvm::MCReadAdvanceEntry::WriteResourceID

Definition at line 105 of file MCSchedule.h.

Referenced by operator==().


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