LLVM 22.0.0git
|
Abstraction for the parameter passed to __llvm_ctx_profile_fetch. More...
#include "llvm/ProfileData/CtxInstrContextNode.h"
Public Member Functions | |
virtual void | startContextSection ()=0 |
virtual void | writeContextual (const ctx_profile::ContextNode &RootNode, const ctx_profile::ContextNode *Unhandled, uint64_t TotalRootEntryCount)=0 |
virtual void | endContextSection ()=0 |
virtual void | startFlatSection ()=0 |
virtual void | writeFlat (ctx_profile::GUID Guid, const uint64_t *Buffer, size_t BufferSize)=0 |
virtual void | endFlatSection ()=0 |
virtual | ~ProfileWriter ()=default |
Abstraction for the parameter passed to __llvm_ctx_profile_fetch.
startContextSection is called before any context roots are sent for writing. Then one or more writeContextual calls are made; finally, endContextSection is called.
Definition at line 140 of file CtxInstrContextNode.h.
|
virtualdefault |
|
pure virtual |
Implemented in llvm::PGOCtxProfileWriter.
|
pure virtual |
Implemented in llvm::PGOCtxProfileWriter.
|
pure virtual |
Implemented in llvm::PGOCtxProfileWriter.
|
pure virtual |
Implemented in llvm::PGOCtxProfileWriter.
|
pure virtual |
Implemented in llvm::PGOCtxProfileWriter.
References llvm::TotalRootEntryCount.
|
pure virtual |
Implemented in llvm::PGOCtxProfileWriter.
References llvm::Guid.