LLVM 22.0.0git
|
#include "llvm/Analysis/CtxProfAnalysis.h"
Public Member Functions | |
LLVM_ABI | ProfileAnnotator (const Function &F, ArrayRef< uint64_t > RawCounters) |
LLVM_ABI uint64_t | getBBCount (const BasicBlock &BB) const |
LLVM_ABI bool | getSelectInstrProfile (SelectInst &SI, uint64_t &TrueCount, uint64_t &FalseCount) const |
LLVM_ABI bool | getOutgoingBranchWeights (BasicBlock &BB, SmallVectorImpl< uint64_t > &Profile, uint64_t &MaxCount) const |
LLVM_ABI | ~ProfileAnnotator () |
Definition at line 168 of file CtxProfAnalysis.h.
Definition at line 365 of file CtxProfAnalysis.cpp.
References F.
|
default |
References LLVM_ABI.
uint64_t ProfileAnnotator::getBBCount | ( | const BasicBlock & | BB | ) | const |
Definition at line 371 of file CtxProfAnalysis.cpp.
bool ProfileAnnotator::getOutgoingBranchWeights | ( | BasicBlock & | BB, |
SmallVectorImpl< uint64_t > & | Profile, | ||
uint64_t & | MaxCount ) const |
Definition at line 398 of file CtxProfAnalysis.cpp.
References llvm::BasicBlock::getTerminator(), Profile, Size, and llvm::succ_size().
bool ProfileAnnotator::getSelectInstrProfile | ( | SelectInst & | SI, |
uint64_t & | TrueCount, | ||
uint64_t & | FalseCount ) const |
Definition at line 375 of file CtxProfAnalysis.cpp.
References assert(), llvm::Counters, and llvm::CtxProfAnalysis::getSelectInstrumentation().