LLVM 20.0.0git
|
A sequence of cycles. More...
#include "llvm/MCA/Instruction.h"
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 389 of file Instruction.h.
|
inline |
Definition at line 395 of file Instruction.h.
References End, and llvm::Reserved.
|
inline |
Definition at line 424 of file Instruction.h.
Referenced by llvm::mca::ResourceManager::issueInstruction().
Definition at line 398 of file Instruction.h.
References End.
|
inline |
Definition at line 425 of file Instruction.h.
References End.
|
inline |
Definition at line 400 of file Instruction.h.
Referenced by overlaps().
|
inline |
Definition at line 405 of file Instruction.h.
References End.
|
inline |
Definition at line 404 of file Instruction.h.
References End.
|
inline |
Definition at line 427 of file Instruction.h.
References llvm::Reserved.
Referenced by llvm::mca::ResourceUsage::isReserved().
|
inline |
Definition at line 417 of file Instruction.h.
References End.
|
inline |
Definition at line 409 of file Instruction.h.
References End.
|
inline |
Definition at line 406 of file Instruction.h.
References llvm::Other.
|
inline |
Definition at line 401 of file Instruction.h.
References endsBefore(), and startsAfter().
|
inline |
Definition at line 426 of file Instruction.h.
References End.
|
inline |
Definition at line 428 of file Instruction.h.
References llvm::Reserved.
Referenced by llvm::mca::ResourceUsage::setReserved().
|
inline |
Definition at line 418 of file Instruction.h.
References End.
Referenced by llvm::mca::ResourceManager::issueInstruction(), and llvm::mca::ResourceUsage::size().
|
inline |
|
inline |
Definition at line 419 of file Instruction.h.