LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::MachineSchedPolicy Struct Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ MachineSchedPolicy()

llvm::MachineSchedPolicy::MachineSchedPolicy ( )
default

Member Data Documentation

◆ ComputeDFSResult

bool llvm::MachineSchedPolicy::ComputeDFSResult = false

Definition at line 209 of file MachineScheduler.h.

Referenced by llvm::GenericScheduler::initialize().

◆ DisableLatencyHeuristic

bool llvm::MachineSchedPolicy::DisableLatencyHeuristic = false

◆ OnlyBottomUp

bool llvm::MachineSchedPolicy::OnlyBottomUp = false

◆ OnlyTopDown

bool llvm::MachineSchedPolicy::OnlyTopDown = false

◆ ShouldTrackLaneMasks

bool llvm::MachineSchedPolicy::ShouldTrackLaneMasks = false

Track LaneMasks to allow reordering of independent subregister writes of the same vreg.

See also
MachineSchedStrategy::shouldTrackLaneMasks()

Definition at line 197 of file MachineScheduler.h.

Referenced by llvm::GenericScheduler::initPolicy(), llvm::GCNSubtarget::overrideSchedPolicy(), and llvm::GenericScheduler::shouldTrackLaneMasks().

◆ ShouldTrackPressure

bool llvm::MachineSchedPolicy::ShouldTrackPressure = false

The documentation for this struct was generated from the following file: