LLVM 20.0.0git
Classes | Namespaces | Macros | Functions
GCNIterativeScheduler.cpp File Reference

This file implements the class GCNIterativeScheduler. More...

#include "GCNIterativeScheduler.h"
#include "GCNSchedStrategy.h"
#include "SIMachineFunctionInfo.h"

Go to the source code of this file.

Classes

class  llvm::GCNIterativeScheduler::BuildDAG
 
class  llvm::GCNIterativeScheduler::OverrideLegacyStrategy
 

Namespaces

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

Macros

#define DEBUG_TYPE   "machine-scheduler"
 

Functions

std::vector< const SUnit * > llvm::makeMinRegSchedule (ArrayRef< const SUnit * > TopRoots, const ScheduleDAG &DAG)
 
std::vector< const SUnit * > llvm::makeGCNILPScheduler (ArrayRef< const SUnit * > BotRoots, const ScheduleDAG &DAG)
 
static MachineInstrgetMachineInstr (MachineInstr *MI)
 
static MachineInstrgetMachineInstr (const SUnit *SU)
 
static MachineInstrgetMachineInstr (const SUnit &SU)
 
static LLVM_DUMP_METHOD void printRegion (raw_ostream &OS, MachineBasicBlock::iterator Begin, MachineBasicBlock::iterator End, const LiveIntervals *LIS, unsigned MaxInstNum=std::numeric_limits< unsigned >::max())
 
static LLVM_DUMP_METHOD void printLivenessInfo (raw_ostream &OS, MachineBasicBlock::iterator Begin, MachineBasicBlock::iterator End, const LiveIntervals *LIS)
 

Detailed Description

This file implements the class GCNIterativeScheduler.

Definition in file GCNIterativeScheduler.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "machine-scheduler"

Definition at line 20 of file GCNIterativeScheduler.cpp.

Function Documentation

◆ getMachineInstr() [1/3]

static MachineInstr * getMachineInstr ( const SUnit SU)
inlinestatic

Definition at line 38 of file GCNIterativeScheduler.cpp.

References llvm::SUnit::getInstr().

◆ getMachineInstr() [2/3]

static MachineInstr * getMachineInstr ( const SUnit SU)
inlinestatic

Definition at line 35 of file GCNIterativeScheduler.cpp.

References llvm::SUnit::getInstr().

◆ getMachineInstr() [3/3]

static MachineInstr * getMachineInstr ( MachineInstr MI)
inlinestatic

◆ printLivenessInfo()

static LLVM_DUMP_METHOD void printLivenessInfo ( raw_ostream OS,
MachineBasicBlock::iterator  Begin,
MachineBasicBlock::iterator  End,
const LiveIntervals LIS 
)
static

◆ printRegion()

static LLVM_DUMP_METHOD void printRegion ( raw_ostream OS,
MachineBasicBlock::iterator  Begin,
MachineBasicBlock::iterator  End,
const LiveIntervals LIS,
unsigned  MaxInstNum = std::numeric_limits<unsigned>::max() 
)
static