LLVM  16.0.0git
Public Member Functions | List of all members
llvm::HexagonVLIWResourceModel Class Reference

#include "Target/Hexagon/HexagonMachineScheduler.h"

Inheritance diagram for llvm::HexagonVLIWResourceModel:
Inheritance graph
Collaboration diagram for llvm::HexagonVLIWResourceModel:
Collaboration graph

Public Member Functions

bool hasDependence (const SUnit *SUd, const SUnit *SUu) override
 Return true if there is a dependence between SUd and SUu. More...
 VLIWResourceModel (const TargetSubtargetInfo &STI, const TargetSchedModel *SM)
- Public Member Functions inherited from llvm::VLIWResourceModel
 VLIWResourceModel (const TargetSubtargetInfo &STI, const TargetSchedModel *SM)
virtual ~VLIWResourceModel ()
virtual void reset ()
virtual bool isResourceAvailable (SUnit *SU, bool IsTop)
 Check if scheduling of this SU is possible in the current packet. More...
virtual bool reserveResources (SUnit *SU, bool IsTop)
 Keep track of available resources. More...
unsigned getTotalPackets () const
size_t getPacketInstCount () const
bool isInPacket (SUnit *SU) const

Additional Inherited Members

- Protected Member Functions inherited from llvm::VLIWResourceModel
virtual DFAPacketizercreatePacketizer (const TargetSubtargetInfo &STI) const
- Protected Attributes inherited from llvm::VLIWResourceModel
const TargetInstrInfoTII
 ResourcesModel - Represents VLIW state. More...
const TargetSchedModelSchedModel
SmallVector< SUnit * > Packet
 Local packet/bundle model. More...
unsigned TotalPackets = 0
 Total packets created. More...

Detailed Description

Definition at line 25 of file HexagonMachineScheduler.h.

Member Function Documentation

◆ hasDependence()

bool HexagonVLIWResourceModel::hasDependence ( const SUnit SUd,
const SUnit SUu 

Return true if there is a dependence between SUd and SUu.

Reimplemented from llvm::VLIWResourceModel.

Definition at line 26 of file HexagonMachineScheduler.cpp.

References llvm::SUnit::getInstr(), llvm::VLIWResourceModel::hasDependence(), and llvm::VLIWResourceModel::TII.

◆ VLIWResourceModel()


Definition at line 65 of file VLIWMachineScheduler.cpp.

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