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 *InstrItins, Automaton< uint64_t > a)
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 78 of file DFAPacketizer.h.

Constructor & Destructor Documentation

◆ DFAPacketizer()

llvm::DFAPacketizer::DFAPacketizer ( const InstrItineraryData InstrItins,
Automaton< uint64_t >  a 

Definition at line 84 of file DFAPacketizer.h.

References llvm::Automaton< ActionT >::enableTranscription().

Member Function Documentation

◆ canReserveResources() [1/2]

bool DFAPacketizer::canReserveResources ( const MCInstrDesc MID)

◆ canReserveResources() [2/2]

bool DFAPacketizer::canReserveResources ( MachineInstr MI)

Definition at line 121 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 99 of file DFAPacketizer.cpp.

References getDFAInsnInput().

◆ getInstrItins()

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

Definition at line 133 of file DFAPacketizer.h.

◆ 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 128 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: