LLVM
8.0.1
|
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-- (void) |
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 264 of file Instruction.h.
|
inline |
Definition at line 270 of file Instruction.h.
|
inline |
Definition at line 299 of file Instruction.h.
Referenced by llvm::mca::ResourceManager::issueInstruction().
Definition at line 273 of file Instruction.h.
|
inline |
Definition at line 300 of file Instruction.h.
|
inline |
Definition at line 275 of file Instruction.h.
|
inline |
Definition at line 280 of file Instruction.h.
|
inline |
Definition at line 279 of file Instruction.h.
|
inline |
Definition at line 302 of file Instruction.h.
Referenced by llvm::mca::ResourceUsage::isReserved().
|
inline |
Definition at line 292 of file Instruction.h.
|
inline |
Definition at line 284 of file Instruction.h.
|
inline |
Definition at line 281 of file Instruction.h.
|
inline |
Definition at line 276 of file Instruction.h.
|
inline |
Definition at line 301 of file Instruction.h.
|
inline |
Definition at line 303 of file Instruction.h.
Referenced by llvm::mca::ResourceUsage::setReserved().
|
inline |
Definition at line 293 of file Instruction.h.
Referenced by llvm::mca::ResourceManager::issueInstruction(), and llvm::mca::ResourceUsage::size().
|
inline |
Definition at line 274 of file Instruction.h.
|
inline |
Definition at line 294 of file Instruction.h.
References assert().