LLVM API Documentation

Public Member Functions
llvm::VLIWResourceModel Class Reference

#include <HexagonMachineScheduler.h>

List of all members.

Public Member Functions

 VLIWResourceModel (const TargetMachine &TM, const TargetSchedModel *SM)
 ~VLIWResourceModel ()
void resetPacketState ()
void resetDFA ()
void reset ()
bool isResourceAvailable (SUnit *SU)
bool reserveResources (SUnit *SU)
 Keep track of available resources.
unsigned getTotalPackets () const

Detailed Description

Definition at line 41 of file HexagonMachineScheduler.h.


Constructor & Destructor Documentation

Definition at line 72 of file HexagonMachineScheduler.h.


Member Function Documentation

Definition at line 91 of file HexagonMachineScheduler.h.

Check if scheduling of this SU is possible in the current packet. It is _not_ precise (statefull), it is more like another heuristic. Many corner cases are figured empirically.

Definition at line 43 of file HexagonMachineScheduler.cpp.

References llvm::DFAPacketizer::canReserveResources(), llvm::TargetOpcode::COPY, llvm::TargetOpcode::EXTRACT_SUBREG, llvm::SUnit::getInstr(), llvm::MachineInstr::getOpcode(), I, llvm::TargetOpcode::IMPLICIT_DEF, llvm::TargetOpcode::INLINEASM, llvm::TargetOpcode::INSERT_SUBREG, llvm::TargetOpcode::REG_SEQUENCE, and llvm::TargetOpcode::SUBREG_TO_REG.

Referenced by reserveResources().

void llvm::VLIWResourceModel::reset ( ) [inline]

Definition at line 84 of file HexagonMachineScheduler.h.

Definition at line 80 of file HexagonMachineScheduler.h.

Definition at line 76 of file HexagonMachineScheduler.h.


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