LLVM 20.0.0git
|
Define a generic scheduling policy for targets that don't provide their own MachineSchedStrategy. More...
#include "llvm/CodeGen/MachineScheduler.h"
Public Member Functions | |
MachineSchedPolicy ()=default | |
Public Attributes | |
bool | ShouldTrackPressure = false |
bool | ShouldTrackLaneMasks = false |
Track LaneMasks to allow reordering of independent subregister writes of the same vreg. | |
bool | OnlyTopDown = false |
bool | OnlyBottomUp = false |
bool | DisableLatencyHeuristic = false |
bool | ComputeDFSResult = false |
Define a generic scheduling policy for targets that don't provide their own MachineSchedStrategy.
This can be overriden for each scheduling region before building the DAG.
Definition at line 192 of file MachineScheduler.h.
|
default |
bool llvm::MachineSchedPolicy::ComputeDFSResult = false |
Definition at line 209 of file MachineScheduler.h.
Referenced by llvm::GenericScheduler::initialize().
bool llvm::MachineSchedPolicy::DisableLatencyHeuristic = false |
Definition at line 206 of file MachineScheduler.h.
Referenced by llvm::AArch64Subtarget::overrideSchedPolicy(), llvm::RISCVSubtarget::overrideSchedPolicy(), llvm::GenericScheduler::tryCandidate(), llvm::GCNMaxMemoryClauseSchedStrategy::tryCandidate(), and llvm::PPCPreRASchedStrategy::tryCandidate().
bool llvm::MachineSchedPolicy::OnlyBottomUp = false |
Definition at line 202 of file MachineScheduler.h.
Referenced by llvm::GenericScheduler::dumpPolicy(), llvm::GenericScheduler::initPolicy(), llvm::PostGenericScheduler::initPolicy(), llvm::RISCVSubtarget::overridePostRASchedPolicy(), llvm::AArch64Subtarget::overrideSchedPolicy(), llvm::GCNSubtarget::overrideSchedPolicy(), llvm::PPCSubtarget::overrideSchedPolicy(), llvm::RISCVSubtarget::overrideSchedPolicy(), llvm::GenericScheduler::pickNode(), llvm::PostGenericScheduler::pickNode(), and llvm::GCNSchedStrategy::pickNode().
bool llvm::MachineSchedPolicy::OnlyTopDown = false |
Definition at line 201 of file MachineScheduler.h.
Referenced by llvm::GenericScheduler::dumpPolicy(), llvm::GenericScheduler::initPolicy(), llvm::PostGenericScheduler::initPolicy(), llvm::RISCVSubtarget::overridePostRASchedPolicy(), llvm::AArch64Subtarget::overrideSchedPolicy(), llvm::GCNSubtarget::overrideSchedPolicy(), llvm::RISCVSubtarget::overrideSchedPolicy(), llvm::GenericScheduler::pickNode(), llvm::PostGenericScheduler::pickNode(), and llvm::GCNSchedStrategy::pickNode().
bool llvm::MachineSchedPolicy::ShouldTrackLaneMasks = false |
Track LaneMasks to allow reordering of independent subregister writes of the same vreg.
Definition at line 197 of file MachineScheduler.h.
Referenced by llvm::GenericScheduler::initPolicy(), llvm::GCNSubtarget::overrideSchedPolicy(), and llvm::GenericScheduler::shouldTrackLaneMasks().
bool llvm::MachineSchedPolicy::ShouldTrackPressure = false |
Definition at line 194 of file MachineScheduler.h.
Referenced by llvm::GenericScheduler::dumpPolicy(), llvm::GenericScheduler::initPolicy(), llvm::GCNSubtarget::overrideSchedPolicy(), llvm::PPCSubtarget::overrideSchedPolicy(), llvm::RISCVSubtarget::overrideSchedPolicy(), and llvm::GenericScheduler::shouldTrackPressure().