|
LLVM
10.0.0
|
Helper used by class InstrDesc to describe how hardware resources are used. More...
#include "llvm/MCA/Instruction.h"
Public Member Functions | |
| ResourceUsage (CycleSegment Cycles, unsigned Units=1) | |
| unsigned | size () const |
| bool | isReserved () const |
| void | setReserved () |
Public Attributes | |
| CycleSegment | CS |
| unsigned | NumUnits |
Helper used by class InstrDesc to describe how hardware resources are used.
This class describes how many resource units of a specific resource kind (and how many cycles) are "used" by an instruction.
Definition at line 337 of file Instruction.h.
|
inline |
Definition at line 340 of file Instruction.h.
|
inline |
Definition at line 343 of file Instruction.h.
References llvm::mca::CycleSegment::isReserved().
|
inline |
Definition at line 344 of file Instruction.h.
References llvm::mca::CycleSegment::setReserved().
|
inline |
Definition at line 342 of file Instruction.h.
References llvm::mca::CycleSegment::size().
| CycleSegment llvm::mca::ResourceUsage::CS |
Definition at line 338 of file Instruction.h.
| unsigned llvm::mca::ResourceUsage::NumUnits |
Definition at line 339 of file Instruction.h.
1.8.13