LLVM  8.0.1
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 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 129 of file HWEventListener.h.

Member Typedef Documentation

◆ ResourceRef

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

Definition at line 138 of file HWEventListener.h.

Constructor & Destructor Documentation

◆ ~HWEventListener()

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

Definition at line 148 of file HWEventListener.h.

Member Function Documentation

◆ onCycleBegin()

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

Definition at line 132 of file HWEventListener.h.

◆ onCycleEnd()

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

Definition at line 133 of file HWEventListener.h.

◆ onEvent() [1/2]

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

Definition at line 135 of file HWEventListener.h.

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

◆ onEvent() [2/2]

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

Definition at line 136 of file HWEventListener.h.

◆ onReleasedBuffers()

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

Definition at line 145 of file HWEventListener.h.

◆ onReservedBuffers()

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

Definition at line 143 of file HWEventListener.h.

◆ onResourceAvailable()

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

Definition at line 139 of file HWEventListener.h.


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