LLVM: llvm::ResourceManager Class Reference (original) (raw)
#include "[llvm/CodeGen/MachinePipeliner.h](MachinePipeliner%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| ResourceManager (const TargetSubtargetInfo *ST, ScheduleDAGInstrs *DAG) | |
| void | initProcResourceVectors (const MCSchedModel &SM, SmallVectorImpl< uint64_t > &Masks) |
| bool | canReserveResources (SUnit &SU, int Cycle) |
| Check if the resources occupied by a machine instruction are available in the current state. | |
| void | reserveResources (SUnit &SU, int Cycle) |
| Reserve the resources occupied by a machine instruction and change the current state to reflect that change. | |
| int | calculateResMII () const |
| void | init (int II) |
| Initialize resources with the initiation interval II. |
Definition at line 639 of file MachinePipeliner.h.
◆ calculateResMII()
| int ResourceManager::calculateResMII | ( | ) | const |
|---|
◆ canReserveResources()
| bool ResourceManager::canReserveResources | ( | SUnit & | SU, |
|---|---|---|---|
| int | Cycle ) |
◆ init()
| void ResourceManager::init | ( | int | II | ) |
|---|
◆ initProcResourceVectors()
◆ reserveResources()
| void ResourceManager::reserveResources | ( | SUnit & | SU, |
|---|---|---|---|
| int | Cycle ) |
The documentation for this class was generated from the following files:
- include/llvm/CodeGen/MachinePipeliner.h
- lib/CodeGen/MachinePipeliner.cpp
- lib/MCA/HardwareUnits/ResourceManager.cpp