LLVM: llvm::VLIWResourceModel Class Reference (original) (raw)

#include "[llvm/CodeGen/VLIWMachineScheduler.h](VLIWMachineScheduler%5F8h%5Fsource.html)"

Public Member Functions
VLIWResourceModel (const TargetSubtargetInfo &STI, const TargetSchedModel *SM)
VLIWResourceModel & operator= (const VLIWResourceModel &other)=delete
VLIWResourceModel (const VLIWResourceModel &other)=delete
virtual ~VLIWResourceModel ()
virtual void reset ()
virtual bool hasDependence (const SUnit *SUd, const SUnit *SUu)
Return true if there is a dependence between SUd and SUu.
virtual bool isResourceAvailable (SUnit *SU, bool IsTop)
Check if scheduling of this SU is possible in the current packet.
virtual bool reserveResources (SUnit *SU, bool IsTop)
Keep track of available resources.
unsigned getTotalPackets () const
size_t getPacketInstCount () const
bool isInPacket (SUnit *SU) const
Protected Attributes
const TargetInstrInfo * TII
DFAPacketizer * ResourcesModel
ResourcesModel - Represents VLIW state.
const TargetSchedModel * SchedModel
SmallVector< SUnit * > Packet
Local packet/bundle model.
unsigned TotalPackets = 0
Total packets created.

Definition at line 31 of file VLIWMachineScheduler.h.

VLIWResourceModel() [2/2]

~VLIWResourceModel()

VLIWResourceModel::~VLIWResourceModel ( ) virtual

createPacketizer()

getPacketInstCount()

size_t llvm::VLIWResourceModel::getPacketInstCount ( ) const inline

getTotalPackets()

unsigned llvm::VLIWResourceModel::getTotalPackets ( ) const inline

hasDependence()

isInPacket()

bool llvm::VLIWResourceModel::isInPacket ( SUnit * SU) const inline

isResourceAvailable()

bool VLIWResourceModel::isResourceAvailable ( SUnit * SU, bool IsTop ) virtual

operator=()

reserveResources()

bool VLIWResourceModel::reserveResources ( SUnit * SU, bool IsTop ) virtual

Keep track of available resources.

Definition at line 144 of file VLIWMachineScheduler.cpp.

References llvm::dbgs(), llvm::dump(), llvm::SUnit::getInstr(), llvm::MachineInstr::getOpcode(), isResourceAvailable(), LLVM_DEBUG, Packet, reset(), ResourcesModel, SchedModel, and TotalPackets.

reset()

void VLIWResourceModel::reset ( ) virtual

Packet

ResourcesModel

SchedModel

TII

TotalPackets

unsigned llvm::VLIWResourceModel::TotalPackets = 0 protected

The documentation for this class was generated from the following files: