LLVM  10.0.0svn
Public Member Functions | Static Public Member Functions | List of all members
llvm::DFAPacketizer Class Reference

#include "llvm/CodeGen/DFAPacketizer.h"

Public Member Functions

 DFAPacketizer (const InstrItineraryData *I, const DFAStateInput(*SIT)[2], const unsigned *SET, const unsigned(*RTT)[2]=nullptr, const unsigned *RTET=nullptr)
void clearResources ()
void setTrackResources (bool Track)
DFAInput getInsnInput (unsigned InsnClass)
bool canReserveResources (const MCInstrDesc *MID)
void reserveResources (const MCInstrDesc *MID)
bool canReserveResources (MachineInstr &MI)
void reserveResources (MachineInstr &MI)
unsigned getUsedResources (unsigned InstIdx)
const InstrItineraryDatagetInstrItins () const

Static Public Member Functions

static DFAInput getInsnInput (const std::vector< unsigned > &InsnClass)

Detailed Description

Definition at line 77 of file DFAPacketizer.h.

Constructor & Destructor Documentation

◆ DFAPacketizer()

DFAPacketizer::DFAPacketizer ( const InstrItineraryData I,
const DFAStateInput(*)  SIT[2],
const unsigned SET,
const unsigned(*)  RTT[2] = nullptr,
const unsigned RTET = nullptr 

Member Function Documentation

◆ canReserveResources() [1/2]

bool DFAPacketizer::canReserveResources ( const MCInstrDesc MID)

◆ canReserveResources() [2/2]

bool DFAPacketizer::canReserveResources ( MachineInstr MI)

Definition at line 174 of file DFAPacketizer.cpp.

References canReserveResources(), and llvm::MachineInstr::getDesc().

◆ clearResources()

void llvm::DFAPacketizer::clearResources ( )

◆ getInsnInput() [1/2]

DFAInput DFAPacketizer::getInsnInput ( unsigned  InsnClass)

◆ getInsnInput() [2/2]

DFAInput DFAPacketizer::getInsnInput ( const std::vector< unsigned > &  InsnClass)

Definition at line 137 of file DFAPacketizer.cpp.

References getDFAInsnInput().

◆ getInstrItins()

const InstrItineraryData* llvm::DFAPacketizer::getInstrItins ( ) const

Definition at line 165 of file DFAPacketizer.h.

◆ getUsedResources()

unsigned DFAPacketizer::getUsedResources ( unsigned  InstIdx)

Definition at line 186 of file DFAPacketizer.cpp.

References assert().

Referenced by llvm::VLIWPacketizerList::endPacket(), and setTrackResources().

◆ reserveResources() [1/2]

void DFAPacketizer::reserveResources ( const MCInstrDesc MID)

◆ reserveResources() [2/2]

void DFAPacketizer::reserveResources ( MachineInstr MI)

Definition at line 181 of file DFAPacketizer.cpp.

References llvm::MachineInstr::getDesc(), and reserveResources().

◆ setTrackResources()

void llvm::DFAPacketizer::setTrackResources ( bool  Track)

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