LLVM  14.0.0git
Namespaces | Macros | Functions
SIMachineScheduler.cpp File Reference
#include "SIMachineScheduler.h"
#include "SIInstrInfo.h"
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
#include "llvm/CodeGen/LiveIntervals.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
Include dependency graph for SIMachineScheduler.cpp:

Go to the source code of this file.

Namespaces

 llvm
 This file implements support for optimizing divisions by a constant.
 
 llvm::SISched
 

Macros

#define DEBUG_TYPE   "machine-scheduler"
 

Functions

static const char * getReasonStr (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. More...
 

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 645 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 1250 of file SIMachineScheduler.cpp.