LLVM 20.0.0git
Namespaces | Macros | Functions
SIMachineScheduler.cpp File Reference

SI Machine Scheduler interface. More...

#include "SIMachineScheduler.h"
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
#include "SIInstrInfo.h"
#include "llvm/CodeGen/LiveIntervals.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"

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 (unsigned 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()

static const char * getReasonStr ( SIScheduleCandReason  Reason)
static

◆ hasDataDependencyPred()

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

Definition at line 642 of file SIMachineScheduler.cpp.

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

◆ isDefBetween()

static bool isDefBetween ( unsigned  Reg,
SlotIndex  First,
SlotIndex  Last,
const MachineRegisterInfo MRI,
const LiveIntervals LIS 
)
static

◆ nextIfDebug()

Non-const version.

Definition at line 1225 of file SIMachineScheduler.cpp.

References End, and I.