|
LLVM
8.0.1
|
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 311 of file Instruction.h.
|
inline |
Definition at line 314 of file Instruction.h.
|
inline |
Definition at line 317 of file Instruction.h.
References llvm::mca::CycleSegment::isReserved().
|
inline |
Definition at line 318 of file Instruction.h.
References llvm::mca::CycleSegment::setReserved().
|
inline |
Definition at line 316 of file Instruction.h.
References llvm::mca::CycleSegment::size().
| CycleSegment llvm::mca::ResourceUsage::CS |
Definition at line 312 of file Instruction.h.
| unsigned llvm::mca::ResourceUsage::NumUnits |
Definition at line 313 of file Instruction.h.
1.8.13