LLVM  6.0.0svn
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 86 of file MCSchedule.h.

Member Function Documentation

◆ operator==()

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

Definition at line 91 of file MCSchedule.h.

References Cycles, UseIdx, and WriteResourceID.

Member Data Documentation

◆ Cycles

int llvm::MCReadAdvanceEntry::Cycles

Definition at line 89 of file MCSchedule.h.

Referenced by operator==().

◆ UseIdx

unsigned llvm::MCReadAdvanceEntry::UseIdx

Definition at line 87 of file MCSchedule.h.

Referenced by operator==().

◆ WriteResourceID

unsigned llvm::MCReadAdvanceEntry::WriteResourceID

Definition at line 88 of file MCSchedule.h.

Referenced by operator==().


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