LLVM API Documentation

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

#include <MCSchedule.h>

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

List of all members.

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

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

Definition at line 73 of file MCSchedule.h.

References Cycles, and WriteResourceID.


Member Data Documentation

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: