class ResourceManager
Declaration
class ResourceManager { /* full declaration omitted */ };
Declared at: llvm/include/llvm/CodeGen/MachinePipeliner.h:428
Method Overview
- public ResourceManager(const llvm::TargetSubtargetInfo * ST)
- public bool canReserveResources(const llvm::MCInstrDesc * MID) const
- public bool canReserveResources(const llvm::MachineInstr & MI) const
- public void clearResources()
- public void initProcResourceVectors(const llvm::MCSchedModel & SM, SmallVectorImpl<uint64_t> & Masks)
- public void reserveResources(const llvm::MCInstrDesc * MID)
- public void reserveResources(const llvm::MachineInstr & MI)
Methods
¶ResourceManager(
const llvm::TargetSubtargetInfo* ST)
ResourceManager(
const llvm::TargetSubtargetInfo* ST)
Declared at: llvm/include/llvm/CodeGen/MachinePipeliner.h:443
Parameters
- const llvm::TargetSubtargetInfo* ST
¶bool canReserveResources(
const llvm::MCInstrDesc* MID) const
bool canReserveResources(
const llvm::MCInstrDesc* MID) const
Description
Check if the resources occupied by a MCInstrDesc are available in the current state.
Declared at: llvm/include/llvm/CodeGen/MachinePipeliner.h:456
Parameters
- const llvm::MCInstrDesc* MID
¶bool canReserveResources(
const llvm::MachineInstr& MI) const
bool canReserveResources(
const llvm::MachineInstr& MI) const
Description
Check if the resources occupied by a machine instruction are available in the current state.
Declared at: llvm/include/llvm/CodeGen/MachinePipeliner.h:464
Parameters
- const llvm::MachineInstr& MI
¶void clearResources()
void clearResources()
Description
Reset the state
Declared at: llvm/include/llvm/CodeGen/MachinePipeliner.h:471
¶void initProcResourceVectors(
const llvm::MCSchedModel& SM,
SmallVectorImpl<uint64_t>& Masks)
void initProcResourceVectors(
const llvm::MCSchedModel& SM,
SmallVectorImpl<uint64_t>& Masks)
Declared at: llvm/include/llvm/CodeGen/MachinePipeliner.h:452
Parameters
- const llvm::MCSchedModel& SM
- SmallVectorImpl<uint64_t>& Masks
¶void reserveResources(
const llvm::MCInstrDesc* MID)
void reserveResources(
const llvm::MCInstrDesc* MID)
Description
Reserve the resources occupied by a MCInstrDesc and change the current state to reflect that change.
Declared at: llvm/include/llvm/CodeGen/MachinePipeliner.h:460
Parameters
- const llvm::MCInstrDesc* MID
¶void reserveResources(
const llvm::MachineInstr& MI)
void reserveResources(
const llvm::MachineInstr& MI)
Description
Reserve the resources occupied by a machine instruction and change the current state to reflect that change.
Declared at: llvm/include/llvm/CodeGen/MachinePipeliner.h:468
Parameters
- const llvm::MachineInstr& MI