LLVM: llvm::PGOContextualProfile Class Reference (original) (raw)
The instrumented contextual profile, produced by the CtxProfAnalysis. More...
#include "[llvm/Analysis/CtxProfAnalysis.h](CtxProfAnalysis%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| PGOContextualProfile (const PGOContextualProfile &)=delete | |
| PGOContextualProfile (PGOContextualProfile &&)=default | |
| const CtxProfContextualProfiles & | contexts () const |
| const PGOCtxProfile & | profiles () const |
| LLVM_ABI bool | isInSpecializedModule () const |
| bool | isFunctionKnown (const Function &F) const |
| StringRef | getFunctionName (GlobalValue::GUID GUID) const |
| uint32_t | getNumCounters (const Function &F) const |
| uint32_t | getNumCallsites (const Function &F) const |
| uint32_t | allocateNextCounterIndex (const Function &F) |
| uint32_t | allocateNextCallsiteIndex (const Function &F) |
| LLVM_ABI void | update (Visitor, const Function &F) |
| LLVM_ABI void | visit (ConstVisitor, const Function *F=nullptr) const |
| LLVM_ABI const CtxProfFlatProfile | flatten () const |
| LLVM_ABI const CtxProfFlatIndirectCallProfile | flattenVirtCalls () const |
| bool | invalidate (Module &, const PreservedAnalyses &PA, ModuleAnalysisManager::Invalidator &) |
| Friends | |
|---|---|
| class | CtxProfAnalysis |
| class | CtxProfAnalysisPrinterPass |
The instrumented contextual profile, produced by the CtxProfAnalysis.
Definition at line 30 of file CtxProfAnalysis.h.
◆ ConstVisitor
◆ Visitor
◆ PGOContextualProfile() [2/2]
◆ allocateNextCallsiteIndex()
◆ allocateNextCounterIndex()
◆ contexts()
◆ flatten()
◆ flattenVirtCalls()
◆ getFunctionName()
◆ getNumCallsites()
◆ getNumCounters()
◆ invalidate()
◆ isFunctionKnown()
◆ isInSpecializedModule()
| bool PGOContextualProfile::isInSpecializedModule | ( | ) | const |
|---|
◆ profiles()
◆ update()
◆ visit()
| void PGOContextualProfile::visit | ( | ConstVisitor | V, |
|---|---|---|---|
| const Function * | F = nullptr ) const |
◆ CtxProfAnalysis
◆ CtxProfAnalysisPrinterPass
The documentation for this class was generated from the following files:
- include/llvm/Analysis/CtxProfAnalysis.h
- lib/Analysis/CtxProfAnalysis.cpp