LLVM: llvm::mca::SourceMgr Struct Reference (original) (raw)

Abstracting the input code sequence (a sequence of MCInst) and assigning unique identifiers to every instruction in the sequence. More...

#include "[llvm/MCA/SourceMgr.h](MCA%5F2SourceMgr%5F8h%5Fsource.html)"

Public Member Functions
virtual ArrayRef< UniqueInst > getInstructions () const =0
Provides a fixed range of UniqueInst to iterate.
virtual size_t size () const
(Fixed) Number of UniqueInst.
virtual bool hasNext () const =0
Whether there is any SourceRef to inspect / peek next.
virtual bool isEnd () const =0
Whether the instruction stream has eneded.
virtual SourceRef peekNext () const =0
The next SourceRef.
virtual void updateNext ()=0
Advance to the next SourceRef.
virtual ~SourceMgr ()=default

Abstracting the input code sequence (a sequence of MCInst) and assigning unique identifiers to every instruction in the sequence.

Definition at line 29 of file SourceMgr.h.

UniqueInst

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

getInstructions()

virtual ArrayRef< UniqueInst > llvm::mca::SourceMgr::getInstructions ( ) const pure virtual

hasNext()

virtual bool llvm::mca::SourceMgr::hasNext ( ) const pure virtual

isEnd()

virtual bool llvm::mca::SourceMgr::isEnd ( ) const pure virtual

peekNext()

virtual SourceRef llvm::mca::SourceMgr::peekNext ( ) const pure virtual

size()

virtual size_t llvm::mca::SourceMgr::size ( ) const inlinevirtual

updateNext()

virtual void llvm::mca::SourceMgr::updateNext ( ) pure virtual

The documentation for this struct was generated from the following file: