LLVM  6.0.0svn
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"

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

Public Member Functions

bool operator== (const MCWriteLatencyEntry &Other) const
 

Public Attributes

int Cycles
 
unsigned 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 69 of file MCSchedule.h.

Member Function Documentation

◆ operator==()

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

Definition at line 73 of file MCSchedule.h.

References Cycles, and WriteResourceID.

Member Data Documentation

◆ Cycles

int llvm::MCWriteLatencyEntry::Cycles

◆ WriteResourceID

unsigned llvm::MCWriteLatencyEntry::WriteResourceID

Definition at line 71 of file MCSchedule.h.

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


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