LLVM  8.0.1
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"

Collaboration diagram for llvm::MCReadAdvanceEntry:
Collaboration graph
[legend]

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 95 of file MCSchedule.h.

Member Function Documentation

◆ operator==()

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

Definition at line 100 of file MCSchedule.h.

References Cycles, UseIdx, and WriteResourceID.

Member Data Documentation

◆ Cycles

int llvm::MCReadAdvanceEntry::Cycles

Definition at line 98 of file MCSchedule.h.

Referenced by operator==().

◆ UseIdx

unsigned llvm::MCReadAdvanceEntry::UseIdx

Definition at line 96 of file MCSchedule.h.

Referenced by operator==().

◆ WriteResourceID

unsigned llvm::MCReadAdvanceEntry::WriteResourceID

Definition at line 97 of file MCSchedule.h.

Referenced by operator==().


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