LLVM  13.0.0git
Public Member Functions | List of all members
llvm::DFAPacketizer Class Reference

#include "llvm/CodeGen/DFAPacketizer.h"

Public Member Functions

 DFAPacketizer (const InstrItineraryData *InstrItins, Automaton< uint64_t > a, ArrayRef< unsigned > ItinActions)
 
void clearResources ()
 
void setTrackResources (bool Track)
 
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
 

Detailed Description

Definition at line 49 of file DFAPacketizer.h.

Constructor & Destructor Documentation

◆ DFAPacketizer()

llvm::DFAPacketizer::DFAPacketizer ( const InstrItineraryData InstrItins,
Automaton< uint64_t >  a,
ArrayRef< unsigned >  ItinActions 
)
inline

Definition at line 58 of file DFAPacketizer.h.

Member Function Documentation

◆ canReserveResources() [1/2]

bool DFAPacketizer::canReserveResources ( const MCInstrDesc MID)

◆ canReserveResources() [2/2]

bool DFAPacketizer::canReserveResources ( MachineInstr MI)

Definition at line 75 of file DFAPacketizer.cpp.

References canReserveResources(), and MI.

◆ clearResources()

void llvm::DFAPacketizer::clearResources ( )
inline

◆ getInstrItins()

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

◆ getUsedResources()

unsigned DFAPacketizer::getUsedResources ( unsigned  InstIdx)

◆ reserveResources() [1/2]

void DFAPacketizer::reserveResources ( const MCInstrDesc MID)

◆ reserveResources() [2/2]

void DFAPacketizer::reserveResources ( MachineInstr MI)

Definition at line 82 of file DFAPacketizer.cpp.

References MI, and reserveResources().

◆ setTrackResources()

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

Definition at line 73 of file DFAPacketizer.h.

Referenced by llvm::VLIWPacketizerList::VLIWPacketizerList().


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