|
LLVM
5.0.0
|
#include "Target/AMDGPU/SIMachineScheduler.h"
Public Member Functions | |
| SIScheduleBlock (SIScheduleDAGMI *DAG, SIScheduleBlockCreator *BC, unsigned ID) | |
| ~SIScheduleBlock ()=default | |
| unsigned | getID () const |
| void | addUnit (SUnit *SU) |
| Functions for Block construction. More... | |
| void | finalizeUnits () |
| void | addPred (SIScheduleBlock *Pred) |
| void | addSucc (SIScheduleBlock *Succ, SIScheduleBlockLinkKind Kind) |
| const std::vector < SIScheduleBlock * > & | getPreds () const |
| ArrayRef< std::pair < SIScheduleBlock *, SIScheduleBlockLinkKind > > | getSuccs () const |
| unsigned | getNumHighLatencySuccessors () const |
| bool | isHighLatencyBlock () |
| int | getCost () |
| void | fastSchedule () |
| std::vector< SUnit * > | getScheduledUnits () |
| void | schedule (MachineBasicBlock::iterator BeginBlock, MachineBasicBlock::iterator EndBlock) |
| bool | isScheduled () |
| std::vector< unsigned > & | getInternalAdditionnalRegUsage () |
| std::set< unsigned > & | getInRegs () |
| std::set< unsigned > & | getOutRegs () |
| void | printDebug (bool Full) |
Public Attributes | |
| unsigned | Height |
| unsigned | Depth |
Definition at line 62 of file SIMachineScheduler.h.
|
inline |
Definition at line 105 of file SIMachineScheduler.h.
|
default |
| void SIScheduleBlock::addPred | ( | SIScheduleBlock * | Pred | ) |
Definition at line 531 of file SIMachineScheduler.cpp.
References assert(), getID(), llvm::none_of(), and P.
| void SIScheduleBlock::addSucc | ( | SIScheduleBlock * | Succ, |
| SIScheduleBlockLinkKind | Kind | ||
| ) |
Definition at line 549 of file SIMachineScheduler.cpp.
References assert(), llvm::Data, getID(), isHighLatencyBlock(), Kind, llvm::NoData, llvm::none_of(), and P.
| void SIScheduleBlock::addUnit | ( | SUnit * | SU | ) |
Functions for Block construction.
Definition at line 193 of file SIMachineScheduler.cpp.
References llvm::SUnit::NodeNum.
| void SIScheduleBlock::fastSchedule | ( | ) |
Definition at line 282 of file SIMachineScheduler.cpp.
Referenced by schedule().
| void SIScheduleBlock::finalizeUnits | ( | ) |
Definition at line 520 of file SIMachineScheduler.cpp.
References llvm::SIScheduleDAGMI::IsHighLatencySU, and llvm::SUnit::NodeNum.
|
inline |
Definition at line 139 of file SIMachineScheduler.h.
|
inline |
Definition at line 111 of file SIMachineScheduler.h.
Referenced by addPred(), addSucc(), and llvm::SIScheduleBlockScheduler::SIScheduleBlockScheduler().
|
inline |
Definition at line 164 of file SIMachineScheduler.h.
Referenced by llvm::SIScheduleBlockScheduler::SIScheduleBlockScheduler().
|
inline |
Definition at line 160 of file SIMachineScheduler.h.
|
inline |
Definition at line 130 of file SIMachineScheduler.h.
|
inline |
Definition at line 165 of file SIMachineScheduler.h.
Referenced by llvm::SIScheduleBlockScheduler::SIScheduleBlockScheduler().
|
inline |
Definition at line 123 of file SIMachineScheduler.h.
Referenced by llvm::SIScheduleBlockScheduler::SIScheduleBlockScheduler().
|
inline |
Definition at line 146 of file SIMachineScheduler.h.
Referenced by llvm::SIScheduler::scheduleVariant().
|
inline |
Definition at line 125 of file SIMachineScheduler.h.
Referenced by llvm::SIScheduleBlockScheduler::SIScheduleBlockScheduler().
|
inline |
Definition at line 134 of file SIMachineScheduler.h.
Referenced by addSucc().
|
inline |
Definition at line 156 of file SIMachineScheduler.h.
| void SIScheduleBlock::printDebug | ( | bool | Full | ) |
Definition at line 572 of file SIMachineScheduler.cpp.
References llvm::Data, llvm::dbgs(), llvm::SUnit::dump(), llvm::SIScheduleDAGMI::getSGPRSetID(), llvm::SIScheduleDAGMI::getTRI(), llvm::SIScheduleDAGMI::getVGPRSetID(), P, and llvm::PrintVRegOrUnit().
| void SIScheduleBlock::schedule | ( | MachineBasicBlock::iterator | BeginBlock, |
| MachineBasicBlock::iterator | EndBlock | ||
| ) |
Definition at line 392 of file SIMachineScheduler.cpp.
References llvm::RegPressureTracker::advance(), assert(), fastSchedule(), llvm::SUnit::getInstr(), llvm::RegisterPressure::MaxSetPressure, and llvm::RegPressureTracker::setPos().
| unsigned llvm::SIScheduleBlock::Depth |
Definition at line 128 of file SIMachineScheduler.h.
| unsigned llvm::SIScheduleBlock::Height |
Definition at line 127 of file SIMachineScheduler.h.
1.8.6