LLVM  10.0.0svn
Public Types | Public Member Functions | List of all members
llvm::mca::HWEventListener Class Reference

#include "llvm/MCA/HWEventListener.h"

Public Types

using ResourceRef = std::pair< uint64_t, uint64_t >
 

Public Member Functions

virtual void onCycleBegin ()
 
virtual void onCycleEnd ()
 
virtual void onEvent (const HWInstructionEvent &Event)
 
virtual void onEvent (const HWStallEvent &Event)
 
virtual void onEvent (const HWPressureEvent &Event)
 
virtual void onResourceAvailable (const ResourceRef &RRef)
 
virtual void onReservedBuffers (const InstRef &Inst, ArrayRef< unsigned > Buffers)
 
virtual void onReleasedBuffers (const InstRef &Inst, ArrayRef< unsigned > Buffers)
 
virtual ~HWEventListener ()
 

Detailed Description

Definition at line 158 of file HWEventListener.h.

Member Typedef Documentation

◆ ResourceRef

using llvm::mca::HWEventListener::ResourceRef = std::pair<uint64_t, uint64_t>

Definition at line 168 of file HWEventListener.h.

Constructor & Destructor Documentation

◆ ~HWEventListener()

virtual llvm::mca::HWEventListener::~HWEventListener ( )
inlinevirtual

Definition at line 178 of file HWEventListener.h.

Member Function Documentation

◆ onCycleBegin()

virtual void llvm::mca::HWEventListener::onCycleBegin ( )
inlinevirtual

Definition at line 161 of file HWEventListener.h.

◆ onCycleEnd()

virtual void llvm::mca::HWEventListener::onCycleEnd ( )
inlinevirtual

Definition at line 162 of file HWEventListener.h.

◆ onEvent() [1/3]

virtual void llvm::mca::HWEventListener::onEvent ( const HWInstructionEvent Event)
inlinevirtual

Definition at line 164 of file HWEventListener.h.

Referenced by llvm::mca::Stage::notifyEvent().

◆ onEvent() [2/3]

virtual void llvm::mca::HWEventListener::onEvent ( const HWStallEvent Event)
inlinevirtual

Definition at line 165 of file HWEventListener.h.

◆ onEvent() [3/3]

virtual void llvm::mca::HWEventListener::onEvent ( const HWPressureEvent Event)
inlinevirtual

Definition at line 166 of file HWEventListener.h.

◆ onReleasedBuffers()

virtual void llvm::mca::HWEventListener::onReleasedBuffers ( const InstRef Inst,
ArrayRef< unsigned Buffers 
)
inlinevirtual

Definition at line 175 of file HWEventListener.h.

◆ onReservedBuffers()

virtual void llvm::mca::HWEventListener::onReservedBuffers ( const InstRef Inst,
ArrayRef< unsigned Buffers 
)
inlinevirtual

Definition at line 173 of file HWEventListener.h.

◆ onResourceAvailable()

virtual void llvm::mca::HWEventListener::onResourceAvailable ( const ResourceRef RRef)
inlinevirtual

Definition at line 169 of file HWEventListener.h.


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