LLVM: llvm::mca::CycleSegment Class Reference (original) (raw)

A sequence of cycles. More...

#include "[llvm/MCA/Instruction.h](MCA%5F2Instruction%5F8h%5Fsource.html)"

Public Member Functions
CycleSegment (unsigned StartCycle, unsigned EndCycle, bool IsReserved=false)
bool contains (unsigned Cycle) const
bool startsAfter (const CycleSegment &CS) const
bool endsBefore (const CycleSegment &CS) const
bool overlaps (const CycleSegment &CS) const
bool isExecuting () const
bool isExecuted () const
bool operator< (const CycleSegment &Other) const
CycleSegment & operator-- ()
bool isValid () const
unsigned size () const
void subtract (unsigned Cycles)
unsigned begin () const
unsigned end () const
void setEnd (unsigned NewEnd)
bool isReserved () const
void setReserved ()

A sequence of cycles.

This class can be used as a building block to construct ranges of cycles.

Definition at line 392 of file Instruction.h.

llvm::mca::CycleSegment::CycleSegment ( unsigned StartCycle, unsigned EndCycle, bool IsReserved = false ) inline

begin()

unsigned llvm::mca::CycleSegment::begin ( ) const inline

contains()

bool llvm::mca::CycleSegment::contains ( unsigned Cycle) const inline

end()

unsigned llvm::mca::CycleSegment::end ( ) const inline

endsBefore()

isExecuted()

bool llvm::mca::CycleSegment::isExecuted ( ) const inline

isExecuting()

bool llvm::mca::CycleSegment::isExecuting ( ) const inline

isReserved()

bool llvm::mca::CycleSegment::isReserved ( ) const inline

isValid()

bool llvm::mca::CycleSegment::isValid ( ) const inline

operator--()

CycleSegment & llvm::mca::CycleSegment::operator-- ( ) inline

operator<()

overlaps()

setEnd()

void llvm::mca::CycleSegment::setEnd ( unsigned NewEnd) inline

setReserved()

void llvm::mca::CycleSegment::setReserved ( ) inline

size()

unsigned llvm::mca::CycleSegment::size ( ) const inline

startsAfter()

subtract()

void llvm::mca::CycleSegment::subtract ( unsigned Cycles) inline

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