|
LLVM 22.0.0git
|
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 441 of file Instruction.h.
|
inline |
Definition at line 444 of file Instruction.h.
|
inline |
Definition at line 447 of file Instruction.h.
References CS.
|
inline |
Definition at line 448 of file Instruction.h.
References CS.
|
inline |
Definition at line 446 of file Instruction.h.
References CS.
| CycleSegment llvm::mca::ResourceUsage::CS |
Definition at line 442 of file Instruction.h.
Referenced by isReserved(), ResourceUsage(), setReserved(), and size().
| unsigned llvm::mca::ResourceUsage::NumUnits |
Definition at line 443 of file Instruction.h.
Referenced by ResourceUsage().