LLVM
8.0.1
|
#include "llvm/CodeGen/DFAPacketizer.h"
Public Member Functions | |
DFAPacketizer (const InstrItineraryData *I, const DFAStateInput(*SIT)[2], const unsigned *SET) | |
void | clearResources () |
DFAInput | getInsnInput (unsigned InsnClass) |
bool | canReserveResources (const MCInstrDesc *MID) |
void | reserveResources (const MCInstrDesc *MID) |
bool | canReserveResources (MachineInstr &MI) |
void | reserveResources (MachineInstr &MI) |
const InstrItineraryData * | getInstrItins () const |
Static Public Member Functions | |
static DFAInput | getInsnInput (const std::vector< unsigned > &InsnClass) |
Definition at line 78 of file DFAPacketizer.h.
DFAPacketizer::DFAPacketizer | ( | const InstrItineraryData * | I, |
const DFAStateInput(*) | SIT[2], | ||
const unsigned * | SET | ||
) |
Definition at line 75 of file DFAPacketizer.cpp.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::count(), DFA_MAX_RESOURCES, and DFA_MAX_RESTERMS.
bool DFAPacketizer::canReserveResources | ( | const MCInstrDesc * | MID | ) |
Definition at line 130 of file DFAPacketizer.cpp.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::count(), getInsnInput(), and llvm::MCInstrDesc::getSchedClass().
Referenced by canReserveResources(), clearResources(), llvm::HexagonHazardRecognizer::EmitInstruction(), llvm::HexagonHazardRecognizer::getHazardType(), getUnderlyingObjects(), llvm::VLIWResourceModel::isResourceAvailable(), and llvm::VLIWPacketizerList::PacketizeMIs().
bool DFAPacketizer::canReserveResources | ( | MachineInstr & | MI | ) |
Definition at line 151 of file DFAPacketizer.cpp.
References canReserveResources(), and llvm::MachineInstr::getDesc().
|
inline |
Definition at line 98 of file DFAPacketizer.h.
References canReserveResources(), getInsnInput(), MI, and reserveResources().
Referenced by llvm::HexagonHazardRecognizer::AdvanceCycle(), llvm::VLIWPacketizerList::endPacket(), llvm::VLIWResourceModel::reserveResources(), llvm::HexagonHazardRecognizer::Reset(), llvm::VLIWResourceModel::reset(), llvm::VLIWResourceModel::resetDFA(), and llvm::VLIWResourceModel::VLIWResourceModel().
Definition at line 110 of file DFAPacketizer.cpp.
References addDFAFuncUnits(), assert(), llvm::InstrItineraryData::beginStage(), DFA_MAX_RESTERMS, llvm::InstrItineraryData::endStage(), and llvm::ARM_PROC::IE.
Referenced by canReserveResources(), clearResources(), and reserveResources().
Definition at line 124 of file DFAPacketizer.cpp.
References getDFAInsnInput().
|
inline |
Definition at line 124 of file DFAPacketizer.h.
void DFAPacketizer::reserveResources | ( | const MCInstrDesc * | MID | ) |
Definition at line 140 of file DFAPacketizer.cpp.
References assert(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::count(), getInsnInput(), and llvm::MCInstrDesc::getSchedClass().
Referenced by llvm::VLIWPacketizerList::addToPacket(), clearResources(), llvm::HexagonHazardRecognizer::EmitInstruction(), getUnderlyingObjects(), llvm::VLIWResourceModel::reserveResources(), and reserveResources().
void DFAPacketizer::reserveResources | ( | MachineInstr & | MI | ) |
Definition at line 158 of file DFAPacketizer.cpp.
References llvm::MachineInstr::getDesc(), and reserveResources().