LLVM 22.0.0git
SIMachineScheduler.cpp File Reference

SI Machine Scheduler interface. More...

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::SISched

Macros

#define DEBUG_TYPE   "machine-scheduler"

Functions

static const chargetReasonStr (SIScheduleCandReason Reason)
static bool llvm::SISched::tryLess (int TryVal, int CandVal, SISchedulerCandidate &TryCand, SISchedulerCandidate &Cand, SIScheduleCandReason Reason)
static bool llvm::SISched::tryGreater (int TryVal, int CandVal, SISchedulerCandidate &TryCand, SISchedulerCandidate &Cand, SIScheduleCandReason Reason)
static bool isDefBetween (Register Reg, SlotIndex First, SlotIndex Last, const MachineRegisterInfo *MRI, const LiveIntervals *LIS)
static bool hasDataDependencyPred (const SUnit &SU, const SUnit &FromSU)
static MachineBasicBlock::iterator nextIfDebug (MachineBasicBlock::iterator I, MachineBasicBlock::const_iterator End)
 Non-const version.

Detailed Description

SI Machine Scheduler interface.

Definition in file SIMachineScheduler.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "machine-scheduler"

Definition at line 22 of file SIMachineScheduler.cpp.

Function Documentation

◆ getReasonStr()

◆ hasDataDependencyPred()

bool hasDataDependencyPred ( const SUnit & SU,
const SUnit & FromSU )
static

Definition at line 638 of file SIMachineScheduler.cpp.

References llvm::SDep::Data, and llvm::SUnit::Preds.

◆ isDefBetween()

◆ nextIfDebug()

Non-const version.

Definition at line 1218 of file SIMachineScheduler.cpp.

References I.