LLVM 20.0.0git
Public Member Functions | List of all members
llvm::mca::View Class Referenceabstract

#include "llvm/MCA/View.h"

Inheritance diagram for llvm::mca::View:
Inheritance graph
[legend]

Public Member Functions

virtual ~View ()=default
 
virtual void printView (llvm::raw_ostream &OS) const =0
 
virtual StringRef getNameAsString () const =0
 
virtual json::Value toJSON () const
 
virtual bool isSerializable () const
 
void anchor () override
 
- Public Member Functions inherited from llvm::mca::HWEventListener
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 ()=default
 

Detailed Description

Definition at line 26 of file View.h.

Constructor & Destructor Documentation

◆ ~View()

virtual llvm::mca::View::~View ( )
virtualdefault

Member Function Documentation

◆ anchor()

void llvm::mca::View::anchor ( )
overridevirtual

Reimplemented from llvm::mca::HWEventListener.

Definition at line 21 of file View.cpp.

◆ getNameAsString()

virtual StringRef llvm::mca::View::getNameAsString ( ) const
pure virtual

◆ isSerializable()

virtual bool llvm::mca::View::isSerializable ( ) const
inlinevirtual

Definition at line 34 of file View.h.

◆ printView()

virtual void llvm::mca::View::printView ( llvm::raw_ostream OS) const
pure virtual

◆ toJSON()

virtual json::Value llvm::mca::View::toJSON ( ) const
inlinevirtual

Definition at line 33 of file View.h.


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