LLVM API Documentation

Public Member Functions | Public Attributes
llvm::MCReadAdvanceEntry Struct Reference

#include <MCSchedule.h>

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

List of all members.

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

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

Definition at line 89 of file MCSchedule.h.

Referenced by operator==().

Definition at line 87 of file MCSchedule.h.

Referenced by operator==().

Definition at line 88 of file MCSchedule.h.

Referenced by operator==().


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